File Coverage

blib/lib/IO/K8s/Api/Networking/V1/NetworkPolicySpec.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::Networking::V1::NetworkPolicySpec;
2             # ABSTRACT: NetworkPolicySpec provides the specification of a NetworkPolicy
3             our $VERSION = '1.008';
4 5     5   4970 use IO::K8s::Resource;
  5         14  
  5         52  
5              
6             k8s egress => ['Networking::V1::NetworkPolicyEgressRule'];
7              
8              
9             k8s ingress => ['Networking::V1::NetworkPolicyIngressRule'];
10              
11              
12             k8s podSelector => 'Meta::V1::LabelSelector', 'required';
13              
14              
15             k8s policyTypes => [Str];
16              
17              
18             1;
19              
20             __END__