File Coverage

blib/lib/IO/K8s/Cilium/V2/CiliumClusterwideNetworkPolicy.pm
Criterion Covered Total %
statement 4 4 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 6 6 100.0


line stmt bran cond sub pod time code
1             package IO::K8s::Cilium::V2::CiliumClusterwideNetworkPolicy;
2             # ABSTRACT: Cilium cluster-wide network policy
3             our $VERSION = '1.008';
4             use IO::K8s::APIObject
5 3         33 api_version => 'cilium.io/v2',
6 3     3   4361 resource_plural => 'ciliumclusterwidenetworkpolicies';
  3         8  
7              
8             with 'IO::K8s::Role::NetworkPolicy';
9              
10 2     2   7 sub _netpol_format { 'cilium' }
11              
12             k8s spec => { Str => 1 };
13             k8s specs => { Str => 1 };
14             k8s status => { Str => 1 };
15              
16             1;
17              
18             __END__