blib/lib/IO/K8s/PrometheusOperator/V1alpha1/ConsulSDConfig.pm

filter: Statementstmt 100% 30 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/PrometheusOperator/V1alpha1/ConfigResourceStatus.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1alpha1/DNSSDConfig.pm »
1 package IO::K8s::PrometheusOperator::V1alpha1::ConsulSDConfig;
2 # ABSTRACT: ConsulSDConfig defines a Consul service discovery configuration See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#consul_sd_config
3 6 our $VERSION = '1.110';
4 6 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 k8s allowStale => Bool;
7 6 k8s authorization => '+IO::K8s::PrometheusOperator::V1alpha1::SafeAuthorization';
8 6 k8s basicAuth => '+IO::K8s::PrometheusOperator::V1alpha1::BasicAuth';
9 6 k8s datacenter => Str;
10 6 k8s enableHTTP2 => Bool;
11 6 k8s filter => Str;
12 6 k8s followRedirects => Bool;
13 6 k8s healthFilter => Str;
14 6 k8s namespace => Str;
15 6 k8s noProxy => Str;
16 6 k8s nodeMeta => { Str => 1 };
17 6 k8s oauth2 => '+IO::K8s::PrometheusOperator::V1alpha1::OAuth2';
18 6 k8s partition => Str;
19 6 k8s pathPrefix => Str;
20 6 k8s proxyConnectHeader => Opaque;
21 6 k8s proxyFromEnvironment => Bool;
22 6 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
23 6 k8s refreshInterval => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ };
24 6 k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] };
25 6 k8s server => Str, { required => 'schema' };
26 6 k8s services => [Str];
27 6 k8s tagSeparator => Str;
28 6 k8s tags => [Str];
29 6 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig';
30 6 k8s tokenRef => 'Core::V1::ConfigMapKeySelector';
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57 6 1;
58  
59 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1alpha1/ConfigResourceStatus.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1alpha1/DNSSDConfig.pm »