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

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