PodFailurePolicyRule constructor

const PodFailurePolicyRule({
  1. required Input<String> action,
  2. Input<PodFailurePolicyOnExitCodesRequirement>? onExitCodes,
  3. Input<List<PodFailurePolicyOnPodConditionsPattern>>? onPodConditions,
})

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,
});