io.k8s.api.batch.v1.PodFailurePolicyRule
See thePodFailurePolicyRule companion object
final case class PodFailurePolicyRule(action: String, onExitCodes: Option[PodFailurePolicyOnExitCodesRequirement], onPodConditions: Option[Seq[PodFailurePolicyOnPodConditionsPattern]])
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
Attributes
- Companion
- object
- Source
- PodFailurePolicyRule.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Appends new values to onPodConditions
transforms action to result of function
if onExitCodes has a value, transforms to the result of function
if onExitCodes has a value, transforms to the result of function
Attributes
- Source
- PodFailurePolicyRule.scala
if onPodConditions has a value, transforms to the result of function
if onPodConditions has a value, transforms to the result of function
Attributes
- Source
- PodFailurePolicyRule.scala
Returns a new data with action set to new value
Returns a new data with onExitCodes set to new value
Returns a new data with onPodConditions set to new value
Returns a new data with onPodConditions set to new value
Attributes
- Source
- PodFailurePolicyRule.scala
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article