blib/lib/IO/K8s/PrometheusOperator/V1/RemoteReadSpec.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/PrometheusOperator/V1/RelabelConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/RemoteWriteSpec.pm »
1 package IO::K8s::PrometheusOperator::V1::RemoteReadSpec;
2 # ABSTRACT: RemoteReadSpec defines the configuration for Prometheus to read back samples from a remote endpoint.
3 8 our $VERSION = '1.111';
4 8 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 k8s authorization => '+IO::K8s::PrometheusOperator::V1::Authorization';
7 8 k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth';
8 8 k8s bearerToken => Str;
9 8 k8s bearerTokenFile => Str;
10 8 k8s filterExternalLabels => Bool;
11 8 k8s followRedirects => Bool;
12 8 k8s headers => HashRef[Str];
13 8 k8s name => Str;
14 8 k8s noProxy => Str;
15 8 k8s oauth2 => '+IO::K8s::PrometheusOperator::V1::OAuth2';
16 8 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
17 8 k8s proxyFromEnvironment => Bool;
18 8 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
19 8 k8s readRecent => Bool;
20 8 k8s remoteTimeout => 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)?)$/ };
21 8 k8s requiredMatchers => HashRef[Str];
22 8 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1::TLSConfig';
23 8 k8s url => Str, { required => 'schema', pattern => qr/^(http|https):\/\/.+$/ };
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43 8 1;
44  
45 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1/RelabelConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/RemoteWriteSpec.pm »