File Coverage

blib/lib/IO/K8s/Api/Networking/V1/IPBlock.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::IPBlock;
2             # ABSTRACT: IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
3             our $VERSION = '1.008';
4 3     3   2604 use IO::K8s::Resource;
  3         6  
  3         28  
5              
6             k8s cidr => Str, 'required';
7              
8              
9             k8s except => [Str];
10              
11              
12             1;
13              
14             __END__