final case class Toleration(effect: Option[String] = None, key: Option[String] = None, tolerationSeconds: Option[Long] = 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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
- val effect: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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: (Long) ⇒ Long): 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val operator: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tolerationSeconds: Option[Long]
- val value: Option[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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: Long): 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