LabelSelectorRequirement

io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement
See theLabelSelectorRequirement companion object
final case class LabelSelectorRequirement(key: String, operator: String, values: Option[Seq[String]])

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

Attributes

Companion
object
Source
LabelSelectorRequirement.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addValues(newValues: String*): LabelSelectorRequirement

Appends new values to values

Appends new values to values

Attributes

Source
LabelSelectorRequirement.scala
def mapKey(f: String => String): LabelSelectorRequirement

transforms key to result of function

transforms key to result of function

Attributes

Source
LabelSelectorRequirement.scala
def mapOperator(f: String => String): LabelSelectorRequirement

transforms operator to result of function

transforms operator to result of function

Attributes

Source
LabelSelectorRequirement.scala
def mapValues(f: (Seq[String]) => Seq[String]): LabelSelectorRequirement

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

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

Attributes

Source
LabelSelectorRequirement.scala
def withKey(value: String): LabelSelectorRequirement

Returns a new data with key set to new value

Returns a new data with key set to new value

Attributes

Source
LabelSelectorRequirement.scala

Returns a new data with operator set to new value

Returns a new data with operator set to new value

Attributes

Source
LabelSelectorRequirement.scala
def withValues(value: Seq[String]): LabelSelectorRequirement

Returns a new data with values set to new value

Returns a new data with values set to new value

Attributes

Source
LabelSelectorRequirement.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product