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
- val effect: String
-
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.
- val key: String
- val timeAdded: Optional[Time]
- val value: Optional[String]