Taint

io.k8s.api.core.v1.Taint
See theTaint companion object
final case class Taint(effect: String, key: String, timeAdded: Option[Time], value: Option[String])

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

Attributes

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

Members list

Value members

Concrete methods

transforms effect to result of function

transforms effect to result of function

Attributes

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

transforms key to result of function

transforms key to result of function

Attributes

Source
Taint.scala
def mapTimeAdded(f: Time => Time): Taint

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

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

Attributes

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

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

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

Attributes

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

Returns a new data with effect set to new value

Returns a new data with effect set to new value

Attributes

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

Returns a new data with key set to new value

Returns a new data with key set to new value

Attributes

Source
Taint.scala
def withTimeAdded(value: Time): Taint

Returns a new data with timeAdded set to new value

Returns a new data with timeAdded set to new value

Attributes

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

Returns a new data with value set to new value

Returns a new data with value set to new value

Attributes

Source
Taint.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product