Taint class
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
Constructors
-
Taint({required Input<
String> effect, required Input<String> key, Input<String> ? timeAdded, Input<String> ? value}) -
Creates a new Taint.
effectRequired. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.keyRequired. The taint key to be applied to a node.timeAddedTimeAdded represents the time at which the taint was added.valueThe taint value corresponding to the taint key.const -
Taint.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