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

filter: Statementstmt 100% 68 / 68 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 69 / 69 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/PrometheusOperator/V1/AlertmanagerLimitsSpec.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/AlertmanagerStatus.pm »
1 package IO::K8s::PrometheusOperator::V1::AlertmanagerSpec;
2 # ABSTRACT: spec defines the specification of the desired behavior of the Alertmanager cluster.
3 3 our $VERSION = '1.112';
4 3 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 k8s additionalArgs => ['+IO::K8s::PrometheusOperator::V1::Argument'];
7 3 k8s additionalPeers => [Str];
8 3 k8s affinity => 'Core::V1::Affinity';
9 3 k8s alertmanagerConfigMatcherStrategy => '+IO::K8s::PrometheusOperator::V1::AlertmanagerConfigMatcherStrategy';
10 3 k8s alertmanagerConfigNamespaceSelector => 'Meta::V1::LabelSelector';
11 3 k8s alertmanagerConfigSelector => 'Meta::V1::LabelSelector';
12 3 k8s alertmanagerConfiguration => '+IO::K8s::PrometheusOperator::V1::AlertmanagerConfiguration';
13 3 k8s automountServiceAccountToken => Bool;
14 3 k8s baseImage => Str;
15 3 k8s clusterAdvertiseAddress => Str;
16 3 k8s clusterGossipInterval => Str, { pattern => qr/^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ };
17 3 k8s clusterLabel => Str;
18 3 k8s clusterPeerTimeout => Str, { pattern => qr/^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ };
19 3 k8s clusterPushpullInterval => Str, { pattern => qr/^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ };
20 3 k8s clusterTLS => '+IO::K8s::PrometheusOperator::V1::ClusterTLSConfig';
21 3 k8s configMaps => [Str];
22 3 k8s configSecret => Str;
23 3 k8s containers => ['Core::V1::Container'];
24 3 k8s dnsConfig => 'Core::V1::PodDNSConfig';
25 3 k8s dnsPolicy => Str, { enum => [qw(ClusterFirstWithHostNet ClusterFirst Default None)] };
26 3 k8s enableFeatures => [Str];
27 3 k8s enableServiceLinks => Bool;
28 3 k8s externalUrl => Str;
29 3 k8s forceEnableClusterMode => Bool;
30 3 k8s hostAliases => ['Core::V1::HostAlias'];
31 3 k8s hostNetwork => Bool;
32 3 k8s hostUsers => Bool;
33 3 k8s image => Str;
34 3 k8s imagePullPolicy => Str, { enum => ['','Always','Never','IfNotPresent'] };
35 3 k8s imagePullSecrets => ['Core::V1::LocalObjectReference'];
36 3 k8s initContainers => ['Core::V1::Container'];
37 3 k8s limits => '+IO::K8s::PrometheusOperator::V1::AlertmanagerLimitsSpec';
38 3 k8s listenLocal => Bool;
39 3 k8s logFormat => Str, { enum => ['','logfmt','json'] };
40 3 k8s logLevel => Str, { enum => ['','debug','info','warn','error'] };
41 3 k8s minReadySeconds => Int, { minimum => 0 };
42 3 k8s nodeSelector => HashRef[Str];
43 3 k8s paused => Bool;
44 3 k8s persistentVolumeClaimRetentionPolicy => 'Apps::V1::StatefulSetPersistentVolumeClaimRetentionPolicy';
45 3 k8s podManagementPolicy => Str, { enum => [qw(OrderedReady Parallel)] };
46 3 k8s podMetadata => '+IO::K8s::PrometheusOperator::V1::EmbeddedObjectMetadata';
47 3 k8s portName => Str, { default => 'web' };
48 3 k8s priorityClassName => Str;
49 3 k8s replicas => Int;
50 3 k8s resources => 'Core::V1::ResourceRequirements';
51 3 k8s retention => Str, { pattern => qr/^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/, default => '120h' };
52 3 k8s routePrefix => Str;
53 3 k8s schedulerName => Str;
54 3 k8s secrets => [Str];
55 3 k8s securityContext => 'Core::V1::PodSecurityContext';
56 3 k8s serviceAccountName => Str;
57 3 k8s serviceName => Str;
58 3 k8s sha => Str;
59 3 k8s storage => '+IO::K8s::PrometheusOperator::V1::StorageSpec';
60 3 k8s tag => Str;
61 3 k8s terminationGracePeriodSeconds => Int, { minimum => 0 };
62 3 k8s tolerations => ['Core::V1::Toleration'];
63 3 k8s topologySpreadConstraints => ['Core::V1::TopologySpreadConstraint'];
64 3 k8s updateStrategy => '+IO::K8s::PrometheusOperator::V1::StatefulSetUpdateStrategy';
65 3 k8s version => Str;
66 3 k8s volumeMounts => ['+IO::K8s::PrometheusOperator::V1::VolumeMount'];
67 3 k8s volumes => ['Core::V1::Volume'];
68 3 k8s web => '+IO::K8s::PrometheusOperator::V1::AlertmanagerWebSpec';
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
90  
91  
92  
93  
94  
95  
96  
97  
98  
99  
100  
101  
102  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
117  
118  
119  
120  
121  
122  
123  
124  
125  
126  
127  
128  
129  
130  
131  
132  
133 3 1;
134  
135 __END__
« lib/IO/K8s/PrometheusOperator/V1/AlertmanagerLimitsSpec.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/AlertmanagerStatus.pm »