SchedulingNodeAffinity class

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Constructors

SchedulingNodeAffinity({Input<String>? key, Input<SchedulingNodeAffinityOperator>? operator, Input<List<String>>? values})
Creates a new SchedulingNodeAffinity. key Corresponds to the label key of Node resource. operator Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. values Corresponds to the label values of Node resource.
const
SchedulingNodeAffinity.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → Input<String>?
Corresponds to the label key of Node resource.
final
operator → Input<SchedulingNodeAffinityOperator>?
Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Input<List<String>>?
Corresponds to the label values of Node resource.
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