lib/IO/K8s/Cilium/V2/CIDRRule.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Cilium/V2/BGPServiceOptions.pm ↑ Summary lib/IO/K8s/Cilium/V2/CiliumBGPAdvertisement.pm »
1 package IO::K8s::Cilium::V2::CIDRRule;
2 # ABSTRACT: CIDRRule is a rule that specifies a CIDR prefix to/from which outside communication is allowed, along with an optional list of subnets within that CIDR prefix to/from which outside communication is not allowed.
3 1 our $VERSION = '1.112';
4 1 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 k8s cidr => Str;
7 1 k8s cidrGroupRef => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
8 1 k8s cidrGroupSelector => 'Meta::V1::LabelSelector';
9 1 k8s except => [Str];
10  
11  
12  
13  
14  
15 1 1;
16  
17 __END__
« lib/IO/K8s/Cilium/V2/BGPServiceOptions.pm ↑ Summary lib/IO/K8s/Cilium/V2/CiliumBGPAdvertisement.pm »