lib/IO/K8s/Api/Networking/V1/IPBlock.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Api/Networking/V1/IPAddressSpec.pm ↑ Summary lib/IO/K8s/Api/Networking/V1/Ingress.pm »
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 8 our $VERSION = '1.112';
4 8 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 k8s cidr => Str, 'required';
7  
8  
9 8 k8s except => [Str];
10  
11  
12 8 1;
13  
14 __END__
« lib/IO/K8s/Api/Networking/V1/IPAddressSpec.pm ↑ Summary lib/IO/K8s/Api/Networking/V1/Ingress.pm »