File Coverage

blib/lib/IO/K8s/Api/Flowcontrol/V1/NonResourcePolicyRule.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::Flowcontrol::V1::NonResourcePolicyRule;
2             # ABSTRACT: NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.
3             our $VERSION = '1.008';
4 1     1   1608 use IO::K8s::Resource;
  1         3  
  1         11  
5              
6             k8s nonResourceURLs => [Str], 'required';
7              
8              
9             k8s verbs => [Str], 'required';
10              
11              
12             1;
13              
14             __END__