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

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Cilium/V2/RedirectFrontend.pm ↑ Summary lib/IO/K8s/Cilium/V2/Service.pm »
1 package IO::K8s::Cilium::V2::Rule;
2 # ABSTRACT: Rule is a policy rule which must be applied to all endpoints which match the labels contained in the endpointSelector Each rule is split into an ingress section which contains all rules applicable at ingress, and an egress section applicable at egress.
3 6 our $VERSION = '1.112';
4 6 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 k8s description => Str;
7 6 k8s egress => ['+IO::K8s::Cilium::V2::EgressRule'];
8 6 k8s egressDeny => ['+IO::K8s::Cilium::V2::EgressDenyRule'];
9 6 k8s enableDefaultDeny => '+IO::K8s::Cilium::V2::DefaultDenyConfig';
10 6 k8s endpointSelector => 'Meta::V1::LabelSelector';
11 6 k8s ingress => ['+IO::K8s::Cilium::V2::IngressRule'];
12 6 k8s ingressDeny => ['+IO::K8s::Cilium::V2::IngressDenyRule'];
13 6 k8s labels => ['+IO::K8s::Cilium::V2::Label'];
14 6 k8s log => '+IO::K8s::Cilium::V2::LogConfig';
15 6 k8s nodeSelector => 'Meta::V1::LabelSelector';
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27 6 1;
28  
29 __END__
« lib/IO/K8s/Cilium/V2/RedirectFrontend.pm ↑ Summary lib/IO/K8s/Cilium/V2/Service.pm »