LabelSelector

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.

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

Value members

Concrete methods

Appends new values to matchExpressions

Appends new values to matchExpressions

Source:
LabelSelector.scala

Adds new values to matchLabels

Adds new values to matchLabels

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

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

Source:
LabelSelector.scala

Returns a new data with matchExpressions set to new value

Returns a new data with matchExpressions set to new value

Source:
LabelSelector.scala

Returns a new data with matchLabels set to new value

Returns a new data with matchLabels set to new value

Source:
LabelSelector.scala

Inherited methods

Inherited from:
Product