blib/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
« blib/lib/IO/K8s/PrometheusOperator/V1/AlertmanagerConfiguration.pm ↑ Summary blib/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 7 our $VERSION = '1.110';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s alertRelabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig'];
7 7 k8s apiVersion => Str, { enum => [qw(v1 V1 v2 V2)] };
8 7 k8s authorization => '+IO::K8s::PrometheusOperator::V1::SafeAuthorization';
9 7 k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth';
10 7 k8s bearerTokenFile => Str;
11 7 k8s enableHttp2 => Bool;
12 7 k8s name => Str, { required => 'schema' };
13 7 k8s namespace => Str;
14 7 k8s noProxy => Str;
15 7 k8s pathPrefix => Str;
16 7 k8s port => IntOrStr, { required => 'schema' };
17 7 k8s proxyConnectHeader => Opaque;
18 7 k8s proxyFromEnvironment => Bool;
19 7 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
20 7 k8s relabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig'];
21 7 k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] };
22 7 k8s sigv4 => '+IO::K8s::PrometheusOperator::V1::Sigv4';
23 7 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 7 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 7 1;
46  
47 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1/AlertmanagerConfiguration.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/AlertmanagerGlobalConfig.pm »