LabelSelector

case
class LabelSelector(matchExpressions: Optional[Vector[LabelSelectorRequirement]], matchLabels: Optional[Map[String, String]])

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.

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

matchExpressions is a list of label selector requirements. The requirements are ANDed.

matchExpressions is a list of label selector requirements. The requirements are ANDed.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getMatchLabels: IO[K8sFailure, 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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product