Show / Hide Table of Contents

Class V1beta2DeviceTaintRuleStatus

DeviceTaintRuleStatus provides information about an on-going pod eviction.

Inheritance
object
V1beta2DeviceTaintRuleStatus
Implements
IEquatable<V1beta2DeviceTaintRuleStatus>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1beta2DeviceTaintRuleStatus : IEquatable<V1beta2DeviceTaintRuleStatus>

Constructors

V1beta2DeviceTaintRuleStatus()

Declaration
public V1beta2DeviceTaintRuleStatus()

V1beta2DeviceTaintRuleStatus(V1beta2DeviceTaintRuleStatus)

Declaration
protected V1beta2DeviceTaintRuleStatus(V1beta2DeviceTaintRuleStatus original)
Parameters
Type Name Description
V1beta2DeviceTaintRuleStatus original

Properties

Conditions

Conditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format.

The following condition is currently defined as part of this API, more may get added: - Type: EvictionInProgress - Status: True if there are currently pods which need to be evicted, False otherwise (includes the effects which don't cause eviction).

  • Reason: not specified, may change - Message: includes information about number of pending pods and already evicted pods in a human-readable format, updated periodically, may change

For effect: None, the condition above gets set once for each change to the spec, with the message containing information about what would happen if the effect was NoExecute. This feedback can be used to decide whether changing the effect to NoExecute will work as intended. It only gets set once to avoid having to constantly update the status.

Must have 8 or fewer entries.

Declaration
[JsonPropertyName("conditions")]
public IList<V1Condition> Conditions { get; set; }
Property Value
Type Description
IList<V1Condition>

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1beta2DeviceTaintRuleStatus?)

Declaration
public virtual bool Equals(V1beta2DeviceTaintRuleStatus? other)
Parameters
Type Name Description
V1beta2DeviceTaintRuleStatus other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1beta2DeviceTaintRuleStatus?, V1beta2DeviceTaintRuleStatus?)

Declaration
public static bool operator ==(V1beta2DeviceTaintRuleStatus? left, V1beta2DeviceTaintRuleStatus? right)
Parameters
Type Name Description
V1beta2DeviceTaintRuleStatus left
V1beta2DeviceTaintRuleStatus right
Returns
Type Description
bool

operator !=(V1beta2DeviceTaintRuleStatus?, V1beta2DeviceTaintRuleStatus?)

Declaration
public static bool operator !=(V1beta2DeviceTaintRuleStatus? left, V1beta2DeviceTaintRuleStatus? right)
Parameters
Type Name Description
V1beta2DeviceTaintRuleStatus left
V1beta2DeviceTaintRuleStatus right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX