LabelSelector

com.coralogix.zio.k8s.model.pkg.apis.meta.v1.LabelSelector
See theLabelSelector companion object
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 parameters

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.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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.

Attributes

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.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product