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

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Traefik/V1alpha1/ServersTransportTCPSpec.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/ServiceTCP.pm »
1 package IO::K8s::Traefik::V1alpha1::Service;
2 # ABSTRACT: Service defines an upstream HTTP service to proxy traffic to.
3 5 our $VERSION = '1.112';
4 5 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 k8s healthCheck => '+IO::K8s::Traefik::V1alpha1::ServerHealthCheck';
7 5 k8s kind => Str, { enum => [qw(Service TraefikService)] };
8 5 k8s middlewares => ['Core::V1::SecretReference'];
9 5 k8s name => Str, { required => 'schema' };
10 5 k8s namespace => Str;
11 5 k8s nativeLB => Bool;
12 5 k8s nodePortLB => Bool;
13 5 k8s passHostHeader => Bool;
14 5 k8s passiveHealthCheck => '+IO::K8s::Traefik::V1alpha1::PassiveServerHealthCheck';
15 5 k8s port => IntOrStr;
16 5 k8s responseForwarding => '+IO::K8s::Traefik::V1alpha1::ResponseForwarding';
17 5 k8s scheme => Str;
18 5 k8s serversTransport => Str;
19 5 k8s sticky => '+IO::K8s::Traefik::V1alpha1::Sticky';
20 5 k8s strategy => Str, { enum => [qw(wrr p2c hrw leasttime RoundRobin)] };
21 5 k8s weight => Int, { minimum => 0 };
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39 5 1;
40  
41 __END__
« lib/IO/K8s/Traefik/V1alpha1/ServersTransportTCPSpec.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/ServiceTCP.pm »