« lib/IO/K8s/Api/Batch/V1/PodFailurePolicyOnPodConditionsPattern.pm
↑ Summary
lib/IO/K8s/Api/Batch/V1/SuccessPolicy.pm »
| 1 | package IO::K8s::Api::Batch::V1::PodFailurePolicyRule; | ||
| 2 | # ABSTRACT: 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. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s action => Str, 'required'; | |
| 7 | |||
| 8 | |||
| 9 | 2 | k8s onExitCodes => 'Batch::V1::PodFailurePolicyOnExitCodesRequirement'; | |
| 10 | |||
| 11 | |||
| 12 | 2 | k8s onPodConditions => ['Batch::V1::PodFailurePolicyOnPodConditionsPattern']; | |
| 13 | |||
| 14 | |||
| 15 | 2 | 1; | |
| 16 | |||
| 17 | __END__ | ||