Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/pkg/operator/apis/monitoring/v1alpha1/zz_generated.deepcopy.go
4096 views
1
//go:build !ignore_autogenerated
2
3
// Code generated by controller-gen. DO NOT EDIT.
4
5
package v1alpha1
6
7
import (
8
"github.com/grafana/agent/pkg/operator/assets"
9
"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
10
corev1 "k8s.io/api/core/v1"
11
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
12
runtime "k8s.io/apimachinery/pkg/runtime"
13
)
14
15
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
16
func (in *CRIStageSpec) DeepCopyInto(out *CRIStageSpec) {
17
*out = *in
18
}
19
20
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIStageSpec.
21
func (in *CRIStageSpec) DeepCopy() *CRIStageSpec {
22
if in == nil {
23
return nil
24
}
25
out := new(CRIStageSpec)
26
in.DeepCopyInto(out)
27
return out
28
}
29
30
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
31
func (in *Deployment) DeepCopyInto(out *Deployment) {
32
*out = *in
33
if in.Agent != nil {
34
in, out := &in.Agent, &out.Agent
35
*out = new(GrafanaAgent)
36
(*in).DeepCopyInto(*out)
37
}
38
if in.Metrics != nil {
39
in, out := &in.Metrics, &out.Metrics
40
*out = make([]MetricsDeployment, len(*in))
41
for i := range *in {
42
(*in)[i].DeepCopyInto(&(*out)[i])
43
}
44
}
45
if in.Logs != nil {
46
in, out := &in.Logs, &out.Logs
47
*out = make([]LogsDeployment, len(*in))
48
for i := range *in {
49
(*in)[i].DeepCopyInto(&(*out)[i])
50
}
51
}
52
if in.Integrations != nil {
53
in, out := &in.Integrations, &out.Integrations
54
*out = make([]IntegrationsDeployment, len(*in))
55
for i := range *in {
56
(*in)[i].DeepCopyInto(&(*out)[i])
57
}
58
}
59
if in.Secrets != nil {
60
in, out := &in.Secrets, &out.Secrets
61
*out = make(assets.SecretStore, len(*in))
62
for key, val := range *in {
63
(*out)[key] = val
64
}
65
}
66
}
67
68
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
69
func (in *Deployment) DeepCopy() *Deployment {
70
if in == nil {
71
return nil
72
}
73
out := new(Deployment)
74
in.DeepCopyInto(out)
75
return out
76
}
77
78
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
79
func (in *DockerStageSpec) DeepCopyInto(out *DockerStageSpec) {
80
*out = *in
81
}
82
83
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerStageSpec.
84
func (in *DockerStageSpec) DeepCopy() *DockerStageSpec {
85
if in == nil {
86
return nil
87
}
88
out := new(DockerStageSpec)
89
in.DeepCopyInto(out)
90
return out
91
}
92
93
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
94
func (in *DropStageSpec) DeepCopyInto(out *DropStageSpec) {
95
*out = *in
96
}
97
98
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropStageSpec.
99
func (in *DropStageSpec) DeepCopy() *DropStageSpec {
100
if in == nil {
101
return nil
102
}
103
out := new(DropStageSpec)
104
in.DeepCopyInto(out)
105
return out
106
}
107
108
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
109
func (in *GrafanaAgent) DeepCopyInto(out *GrafanaAgent) {
110
*out = *in
111
out.TypeMeta = in.TypeMeta
112
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
113
in.Spec.DeepCopyInto(&out.Spec)
114
}
115
116
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaAgent.
117
func (in *GrafanaAgent) DeepCopy() *GrafanaAgent {
118
if in == nil {
119
return nil
120
}
121
out := new(GrafanaAgent)
122
in.DeepCopyInto(out)
123
return out
124
}
125
126
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
127
func (in *GrafanaAgent) DeepCopyObject() runtime.Object {
128
if c := in.DeepCopy(); c != nil {
129
return c
130
}
131
return nil
132
}
133
134
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
135
func (in *GrafanaAgentList) DeepCopyInto(out *GrafanaAgentList) {
136
*out = *in
137
out.TypeMeta = in.TypeMeta
138
in.ListMeta.DeepCopyInto(&out.ListMeta)
139
if in.Items != nil {
140
in, out := &in.Items, &out.Items
141
*out = make([]*GrafanaAgent, len(*in))
142
for i := range *in {
143
if (*in)[i] != nil {
144
in, out := &(*in)[i], &(*out)[i]
145
*out = new(GrafanaAgent)
146
(*in).DeepCopyInto(*out)
147
}
148
}
149
}
150
}
151
152
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaAgentList.
153
func (in *GrafanaAgentList) DeepCopy() *GrafanaAgentList {
154
if in == nil {
155
return nil
156
}
157
out := new(GrafanaAgentList)
158
in.DeepCopyInto(out)
159
return out
160
}
161
162
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
163
func (in *GrafanaAgentList) DeepCopyObject() runtime.Object {
164
if c := in.DeepCopy(); c != nil {
165
return c
166
}
167
return nil
168
}
169
170
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
171
func (in *GrafanaAgentSpec) DeepCopyInto(out *GrafanaAgentSpec) {
172
*out = *in
173
if in.APIServerConfig != nil {
174
in, out := &in.APIServerConfig, &out.APIServerConfig
175
*out = new(v1.APIServerConfig)
176
(*in).DeepCopyInto(*out)
177
}
178
if in.PodMetadata != nil {
179
in, out := &in.PodMetadata, &out.PodMetadata
180
*out = new(v1.EmbeddedObjectMetadata)
181
(*in).DeepCopyInto(*out)
182
}
183
if in.Image != nil {
184
in, out := &in.Image, &out.Image
185
*out = new(string)
186
**out = **in
187
}
188
if in.ImagePullSecrets != nil {
189
in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
190
*out = make([]corev1.LocalObjectReference, len(*in))
191
copy(*out, *in)
192
}
193
if in.Storage != nil {
194
in, out := &in.Storage, &out.Storage
195
*out = new(v1.StorageSpec)
196
(*in).DeepCopyInto(*out)
197
}
198
if in.Volumes != nil {
199
in, out := &in.Volumes, &out.Volumes
200
*out = make([]corev1.Volume, len(*in))
201
for i := range *in {
202
(*in)[i].DeepCopyInto(&(*out)[i])
203
}
204
}
205
if in.VolumeMounts != nil {
206
in, out := &in.VolumeMounts, &out.VolumeMounts
207
*out = make([]corev1.VolumeMount, len(*in))
208
for i := range *in {
209
(*in)[i].DeepCopyInto(&(*out)[i])
210
}
211
}
212
in.Resources.DeepCopyInto(&out.Resources)
213
if in.NodeSelector != nil {
214
in, out := &in.NodeSelector, &out.NodeSelector
215
*out = make(map[string]string, len(*in))
216
for key, val := range *in {
217
(*out)[key] = val
218
}
219
}
220
if in.Secrets != nil {
221
in, out := &in.Secrets, &out.Secrets
222
*out = make([]string, len(*in))
223
copy(*out, *in)
224
}
225
if in.ConfigMaps != nil {
226
in, out := &in.ConfigMaps, &out.ConfigMaps
227
*out = make([]string, len(*in))
228
copy(*out, *in)
229
}
230
if in.Affinity != nil {
231
in, out := &in.Affinity, &out.Affinity
232
*out = new(corev1.Affinity)
233
(*in).DeepCopyInto(*out)
234
}
235
if in.Tolerations != nil {
236
in, out := &in.Tolerations, &out.Tolerations
237
*out = make([]corev1.Toleration, len(*in))
238
for i := range *in {
239
(*in)[i].DeepCopyInto(&(*out)[i])
240
}
241
}
242
if in.TopologySpreadConstraints != nil {
243
in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
244
*out = make([]corev1.TopologySpreadConstraint, len(*in))
245
for i := range *in {
246
(*in)[i].DeepCopyInto(&(*out)[i])
247
}
248
}
249
if in.SecurityContext != nil {
250
in, out := &in.SecurityContext, &out.SecurityContext
251
*out = new(corev1.PodSecurityContext)
252
(*in).DeepCopyInto(*out)
253
}
254
if in.Containers != nil {
255
in, out := &in.Containers, &out.Containers
256
*out = make([]corev1.Container, len(*in))
257
for i := range *in {
258
(*in)[i].DeepCopyInto(&(*out)[i])
259
}
260
}
261
if in.InitContainers != nil {
262
in, out := &in.InitContainers, &out.InitContainers
263
*out = make([]corev1.Container, len(*in))
264
for i := range *in {
265
(*in)[i].DeepCopyInto(&(*out)[i])
266
}
267
}
268
in.Metrics.DeepCopyInto(&out.Metrics)
269
in.Logs.DeepCopyInto(&out.Logs)
270
in.Integrations.DeepCopyInto(&out.Integrations)
271
}
272
273
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaAgentSpec.
274
func (in *GrafanaAgentSpec) DeepCopy() *GrafanaAgentSpec {
275
if in == nil {
276
return nil
277
}
278
out := new(GrafanaAgentSpec)
279
in.DeepCopyInto(out)
280
return out
281
}
282
283
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
284
func (in *Integration) DeepCopyInto(out *Integration) {
285
*out = *in
286
out.TypeMeta = in.TypeMeta
287
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
288
in.Spec.DeepCopyInto(&out.Spec)
289
}
290
291
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integration.
292
func (in *Integration) DeepCopy() *Integration {
293
if in == nil {
294
return nil
295
}
296
out := new(Integration)
297
in.DeepCopyInto(out)
298
return out
299
}
300
301
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
302
func (in *Integration) DeepCopyObject() runtime.Object {
303
if c := in.DeepCopy(); c != nil {
304
return c
305
}
306
return nil
307
}
308
309
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
310
func (in *IntegrationList) DeepCopyInto(out *IntegrationList) {
311
*out = *in
312
out.TypeMeta = in.TypeMeta
313
in.ListMeta.DeepCopyInto(&out.ListMeta)
314
if in.Items != nil {
315
in, out := &in.Items, &out.Items
316
*out = make([]*Integration, len(*in))
317
for i := range *in {
318
if (*in)[i] != nil {
319
in, out := &(*in)[i], &(*out)[i]
320
*out = new(Integration)
321
(*in).DeepCopyInto(*out)
322
}
323
}
324
}
325
}
326
327
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationList.
328
func (in *IntegrationList) DeepCopy() *IntegrationList {
329
if in == nil {
330
return nil
331
}
332
out := new(IntegrationList)
333
in.DeepCopyInto(out)
334
return out
335
}
336
337
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
338
func (in *IntegrationList) DeepCopyObject() runtime.Object {
339
if c := in.DeepCopy(); c != nil {
340
return c
341
}
342
return nil
343
}
344
345
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
346
func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec) {
347
*out = *in
348
out.Type = in.Type
349
in.Config.DeepCopyInto(&out.Config)
350
if in.Volumes != nil {
351
in, out := &in.Volumes, &out.Volumes
352
*out = make([]corev1.Volume, len(*in))
353
for i := range *in {
354
(*in)[i].DeepCopyInto(&(*out)[i])
355
}
356
}
357
if in.VolumeMounts != nil {
358
in, out := &in.VolumeMounts, &out.VolumeMounts
359
*out = make([]corev1.VolumeMount, len(*in))
360
for i := range *in {
361
(*in)[i].DeepCopyInto(&(*out)[i])
362
}
363
}
364
if in.Secrets != nil {
365
in, out := &in.Secrets, &out.Secrets
366
*out = make([]corev1.SecretKeySelector, len(*in))
367
for i := range *in {
368
(*in)[i].DeepCopyInto(&(*out)[i])
369
}
370
}
371
if in.ConfigMaps != nil {
372
in, out := &in.ConfigMaps, &out.ConfigMaps
373
*out = make([]corev1.ConfigMapKeySelector, len(*in))
374
for i := range *in {
375
(*in)[i].DeepCopyInto(&(*out)[i])
376
}
377
}
378
}
379
380
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpec.
381
func (in *IntegrationSpec) DeepCopy() *IntegrationSpec {
382
if in == nil {
383
return nil
384
}
385
out := new(IntegrationSpec)
386
in.DeepCopyInto(out)
387
return out
388
}
389
390
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
391
func (in *IntegrationType) DeepCopyInto(out *IntegrationType) {
392
*out = *in
393
}
394
395
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationType.
396
func (in *IntegrationType) DeepCopy() *IntegrationType {
397
if in == nil {
398
return nil
399
}
400
out := new(IntegrationType)
401
in.DeepCopyInto(out)
402
return out
403
}
404
405
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
406
func (in *IntegrationsDeployment) DeepCopyInto(out *IntegrationsDeployment) {
407
*out = *in
408
if in.Instance != nil {
409
in, out := &in.Instance, &out.Instance
410
*out = new(Integration)
411
(*in).DeepCopyInto(*out)
412
}
413
}
414
415
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationsDeployment.
416
func (in *IntegrationsDeployment) DeepCopy() *IntegrationsDeployment {
417
if in == nil {
418
return nil
419
}
420
out := new(IntegrationsDeployment)
421
in.DeepCopyInto(out)
422
return out
423
}
424
425
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
426
func (in *IntegrationsSubsystemSpec) DeepCopyInto(out *IntegrationsSubsystemSpec) {
427
*out = *in
428
if in.Selector != nil {
429
in, out := &in.Selector, &out.Selector
430
*out = new(metav1.LabelSelector)
431
(*in).DeepCopyInto(*out)
432
}
433
if in.NamespaceSelector != nil {
434
in, out := &in.NamespaceSelector, &out.NamespaceSelector
435
*out = new(metav1.LabelSelector)
436
(*in).DeepCopyInto(*out)
437
}
438
}
439
440
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationsSubsystemSpec.
441
func (in *IntegrationsSubsystemSpec) DeepCopy() *IntegrationsSubsystemSpec {
442
if in == nil {
443
return nil
444
}
445
out := new(IntegrationsSubsystemSpec)
446
in.DeepCopyInto(out)
447
return out
448
}
449
450
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
451
func (in *JSONStageSpec) DeepCopyInto(out *JSONStageSpec) {
452
*out = *in
453
if in.Expressions != nil {
454
in, out := &in.Expressions, &out.Expressions
455
*out = make(map[string]string, len(*in))
456
for key, val := range *in {
457
(*out)[key] = val
458
}
459
}
460
}
461
462
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONStageSpec.
463
func (in *JSONStageSpec) DeepCopy() *JSONStageSpec {
464
if in == nil {
465
return nil
466
}
467
out := new(JSONStageSpec)
468
in.DeepCopyInto(out)
469
return out
470
}
471
472
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
473
func (in *LimitStageSpec) DeepCopyInto(out *LimitStageSpec) {
474
*out = *in
475
}
476
477
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitStageSpec.
478
func (in *LimitStageSpec) DeepCopy() *LimitStageSpec {
479
if in == nil {
480
return nil
481
}
482
out := new(LimitStageSpec)
483
in.DeepCopyInto(out)
484
return out
485
}
486
487
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
488
func (in *LogsBackoffConfigSpec) DeepCopyInto(out *LogsBackoffConfigSpec) {
489
*out = *in
490
}
491
492
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsBackoffConfigSpec.
493
func (in *LogsBackoffConfigSpec) DeepCopy() *LogsBackoffConfigSpec {
494
if in == nil {
495
return nil
496
}
497
out := new(LogsBackoffConfigSpec)
498
in.DeepCopyInto(out)
499
return out
500
}
501
502
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
503
func (in *LogsClientSpec) DeepCopyInto(out *LogsClientSpec) {
504
*out = *in
505
if in.BasicAuth != nil {
506
in, out := &in.BasicAuth, &out.BasicAuth
507
*out = new(v1.BasicAuth)
508
(*in).DeepCopyInto(*out)
509
}
510
if in.TLSConfig != nil {
511
in, out := &in.TLSConfig, &out.TLSConfig
512
*out = new(v1.TLSConfig)
513
(*in).DeepCopyInto(*out)
514
}
515
if in.BackoffConfig != nil {
516
in, out := &in.BackoffConfig, &out.BackoffConfig
517
*out = new(LogsBackoffConfigSpec)
518
**out = **in
519
}
520
if in.ExternalLabels != nil {
521
in, out := &in.ExternalLabels, &out.ExternalLabels
522
*out = make(map[string]string, len(*in))
523
for key, val := range *in {
524
(*out)[key] = val
525
}
526
}
527
}
528
529
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsClientSpec.
530
func (in *LogsClientSpec) DeepCopy() *LogsClientSpec {
531
if in == nil {
532
return nil
533
}
534
out := new(LogsClientSpec)
535
in.DeepCopyInto(out)
536
return out
537
}
538
539
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
540
func (in *LogsDeployment) DeepCopyInto(out *LogsDeployment) {
541
*out = *in
542
if in.Instance != nil {
543
in, out := &in.Instance, &out.Instance
544
*out = new(LogsInstance)
545
(*in).DeepCopyInto(*out)
546
}
547
if in.PodLogs != nil {
548
in, out := &in.PodLogs, &out.PodLogs
549
*out = make([]*PodLogs, len(*in))
550
for i := range *in {
551
if (*in)[i] != nil {
552
in, out := &(*in)[i], &(*out)[i]
553
*out = new(PodLogs)
554
(*in).DeepCopyInto(*out)
555
}
556
}
557
}
558
}
559
560
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsDeployment.
561
func (in *LogsDeployment) DeepCopy() *LogsDeployment {
562
if in == nil {
563
return nil
564
}
565
out := new(LogsDeployment)
566
in.DeepCopyInto(out)
567
return out
568
}
569
570
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
571
func (in *LogsInstance) DeepCopyInto(out *LogsInstance) {
572
*out = *in
573
out.TypeMeta = in.TypeMeta
574
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
575
in.Spec.DeepCopyInto(&out.Spec)
576
}
577
578
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInstance.
579
func (in *LogsInstance) DeepCopy() *LogsInstance {
580
if in == nil {
581
return nil
582
}
583
out := new(LogsInstance)
584
in.DeepCopyInto(out)
585
return out
586
}
587
588
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
589
func (in *LogsInstance) DeepCopyObject() runtime.Object {
590
if c := in.DeepCopy(); c != nil {
591
return c
592
}
593
return nil
594
}
595
596
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
597
func (in *LogsInstanceList) DeepCopyInto(out *LogsInstanceList) {
598
*out = *in
599
out.TypeMeta = in.TypeMeta
600
in.ListMeta.DeepCopyInto(&out.ListMeta)
601
if in.Items != nil {
602
in, out := &in.Items, &out.Items
603
*out = make([]*LogsInstance, len(*in))
604
for i := range *in {
605
if (*in)[i] != nil {
606
in, out := &(*in)[i], &(*out)[i]
607
*out = new(LogsInstance)
608
(*in).DeepCopyInto(*out)
609
}
610
}
611
}
612
}
613
614
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInstanceList.
615
func (in *LogsInstanceList) DeepCopy() *LogsInstanceList {
616
if in == nil {
617
return nil
618
}
619
out := new(LogsInstanceList)
620
in.DeepCopyInto(out)
621
return out
622
}
623
624
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
625
func (in *LogsInstanceList) DeepCopyObject() runtime.Object {
626
if c := in.DeepCopy(); c != nil {
627
return c
628
}
629
return nil
630
}
631
632
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
633
func (in *LogsInstanceSpec) DeepCopyInto(out *LogsInstanceSpec) {
634
*out = *in
635
if in.Clients != nil {
636
in, out := &in.Clients, &out.Clients
637
*out = make([]LogsClientSpec, len(*in))
638
for i := range *in {
639
(*in)[i].DeepCopyInto(&(*out)[i])
640
}
641
}
642
if in.PodLogsSelector != nil {
643
in, out := &in.PodLogsSelector, &out.PodLogsSelector
644
*out = new(metav1.LabelSelector)
645
(*in).DeepCopyInto(*out)
646
}
647
if in.PodLogsNamespaceSelector != nil {
648
in, out := &in.PodLogsNamespaceSelector, &out.PodLogsNamespaceSelector
649
*out = new(metav1.LabelSelector)
650
(*in).DeepCopyInto(*out)
651
}
652
if in.AdditionalScrapeConfigs != nil {
653
in, out := &in.AdditionalScrapeConfigs, &out.AdditionalScrapeConfigs
654
*out = new(corev1.SecretKeySelector)
655
(*in).DeepCopyInto(*out)
656
}
657
if in.TargetConfig != nil {
658
in, out := &in.TargetConfig, &out.TargetConfig
659
*out = new(LogsTargetConfigSpec)
660
**out = **in
661
}
662
}
663
664
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInstanceSpec.
665
func (in *LogsInstanceSpec) DeepCopy() *LogsInstanceSpec {
666
if in == nil {
667
return nil
668
}
669
out := new(LogsInstanceSpec)
670
in.DeepCopyInto(out)
671
return out
672
}
673
674
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
675
func (in *LogsSubsystemSpec) DeepCopyInto(out *LogsSubsystemSpec) {
676
*out = *in
677
if in.Clients != nil {
678
in, out := &in.Clients, &out.Clients
679
*out = make([]LogsClientSpec, len(*in))
680
for i := range *in {
681
(*in)[i].DeepCopyInto(&(*out)[i])
682
}
683
}
684
if in.LogsExternalLabelName != nil {
685
in, out := &in.LogsExternalLabelName, &out.LogsExternalLabelName
686
*out = new(string)
687
**out = **in
688
}
689
if in.InstanceSelector != nil {
690
in, out := &in.InstanceSelector, &out.InstanceSelector
691
*out = new(metav1.LabelSelector)
692
(*in).DeepCopyInto(*out)
693
}
694
if in.InstanceNamespaceSelector != nil {
695
in, out := &in.InstanceNamespaceSelector, &out.InstanceNamespaceSelector
696
*out = new(metav1.LabelSelector)
697
(*in).DeepCopyInto(*out)
698
}
699
}
700
701
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsSubsystemSpec.
702
func (in *LogsSubsystemSpec) DeepCopy() *LogsSubsystemSpec {
703
if in == nil {
704
return nil
705
}
706
out := new(LogsSubsystemSpec)
707
in.DeepCopyInto(out)
708
return out
709
}
710
711
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
712
func (in *LogsTargetConfigSpec) DeepCopyInto(out *LogsTargetConfigSpec) {
713
*out = *in
714
}
715
716
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsTargetConfigSpec.
717
func (in *LogsTargetConfigSpec) DeepCopy() *LogsTargetConfigSpec {
718
if in == nil {
719
return nil
720
}
721
out := new(LogsTargetConfigSpec)
722
in.DeepCopyInto(out)
723
return out
724
}
725
726
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
727
func (in *MatchStageSpec) DeepCopyInto(out *MatchStageSpec) {
728
*out = *in
729
}
730
731
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchStageSpec.
732
func (in *MatchStageSpec) DeepCopy() *MatchStageSpec {
733
if in == nil {
734
return nil
735
}
736
out := new(MatchStageSpec)
737
in.DeepCopyInto(out)
738
return out
739
}
740
741
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
742
func (in *MetadataConfig) DeepCopyInto(out *MetadataConfig) {
743
*out = *in
744
}
745
746
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataConfig.
747
func (in *MetadataConfig) DeepCopy() *MetadataConfig {
748
if in == nil {
749
return nil
750
}
751
out := new(MetadataConfig)
752
in.DeepCopyInto(out)
753
return out
754
}
755
756
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
757
func (in *MetricsDeployment) DeepCopyInto(out *MetricsDeployment) {
758
*out = *in
759
if in.Instance != nil {
760
in, out := &in.Instance, &out.Instance
761
*out = new(MetricsInstance)
762
(*in).DeepCopyInto(*out)
763
}
764
if in.ServiceMonitors != nil {
765
in, out := &in.ServiceMonitors, &out.ServiceMonitors
766
*out = make([]*v1.ServiceMonitor, len(*in))
767
for i := range *in {
768
if (*in)[i] != nil {
769
in, out := &(*in)[i], &(*out)[i]
770
*out = new(v1.ServiceMonitor)
771
(*in).DeepCopyInto(*out)
772
}
773
}
774
}
775
if in.PodMonitors != nil {
776
in, out := &in.PodMonitors, &out.PodMonitors
777
*out = make([]*v1.PodMonitor, len(*in))
778
for i := range *in {
779
if (*in)[i] != nil {
780
in, out := &(*in)[i], &(*out)[i]
781
*out = new(v1.PodMonitor)
782
(*in).DeepCopyInto(*out)
783
}
784
}
785
}
786
if in.Probes != nil {
787
in, out := &in.Probes, &out.Probes
788
*out = make([]*v1.Probe, len(*in))
789
for i := range *in {
790
if (*in)[i] != nil {
791
in, out := &(*in)[i], &(*out)[i]
792
*out = new(v1.Probe)
793
(*in).DeepCopyInto(*out)
794
}
795
}
796
}
797
}
798
799
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsDeployment.
800
func (in *MetricsDeployment) DeepCopy() *MetricsDeployment {
801
if in == nil {
802
return nil
803
}
804
out := new(MetricsDeployment)
805
in.DeepCopyInto(out)
806
return out
807
}
808
809
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
810
func (in *MetricsInstance) DeepCopyInto(out *MetricsInstance) {
811
*out = *in
812
out.TypeMeta = in.TypeMeta
813
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
814
in.Spec.DeepCopyInto(&out.Spec)
815
}
816
817
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsInstance.
818
func (in *MetricsInstance) DeepCopy() *MetricsInstance {
819
if in == nil {
820
return nil
821
}
822
out := new(MetricsInstance)
823
in.DeepCopyInto(out)
824
return out
825
}
826
827
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
828
func (in *MetricsInstance) DeepCopyObject() runtime.Object {
829
if c := in.DeepCopy(); c != nil {
830
return c
831
}
832
return nil
833
}
834
835
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
836
func (in *MetricsInstanceList) DeepCopyInto(out *MetricsInstanceList) {
837
*out = *in
838
out.TypeMeta = in.TypeMeta
839
in.ListMeta.DeepCopyInto(&out.ListMeta)
840
if in.Items != nil {
841
in, out := &in.Items, &out.Items
842
*out = make([]*MetricsInstance, len(*in))
843
for i := range *in {
844
if (*in)[i] != nil {
845
in, out := &(*in)[i], &(*out)[i]
846
*out = new(MetricsInstance)
847
(*in).DeepCopyInto(*out)
848
}
849
}
850
}
851
}
852
853
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsInstanceList.
854
func (in *MetricsInstanceList) DeepCopy() *MetricsInstanceList {
855
if in == nil {
856
return nil
857
}
858
out := new(MetricsInstanceList)
859
in.DeepCopyInto(out)
860
return out
861
}
862
863
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
864
func (in *MetricsInstanceList) DeepCopyObject() runtime.Object {
865
if c := in.DeepCopy(); c != nil {
866
return c
867
}
868
return nil
869
}
870
871
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
872
func (in *MetricsInstanceSpec) DeepCopyInto(out *MetricsInstanceSpec) {
873
*out = *in
874
if in.WriteStaleOnShutdown != nil {
875
in, out := &in.WriteStaleOnShutdown, &out.WriteStaleOnShutdown
876
*out = new(bool)
877
**out = **in
878
}
879
if in.ServiceMonitorSelector != nil {
880
in, out := &in.ServiceMonitorSelector, &out.ServiceMonitorSelector
881
*out = new(metav1.LabelSelector)
882
(*in).DeepCopyInto(*out)
883
}
884
if in.ServiceMonitorNamespaceSelector != nil {
885
in, out := &in.ServiceMonitorNamespaceSelector, &out.ServiceMonitorNamespaceSelector
886
*out = new(metav1.LabelSelector)
887
(*in).DeepCopyInto(*out)
888
}
889
if in.PodMonitorSelector != nil {
890
in, out := &in.PodMonitorSelector, &out.PodMonitorSelector
891
*out = new(metav1.LabelSelector)
892
(*in).DeepCopyInto(*out)
893
}
894
if in.PodMonitorNamespaceSelector != nil {
895
in, out := &in.PodMonitorNamespaceSelector, &out.PodMonitorNamespaceSelector
896
*out = new(metav1.LabelSelector)
897
(*in).DeepCopyInto(*out)
898
}
899
if in.ProbeSelector != nil {
900
in, out := &in.ProbeSelector, &out.ProbeSelector
901
*out = new(metav1.LabelSelector)
902
(*in).DeepCopyInto(*out)
903
}
904
if in.ProbeNamespaceSelector != nil {
905
in, out := &in.ProbeNamespaceSelector, &out.ProbeNamespaceSelector
906
*out = new(metav1.LabelSelector)
907
(*in).DeepCopyInto(*out)
908
}
909
if in.RemoteWrite != nil {
910
in, out := &in.RemoteWrite, &out.RemoteWrite
911
*out = make([]RemoteWriteSpec, len(*in))
912
for i := range *in {
913
(*in)[i].DeepCopyInto(&(*out)[i])
914
}
915
}
916
if in.AdditionalScrapeConfigs != nil {
917
in, out := &in.AdditionalScrapeConfigs, &out.AdditionalScrapeConfigs
918
*out = new(corev1.SecretKeySelector)
919
(*in).DeepCopyInto(*out)
920
}
921
}
922
923
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsInstanceSpec.
924
func (in *MetricsInstanceSpec) DeepCopy() *MetricsInstanceSpec {
925
if in == nil {
926
return nil
927
}
928
out := new(MetricsInstanceSpec)
929
in.DeepCopyInto(out)
930
return out
931
}
932
933
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
934
func (in *MetricsStageSpec) DeepCopyInto(out *MetricsStageSpec) {
935
*out = *in
936
if in.MatchAll != nil {
937
in, out := &in.MatchAll, &out.MatchAll
938
*out = new(bool)
939
**out = **in
940
}
941
if in.CountEntryBytes != nil {
942
in, out := &in.CountEntryBytes, &out.CountEntryBytes
943
*out = new(bool)
944
**out = **in
945
}
946
if in.Buckets != nil {
947
in, out := &in.Buckets, &out.Buckets
948
*out = make([]string, len(*in))
949
copy(*out, *in)
950
}
951
}
952
953
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsStageSpec.
954
func (in *MetricsStageSpec) DeepCopy() *MetricsStageSpec {
955
if in == nil {
956
return nil
957
}
958
out := new(MetricsStageSpec)
959
in.DeepCopyInto(out)
960
return out
961
}
962
963
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
964
func (in *MetricsSubsystemSpec) DeepCopyInto(out *MetricsSubsystemSpec) {
965
*out = *in
966
if in.RemoteWrite != nil {
967
in, out := &in.RemoteWrite, &out.RemoteWrite
968
*out = make([]RemoteWriteSpec, len(*in))
969
for i := range *in {
970
(*in)[i].DeepCopyInto(&(*out)[i])
971
}
972
}
973
if in.Replicas != nil {
974
in, out := &in.Replicas, &out.Replicas
975
*out = new(int32)
976
**out = **in
977
}
978
if in.Shards != nil {
979
in, out := &in.Shards, &out.Shards
980
*out = new(int32)
981
**out = **in
982
}
983
if in.ReplicaExternalLabelName != nil {
984
in, out := &in.ReplicaExternalLabelName, &out.ReplicaExternalLabelName
985
*out = new(string)
986
**out = **in
987
}
988
if in.MetricsExternalLabelName != nil {
989
in, out := &in.MetricsExternalLabelName, &out.MetricsExternalLabelName
990
*out = new(string)
991
**out = **in
992
}
993
if in.ExternalLabels != nil {
994
in, out := &in.ExternalLabels, &out.ExternalLabels
995
*out = make(map[string]string, len(*in))
996
for key, val := range *in {
997
(*out)[key] = val
998
}
999
}
1000
out.ArbitraryFSAccessThroughSMs = in.ArbitraryFSAccessThroughSMs
1001
if in.EnforcedSampleLimit != nil {
1002
in, out := &in.EnforcedSampleLimit, &out.EnforcedSampleLimit
1003
*out = new(uint64)
1004
**out = **in
1005
}
1006
if in.EnforcedTargetLimit != nil {
1007
in, out := &in.EnforcedTargetLimit, &out.EnforcedTargetLimit
1008
*out = new(uint64)
1009
**out = **in
1010
}
1011
if in.InstanceSelector != nil {
1012
in, out := &in.InstanceSelector, &out.InstanceSelector
1013
*out = new(metav1.LabelSelector)
1014
(*in).DeepCopyInto(*out)
1015
}
1016
if in.InstanceNamespaceSelector != nil {
1017
in, out := &in.InstanceNamespaceSelector, &out.InstanceNamespaceSelector
1018
*out = new(metav1.LabelSelector)
1019
(*in).DeepCopyInto(*out)
1020
}
1021
}
1022
1023
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsSubsystemSpec.
1024
func (in *MetricsSubsystemSpec) DeepCopy() *MetricsSubsystemSpec {
1025
if in == nil {
1026
return nil
1027
}
1028
out := new(MetricsSubsystemSpec)
1029
in.DeepCopyInto(out)
1030
return out
1031
}
1032
1033
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1034
func (in *MultilineStageSpec) DeepCopyInto(out *MultilineStageSpec) {
1035
*out = *in
1036
}
1037
1038
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultilineStageSpec.
1039
func (in *MultilineStageSpec) DeepCopy() *MultilineStageSpec {
1040
if in == nil {
1041
return nil
1042
}
1043
out := new(MultilineStageSpec)
1044
in.DeepCopyInto(out)
1045
return out
1046
}
1047
1048
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1049
func (in *OutputStageSpec) DeepCopyInto(out *OutputStageSpec) {
1050
*out = *in
1051
}
1052
1053
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputStageSpec.
1054
func (in *OutputStageSpec) DeepCopy() *OutputStageSpec {
1055
if in == nil {
1056
return nil
1057
}
1058
out := new(OutputStageSpec)
1059
in.DeepCopyInto(out)
1060
return out
1061
}
1062
1063
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1064
func (in *PackStageSpec) DeepCopyInto(out *PackStageSpec) {
1065
*out = *in
1066
if in.Labels != nil {
1067
in, out := &in.Labels, &out.Labels
1068
*out = make([]string, len(*in))
1069
copy(*out, *in)
1070
}
1071
}
1072
1073
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackStageSpec.
1074
func (in *PackStageSpec) DeepCopy() *PackStageSpec {
1075
if in == nil {
1076
return nil
1077
}
1078
out := new(PackStageSpec)
1079
in.DeepCopyInto(out)
1080
return out
1081
}
1082
1083
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1084
func (in *PipelineStageSpec) DeepCopyInto(out *PipelineStageSpec) {
1085
*out = *in
1086
if in.CRI != nil {
1087
in, out := &in.CRI, &out.CRI
1088
*out = new(CRIStageSpec)
1089
**out = **in
1090
}
1091
if in.Docker != nil {
1092
in, out := &in.Docker, &out.Docker
1093
*out = new(DockerStageSpec)
1094
**out = **in
1095
}
1096
if in.Drop != nil {
1097
in, out := &in.Drop, &out.Drop
1098
*out = new(DropStageSpec)
1099
**out = **in
1100
}
1101
if in.JSON != nil {
1102
in, out := &in.JSON, &out.JSON
1103
*out = new(JSONStageSpec)
1104
(*in).DeepCopyInto(*out)
1105
}
1106
if in.LabelAllow != nil {
1107
in, out := &in.LabelAllow, &out.LabelAllow
1108
*out = make([]string, len(*in))
1109
copy(*out, *in)
1110
}
1111
if in.LabelDrop != nil {
1112
in, out := &in.LabelDrop, &out.LabelDrop
1113
*out = make([]string, len(*in))
1114
copy(*out, *in)
1115
}
1116
if in.Labels != nil {
1117
in, out := &in.Labels, &out.Labels
1118
*out = make(map[string]string, len(*in))
1119
for key, val := range *in {
1120
(*out)[key] = val
1121
}
1122
}
1123
if in.Limit != nil {
1124
in, out := &in.Limit, &out.Limit
1125
*out = new(LimitStageSpec)
1126
**out = **in
1127
}
1128
if in.Match != nil {
1129
in, out := &in.Match, &out.Match
1130
*out = new(MatchStageSpec)
1131
**out = **in
1132
}
1133
if in.Metrics != nil {
1134
in, out := &in.Metrics, &out.Metrics
1135
*out = make(map[string]MetricsStageSpec, len(*in))
1136
for key, val := range *in {
1137
(*out)[key] = *val.DeepCopy()
1138
}
1139
}
1140
if in.Multiline != nil {
1141
in, out := &in.Multiline, &out.Multiline
1142
*out = new(MultilineStageSpec)
1143
**out = **in
1144
}
1145
if in.Output != nil {
1146
in, out := &in.Output, &out.Output
1147
*out = new(OutputStageSpec)
1148
**out = **in
1149
}
1150
if in.Pack != nil {
1151
in, out := &in.Pack, &out.Pack
1152
*out = new(PackStageSpec)
1153
(*in).DeepCopyInto(*out)
1154
}
1155
if in.Regex != nil {
1156
in, out := &in.Regex, &out.Regex
1157
*out = new(RegexStageSpec)
1158
**out = **in
1159
}
1160
if in.Replace != nil {
1161
in, out := &in.Replace, &out.Replace
1162
*out = new(ReplaceStageSpec)
1163
**out = **in
1164
}
1165
if in.Template != nil {
1166
in, out := &in.Template, &out.Template
1167
*out = new(TemplateStageSpec)
1168
**out = **in
1169
}
1170
if in.Tenant != nil {
1171
in, out := &in.Tenant, &out.Tenant
1172
*out = new(TenantStageSpec)
1173
**out = **in
1174
}
1175
if in.Timestamp != nil {
1176
in, out := &in.Timestamp, &out.Timestamp
1177
*out = new(TimestampStageSpec)
1178
(*in).DeepCopyInto(*out)
1179
}
1180
}
1181
1182
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStageSpec.
1183
func (in *PipelineStageSpec) DeepCopy() *PipelineStageSpec {
1184
if in == nil {
1185
return nil
1186
}
1187
out := new(PipelineStageSpec)
1188
in.DeepCopyInto(out)
1189
return out
1190
}
1191
1192
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1193
func (in *PodLogs) DeepCopyInto(out *PodLogs) {
1194
*out = *in
1195
out.TypeMeta = in.TypeMeta
1196
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1197
in.Spec.DeepCopyInto(&out.Spec)
1198
}
1199
1200
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogs.
1201
func (in *PodLogs) DeepCopy() *PodLogs {
1202
if in == nil {
1203
return nil
1204
}
1205
out := new(PodLogs)
1206
in.DeepCopyInto(out)
1207
return out
1208
}
1209
1210
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1211
func (in *PodLogs) DeepCopyObject() runtime.Object {
1212
if c := in.DeepCopy(); c != nil {
1213
return c
1214
}
1215
return nil
1216
}
1217
1218
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1219
func (in *PodLogsList) DeepCopyInto(out *PodLogsList) {
1220
*out = *in
1221
out.TypeMeta = in.TypeMeta
1222
in.ListMeta.DeepCopyInto(&out.ListMeta)
1223
if in.Items != nil {
1224
in, out := &in.Items, &out.Items
1225
*out = make([]*PodLogs, len(*in))
1226
for i := range *in {
1227
if (*in)[i] != nil {
1228
in, out := &(*in)[i], &(*out)[i]
1229
*out = new(PodLogs)
1230
(*in).DeepCopyInto(*out)
1231
}
1232
}
1233
}
1234
}
1235
1236
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogsList.
1237
func (in *PodLogsList) DeepCopy() *PodLogsList {
1238
if in == nil {
1239
return nil
1240
}
1241
out := new(PodLogsList)
1242
in.DeepCopyInto(out)
1243
return out
1244
}
1245
1246
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1247
func (in *PodLogsList) DeepCopyObject() runtime.Object {
1248
if c := in.DeepCopy(); c != nil {
1249
return c
1250
}
1251
return nil
1252
}
1253
1254
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1255
func (in *PodLogsSpec) DeepCopyInto(out *PodLogsSpec) {
1256
*out = *in
1257
if in.PodTargetLabels != nil {
1258
in, out := &in.PodTargetLabels, &out.PodTargetLabels
1259
*out = make([]string, len(*in))
1260
copy(*out, *in)
1261
}
1262
in.Selector.DeepCopyInto(&out.Selector)
1263
in.NamespaceSelector.DeepCopyInto(&out.NamespaceSelector)
1264
if in.PipelineStages != nil {
1265
in, out := &in.PipelineStages, &out.PipelineStages
1266
*out = make([]*PipelineStageSpec, len(*in))
1267
for i := range *in {
1268
if (*in)[i] != nil {
1269
in, out := &(*in)[i], &(*out)[i]
1270
*out = new(PipelineStageSpec)
1271
(*in).DeepCopyInto(*out)
1272
}
1273
}
1274
}
1275
if in.RelabelConfigs != nil {
1276
in, out := &in.RelabelConfigs, &out.RelabelConfigs
1277
*out = make([]*v1.RelabelConfig, len(*in))
1278
for i := range *in {
1279
if (*in)[i] != nil {
1280
in, out := &(*in)[i], &(*out)[i]
1281
*out = new(v1.RelabelConfig)
1282
(*in).DeepCopyInto(*out)
1283
}
1284
}
1285
}
1286
}
1287
1288
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogsSpec.
1289
func (in *PodLogsSpec) DeepCopy() *PodLogsSpec {
1290
if in == nil {
1291
return nil
1292
}
1293
out := new(PodLogsSpec)
1294
in.DeepCopyInto(out)
1295
return out
1296
}
1297
1298
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1299
func (in *QueueConfig) DeepCopyInto(out *QueueConfig) {
1300
*out = *in
1301
}
1302
1303
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueConfig.
1304
func (in *QueueConfig) DeepCopy() *QueueConfig {
1305
if in == nil {
1306
return nil
1307
}
1308
out := new(QueueConfig)
1309
in.DeepCopyInto(out)
1310
return out
1311
}
1312
1313
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1314
func (in *RegexStageSpec) DeepCopyInto(out *RegexStageSpec) {
1315
*out = *in
1316
}
1317
1318
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegexStageSpec.
1319
func (in *RegexStageSpec) DeepCopy() *RegexStageSpec {
1320
if in == nil {
1321
return nil
1322
}
1323
out := new(RegexStageSpec)
1324
in.DeepCopyInto(out)
1325
return out
1326
}
1327
1328
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1329
func (in *RemoteWriteSpec) DeepCopyInto(out *RemoteWriteSpec) {
1330
*out = *in
1331
if in.Headers != nil {
1332
in, out := &in.Headers, &out.Headers
1333
*out = make(map[string]string, len(*in))
1334
for key, val := range *in {
1335
(*out)[key] = val
1336
}
1337
}
1338
if in.WriteRelabelConfigs != nil {
1339
in, out := &in.WriteRelabelConfigs, &out.WriteRelabelConfigs
1340
*out = make([]v1.RelabelConfig, len(*in))
1341
for i := range *in {
1342
(*in)[i].DeepCopyInto(&(*out)[i])
1343
}
1344
}
1345
if in.BasicAuth != nil {
1346
in, out := &in.BasicAuth, &out.BasicAuth
1347
*out = new(v1.BasicAuth)
1348
(*in).DeepCopyInto(*out)
1349
}
1350
if in.OAuth2 != nil {
1351
in, out := &in.OAuth2, &out.OAuth2
1352
*out = new(v1.OAuth2)
1353
(*in).DeepCopyInto(*out)
1354
}
1355
if in.SigV4 != nil {
1356
in, out := &in.SigV4, &out.SigV4
1357
*out = new(SigV4Config)
1358
(*in).DeepCopyInto(*out)
1359
}
1360
if in.TLSConfig != nil {
1361
in, out := &in.TLSConfig, &out.TLSConfig
1362
*out = new(v1.TLSConfig)
1363
(*in).DeepCopyInto(*out)
1364
}
1365
if in.QueueConfig != nil {
1366
in, out := &in.QueueConfig, &out.QueueConfig
1367
*out = new(QueueConfig)
1368
**out = **in
1369
}
1370
if in.MetadataConfig != nil {
1371
in, out := &in.MetadataConfig, &out.MetadataConfig
1372
*out = new(MetadataConfig)
1373
**out = **in
1374
}
1375
}
1376
1377
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteWriteSpec.
1378
func (in *RemoteWriteSpec) DeepCopy() *RemoteWriteSpec {
1379
if in == nil {
1380
return nil
1381
}
1382
out := new(RemoteWriteSpec)
1383
in.DeepCopyInto(out)
1384
return out
1385
}
1386
1387
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1388
func (in *ReplaceStageSpec) DeepCopyInto(out *ReplaceStageSpec) {
1389
*out = *in
1390
}
1391
1392
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplaceStageSpec.
1393
func (in *ReplaceStageSpec) DeepCopy() *ReplaceStageSpec {
1394
if in == nil {
1395
return nil
1396
}
1397
out := new(ReplaceStageSpec)
1398
in.DeepCopyInto(out)
1399
return out
1400
}
1401
1402
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1403
func (in *SigV4Config) DeepCopyInto(out *SigV4Config) {
1404
*out = *in
1405
if in.AccessKey != nil {
1406
in, out := &in.AccessKey, &out.AccessKey
1407
*out = new(corev1.SecretKeySelector)
1408
(*in).DeepCopyInto(*out)
1409
}
1410
if in.SecretKey != nil {
1411
in, out := &in.SecretKey, &out.SecretKey
1412
*out = new(corev1.SecretKeySelector)
1413
(*in).DeepCopyInto(*out)
1414
}
1415
}
1416
1417
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SigV4Config.
1418
func (in *SigV4Config) DeepCopy() *SigV4Config {
1419
if in == nil {
1420
return nil
1421
}
1422
out := new(SigV4Config)
1423
in.DeepCopyInto(out)
1424
return out
1425
}
1426
1427
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1428
func (in *TemplateStageSpec) DeepCopyInto(out *TemplateStageSpec) {
1429
*out = *in
1430
}
1431
1432
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateStageSpec.
1433
func (in *TemplateStageSpec) DeepCopy() *TemplateStageSpec {
1434
if in == nil {
1435
return nil
1436
}
1437
out := new(TemplateStageSpec)
1438
in.DeepCopyInto(out)
1439
return out
1440
}
1441
1442
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1443
func (in *TenantStageSpec) DeepCopyInto(out *TenantStageSpec) {
1444
*out = *in
1445
}
1446
1447
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStageSpec.
1448
func (in *TenantStageSpec) DeepCopy() *TenantStageSpec {
1449
if in == nil {
1450
return nil
1451
}
1452
out := new(TenantStageSpec)
1453
in.DeepCopyInto(out)
1454
return out
1455
}
1456
1457
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1458
func (in *TimestampStageSpec) DeepCopyInto(out *TimestampStageSpec) {
1459
*out = *in
1460
if in.FallbackFormats != nil {
1461
in, out := &in.FallbackFormats, &out.FallbackFormats
1462
*out = make([]string, len(*in))
1463
copy(*out, *in)
1464
}
1465
}
1466
1467
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimestampStageSpec.
1468
func (in *TimestampStageSpec) DeepCopy() *TimestampStageSpec {
1469
if in == nil {
1470
return nil
1471
}
1472
out := new(TimestampStageSpec)
1473
in.DeepCopyInto(out)
1474
return out
1475
}
1476
1477