File Coverage

blib/lib/IO/K8s/Api/Networking/V1/NetworkPolicyEgressRule.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::NetworkPolicyEgressRule;
2             # ABSTRACT: NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
3             our $VERSION = '1.008';
4 3     3   2315 use IO::K8s::Resource;
  3         5  
  3         24  
5              
6             k8s ports => ['Networking::V1::NetworkPolicyPort'];
7              
8              
9             k8s to => ['Networking::V1::NetworkPolicyPeer'];
10              
11              
12             1;
13              
14             __END__