File Coverage

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