Packages

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Taint
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. val effect: String
  2. 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.

  3. 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.

  4. def getTimeAdded: IO[K8sFailure, Time]

    Gets timeAdded.

    Gets timeAdded.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  5. 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.

  6. val key: String
  7. val timeAdded: Optional[Time]
  8. val value: Optional[String]