File Coverage

blib/lib/IO/K8s/Api/Batch/V1/PodFailurePolicyRule.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
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             our $VERSION = '1.008';
4 1     1   1334 use IO::K8s::Resource;
  1         3  
  1         8  
5              
6             k8s action => Str, 'required';
7              
8              
9             k8s onExitCodes => 'Batch::V1::PodFailurePolicyOnExitCodesRequirement';
10              
11              
12             k8s onPodConditions => ['Batch::V1::PodFailurePolicyOnPodConditionsPattern'];
13              
14              
15             1;
16              
17             __END__