PodFailurePolicyOnExitCodesRequirement

final case class PodFailurePolicyOnExitCodesRequirement(operator: String, values: Seq[Int], containerName: Option[String])

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.

Companion:
object
Source:
PodFailurePolicyOnExitCodesRequirement.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to values

Appends new values to values

Source:
PodFailurePolicyOnExitCodesRequirement.scala

if containerName has a value, transforms to the result of function

if containerName has a value, transforms to the result of function

Source:
PodFailurePolicyOnExitCodesRequirement.scala

transforms operator to result of function

transforms operator to result of function

Source:
PodFailurePolicyOnExitCodesRequirement.scala

transforms values to result of function

transforms values to result of function

Source:
PodFailurePolicyOnExitCodesRequirement.scala

Returns a new data with containerName set to new value

Returns a new data with containerName set to new value

Source:
PodFailurePolicyOnExitCodesRequirement.scala

Returns a new data with operator set to new value

Returns a new data with operator set to new value

Source:
PodFailurePolicyOnExitCodesRequirement.scala

Returns a new data with values set to new value

Returns a new data with values set to new value

Source:
PodFailurePolicyOnExitCodesRequirement.scala

Inherited methods

Inherited from:
Product