Class V1alpha3DeviceTaint
The device this taint is attached to has the "effect" on any claim which does
not tolerate the taint and, through the claim, to pods using the claim.
Inheritance
V1alpha3DeviceTaint
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3DeviceTaint : IEquatable<V1alpha3DeviceTaint>
Constructors
View Source
V1alpha3DeviceTaint()
Declaration
public V1alpha3DeviceTaint()
View Source
V1alpha3DeviceTaint(V1alpha3DeviceTaint)
Declaration
protected V1alpha3DeviceTaint(V1alpha3DeviceTaint original)
Parameters
Properties
View Source
Effect
The effect of the taint on claims that do not tolerate the taint and through
such claims on the pods using them. Valid effects are NoSchedule and NoExecute.
PreferNoSchedule as used for nodes is not valid here.
Declaration
[JsonPropertyName("effect")]
public string Effect { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Key
The taint key to be applied to a device. Must be a label name.
Declaration
[JsonPropertyName("key")]
public string Key { get; set; }
Property Value
View Source
TimeAdded
TimeAdded represents the time at which the taint was added. Added automatically
during create or update if not set.
Declaration
[JsonPropertyName("timeAdded")]
public DateTime? TimeAdded { get; set; }
Property Value
View Source
Value
The taint value corresponding to the taint key. Must be a label value.
Declaration
[JsonPropertyName("value")]
public string Value { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1alpha3DeviceTaint?)
Declaration
public virtual bool Equals(V1alpha3DeviceTaint? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1alpha3DeviceTaint?, V1alpha3DeviceTaint?)
Declaration
public static bool operator ==(V1alpha3DeviceTaint? left, V1alpha3DeviceTaint? right)
Parameters
Returns
View Source
operator !=(V1alpha3DeviceTaint?, V1alpha3DeviceTaint?)
Declaration
public static bool operator !=(V1alpha3DeviceTaint? left, V1alpha3DeviceTaint? right)
Parameters
Returns
Implements