1
2
3
4
5
6 package v1
7
8 import (
9 buildv1 "github.com/openshift/api/build/v1"
10 configv1 "github.com/openshift/api/config/v1"
11 corev1 "k8s.io/api/core/v1"
12 runtime "k8s.io/apimachinery/pkg/runtime"
13 )
14
15
16 func (in AllowedRegistries) DeepCopyInto(out *AllowedRegistries) {
17 {
18 in := &in
19 *out = make(AllowedRegistries, len(*in))
20 copy(*out, *in)
21 return
22 }
23 }
24
25
26 func (in AllowedRegistries) DeepCopy() AllowedRegistries {
27 if in == nil {
28 return nil
29 }
30 out := new(AllowedRegistries)
31 in.DeepCopyInto(out)
32 return *out
33 }
34
35
36 func (in *BuildControllerConfig) DeepCopyInto(out *BuildControllerConfig) {
37 *out = *in
38 out.ImageTemplateFormat = in.ImageTemplateFormat
39 if in.BuildDefaults != nil {
40 in, out := &in.BuildDefaults, &out.BuildDefaults
41 *out = new(BuildDefaultsConfig)
42 (*in).DeepCopyInto(*out)
43 }
44 if in.BuildOverrides != nil {
45 in, out := &in.BuildOverrides, &out.BuildOverrides
46 *out = new(BuildOverridesConfig)
47 (*in).DeepCopyInto(*out)
48 }
49 return
50 }
51
52
53 func (in *BuildControllerConfig) DeepCopy() *BuildControllerConfig {
54 if in == nil {
55 return nil
56 }
57 out := new(BuildControllerConfig)
58 in.DeepCopyInto(out)
59 return out
60 }
61
62
63 func (in *BuildDefaultsConfig) DeepCopyInto(out *BuildDefaultsConfig) {
64 *out = *in
65 out.TypeMeta = in.TypeMeta
66 if in.Env != nil {
67 in, out := &in.Env, &out.Env
68 *out = make([]corev1.EnvVar, len(*in))
69 for i := range *in {
70 (*in)[i].DeepCopyInto(&(*out)[i])
71 }
72 }
73 if in.SourceStrategyDefaults != nil {
74 in, out := &in.SourceStrategyDefaults, &out.SourceStrategyDefaults
75 *out = new(SourceStrategyDefaultsConfig)
76 (*in).DeepCopyInto(*out)
77 }
78 if in.ImageLabels != nil {
79 in, out := &in.ImageLabels, &out.ImageLabels
80 *out = make([]buildv1.ImageLabel, len(*in))
81 copy(*out, *in)
82 }
83 if in.NodeSelector != nil {
84 in, out := &in.NodeSelector, &out.NodeSelector
85 *out = make(map[string]string, len(*in))
86 for key, val := range *in {
87 (*out)[key] = val
88 }
89 }
90 if in.Annotations != nil {
91 in, out := &in.Annotations, &out.Annotations
92 *out = make(map[string]string, len(*in))
93 for key, val := range *in {
94 (*out)[key] = val
95 }
96 }
97 in.Resources.DeepCopyInto(&out.Resources)
98 return
99 }
100
101
102 func (in *BuildDefaultsConfig) DeepCopy() *BuildDefaultsConfig {
103 if in == nil {
104 return nil
105 }
106 out := new(BuildDefaultsConfig)
107 in.DeepCopyInto(out)
108 return out
109 }
110
111
112 func (in *BuildDefaultsConfig) DeepCopyObject() runtime.Object {
113 if c := in.DeepCopy(); c != nil {
114 return c
115 }
116 return nil
117 }
118
119
120 func (in *BuildOverridesConfig) DeepCopyInto(out *BuildOverridesConfig) {
121 *out = *in
122 out.TypeMeta = in.TypeMeta
123 if in.ForcePull != nil {
124 in, out := &in.ForcePull, &out.ForcePull
125 *out = new(bool)
126 **out = **in
127 }
128 if in.ImageLabels != nil {
129 in, out := &in.ImageLabels, &out.ImageLabels
130 *out = make([]buildv1.ImageLabel, len(*in))
131 copy(*out, *in)
132 }
133 if in.NodeSelector != nil {
134 in, out := &in.NodeSelector, &out.NodeSelector
135 *out = make(map[string]string, len(*in))
136 for key, val := range *in {
137 (*out)[key] = val
138 }
139 }
140 if in.Annotations != nil {
141 in, out := &in.Annotations, &out.Annotations
142 *out = make(map[string]string, len(*in))
143 for key, val := range *in {
144 (*out)[key] = val
145 }
146 }
147 if in.Tolerations != nil {
148 in, out := &in.Tolerations, &out.Tolerations
149 *out = make([]corev1.Toleration, len(*in))
150 for i := range *in {
151 (*in)[i].DeepCopyInto(&(*out)[i])
152 }
153 }
154 return
155 }
156
157
158 func (in *BuildOverridesConfig) DeepCopy() *BuildOverridesConfig {
159 if in == nil {
160 return nil
161 }
162 out := new(BuildOverridesConfig)
163 in.DeepCopyInto(out)
164 return out
165 }
166
167
168 func (in *BuildOverridesConfig) DeepCopyObject() runtime.Object {
169 if c := in.DeepCopy(); c != nil {
170 return c
171 }
172 return nil
173 }
174
175
176 func (in *ClusterNetworkEntry) DeepCopyInto(out *ClusterNetworkEntry) {
177 *out = *in
178 return
179 }
180
181
182 func (in *ClusterNetworkEntry) DeepCopy() *ClusterNetworkEntry {
183 if in == nil {
184 return nil
185 }
186 out := new(ClusterNetworkEntry)
187 in.DeepCopyInto(out)
188 return out
189 }
190
191
192 func (in *DeployerControllerConfig) DeepCopyInto(out *DeployerControllerConfig) {
193 *out = *in
194 out.ImageTemplateFormat = in.ImageTemplateFormat
195 return
196 }
197
198
199 func (in *DeployerControllerConfig) DeepCopy() *DeployerControllerConfig {
200 if in == nil {
201 return nil
202 }
203 out := new(DeployerControllerConfig)
204 in.DeepCopyInto(out)
205 return out
206 }
207
208
209 func (in *DockerPullSecretControllerConfig) DeepCopyInto(out *DockerPullSecretControllerConfig) {
210 *out = *in
211 if in.RegistryURLs != nil {
212 in, out := &in.RegistryURLs, &out.RegistryURLs
213 *out = make([]string, len(*in))
214 copy(*out, *in)
215 }
216 return
217 }
218
219
220 func (in *DockerPullSecretControllerConfig) DeepCopy() *DockerPullSecretControllerConfig {
221 if in == nil {
222 return nil
223 }
224 out := new(DockerPullSecretControllerConfig)
225 in.DeepCopyInto(out)
226 return out
227 }
228
229
230 func (in *FrontProxyConfig) DeepCopyInto(out *FrontProxyConfig) {
231 *out = *in
232 if in.AllowedNames != nil {
233 in, out := &in.AllowedNames, &out.AllowedNames
234 *out = make([]string, len(*in))
235 copy(*out, *in)
236 }
237 if in.UsernameHeaders != nil {
238 in, out := &in.UsernameHeaders, &out.UsernameHeaders
239 *out = make([]string, len(*in))
240 copy(*out, *in)
241 }
242 if in.GroupHeaders != nil {
243 in, out := &in.GroupHeaders, &out.GroupHeaders
244 *out = make([]string, len(*in))
245 copy(*out, *in)
246 }
247 if in.ExtraHeaderPrefixes != nil {
248 in, out := &in.ExtraHeaderPrefixes, &out.ExtraHeaderPrefixes
249 *out = make([]string, len(*in))
250 copy(*out, *in)
251 }
252 return
253 }
254
255
256 func (in *FrontProxyConfig) DeepCopy() *FrontProxyConfig {
257 if in == nil {
258 return nil
259 }
260 out := new(FrontProxyConfig)
261 in.DeepCopyInto(out)
262 return out
263 }
264
265
266 func (in *ImageConfig) DeepCopyInto(out *ImageConfig) {
267 *out = *in
268 return
269 }
270
271
272 func (in *ImageConfig) DeepCopy() *ImageConfig {
273 if in == nil {
274 return nil
275 }
276 out := new(ImageConfig)
277 in.DeepCopyInto(out)
278 return out
279 }
280
281
282 func (in *ImageImportControllerConfig) DeepCopyInto(out *ImageImportControllerConfig) {
283 *out = *in
284 return
285 }
286
287
288 func (in *ImageImportControllerConfig) DeepCopy() *ImageImportControllerConfig {
289 if in == nil {
290 return nil
291 }
292 out := new(ImageImportControllerConfig)
293 in.DeepCopyInto(out)
294 return out
295 }
296
297
298 func (in *ImagePolicyConfig) DeepCopyInto(out *ImagePolicyConfig) {
299 *out = *in
300 if in.AllowedRegistriesForImport != nil {
301 in, out := &in.AllowedRegistriesForImport, &out.AllowedRegistriesForImport
302 *out = make(AllowedRegistries, len(*in))
303 copy(*out, *in)
304 }
305 if in.ExternalRegistryHostnames != nil {
306 in, out := &in.ExternalRegistryHostnames, &out.ExternalRegistryHostnames
307 *out = make([]string, len(*in))
308 copy(*out, *in)
309 }
310 return
311 }
312
313
314 func (in *ImagePolicyConfig) DeepCopy() *ImagePolicyConfig {
315 if in == nil {
316 return nil
317 }
318 out := new(ImagePolicyConfig)
319 in.DeepCopyInto(out)
320 return out
321 }
322
323
324 func (in *IngressControllerConfig) DeepCopyInto(out *IngressControllerConfig) {
325 *out = *in
326 return
327 }
328
329
330 func (in *IngressControllerConfig) DeepCopy() *IngressControllerConfig {
331 if in == nil {
332 return nil
333 }
334 out := new(IngressControllerConfig)
335 in.DeepCopyInto(out)
336 return out
337 }
338
339
340 func (in *JenkinsPipelineConfig) DeepCopyInto(out *JenkinsPipelineConfig) {
341 *out = *in
342 if in.AutoProvisionEnabled != nil {
343 in, out := &in.AutoProvisionEnabled, &out.AutoProvisionEnabled
344 *out = new(bool)
345 **out = **in
346 }
347 if in.Parameters != nil {
348 in, out := &in.Parameters, &out.Parameters
349 *out = make(map[string]string, len(*in))
350 for key, val := range *in {
351 (*out)[key] = val
352 }
353 }
354 return
355 }
356
357
358 func (in *JenkinsPipelineConfig) DeepCopy() *JenkinsPipelineConfig {
359 if in == nil {
360 return nil
361 }
362 out := new(JenkinsPipelineConfig)
363 in.DeepCopyInto(out)
364 return out
365 }
366
367
368 func (in *NetworkControllerConfig) DeepCopyInto(out *NetworkControllerConfig) {
369 *out = *in
370 if in.ClusterNetworks != nil {
371 in, out := &in.ClusterNetworks, &out.ClusterNetworks
372 *out = make([]ClusterNetworkEntry, len(*in))
373 copy(*out, *in)
374 }
375 return
376 }
377
378
379 func (in *NetworkControllerConfig) DeepCopy() *NetworkControllerConfig {
380 if in == nil {
381 return nil
382 }
383 out := new(NetworkControllerConfig)
384 in.DeepCopyInto(out)
385 return out
386 }
387
388
389 func (in *OpenShiftAPIServerConfig) DeepCopyInto(out *OpenShiftAPIServerConfig) {
390 *out = *in
391 out.TypeMeta = in.TypeMeta
392 in.GenericAPIServerConfig.DeepCopyInto(&out.GenericAPIServerConfig)
393 in.AggregatorConfig.DeepCopyInto(&out.AggregatorConfig)
394 in.ImagePolicyConfig.DeepCopyInto(&out.ImagePolicyConfig)
395 out.ProjectConfig = in.ProjectConfig
396 out.RoutingConfig = in.RoutingConfig
397 in.JenkinsPipelineConfig.DeepCopyInto(&out.JenkinsPipelineConfig)
398 if in.APIServerArguments != nil {
399 in, out := &in.APIServerArguments, &out.APIServerArguments
400 *out = make(map[string][]string, len(*in))
401 for key, val := range *in {
402 var outVal []string
403 if val == nil {
404 (*out)[key] = nil
405 } else {
406 in, out := &val, &outVal
407 *out = make([]string, len(*in))
408 copy(*out, *in)
409 }
410 (*out)[key] = outVal
411 }
412 }
413 return
414 }
415
416
417 func (in *OpenShiftAPIServerConfig) DeepCopy() *OpenShiftAPIServerConfig {
418 if in == nil {
419 return nil
420 }
421 out := new(OpenShiftAPIServerConfig)
422 in.DeepCopyInto(out)
423 return out
424 }
425
426
427 func (in *OpenShiftAPIServerConfig) DeepCopyObject() runtime.Object {
428 if c := in.DeepCopy(); c != nil {
429 return c
430 }
431 return nil
432 }
433
434
435 func (in *OpenShiftControllerManagerConfig) DeepCopyInto(out *OpenShiftControllerManagerConfig) {
436 *out = *in
437 out.TypeMeta = in.TypeMeta
438 out.KubeClientConfig = in.KubeClientConfig
439 if in.ServingInfo != nil {
440 in, out := &in.ServingInfo, &out.ServingInfo
441 *out = new(configv1.HTTPServingInfo)
442 (*in).DeepCopyInto(*out)
443 }
444 out.LeaderElection = in.LeaderElection
445 if in.Controllers != nil {
446 in, out := &in.Controllers, &out.Controllers
447 *out = make([]string, len(*in))
448 copy(*out, *in)
449 }
450 out.ResourceQuota = in.ResourceQuota
451 in.ServiceServingCert.DeepCopyInto(&out.ServiceServingCert)
452 out.Deployer = in.Deployer
453 in.Build.DeepCopyInto(&out.Build)
454 in.ServiceAccount.DeepCopyInto(&out.ServiceAccount)
455 in.DockerPullSecret.DeepCopyInto(&out.DockerPullSecret)
456 in.Network.DeepCopyInto(&out.Network)
457 out.Ingress = in.Ingress
458 out.ImageImport = in.ImageImport
459 out.SecurityAllocator = in.SecurityAllocator
460 if in.FeatureGates != nil {
461 in, out := &in.FeatureGates, &out.FeatureGates
462 *out = make([]string, len(*in))
463 copy(*out, *in)
464 }
465 return
466 }
467
468
469 func (in *OpenShiftControllerManagerConfig) DeepCopy() *OpenShiftControllerManagerConfig {
470 if in == nil {
471 return nil
472 }
473 out := new(OpenShiftControllerManagerConfig)
474 in.DeepCopyInto(out)
475 return out
476 }
477
478
479 func (in *OpenShiftControllerManagerConfig) DeepCopyObject() runtime.Object {
480 if c := in.DeepCopy(); c != nil {
481 return c
482 }
483 return nil
484 }
485
486
487 func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig) {
488 *out = *in
489 return
490 }
491
492
493 func (in *ProjectConfig) DeepCopy() *ProjectConfig {
494 if in == nil {
495 return nil
496 }
497 out := new(ProjectConfig)
498 in.DeepCopyInto(out)
499 return out
500 }
501
502
503 func (in *RegistryLocation) DeepCopyInto(out *RegistryLocation) {
504 *out = *in
505 return
506 }
507
508
509 func (in *RegistryLocation) DeepCopy() *RegistryLocation {
510 if in == nil {
511 return nil
512 }
513 out := new(RegistryLocation)
514 in.DeepCopyInto(out)
515 return out
516 }
517
518
519 func (in *ResourceQuotaControllerConfig) DeepCopyInto(out *ResourceQuotaControllerConfig) {
520 *out = *in
521 out.SyncPeriod = in.SyncPeriod
522 out.MinResyncPeriod = in.MinResyncPeriod
523 return
524 }
525
526
527 func (in *ResourceQuotaControllerConfig) DeepCopy() *ResourceQuotaControllerConfig {
528 if in == nil {
529 return nil
530 }
531 out := new(ResourceQuotaControllerConfig)
532 in.DeepCopyInto(out)
533 return out
534 }
535
536
537 func (in *RoutingConfig) DeepCopyInto(out *RoutingConfig) {
538 *out = *in
539 return
540 }
541
542
543 func (in *RoutingConfig) DeepCopy() *RoutingConfig {
544 if in == nil {
545 return nil
546 }
547 out := new(RoutingConfig)
548 in.DeepCopyInto(out)
549 return out
550 }
551
552
553 func (in *SecurityAllocator) DeepCopyInto(out *SecurityAllocator) {
554 *out = *in
555 return
556 }
557
558
559 func (in *SecurityAllocator) DeepCopy() *SecurityAllocator {
560 if in == nil {
561 return nil
562 }
563 out := new(SecurityAllocator)
564 in.DeepCopyInto(out)
565 return out
566 }
567
568
569 func (in *ServiceAccountControllerConfig) DeepCopyInto(out *ServiceAccountControllerConfig) {
570 *out = *in
571 if in.ManagedNames != nil {
572 in, out := &in.ManagedNames, &out.ManagedNames
573 *out = make([]string, len(*in))
574 copy(*out, *in)
575 }
576 return
577 }
578
579
580 func (in *ServiceAccountControllerConfig) DeepCopy() *ServiceAccountControllerConfig {
581 if in == nil {
582 return nil
583 }
584 out := new(ServiceAccountControllerConfig)
585 in.DeepCopyInto(out)
586 return out
587 }
588
589
590 func (in *ServiceServingCert) DeepCopyInto(out *ServiceServingCert) {
591 *out = *in
592 if in.Signer != nil {
593 in, out := &in.Signer, &out.Signer
594 *out = new(configv1.CertInfo)
595 **out = **in
596 }
597 return
598 }
599
600
601 func (in *ServiceServingCert) DeepCopy() *ServiceServingCert {
602 if in == nil {
603 return nil
604 }
605 out := new(ServiceServingCert)
606 in.DeepCopyInto(out)
607 return out
608 }
609
610
611 func (in *SourceStrategyDefaultsConfig) DeepCopyInto(out *SourceStrategyDefaultsConfig) {
612 *out = *in
613 if in.Incremental != nil {
614 in, out := &in.Incremental, &out.Incremental
615 *out = new(bool)
616 **out = **in
617 }
618 return
619 }
620
621
622 func (in *SourceStrategyDefaultsConfig) DeepCopy() *SourceStrategyDefaultsConfig {
623 if in == nil {
624 return nil
625 }
626 out := new(SourceStrategyDefaultsConfig)
627 in.DeepCopyInto(out)
628 return out
629 }
630
View as plain text