case class Taint(effect: String, key: String, timeAdded: Optional[Time] = Optional.Absent, value: Optional[String] = Optional.Absent) extends Product with Serializable
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
- effect
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
- key
Required. The taint key to be applied to a node.
- value
The taint value corresponding to the taint key.
- Alphabetic
- By Inheritance
- Taint
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Taint(effect: String, key: String, timeAdded: Optional[Time] = Optional.Absent, value: Optional[String] = Optional.Absent)
- effect
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
- key
Required. The taint key to be applied to a node.
- value
The taint value corresponding to the taint key.
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: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getEffect: IO[K8sFailure, String]
Required.
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
This effect always succeeds, it is safe to use the field effect directly.
-
def
getKey: IO[K8sFailure, String]
Required.
Required. The taint key to be applied to a node.
This effect always succeeds, it is safe to use the field key directly.
-
def
getTimeAdded: IO[K8sFailure, Time]
Gets timeAdded.
Gets timeAdded.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getValue: IO[K8sFailure, String]
The taint value corresponding to the taint key.
The taint value corresponding to the taint key.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timeAdded: Optional[Time]
- val value: Optional[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( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated