LabelSelectorRequirementPatch class
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
Constructors
-
LabelSelectorRequirementPatch({Input<
String> ? key, Input<String> ? operator, Input<List< ? values})String> > -
Creates a new LabelSelectorRequirementPatch.
keykey is the label key that the selector applies to.operatoroperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.valuesvalues is 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. This array is replaced during a strategic merge patch.const -
LabelSelectorRequirementPatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> ? -
key is the label key that the selector applies to.
final
-
operator
→ Input<
String> ? -
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Input<
List< ?String> > -
values is 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. 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