Class V1alpha3DeviceTaintRuleSpec
DeviceTaintRuleSpec specifies the selector and one taint.
Inheritance
V1alpha3DeviceTaintRuleSpec
Assembly: KubernetesClient.dll
Syntax
public record V1alpha3DeviceTaintRuleSpec : IEquatable<V1alpha3DeviceTaintRuleSpec>
Constructors
View Source
V1alpha3DeviceTaintRuleSpec()
Declaration
public V1alpha3DeviceTaintRuleSpec()
View Source
V1alpha3DeviceTaintRuleSpec(V1alpha3DeviceTaintRuleSpec)
Declaration
protected V1alpha3DeviceTaintRuleSpec(V1alpha3DeviceTaintRuleSpec original)
Parameters
Properties
View Source
DeviceSelector
DeviceSelector defines which device(s) the taint is applied to. All selector
criteria must be satified for a device to match. The empty selector matches all
devices. Without a selector, no devices are matches.
Declaration
[JsonPropertyName("deviceSelector")]
public V1alpha3DeviceTaintSelector DeviceSelector { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Taint
The taint that gets applied to matching devices.
Declaration
[JsonPropertyName("taint")]
public V1alpha3DeviceTaint Taint { 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(V1alpha3DeviceTaintRuleSpec?)
Declaration
public virtual bool Equals(V1alpha3DeviceTaintRuleSpec? 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 ==(V1alpha3DeviceTaintRuleSpec?, V1alpha3DeviceTaintRuleSpec?)
Declaration
public static bool operator ==(V1alpha3DeviceTaintRuleSpec? left, V1alpha3DeviceTaintRuleSpec? right)
Parameters
Returns
View Source
operator !=(V1alpha3DeviceTaintRuleSpec?, V1alpha3DeviceTaintRuleSpec?)
Declaration
public static bool operator !=(V1alpha3DeviceTaintRuleSpec? left, V1alpha3DeviceTaintRuleSpec? right)
Parameters
Returns
Implements