NodeSelectorRequirement

io.k8s.api.core.v1.NodeSelectorRequirement
See theNodeSelectorRequirement companion object
final case class NodeSelectorRequirement(key: String, operator: String, values: Option[Seq[String]])

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

Attributes

Companion
object
Source
NodeSelectorRequirement.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*): NodeSelectorRequirement

Appends new values to values

Appends new values to values

Attributes

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

transforms key to result of function

transforms key to result of function

Attributes

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

transforms operator to result of function

transforms operator to result of function

Attributes

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

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

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

Attributes

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

Returns a new data with key set to new value

Returns a new data with key set to new value

Attributes

Source
NodeSelectorRequirement.scala

Returns a new data with operator set to new value

Returns a new data with operator set to new value

Attributes

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

Returns a new data with values set to new value

Returns a new data with values set to new value

Attributes

Source
NodeSelectorRequirement.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product