LabelSelectorPatch class

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

Constructors

LabelSelectorPatch({Input<List<LabelSelectorRequirementPatch>>? matchExpressions, Input<Map<String, String>>? matchLabels})
Creates a new LabelSelectorPatch. matchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed. matchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
const
LabelSelectorPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
matchExpressions → Input<List<LabelSelectorRequirementPatch>>?
matchExpressions is a list of label selector requirements. The requirements are ANDed.
final
matchLabels → Input<Map<String, String>>?
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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