File Coverage

blib/lib/IO/K8s/Api/Admissionregistration/V1alpha1/MatchResources.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::Admissionregistration::V1alpha1::MatchResources;
2             # ABSTRACT: MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
3             our $VERSION = '1.008';
4 1     1   1551 use IO::K8s::Resource;
  1         3  
  1         10  
5              
6             k8s excludeResourceRules => ['Admissionregistration::V1alpha1::NamedRuleWithOperations'];
7              
8              
9             k8s matchPolicy => Str;
10              
11              
12             k8s namespaceSelector => 'Meta::V1::LabelSelector';
13              
14              
15             k8s objectSelector => 'Meta::V1::LabelSelector';
16              
17              
18             k8s resourceRules => ['Admissionregistration::V1alpha1::NamedRuleWithOperations'];
19              
20              
21             1;
22              
23             __END__