Show / Hide Table of Contents

Class V1DeviceTaintRuleSpec

DeviceTaintRuleSpec specifies the selector and one taint.

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

Constructors

V1DeviceTaintRuleSpec()

Declaration
public V1DeviceTaintRuleSpec()

V1DeviceTaintRuleSpec(V1DeviceTaintRuleSpec)

Declaration
protected V1DeviceTaintRuleSpec(V1DeviceTaintRuleSpec original)
Parameters
Type Name Description
V1DeviceTaintRuleSpec 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 V1DeviceTaintSelector DeviceSelector { get; set; }
Property Value
Type Description
V1DeviceTaintSelector

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 V1DeviceTaint Taint { get; set; }
Property Value
Type Description
V1DeviceTaint

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

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

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

operator !=(V1DeviceTaintRuleSpec?, V1DeviceTaintRuleSpec?)

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

Implements

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