Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / github.com / coreos / prometheus-operator / pkg / apis / monitoring / v1 / zz_generated.deepcopy.go
1 // +build !ignore_autogenerated
2
3 // Copyright 2018 The prometheus-operator Authors
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16
17 // Code generated by deepcopy-gen. DO NOT EDIT.
18
19 package v1
20
21 import (
22         corev1 "k8s.io/api/core/v1"
23         metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
24         intstr "k8s.io/apimachinery/pkg/util/intstr"
25 )
26
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *APIServerConfig) DeepCopyInto(out *APIServerConfig) {
29         *out = *in
30         if in.BasicAuth != nil {
31                 in, out := &in.BasicAuth, &out.BasicAuth
32                 *out = new(BasicAuth)
33                 (*in).DeepCopyInto(*out)
34         }
35         if in.TLSConfig != nil {
36                 in, out := &in.TLSConfig, &out.TLSConfig
37                 *out = new(TLSConfig)
38                 **out = **in
39         }
40         return
41 }
42
43 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerConfig.
44 func (in *APIServerConfig) DeepCopy() *APIServerConfig {
45         if in == nil {
46                 return nil
47         }
48         out := new(APIServerConfig)
49         in.DeepCopyInto(out)
50         return out
51 }
52
53 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
54 func (in *AlertingSpec) DeepCopyInto(out *AlertingSpec) {
55         *out = *in
56         if in.Alertmanagers != nil {
57                 in, out := &in.Alertmanagers, &out.Alertmanagers
58                 *out = make([]AlertmanagerEndpoints, len(*in))
59                 for i := range *in {
60                         (*in)[i].DeepCopyInto(&(*out)[i])
61                 }
62         }
63         return
64 }
65
66 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertingSpec.
67 func (in *AlertingSpec) DeepCopy() *AlertingSpec {
68         if in == nil {
69                 return nil
70         }
71         out := new(AlertingSpec)
72         in.DeepCopyInto(out)
73         return out
74 }
75
76 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
77 func (in *Alertmanager) DeepCopyInto(out *Alertmanager) {
78         *out = *in
79         out.TypeMeta = in.TypeMeta
80         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
81         in.Spec.DeepCopyInto(&out.Spec)
82         if in.Status != nil {
83                 in, out := &in.Status, &out.Status
84                 *out = new(AlertmanagerStatus)
85                 **out = **in
86         }
87         return
88 }
89
90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alertmanager.
91 func (in *Alertmanager) DeepCopy() *Alertmanager {
92         if in == nil {
93                 return nil
94         }
95         out := new(Alertmanager)
96         in.DeepCopyInto(out)
97         return out
98 }
99
100 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
101 func (in *AlertmanagerEndpoints) DeepCopyInto(out *AlertmanagerEndpoints) {
102         *out = *in
103         out.Port = in.Port
104         if in.TLSConfig != nil {
105                 in, out := &in.TLSConfig, &out.TLSConfig
106                 *out = new(TLSConfig)
107                 **out = **in
108         }
109         return
110 }
111
112 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerEndpoints.
113 func (in *AlertmanagerEndpoints) DeepCopy() *AlertmanagerEndpoints {
114         if in == nil {
115                 return nil
116         }
117         out := new(AlertmanagerEndpoints)
118         in.DeepCopyInto(out)
119         return out
120 }
121
122 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
123 func (in *AlertmanagerList) DeepCopyInto(out *AlertmanagerList) {
124         *out = *in
125         out.TypeMeta = in.TypeMeta
126         out.ListMeta = in.ListMeta
127         if in.Items != nil {
128                 in, out := &in.Items, &out.Items
129                 *out = make([]Alertmanager, len(*in))
130                 for i := range *in {
131                         (*in)[i].DeepCopyInto(&(*out)[i])
132                 }
133         }
134         return
135 }
136
137 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerList.
138 func (in *AlertmanagerList) DeepCopy() *AlertmanagerList {
139         if in == nil {
140                 return nil
141         }
142         out := new(AlertmanagerList)
143         in.DeepCopyInto(out)
144         return out
145 }
146
147 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
148 func (in *AlertmanagerSpec) DeepCopyInto(out *AlertmanagerSpec) {
149         *out = *in
150         if in.PodMetadata != nil {
151                 in, out := &in.PodMetadata, &out.PodMetadata
152                 *out = new(metav1.ObjectMeta)
153                 (*in).DeepCopyInto(*out)
154         }
155         if in.Image != nil {
156                 in, out := &in.Image, &out.Image
157                 *out = new(string)
158                 **out = **in
159         }
160         if in.ImagePullSecrets != nil {
161                 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
162                 *out = make([]corev1.LocalObjectReference, len(*in))
163                 copy(*out, *in)
164         }
165         if in.Secrets != nil {
166                 in, out := &in.Secrets, &out.Secrets
167                 *out = make([]string, len(*in))
168                 copy(*out, *in)
169         }
170         if in.ConfigMaps != nil {
171                 in, out := &in.ConfigMaps, &out.ConfigMaps
172                 *out = make([]string, len(*in))
173                 copy(*out, *in)
174         }
175         if in.Replicas != nil {
176                 in, out := &in.Replicas, &out.Replicas
177                 *out = new(int32)
178                 **out = **in
179         }
180         if in.Storage != nil {
181                 in, out := &in.Storage, &out.Storage
182                 *out = new(StorageSpec)
183                 (*in).DeepCopyInto(*out)
184         }
185         if in.NodeSelector != nil {
186                 in, out := &in.NodeSelector, &out.NodeSelector
187                 *out = make(map[string]string, len(*in))
188                 for key, val := range *in {
189                         (*out)[key] = val
190                 }
191         }
192         in.Resources.DeepCopyInto(&out.Resources)
193         if in.Affinity != nil {
194                 in, out := &in.Affinity, &out.Affinity
195                 *out = new(corev1.Affinity)
196                 (*in).DeepCopyInto(*out)
197         }
198         if in.Tolerations != nil {
199                 in, out := &in.Tolerations, &out.Tolerations
200                 *out = make([]corev1.Toleration, len(*in))
201                 for i := range *in {
202                         (*in)[i].DeepCopyInto(&(*out)[i])
203                 }
204         }
205         if in.SecurityContext != nil {
206                 in, out := &in.SecurityContext, &out.SecurityContext
207                 *out = new(corev1.PodSecurityContext)
208                 (*in).DeepCopyInto(*out)
209         }
210         if in.Containers != nil {
211                 in, out := &in.Containers, &out.Containers
212                 *out = make([]corev1.Container, len(*in))
213                 for i := range *in {
214                         (*in)[i].DeepCopyInto(&(*out)[i])
215                 }
216         }
217         if in.AdditionalPeers != nil {
218                 in, out := &in.AdditionalPeers, &out.AdditionalPeers
219                 *out = make([]string, len(*in))
220                 copy(*out, *in)
221         }
222         return
223 }
224
225 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerSpec.
226 func (in *AlertmanagerSpec) DeepCopy() *AlertmanagerSpec {
227         if in == nil {
228                 return nil
229         }
230         out := new(AlertmanagerSpec)
231         in.DeepCopyInto(out)
232         return out
233 }
234
235 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
236 func (in *AlertmanagerStatus) DeepCopyInto(out *AlertmanagerStatus) {
237         *out = *in
238         return
239 }
240
241 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerStatus.
242 func (in *AlertmanagerStatus) DeepCopy() *AlertmanagerStatus {
243         if in == nil {
244                 return nil
245         }
246         out := new(AlertmanagerStatus)
247         in.DeepCopyInto(out)
248         return out
249 }
250
251 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
252 func (in *BasicAuth) DeepCopyInto(out *BasicAuth) {
253         *out = *in
254         in.Username.DeepCopyInto(&out.Username)
255         in.Password.DeepCopyInto(&out.Password)
256         return
257 }
258
259 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.
260 func (in *BasicAuth) DeepCopy() *BasicAuth {
261         if in == nil {
262                 return nil
263         }
264         out := new(BasicAuth)
265         in.DeepCopyInto(out)
266         return out
267 }
268
269 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
270 func (in *CrdKind) DeepCopyInto(out *CrdKind) {
271         *out = *in
272         return
273 }
274
275 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrdKind.
276 func (in *CrdKind) DeepCopy() *CrdKind {
277         if in == nil {
278                 return nil
279         }
280         out := new(CrdKind)
281         in.DeepCopyInto(out)
282         return out
283 }
284
285 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
286 func (in *CrdKinds) DeepCopyInto(out *CrdKinds) {
287         *out = *in
288         out.Prometheus = in.Prometheus
289         out.Alertmanager = in.Alertmanager
290         out.ServiceMonitor = in.ServiceMonitor
291         out.PrometheusRule = in.PrometheusRule
292         return
293 }
294
295 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrdKinds.
296 func (in *CrdKinds) DeepCopy() *CrdKinds {
297         if in == nil {
298                 return nil
299         }
300         out := new(CrdKinds)
301         in.DeepCopyInto(out)
302         return out
303 }
304
305 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
306 func (in *Endpoint) DeepCopyInto(out *Endpoint) {
307         *out = *in
308         if in.TargetPort != nil {
309                 in, out := &in.TargetPort, &out.TargetPort
310                 *out = new(intstr.IntOrString)
311                 **out = **in
312         }
313         if in.Params != nil {
314                 in, out := &in.Params, &out.Params
315                 *out = make(map[string][]string, len(*in))
316                 for key, val := range *in {
317                         var outVal []string
318                         if val == nil {
319                                 (*out)[key] = nil
320                         } else {
321                                 in, out := &val, &outVal
322                                 *out = make([]string, len(*in))
323                                 copy(*out, *in)
324                         }
325                         (*out)[key] = outVal
326                 }
327         }
328         if in.TLSConfig != nil {
329                 in, out := &in.TLSConfig, &out.TLSConfig
330                 *out = new(TLSConfig)
331                 **out = **in
332         }
333         if in.BasicAuth != nil {
334                 in, out := &in.BasicAuth, &out.BasicAuth
335                 *out = new(BasicAuth)
336                 (*in).DeepCopyInto(*out)
337         }
338         if in.MetricRelabelConfigs != nil {
339                 in, out := &in.MetricRelabelConfigs, &out.MetricRelabelConfigs
340                 *out = make([]*RelabelConfig, len(*in))
341                 for i := range *in {
342                         if (*in)[i] != nil {
343                                 in, out := &(*in)[i], &(*out)[i]
344                                 *out = new(RelabelConfig)
345                                 (*in).DeepCopyInto(*out)
346                         }
347                 }
348         }
349         if in.RelabelConfigs != nil {
350                 in, out := &in.RelabelConfigs, &out.RelabelConfigs
351                 *out = make([]*RelabelConfig, len(*in))
352                 for i := range *in {
353                         if (*in)[i] != nil {
354                                 in, out := &(*in)[i], &(*out)[i]
355                                 *out = new(RelabelConfig)
356                                 (*in).DeepCopyInto(*out)
357                         }
358                 }
359         }
360         if in.ProxyURL != nil {
361                 in, out := &in.ProxyURL, &out.ProxyURL
362                 *out = new(string)
363                 **out = **in
364         }
365         return
366 }
367
368 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
369 func (in *Endpoint) DeepCopy() *Endpoint {
370         if in == nil {
371                 return nil
372         }
373         out := new(Endpoint)
374         in.DeepCopyInto(out)
375         return out
376 }
377
378 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
379 func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) {
380         *out = *in
381         if in.MatchNames != nil {
382                 in, out := &in.MatchNames, &out.MatchNames
383                 *out = make([]string, len(*in))
384                 copy(*out, *in)
385         }
386         return
387 }
388
389 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelector.
390 func (in *NamespaceSelector) DeepCopy() *NamespaceSelector {
391         if in == nil {
392                 return nil
393         }
394         out := new(NamespaceSelector)
395         in.DeepCopyInto(out)
396         return out
397 }
398
399 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
400 func (in *Prometheus) DeepCopyInto(out *Prometheus) {
401         *out = *in
402         out.TypeMeta = in.TypeMeta
403         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
404         in.Spec.DeepCopyInto(&out.Spec)
405         if in.Status != nil {
406                 in, out := &in.Status, &out.Status
407                 *out = new(PrometheusStatus)
408                 **out = **in
409         }
410         return
411 }
412
413 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prometheus.
414 func (in *Prometheus) DeepCopy() *Prometheus {
415         if in == nil {
416                 return nil
417         }
418         out := new(Prometheus)
419         in.DeepCopyInto(out)
420         return out
421 }
422
423 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
424 func (in *PrometheusList) DeepCopyInto(out *PrometheusList) {
425         *out = *in
426         out.TypeMeta = in.TypeMeta
427         out.ListMeta = in.ListMeta
428         if in.Items != nil {
429                 in, out := &in.Items, &out.Items
430                 *out = make([]*Prometheus, len(*in))
431                 for i := range *in {
432                         if (*in)[i] != nil {
433                                 in, out := &(*in)[i], &(*out)[i]
434                                 *out = new(Prometheus)
435                                 (*in).DeepCopyInto(*out)
436                         }
437                 }
438         }
439         return
440 }
441
442 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusList.
443 func (in *PrometheusList) DeepCopy() *PrometheusList {
444         if in == nil {
445                 return nil
446         }
447         out := new(PrometheusList)
448         in.DeepCopyInto(out)
449         return out
450 }
451
452 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
453 func (in *PrometheusRule) DeepCopyInto(out *PrometheusRule) {
454         *out = *in
455         out.TypeMeta = in.TypeMeta
456         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
457         in.Spec.DeepCopyInto(&out.Spec)
458         return
459 }
460
461 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRule.
462 func (in *PrometheusRule) DeepCopy() *PrometheusRule {
463         if in == nil {
464                 return nil
465         }
466         out := new(PrometheusRule)
467         in.DeepCopyInto(out)
468         return out
469 }
470
471 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
472 func (in *PrometheusRuleList) DeepCopyInto(out *PrometheusRuleList) {
473         *out = *in
474         out.TypeMeta = in.TypeMeta
475         out.ListMeta = in.ListMeta
476         if in.Items != nil {
477                 in, out := &in.Items, &out.Items
478                 *out = make([]*PrometheusRule, len(*in))
479                 for i := range *in {
480                         if (*in)[i] != nil {
481                                 in, out := &(*in)[i], &(*out)[i]
482                                 *out = new(PrometheusRule)
483                                 (*in).DeepCopyInto(*out)
484                         }
485                 }
486         }
487         return
488 }
489
490 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleList.
491 func (in *PrometheusRuleList) DeepCopy() *PrometheusRuleList {
492         if in == nil {
493                 return nil
494         }
495         out := new(PrometheusRuleList)
496         in.DeepCopyInto(out)
497         return out
498 }
499
500 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
501 func (in *PrometheusRuleSpec) DeepCopyInto(out *PrometheusRuleSpec) {
502         *out = *in
503         if in.Groups != nil {
504                 in, out := &in.Groups, &out.Groups
505                 *out = make([]RuleGroup, len(*in))
506                 for i := range *in {
507                         (*in)[i].DeepCopyInto(&(*out)[i])
508                 }
509         }
510         return
511 }
512
513 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRuleSpec.
514 func (in *PrometheusRuleSpec) DeepCopy() *PrometheusRuleSpec {
515         if in == nil {
516                 return nil
517         }
518         out := new(PrometheusRuleSpec)
519         in.DeepCopyInto(out)
520         return out
521 }
522
523 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
524 func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec) {
525         *out = *in
526         if in.PodMetadata != nil {
527                 in, out := &in.PodMetadata, &out.PodMetadata
528                 *out = new(metav1.ObjectMeta)
529                 (*in).DeepCopyInto(*out)
530         }
531         if in.ServiceMonitorSelector != nil {
532                 in, out := &in.ServiceMonitorSelector, &out.ServiceMonitorSelector
533                 *out = new(metav1.LabelSelector)
534                 (*in).DeepCopyInto(*out)
535         }
536         if in.ServiceMonitorNamespaceSelector != nil {
537                 in, out := &in.ServiceMonitorNamespaceSelector, &out.ServiceMonitorNamespaceSelector
538                 *out = new(metav1.LabelSelector)
539                 (*in).DeepCopyInto(*out)
540         }
541         if in.Image != nil {
542                 in, out := &in.Image, &out.Image
543                 *out = new(string)
544                 **out = **in
545         }
546         if in.ImagePullSecrets != nil {
547                 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
548                 *out = make([]corev1.LocalObjectReference, len(*in))
549                 copy(*out, *in)
550         }
551         if in.Replicas != nil {
552                 in, out := &in.Replicas, &out.Replicas
553                 *out = new(int32)
554                 **out = **in
555         }
556         out.Rules = in.Rules
557         if in.ExternalLabels != nil {
558                 in, out := &in.ExternalLabels, &out.ExternalLabels
559                 *out = make(map[string]string, len(*in))
560                 for key, val := range *in {
561                         (*out)[key] = val
562                 }
563         }
564         if in.Query != nil {
565                 in, out := &in.Query, &out.Query
566                 *out = new(QuerySpec)
567                 (*in).DeepCopyInto(*out)
568         }
569         if in.Storage != nil {
570                 in, out := &in.Storage, &out.Storage
571                 *out = new(StorageSpec)
572                 (*in).DeepCopyInto(*out)
573         }
574         if in.RuleSelector != nil {
575                 in, out := &in.RuleSelector, &out.RuleSelector
576                 *out = new(metav1.LabelSelector)
577                 (*in).DeepCopyInto(*out)
578         }
579         if in.RuleNamespaceSelector != nil {
580                 in, out := &in.RuleNamespaceSelector, &out.RuleNamespaceSelector
581                 *out = new(metav1.LabelSelector)
582                 (*in).DeepCopyInto(*out)
583         }
584         if in.Alerting != nil {
585                 in, out := &in.Alerting, &out.Alerting
586                 *out = new(AlertingSpec)
587                 (*in).DeepCopyInto(*out)
588         }
589         in.Resources.DeepCopyInto(&out.Resources)
590         if in.NodeSelector != nil {
591                 in, out := &in.NodeSelector, &out.NodeSelector
592                 *out = make(map[string]string, len(*in))
593                 for key, val := range *in {
594                         (*out)[key] = val
595                 }
596         }
597         if in.Secrets != nil {
598                 in, out := &in.Secrets, &out.Secrets
599                 *out = make([]string, len(*in))
600                 copy(*out, *in)
601         }
602         if in.ConfigMaps != nil {
603                 in, out := &in.ConfigMaps, &out.ConfigMaps
604                 *out = make([]string, len(*in))
605                 copy(*out, *in)
606         }
607         if in.Affinity != nil {
608                 in, out := &in.Affinity, &out.Affinity
609                 *out = new(corev1.Affinity)
610                 (*in).DeepCopyInto(*out)
611         }
612         if in.Tolerations != nil {
613                 in, out := &in.Tolerations, &out.Tolerations
614                 *out = make([]corev1.Toleration, len(*in))
615                 for i := range *in {
616                         (*in)[i].DeepCopyInto(&(*out)[i])
617                 }
618         }
619         if in.RemoteWrite != nil {
620                 in, out := &in.RemoteWrite, &out.RemoteWrite
621                 *out = make([]RemoteWriteSpec, len(*in))
622                 for i := range *in {
623                         (*in)[i].DeepCopyInto(&(*out)[i])
624                 }
625         }
626         if in.RemoteRead != nil {
627                 in, out := &in.RemoteRead, &out.RemoteRead
628                 *out = make([]RemoteReadSpec, len(*in))
629                 for i := range *in {
630                         (*in)[i].DeepCopyInto(&(*out)[i])
631                 }
632         }
633         if in.SecurityContext != nil {
634                 in, out := &in.SecurityContext, &out.SecurityContext
635                 *out = new(corev1.PodSecurityContext)
636                 (*in).DeepCopyInto(*out)
637         }
638         if in.Containers != nil {
639                 in, out := &in.Containers, &out.Containers
640                 *out = make([]corev1.Container, len(*in))
641                 for i := range *in {
642                         (*in)[i].DeepCopyInto(&(*out)[i])
643                 }
644         }
645         if in.AdditionalScrapeConfigs != nil {
646                 in, out := &in.AdditionalScrapeConfigs, &out.AdditionalScrapeConfigs
647                 *out = new(corev1.SecretKeySelector)
648                 (*in).DeepCopyInto(*out)
649         }
650         if in.AdditionalAlertRelabelConfigs != nil {
651                 in, out := &in.AdditionalAlertRelabelConfigs, &out.AdditionalAlertRelabelConfigs
652                 *out = new(corev1.SecretKeySelector)
653                 (*in).DeepCopyInto(*out)
654         }
655         if in.AdditionalAlertManagerConfigs != nil {
656                 in, out := &in.AdditionalAlertManagerConfigs, &out.AdditionalAlertManagerConfigs
657                 *out = new(corev1.SecretKeySelector)
658                 (*in).DeepCopyInto(*out)
659         }
660         if in.APIServerConfig != nil {
661                 in, out := &in.APIServerConfig, &out.APIServerConfig
662                 *out = new(APIServerConfig)
663                 (*in).DeepCopyInto(*out)
664         }
665         if in.Thanos != nil {
666                 in, out := &in.Thanos, &out.Thanos
667                 *out = new(ThanosSpec)
668                 (*in).DeepCopyInto(*out)
669         }
670         return
671 }
672
673 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusSpec.
674 func (in *PrometheusSpec) DeepCopy() *PrometheusSpec {
675         if in == nil {
676                 return nil
677         }
678         out := new(PrometheusSpec)
679         in.DeepCopyInto(out)
680         return out
681 }
682
683 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
684 func (in *PrometheusStatus) DeepCopyInto(out *PrometheusStatus) {
685         *out = *in
686         return
687 }
688
689 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusStatus.
690 func (in *PrometheusStatus) DeepCopy() *PrometheusStatus {
691         if in == nil {
692                 return nil
693         }
694         out := new(PrometheusStatus)
695         in.DeepCopyInto(out)
696         return out
697 }
698
699 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
700 func (in *QuerySpec) DeepCopyInto(out *QuerySpec) {
701         *out = *in
702         if in.LookbackDelta != nil {
703                 in, out := &in.LookbackDelta, &out.LookbackDelta
704                 *out = new(string)
705                 **out = **in
706         }
707         if in.MaxConcurrency != nil {
708                 in, out := &in.MaxConcurrency, &out.MaxConcurrency
709                 *out = new(int32)
710                 **out = **in
711         }
712         if in.Timeout != nil {
713                 in, out := &in.Timeout, &out.Timeout
714                 *out = new(string)
715                 **out = **in
716         }
717         return
718 }
719
720 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuerySpec.
721 func (in *QuerySpec) DeepCopy() *QuerySpec {
722         if in == nil {
723                 return nil
724         }
725         out := new(QuerySpec)
726         in.DeepCopyInto(out)
727         return out
728 }
729
730 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
731 func (in *QueueConfig) DeepCopyInto(out *QueueConfig) {
732         *out = *in
733         return
734 }
735
736 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueConfig.
737 func (in *QueueConfig) DeepCopy() *QueueConfig {
738         if in == nil {
739                 return nil
740         }
741         out := new(QueueConfig)
742         in.DeepCopyInto(out)
743         return out
744 }
745
746 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
747 func (in *RelabelConfig) DeepCopyInto(out *RelabelConfig) {
748         *out = *in
749         if in.SourceLabels != nil {
750                 in, out := &in.SourceLabels, &out.SourceLabels
751                 *out = make([]string, len(*in))
752                 copy(*out, *in)
753         }
754         return
755 }
756
757 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelabelConfig.
758 func (in *RelabelConfig) DeepCopy() *RelabelConfig {
759         if in == nil {
760                 return nil
761         }
762         out := new(RelabelConfig)
763         in.DeepCopyInto(out)
764         return out
765 }
766
767 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
768 func (in *RemoteReadSpec) DeepCopyInto(out *RemoteReadSpec) {
769         *out = *in
770         if in.RequiredMatchers != nil {
771                 in, out := &in.RequiredMatchers, &out.RequiredMatchers
772                 *out = make(map[string]string, len(*in))
773                 for key, val := range *in {
774                         (*out)[key] = val
775                 }
776         }
777         if in.BasicAuth != nil {
778                 in, out := &in.BasicAuth, &out.BasicAuth
779                 *out = new(BasicAuth)
780                 (*in).DeepCopyInto(*out)
781         }
782         if in.TLSConfig != nil {
783                 in, out := &in.TLSConfig, &out.TLSConfig
784                 *out = new(TLSConfig)
785                 **out = **in
786         }
787         return
788 }
789
790 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteReadSpec.
791 func (in *RemoteReadSpec) DeepCopy() *RemoteReadSpec {
792         if in == nil {
793                 return nil
794         }
795         out := new(RemoteReadSpec)
796         in.DeepCopyInto(out)
797         return out
798 }
799
800 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
801 func (in *RemoteWriteSpec) DeepCopyInto(out *RemoteWriteSpec) {
802         *out = *in
803         if in.WriteRelabelConfigs != nil {
804                 in, out := &in.WriteRelabelConfigs, &out.WriteRelabelConfigs
805                 *out = make([]RelabelConfig, len(*in))
806                 for i := range *in {
807                         (*in)[i].DeepCopyInto(&(*out)[i])
808                 }
809         }
810         if in.BasicAuth != nil {
811                 in, out := &in.BasicAuth, &out.BasicAuth
812                 *out = new(BasicAuth)
813                 (*in).DeepCopyInto(*out)
814         }
815         if in.TLSConfig != nil {
816                 in, out := &in.TLSConfig, &out.TLSConfig
817                 *out = new(TLSConfig)
818                 **out = **in
819         }
820         if in.QueueConfig != nil {
821                 in, out := &in.QueueConfig, &out.QueueConfig
822                 *out = new(QueueConfig)
823                 **out = **in
824         }
825         return
826 }
827
828 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteWriteSpec.
829 func (in *RemoteWriteSpec) DeepCopy() *RemoteWriteSpec {
830         if in == nil {
831                 return nil
832         }
833         out := new(RemoteWriteSpec)
834         in.DeepCopyInto(out)
835         return out
836 }
837
838 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
839 func (in *Rule) DeepCopyInto(out *Rule) {
840         *out = *in
841         out.Expr = in.Expr
842         if in.Labels != nil {
843                 in, out := &in.Labels, &out.Labels
844                 *out = make(map[string]string, len(*in))
845                 for key, val := range *in {
846                         (*out)[key] = val
847                 }
848         }
849         if in.Annotations != nil {
850                 in, out := &in.Annotations, &out.Annotations
851                 *out = make(map[string]string, len(*in))
852                 for key, val := range *in {
853                         (*out)[key] = val
854                 }
855         }
856         return
857 }
858
859 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
860 func (in *Rule) DeepCopy() *Rule {
861         if in == nil {
862                 return nil
863         }
864         out := new(Rule)
865         in.DeepCopyInto(out)
866         return out
867 }
868
869 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
870 func (in *RuleGroup) DeepCopyInto(out *RuleGroup) {
871         *out = *in
872         if in.Rules != nil {
873                 in, out := &in.Rules, &out.Rules
874                 *out = make([]Rule, len(*in))
875                 for i := range *in {
876                         (*in)[i].DeepCopyInto(&(*out)[i])
877                 }
878         }
879         return
880 }
881
882 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroup.
883 func (in *RuleGroup) DeepCopy() *RuleGroup {
884         if in == nil {
885                 return nil
886         }
887         out := new(RuleGroup)
888         in.DeepCopyInto(out)
889         return out
890 }
891
892 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
893 func (in *Rules) DeepCopyInto(out *Rules) {
894         *out = *in
895         out.Alert = in.Alert
896         return
897 }
898
899 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rules.
900 func (in *Rules) DeepCopy() *Rules {
901         if in == nil {
902                 return nil
903         }
904         out := new(Rules)
905         in.DeepCopyInto(out)
906         return out
907 }
908
909 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
910 func (in *RulesAlert) DeepCopyInto(out *RulesAlert) {
911         *out = *in
912         return
913 }
914
915 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesAlert.
916 func (in *RulesAlert) DeepCopy() *RulesAlert {
917         if in == nil {
918                 return nil
919         }
920         out := new(RulesAlert)
921         in.DeepCopyInto(out)
922         return out
923 }
924
925 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
926 func (in *ServiceMonitor) DeepCopyInto(out *ServiceMonitor) {
927         *out = *in
928         out.TypeMeta = in.TypeMeta
929         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
930         in.Spec.DeepCopyInto(&out.Spec)
931         return
932 }
933
934 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitor.
935 func (in *ServiceMonitor) DeepCopy() *ServiceMonitor {
936         if in == nil {
937                 return nil
938         }
939         out := new(ServiceMonitor)
940         in.DeepCopyInto(out)
941         return out
942 }
943
944 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
945 func (in *ServiceMonitorList) DeepCopyInto(out *ServiceMonitorList) {
946         *out = *in
947         out.TypeMeta = in.TypeMeta
948         out.ListMeta = in.ListMeta
949         if in.Items != nil {
950                 in, out := &in.Items, &out.Items
951                 *out = make([]*ServiceMonitor, len(*in))
952                 for i := range *in {
953                         if (*in)[i] != nil {
954                                 in, out := &(*in)[i], &(*out)[i]
955                                 *out = new(ServiceMonitor)
956                                 (*in).DeepCopyInto(*out)
957                         }
958                 }
959         }
960         return
961 }
962
963 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitorList.
964 func (in *ServiceMonitorList) DeepCopy() *ServiceMonitorList {
965         if in == nil {
966                 return nil
967         }
968         out := new(ServiceMonitorList)
969         in.DeepCopyInto(out)
970         return out
971 }
972
973 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
974 func (in *ServiceMonitorSpec) DeepCopyInto(out *ServiceMonitorSpec) {
975         *out = *in
976         if in.TargetLabels != nil {
977                 in, out := &in.TargetLabels, &out.TargetLabels
978                 *out = make([]string, len(*in))
979                 copy(*out, *in)
980         }
981         if in.PodTargetLabels != nil {
982                 in, out := &in.PodTargetLabels, &out.PodTargetLabels
983                 *out = make([]string, len(*in))
984                 copy(*out, *in)
985         }
986         if in.Endpoints != nil {
987                 in, out := &in.Endpoints, &out.Endpoints
988                 *out = make([]Endpoint, len(*in))
989                 for i := range *in {
990                         (*in)[i].DeepCopyInto(&(*out)[i])
991                 }
992         }
993         in.Selector.DeepCopyInto(&out.Selector)
994         in.NamespaceSelector.DeepCopyInto(&out.NamespaceSelector)
995         return
996 }
997
998 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitorSpec.
999 func (in *ServiceMonitorSpec) DeepCopy() *ServiceMonitorSpec {
1000         if in == nil {
1001                 return nil
1002         }
1003         out := new(ServiceMonitorSpec)
1004         in.DeepCopyInto(out)
1005         return out
1006 }
1007
1008 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1009 func (in *StorageSpec) DeepCopyInto(out *StorageSpec) {
1010         *out = *in
1011         if in.EmptyDir != nil {
1012                 in, out := &in.EmptyDir, &out.EmptyDir
1013                 *out = new(corev1.EmptyDirVolumeSource)
1014                 (*in).DeepCopyInto(*out)
1015         }
1016         in.VolumeClaimTemplate.DeepCopyInto(&out.VolumeClaimTemplate)
1017         return
1018 }
1019
1020 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSpec.
1021 func (in *StorageSpec) DeepCopy() *StorageSpec {
1022         if in == nil {
1023                 return nil
1024         }
1025         out := new(StorageSpec)
1026         in.DeepCopyInto(out)
1027         return out
1028 }
1029
1030 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1031 func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
1032         *out = *in
1033         return
1034 }
1035
1036 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
1037 func (in *TLSConfig) DeepCopy() *TLSConfig {
1038         if in == nil {
1039                 return nil
1040         }
1041         out := new(TLSConfig)
1042         in.DeepCopyInto(out)
1043         return out
1044 }
1045
1046 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1047 func (in *ThanosGCSSpec) DeepCopyInto(out *ThanosGCSSpec) {
1048         *out = *in
1049         if in.Bucket != nil {
1050                 in, out := &in.Bucket, &out.Bucket
1051                 *out = new(string)
1052                 **out = **in
1053         }
1054         if in.SecretKey != nil {
1055                 in, out := &in.SecretKey, &out.SecretKey
1056                 *out = new(corev1.SecretKeySelector)
1057                 (*in).DeepCopyInto(*out)
1058         }
1059         return
1060 }
1061
1062 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThanosGCSSpec.
1063 func (in *ThanosGCSSpec) DeepCopy() *ThanosGCSSpec {
1064         if in == nil {
1065                 return nil
1066         }
1067         out := new(ThanosGCSSpec)
1068         in.DeepCopyInto(out)
1069         return out
1070 }
1071
1072 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1073 func (in *ThanosS3Spec) DeepCopyInto(out *ThanosS3Spec) {
1074         *out = *in
1075         if in.Bucket != nil {
1076                 in, out := &in.Bucket, &out.Bucket
1077                 *out = new(string)
1078                 **out = **in
1079         }
1080         if in.Endpoint != nil {
1081                 in, out := &in.Endpoint, &out.Endpoint
1082                 *out = new(string)
1083                 **out = **in
1084         }
1085         if in.AccessKey != nil {
1086                 in, out := &in.AccessKey, &out.AccessKey
1087                 *out = new(corev1.SecretKeySelector)
1088                 (*in).DeepCopyInto(*out)
1089         }
1090         if in.SecretKey != nil {
1091                 in, out := &in.SecretKey, &out.SecretKey
1092                 *out = new(corev1.SecretKeySelector)
1093                 (*in).DeepCopyInto(*out)
1094         }
1095         if in.Insecure != nil {
1096                 in, out := &in.Insecure, &out.Insecure
1097                 *out = new(bool)
1098                 **out = **in
1099         }
1100         if in.SignatureVersion2 != nil {
1101                 in, out := &in.SignatureVersion2, &out.SignatureVersion2
1102                 *out = new(bool)
1103                 **out = **in
1104         }
1105         if in.EncryptSSE != nil {
1106                 in, out := &in.EncryptSSE, &out.EncryptSSE
1107                 *out = new(bool)
1108                 **out = **in
1109         }
1110         return
1111 }
1112
1113 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThanosS3Spec.
1114 func (in *ThanosS3Spec) DeepCopy() *ThanosS3Spec {
1115         if in == nil {
1116                 return nil
1117         }
1118         out := new(ThanosS3Spec)
1119         in.DeepCopyInto(out)
1120         return out
1121 }
1122
1123 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1124 func (in *ThanosSpec) DeepCopyInto(out *ThanosSpec) {
1125         *out = *in
1126         if in.Peers != nil {
1127                 in, out := &in.Peers, &out.Peers
1128                 *out = new(string)
1129                 **out = **in
1130         }
1131         if in.Image != nil {
1132                 in, out := &in.Image, &out.Image
1133                 *out = new(string)
1134                 **out = **in
1135         }
1136         if in.Version != nil {
1137                 in, out := &in.Version, &out.Version
1138                 *out = new(string)
1139                 **out = **in
1140         }
1141         if in.Tag != nil {
1142                 in, out := &in.Tag, &out.Tag
1143                 *out = new(string)
1144                 **out = **in
1145         }
1146         if in.SHA != nil {
1147                 in, out := &in.SHA, &out.SHA
1148                 *out = new(string)
1149                 **out = **in
1150         }
1151         if in.BaseImage != nil {
1152                 in, out := &in.BaseImage, &out.BaseImage
1153                 *out = new(string)
1154                 **out = **in
1155         }
1156         in.Resources.DeepCopyInto(&out.Resources)
1157         if in.GCS != nil {
1158                 in, out := &in.GCS, &out.GCS
1159                 *out = new(ThanosGCSSpec)
1160                 (*in).DeepCopyInto(*out)
1161         }
1162         if in.S3 != nil {
1163                 in, out := &in.S3, &out.S3
1164                 *out = new(ThanosS3Spec)
1165                 (*in).DeepCopyInto(*out)
1166         }
1167         if in.ObjectStorageConfig != nil {
1168                 in, out := &in.ObjectStorageConfig, &out.ObjectStorageConfig
1169                 *out = new(corev1.SecretKeySelector)
1170                 (*in).DeepCopyInto(*out)
1171         }
1172         if in.GrpcAdvertiseAddress != nil {
1173                 in, out := &in.GrpcAdvertiseAddress, &out.GrpcAdvertiseAddress
1174                 *out = new(string)
1175                 **out = **in
1176         }
1177         if in.ClusterAdvertiseAddress != nil {
1178                 in, out := &in.ClusterAdvertiseAddress, &out.ClusterAdvertiseAddress
1179                 *out = new(string)
1180                 **out = **in
1181         }
1182         return
1183 }
1184
1185 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThanosSpec.
1186 func (in *ThanosSpec) DeepCopy() *ThanosSpec {
1187         if in == nil {
1188                 return nil
1189         }
1190         out := new(ThanosSpec)
1191         in.DeepCopyInto(out)
1192         return out
1193 }