NodeSelectorRequirementPatch class

A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

Constructors

NodeSelectorRequirementPatch({Input<String>? key, Input<String>? operator, Input<List<String>>? values})
Creates a new NodeSelectorRequirementPatch. key The label key that the selector applies to. operator Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. values An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
const
NodeSelectorRequirementPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → Input<String>?
The label key that the selector applies to.
final
operator → Input<String>?
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Input<List<String>>?
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
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