Show / Hide Table of Contents

Class V1Taint

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

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

Constructors

View Source

V1Taint()

Declaration
public V1Taint()
View Source

V1Taint(V1Taint)

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

Properties

View Source

Effect

Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

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

Required. The taint key to be applied to a node.

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.

Declaration
[JsonPropertyName("timeAdded")]
public DateTime? TimeAdded { get; set; }
Property Value
Type Description
DateTime?
View Source

Value

The taint value corresponding to the taint key.

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

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

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

operator !=(V1Taint?, V1Taint?)

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

Implements

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