final case class PodFailurePolicyOnExitCodesRequirement(operator: String, values: Seq[Int], containerName: Option[String] = None) extends Product with Serializable
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
- Alphabetic
- By Inheritance
- PodFailurePolicyOnExitCodesRequirement
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- 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
- def addValues(newValues: Int*): PodFailurePolicyOnExitCodesRequirement
Appends new values to values
- 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 containerName: 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
- def mapContainerName(f: (String) => String): PodFailurePolicyOnExitCodesRequirement
if containerName has a value, transforms to the result of function
- def mapOperator(f: (String) => String): PodFailurePolicyOnExitCodesRequirement
transforms operator to result of function
- def mapValues(f: (Seq[Int]) => Seq[Int]): PodFailurePolicyOnExitCodesRequirement
transforms values to 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: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val values: Seq[Int]
- 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 withContainerName(value: String): PodFailurePolicyOnExitCodesRequirement
Returns a new data with containerName set to new value
- def withOperator(value: String): PodFailurePolicyOnExitCodesRequirement
Returns a new data with operator set to new value
- def withValues(value: Seq[Int]): PodFailurePolicyOnExitCodesRequirement
Returns a new data with values set to new value