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