lib/IO/K8s/Traefik/V1alpha1/LoadBalancerSpec.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/IngressRouteUDPSpec.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/Middleware.pm »
1 package IO::K8s::Traefik::V1alpha1::LoadBalancerSpec;
2 # ABSTRACT: Service defines the main service to use.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s healthCheck => '+IO::K8s::Traefik::V1alpha1::ServerHealthCheck';
7 2 k8s kind => Str, { enum => [qw(Service TraefikService)] };
8 2 k8s middlewares => ['Core::V1::SecretReference'];
9 2 k8s name => Str, { required => 'schema' };
10 2 k8s namespace => Str;
11 2 k8s nativeLB => Bool;
12 2 k8s nodePortLB => Bool;
13 2 k8s passHostHeader => Bool;
14 2 k8s passiveHealthCheck => '+IO::K8s::Traefik::V1alpha1::PassiveServerHealthCheck';
15 2 k8s port => IntOrStr;
16 2 k8s responseForwarding => '+IO::K8s::Traefik::V1alpha1::ResponseForwarding';
17 2 k8s scheme => Str;
18 2 k8s serversTransport => Str;
19 2 k8s sticky => '+IO::K8s::Traefik::V1alpha1::Sticky';
20 2 k8s strategy => Str, { enum => [qw(wrr p2c hrw leasttime RoundRobin)] };
21 2 k8s weight => Int, { minimum => 0 };
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39 2 1;
40  
41 __END__
« lib/IO/K8s/Traefik/V1alpha1/IngressRouteUDPSpec.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/Middleware.pm »