blib/lib/IO/K8s/Api/Core/V1/ServicePort.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/Api/Core/V1/ServiceAccountTokenProjection.pm ↑ Summary blib/lib/IO/K8s/Api/Core/V1/ServiceSpec.pm »
1 package IO::K8s::Api::Core::V1::ServicePort;
2 # ABSTRACT: ServicePort contains information on service's port.
3 15 our $VERSION = '1.111';
4 15 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 15 k8s appProtocol => Str;
7  
8  
9 15 k8s name => Str;
10  
11  
12 15 k8s nodePort => Int;
13  
14  
15 15 k8s port => Int, 'required';
16  
17  
18 15 k8s protocol => Str;
19  
20  
21 15 k8s targetPort => IntOrStr;
22  
23  
24 15 1;
25  
26 __END__
« blib/lib/IO/K8s/Api/Core/V1/ServiceAccountTokenProjection.pm ↑ Summary blib/lib/IO/K8s/Api/Core/V1/ServiceSpec.pm »