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

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/PrometheusOperator/V1/AlertmanagerConfiguration.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/AlertmanagerGlobalConfig.pm »
1 package IO::K8s::PrometheusOperator::V1::AlertmanagerEndpoints;
2 # ABSTRACT: AlertmanagerEndpoints defines a selection of a single Endpoints object containing Alertmanager IPs to fire alerts against.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s alertRelabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig'];
7 2 k8s apiVersion => Str, { enum => [qw(v1 V1 v2 V2)] };
8 2 k8s authorization => '+IO::K8s::PrometheusOperator::V1::SafeAuthorization';
9 2 k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth';
10 2 k8s bearerTokenFile => Str;
11 2 k8s enableHttp2 => Bool;
12 2 k8s name => Str, { required => 'schema' };
13 2 k8s namespace => Str;
14 2 k8s noProxy => Str;
15 2 k8s pathPrefix => Str;
16 2 k8s port => IntOrStr, { required => 'schema' };
17 2 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
18 2 k8s proxyFromEnvironment => Bool;
19 2 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
20 2 k8s relabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig'];
21 2 k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] };
22 2 k8s sigv4 => '+IO::K8s::PrometheusOperator::V1::Sigv4';
23 2 k8s timeout => 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 2 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1::TLSConfig';
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45 2 1;
46  
47 __END__
« lib/IO/K8s/PrometheusOperator/V1/AlertmanagerConfiguration.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/AlertmanagerGlobalConfig.pm »