lib/IO/K8s/PrometheusOperator/V1/ProberSpec.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/PrometheusOperator/V1/ProbeTargets.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/Prometheus.pm »
1 package IO::K8s::PrometheusOperator::V1::ProberSpec;
2 # ABSTRACT: prober defines the specification for the prober to use for probing targets.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s noProxy => Str;
7 2 k8s path => Str, { default => '/probe' };
8 2 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
9 2 k8s proxyFromEnvironment => Bool;
10 2 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
11 2 k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] };
12 2 k8s url => Str, { required => 'schema' };
13  
14  
15  
16  
17  
18  
19  
20  
21 2 1;
22  
23 __END__
« lib/IO/K8s/PrometheusOperator/V1/ProbeTargets.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/Prometheus.pm »