TaintPatch class

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

Constructors

TaintPatch({Input<String>? effect, Input<String>? key, Input<String>? timeAdded, Input<String>? value})
Creates a new TaintPatch. effect Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. key Required. The taint key to be applied to a node. timeAdded TimeAdded represents the time at which the taint was added. value The taint value corresponding to the taint key.
const
TaintPatch.fromMap(Map<String, dynamic> map)
factory

Properties

effect → Input<String>?
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Input<String>?
Required. The taint key to be applied to a node.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeAdded → Input<String>?
TimeAdded represents the time at which the taint was added.
final
value → Input<String>?
The taint value corresponding to the taint key.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited