Toleration

io.k8s.api.core.v1.Toleration
See theToleration companion object
final case class Toleration(effect: Option[String], key: Option[String], tolerationSeconds: Option[Long], operator: Option[String], value: Option[String])

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

Attributes

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

Members list

Value members

Concrete methods

def mapEffect(f: String => String): Toleration

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Source
Toleration.scala
def mapTolerationSeconds(f: Long => Long): Toleration

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

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

Attributes

Source
Toleration.scala
def mapValue(f: String => String): Toleration

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

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

Attributes

Source
Toleration.scala
def withEffect(value: String): Toleration

Returns a new data with effect set to new value

Returns a new data with effect set to new value

Attributes

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

Returns a new data with key set to new value

Returns a new data with key set to new value

Attributes

Source
Toleration.scala
def withOperator(value: String): Toleration

Returns a new data with operator set to new value

Returns a new data with operator set to new value

Attributes

Source
Toleration.scala
def withTolerationSeconds(value: Long): Toleration

Returns a new data with tolerationSeconds set to new value

Returns a new data with tolerationSeconds set to new value

Attributes

Source
Toleration.scala
def withValue(value: String): Toleration

Returns a new data with value set to new value

Returns a new data with value set to new value

Attributes

Source
Toleration.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product