Label Selector
data class LabelSelector(val matchExpressions: List<LabelSelectorRequirement>? = null, val matchLabels: Map<String, String>? = null)
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
Link copied to clipboard
fun LabelSelector(matchExpressions: List<LabelSelectorRequirement>? = null, matchLabels: Map<String, String>? = null)