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 14 our $VERSION = '1.110';
4 14 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 14 k8s appProtocol => Str;
7  
8  
9 14 k8s name => Str;
10  
11  
12 14 k8s nodePort => Int;
13  
14  
15 14 k8s port => Int, 'required';
16  
17  
18 14 k8s protocol => Str;
19  
20  
21 14 k8s targetPort => IntOrStr;
22  
23  
24 14 1;
25  
26 __END__
« blib/lib/IO/K8s/Api/Core/V1/ServiceAccountTokenProjection.pm ↑ Summary blib/lib/IO/K8s/Api/Core/V1/ServiceSpec.pm »