LabelSelector

io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
See theLabelSelector companion object
final case class LabelSelector(matchExpressions: Option[Seq[LabelSelectorRequirement]], matchLabels: Option[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.

Attributes

Companion:
object
Source:
LabelSelector.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Appends new values to matchExpressions

Appends new values to matchExpressions

Attributes

Source:
LabelSelector.scala

Adds new values to matchLabels

Adds new values to matchLabels

Attributes

Source:
LabelSelector.scala

if matchExpressions has a value, transforms to the result of function

if matchExpressions has a value, transforms to the result of function

Attributes

Source:
LabelSelector.scala

if matchLabels has a value, transforms to the result of function

if matchLabels has a value, transforms to the result of function

Attributes

Source:
LabelSelector.scala

Returns a new data with matchExpressions set to new value

Returns a new data with matchExpressions set to new value

Attributes

Source:
LabelSelector.scala

Returns a new data with matchLabels set to new value

Returns a new data with matchLabels set to new value

Attributes

Source:
LabelSelector.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product