File Coverage

blib/lib/IO/K8s/Cilium/V2/CiliumNetworkPolicy.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::CiliumNetworkPolicy;
2             # ABSTRACT: Cilium network policy for namespace-scoped network security
3             our $VERSION = '1.008';
4             use IO::K8s::APIObject
5 5         30 api_version => 'cilium.io/v2',
6 5     5   474143 resource_plural => 'ciliumnetworkpolicies';
  5         15  
7             with 'IO::K8s::Role::Namespaced', 'IO::K8s::Role::NetworkPolicy';
8              
9 12     12   42 sub _netpol_format { 'cilium' }
10              
11             k8s spec => { Str => 1 };
12             k8s specs => { Str => 1 };
13             k8s status => { Str => 1 };
14              
15             1;
16              
17             __END__