lib/IO/K8s/Traefik/V1alpha1/ServiceTCP.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Traefik/V1alpha1/Service.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/ServiceUDP.pm »
1 package IO::K8s::Traefik::V1alpha1::ServiceTCP;
2 # ABSTRACT: ServiceTCP defines an upstream TCP service to proxy traffic to.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s name => Str, { required => 'schema' };
7 2 k8s namespace => Str;
8 2 k8s nativeLB => Bool;
9 2 k8s nodePortLB => Bool;
10 2 k8s port => IntOrStr, { required => 'schema' };
11 2 k8s proxyProtocol => '+IO::K8s::Traefik::V1alpha1::ProxyProtocol';
12 2 k8s serversTransport => Str;
13 2 k8s terminationDelay => Int;
14 2 k8s tls => Bool;
15 2 k8s weight => Int, { minimum => 0 };
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27 2 1;
28  
29 __END__
« lib/IO/K8s/Traefik/V1alpha1/Service.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/ServiceUDP.pm »