Show / Hide Table of Contents

Class V1DeviceTaint

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
object
V1DeviceTaint
Implements
IEquatable<V1DeviceTaint>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1DeviceTaint : IEquatable<V1DeviceTaint>

Constructors

View Source

V1DeviceTaint()

Declaration
public V1DeviceTaint()
View Source

V1DeviceTaint(V1DeviceTaint)

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

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
Type Description
string
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
string
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
Type Description
DateTime?
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
Type Description
string

Methods

View Source

Equals(object?)

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

Equals(V1DeviceTaint?)

Declaration
public virtual bool Equals(V1DeviceTaint? other)
Parameters
Type Name Description
V1DeviceTaint other
Returns
Type Description
bool
View Source

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1DeviceTaint?, V1DeviceTaint?)

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

operator !=(V1DeviceTaint?, V1DeviceTaint?)

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

Implements

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