PodFailurePolicyRule 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
-
PodFailurePolicyRule({required Input<
String> action, Input<PodFailurePolicyOnExitCodesRequirement> ? onExitCodes, Input<List< ? onPodConditions})PodFailurePolicyOnPodConditionsPattern> > -
Creates a new PodFailurePolicyRule.
actionSpecifies the action taken on a pod failure when the requirements are satisfied. Possible values are:onExitCodesRepresents the requirement on the container exit codes.onPodConditionsRepresents 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 -
PodFailurePolicyRule.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<
PodFailurePolicyOnExitCodesRequirement> ? -
Represents the requirement on the container exit codes.
final
-
onPodConditions
→ Input<
List< ?PodFailurePolicyOnPodConditionsPattern> > -
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