PodFailurePolicyRule constructor
const
PodFailurePolicyRule({
- required Input<
String> action, - Input<
PodFailurePolicyOnExitCodesRequirement> ? onExitCodes, - Input<
List< ? onPodConditions,PodFailurePolicyOnPodConditionsPattern> >
Creates a new PodFailurePolicyRule.
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.
Implementation
const PodFailurePolicyRule({
required this.action,
this.onExitCodes,
this.onPodConditions,
});