final case class Toleration(effect: Option[String] = None, key: Option[String] = None, tolerationSeconds: Option[Int] = None, operator: Option[String] = None, value: Option[String] = None) extends Product with Serializable
The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- Source
- Toleration.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Toleration
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val effect: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: Option[String]
- def mapEffect(f: (String) => String): Toleration
if effect has a value, transforms to the result of function
- def mapKey(f: (String) => String): Toleration
if key has a value, transforms to the result of function
- def mapOperator(f: (String) => String): Toleration
if operator has a value, transforms to the result of function
- def mapTolerationSeconds(f: (Int) => Int): Toleration
if tolerationSeconds has a value, transforms to the result of function
- def mapValue(f: (String) => String): Toleration
if value has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val operator: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tolerationSeconds: Option[Int]
- val value: Option[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withEffect(value: String): Toleration
Returns a new data with effect set to new value
- def withKey(value: String): Toleration
Returns a new data with key set to new value
- def withOperator(value: String): Toleration
Returns a new data with operator set to new value
- def withTolerationSeconds(value: Int): Toleration
Returns a new data with tolerationSeconds set to new value
- def withValue(value: String): Toleration
Returns a new data with value set to new value