PodFailurePolicyRulePatch class

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.

Constructors

PodFailurePolicyRulePatch({Input<String>? action, Input<PodFailurePolicyOnExitCodesRequirementPatch>? onExitCodes, Input<List<PodFailurePolicyOnPodConditionsPatternPatch>>? onPodConditions})
Creates a new PodFailurePolicyRulePatch. action Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: onExitCodes Represents the requirement on the container exit codes. onPodConditions Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
const
PodFailurePolicyRulePatch.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>?
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
final
hashCode → int
The hash code for this object.
no setterinherited
onExitCodes → Input<PodFailurePolicyOnExitCodesRequirementPatch>?
Represents the requirement on the container exit codes.
final
onPodConditions → Input<List<PodFailurePolicyOnPodConditionsPatternPatch>>?
Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited