lib/IO/K8s/PrometheusOperator/V1alpha1/ScalewaySDConfig.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/PrometheusOperator/V1alpha1/SafeTLSConfig.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1alpha1/ScrapeConfig.pm »
1 package IO::K8s::PrometheusOperator::V1alpha1::ScalewaySDConfig;
2 # ABSTRACT: ScalewaySDConfig configurations allow retrieving scrape targets from Scaleway instances and baremetal services.
3 1 our $VERSION = '1.112';
4 1 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 k8s accessKey => Str, { required => 'schema' };
7 1 k8s apiURL => Str, { pattern => qr/^https?:\/\/.+$/ };
8 1 k8s enableHTTP2 => Bool;
9 1 k8s followRedirects => Bool;
10 1 k8s nameFilter => Str;
11 1 k8s noProxy => Str;
12 1 k8s port => Int, { minimum => 0, maximum => 65535 };
13 1 k8s projectID => Str, { required => 'schema' };
14 1 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
15 1 k8s proxyFromEnvironment => Bool;
16 1 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
17 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)?)$/ };
18 1 k8s role => Str, { required => 'schema', enum => [qw(Instance Baremetal)] };
19 1 k8s secretKey => 'Core::V1::ConfigMapKeySelector', { required => 'schema' };
20 1 k8s tagsFilter => [Str];
21 1 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig';
22 1 k8s zone => Str;
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41 1 1;
42  
43 __END__
« lib/IO/K8s/PrometheusOperator/V1alpha1/SafeTLSConfig.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1alpha1/ScrapeConfig.pm »