lib/IO/K8s/Traefik/V1alpha1/Redis.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/RedirectScheme.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/ReplacePath.pm »
1 package IO::K8s::Traefik::V1alpha1::Redis;
2 # ABSTRACT: Redis hold the configs of Redis as bucket in rate limiter.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s db => Int;
7 2 k8s dialTimeout => IntOrStr, { pattern => "^([0-9]+(ns|us|\x{b5}s|ms|s|m|h)?)+\$" };
8 2 k8s endpoints => [Str];
9 2 k8s maxActiveConns => Int;
10 2 k8s minIdleConns => Int;
11 2 k8s poolSize => Int;
12 2 k8s readTimeout => IntOrStr, { pattern => "^([0-9]+(ns|us|\x{b5}s|ms|s|m|h)?)+\$" };
13 2 k8s secret => Str;
14 2 k8s tls => '+IO::K8s::Traefik::V1alpha1::ClientTLS';
15 2 k8s writeTimeout => IntOrStr, { pattern => "^([0-9]+(ns|us|\x{b5}s|ms|s|m|h)?)+\$" };
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27 2 1;
28  
29 __END__
« lib/IO/K8s/Traefik/V1alpha1/RedirectScheme.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/ReplacePath.pm »