lib/IO/K8s/PrometheusOperator/V1/PodMetricsEndpoint.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/V1/PersistentVolumeClaimTemplate.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/PodMonitor.pm »
1 package IO::K8s::PrometheusOperator::V1::PodMetricsEndpoint;
2 # ABSTRACT: PodMetricsEndpoint defines an endpoint serving Prometheus metrics to be scraped by Prometheus.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s authorization => '+IO::K8s::PrometheusOperator::V1::SafeAuthorization';
7 2 k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth';
8 2 k8s bearerTokenSecret => 'Core::V1::ConfigMapKeySelector';
9 2 k8s enableHttp2 => Bool;
10 2 k8s filterRunning => Bool;
11 2 k8s followRedirects => Bool;
12 2 k8s honorLabels => Bool;
13 2 k8s honorTimestamps => Bool;
14 2 k8s interval => 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)?)$/ };
15 2 k8s metricRelabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig'];
16 2 k8s noProxy => Str;
17 2 k8s oauth2 => '+IO::K8s::PrometheusOperator::V1::OAuth2';
18 2 k8s params => HashRef[ArrayRef[Str]];
19 2 k8s path => Str;
20 2 k8s port => Str;
21 2 k8s portNumber => Int, { minimum => 1, maximum => 65535 };
22 2 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
23 2 k8s proxyFromEnvironment => Bool;
24 2 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
25 2 k8s relabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig'];
26 2 k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] };
27 2 k8s scrapeTimeout => 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)?)$/ };
28 2 k8s targetPort => IntOrStr;
29 2 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1::SafeTLSConfig';
30 2 k8s trackTimestampsStaleness => Bool;
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 2 1;
58  
59 __END__
« lib/IO/K8s/PrometheusOperator/V1/PersistentVolumeClaimTemplate.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/PodMonitor.pm »