NodeTaint class
Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See here for more information, including usage and the valid values.
Constructors
-
NodeTaint({Input<
NodeTaintEffect> ? effect, Input<String> ? key, Input<String> ? value}) -
Creates a new NodeTaint.
effectEffect for taint.keyKey for taint.valueValue for taint.const -
NodeTaint.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
effect
→ Input<
NodeTaintEffect> ? -
Effect for taint.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> ? -
Key for taint.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ Input<
String> ? -
Value for taint.
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