PodFailurePolicyRule

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends new values to onPodConditions

Appends new values to onPodConditions

Attributes

Source
PodFailurePolicyRule.scala
def mapAction(f: String => String): PodFailurePolicyRule

transforms action to result of function

transforms action to result of function

Attributes

Source
PodFailurePolicyRule.scala

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
def withAction(value: String): PodFailurePolicyRule

Returns a new data with action set to new value

Returns a new data with action set to new value

Attributes

Source
PodFailurePolicyRule.scala

Returns a new data with onExitCodes set to new value

Returns a new data with onExitCodes set to new value

Attributes

Source
PodFailurePolicyRule.scala

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

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product