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
« lib/IO/K8s/PrometheusOperator/V1alpha1/ConfigResourceStatus.pm ↑ Summary 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 1 our $VERSION = '1.112';
4 1 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 k8s allowStale => Bool;
7 1 k8s authorization => '+IO::K8s::PrometheusOperator::V1alpha1::SafeAuthorization';
8 1 k8s basicAuth => '+IO::K8s::PrometheusOperator::V1alpha1::BasicAuth';
9 1 k8s datacenter => Str;
10 1 k8s enableHTTP2 => Bool;
11 1 k8s filter => Str;
12 1 k8s followRedirects => Bool;
13 1 k8s healthFilter => Str;
14 1 k8s namespace => Str;
15 1 k8s noProxy => Str;
16 1 k8s nodeMeta => HashRef[Str];
17 1 k8s oauth2 => '+IO::K8s::PrometheusOperator::V1alpha1::OAuth2';
18 1 k8s partition => Str;
19 1 k8s pathPrefix => Str;
20 1 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
21 1 k8s proxyFromEnvironment => Bool;
22 1 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
23 1 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 1 k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] };
25 1 k8s server => Str, { required => 'schema' };
26 1 k8s services => [Str];
27 1 k8s tagSeparator => Str;
28 1 k8s tags => [Str];
29 1 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig';
30 1 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 1 1;
58  
59 __END__
« lib/IO/K8s/PrometheusOperator/V1alpha1/ConfigResourceStatus.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1alpha1/DNSSDConfig.pm »