Show / Hide Table of Contents

Class V1beta2DeviceTaintRuleSpec

DeviceTaintRuleSpec specifies the selector and one taint.

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

Constructors

V1beta2DeviceTaintRuleSpec()

Declaration
public V1beta2DeviceTaintRuleSpec()

V1beta2DeviceTaintRuleSpec(V1beta2DeviceTaintRuleSpec)

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

Properties

DeviceSelector

DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.

Declaration
[JsonPropertyName("deviceSelector")]
public V1beta2DeviceTaintSelector DeviceSelector { get; set; }
Property Value
Type Description
V1beta2DeviceTaintSelector

EqualityContract

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

Taint

The taint that gets applied to matching devices.

Declaration
[JsonPropertyName("taint")]
public V1beta2DeviceTaint Taint { get; set; }
Property Value
Type Description
V1beta2DeviceTaint

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(V1beta2DeviceTaintRuleSpec?)

Declaration
public virtual bool Equals(V1beta2DeviceTaintRuleSpec? other)
Parameters
Type Name Description
V1beta2DeviceTaintRuleSpec 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 ==(V1beta2DeviceTaintRuleSpec?, V1beta2DeviceTaintRuleSpec?)

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

operator !=(V1beta2DeviceTaintRuleSpec?, V1beta2DeviceTaintRuleSpec?)

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

Implements

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