| 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__ | ||