ScopedResourceSelectorRequirement class
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
Constructors
-
ScopedResourceSelectorRequirement({required Input<
String> operator, required Input<String> scopeName, Input<List< ? values})String> > -
Creates a new ScopedResourceSelectorRequirement.
operatorRepresents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.scopeNameThe name of the scope that the selector applies to.valuesAn 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 -
ScopedResourceSelectorRequirement.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
operator
→ Input<
String> -
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopeName
→ Input<
String> -
The name of the scope that the selector applies to.
final
-
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. 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