1
2
3
4
19
20
21
22 package v1beta1
23
24 import (
25 corev1 "k8s.io/api/core/v1"
26 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27 runtime "k8s.io/apimachinery/pkg/runtime"
28 apiv1 "k8s.io/component-base/tracing/api/v1"
29 )
30
31
32 func (in *CredentialProvider) DeepCopyInto(out *CredentialProvider) {
33 *out = *in
34 if in.MatchImages != nil {
35 in, out := &in.MatchImages, &out.MatchImages
36 *out = make([]string, len(*in))
37 copy(*out, *in)
38 }
39 if in.DefaultCacheDuration != nil {
40 in, out := &in.DefaultCacheDuration, &out.DefaultCacheDuration
41 *out = new(v1.Duration)
42 **out = **in
43 }
44 if in.Args != nil {
45 in, out := &in.Args, &out.Args
46 *out = make([]string, len(*in))
47 copy(*out, *in)
48 }
49 if in.Env != nil {
50 in, out := &in.Env, &out.Env
51 *out = make([]ExecEnvVar, len(*in))
52 copy(*out, *in)
53 }
54 return
55 }
56
57
58 func (in *CredentialProvider) DeepCopy() *CredentialProvider {
59 if in == nil {
60 return nil
61 }
62 out := new(CredentialProvider)
63 in.DeepCopyInto(out)
64 return out
65 }
66
67
68 func (in *CredentialProviderConfig) DeepCopyInto(out *CredentialProviderConfig) {
69 *out = *in
70 out.TypeMeta = in.TypeMeta
71 if in.Providers != nil {
72 in, out := &in.Providers, &out.Providers
73 *out = make([]CredentialProvider, len(*in))
74 for i := range *in {
75 (*in)[i].DeepCopyInto(&(*out)[i])
76 }
77 }
78 return
79 }
80
81
82 func (in *CredentialProviderConfig) DeepCopy() *CredentialProviderConfig {
83 if in == nil {
84 return nil
85 }
86 out := new(CredentialProviderConfig)
87 in.DeepCopyInto(out)
88 return out
89 }
90
91
92 func (in *CredentialProviderConfig) DeepCopyObject() runtime.Object {
93 if c := in.DeepCopy(); c != nil {
94 return c
95 }
96 return nil
97 }
98
99
100 func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
101 *out = *in
102 return
103 }
104
105
106 func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
107 if in == nil {
108 return nil
109 }
110 out := new(ExecEnvVar)
111 in.DeepCopyInto(out)
112 return out
113 }
114
115
116 func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuthentication) {
117 *out = *in
118 if in.Enabled != nil {
119 in, out := &in.Enabled, &out.Enabled
120 *out = new(bool)
121 **out = **in
122 }
123 return
124 }
125
126
127 func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication {
128 if in == nil {
129 return nil
130 }
131 out := new(KubeletAnonymousAuthentication)
132 in.DeepCopyInto(out)
133 return out
134 }
135
136
137 func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) {
138 *out = *in
139 out.X509 = in.X509
140 in.Webhook.DeepCopyInto(&out.Webhook)
141 in.Anonymous.DeepCopyInto(&out.Anonymous)
142 return
143 }
144
145
146 func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication {
147 if in == nil {
148 return nil
149 }
150 out := new(KubeletAuthentication)
151 in.DeepCopyInto(out)
152 return out
153 }
154
155
156 func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) {
157 *out = *in
158 out.Webhook = in.Webhook
159 return
160 }
161
162
163 func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization {
164 if in == nil {
165 return nil
166 }
167 out := new(KubeletAuthorization)
168 in.DeepCopyInto(out)
169 return out
170 }
171
172
173 func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
174 *out = *in
175 out.TypeMeta = in.TypeMeta
176 if in.EnableServer != nil {
177 in, out := &in.EnableServer, &out.EnableServer
178 *out = new(bool)
179 **out = **in
180 }
181 out.SyncFrequency = in.SyncFrequency
182 out.FileCheckFrequency = in.FileCheckFrequency
183 out.HTTPCheckFrequency = in.HTTPCheckFrequency
184 if in.StaticPodURLHeader != nil {
185 in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader
186 *out = make(map[string][]string, len(*in))
187 for key, val := range *in {
188 var outVal []string
189 if val == nil {
190 (*out)[key] = nil
191 } else {
192 in, out := &val, &outVal
193 *out = make([]string, len(*in))
194 copy(*out, *in)
195 }
196 (*out)[key] = outVal
197 }
198 }
199 if in.TLSCipherSuites != nil {
200 in, out := &in.TLSCipherSuites, &out.TLSCipherSuites
201 *out = make([]string, len(*in))
202 copy(*out, *in)
203 }
204 in.Authentication.DeepCopyInto(&out.Authentication)
205 out.Authorization = in.Authorization
206 if in.RegistryPullQPS != nil {
207 in, out := &in.RegistryPullQPS, &out.RegistryPullQPS
208 *out = new(int32)
209 **out = **in
210 }
211 if in.EventRecordQPS != nil {
212 in, out := &in.EventRecordQPS, &out.EventRecordQPS
213 *out = new(int32)
214 **out = **in
215 }
216 if in.EnableDebuggingHandlers != nil {
217 in, out := &in.EnableDebuggingHandlers, &out.EnableDebuggingHandlers
218 *out = new(bool)
219 **out = **in
220 }
221 if in.HealthzPort != nil {
222 in, out := &in.HealthzPort, &out.HealthzPort
223 *out = new(int32)
224 **out = **in
225 }
226 if in.OOMScoreAdj != nil {
227 in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
228 *out = new(int32)
229 **out = **in
230 }
231 if in.ClusterDNS != nil {
232 in, out := &in.ClusterDNS, &out.ClusterDNS
233 *out = make([]string, len(*in))
234 copy(*out, *in)
235 }
236 out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout
237 out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency
238 out.NodeStatusReportFrequency = in.NodeStatusReportFrequency
239 out.ImageMinimumGCAge = in.ImageMinimumGCAge
240 out.ImageMaximumGCAge = in.ImageMaximumGCAge
241 if in.ImageGCHighThresholdPercent != nil {
242 in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent
243 *out = new(int32)
244 **out = **in
245 }
246 if in.ImageGCLowThresholdPercent != nil {
247 in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent
248 *out = new(int32)
249 **out = **in
250 }
251 out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod
252 if in.CgroupsPerQOS != nil {
253 in, out := &in.CgroupsPerQOS, &out.CgroupsPerQOS
254 *out = new(bool)
255 **out = **in
256 }
257 if in.CPUManagerPolicyOptions != nil {
258 in, out := &in.CPUManagerPolicyOptions, &out.CPUManagerPolicyOptions
259 *out = make(map[string]string, len(*in))
260 for key, val := range *in {
261 (*out)[key] = val
262 }
263 }
264 out.CPUManagerReconcilePeriod = in.CPUManagerReconcilePeriod
265 if in.TopologyManagerPolicyOptions != nil {
266 in, out := &in.TopologyManagerPolicyOptions, &out.TopologyManagerPolicyOptions
267 *out = make(map[string]string, len(*in))
268 for key, val := range *in {
269 (*out)[key] = val
270 }
271 }
272 if in.QOSReserved != nil {
273 in, out := &in.QOSReserved, &out.QOSReserved
274 *out = make(map[string]string, len(*in))
275 for key, val := range *in {
276 (*out)[key] = val
277 }
278 }
279 out.RuntimeRequestTimeout = in.RuntimeRequestTimeout
280 if in.PodPidsLimit != nil {
281 in, out := &in.PodPidsLimit, &out.PodPidsLimit
282 *out = new(int64)
283 **out = **in
284 }
285 if in.ResolverConfig != nil {
286 in, out := &in.ResolverConfig, &out.ResolverConfig
287 *out = new(string)
288 **out = **in
289 }
290 if in.CPUCFSQuota != nil {
291 in, out := &in.CPUCFSQuota, &out.CPUCFSQuota
292 *out = new(bool)
293 **out = **in
294 }
295 if in.CPUCFSQuotaPeriod != nil {
296 in, out := &in.CPUCFSQuotaPeriod, &out.CPUCFSQuotaPeriod
297 *out = new(v1.Duration)
298 **out = **in
299 }
300 if in.NodeStatusMaxImages != nil {
301 in, out := &in.NodeStatusMaxImages, &out.NodeStatusMaxImages
302 *out = new(int32)
303 **out = **in
304 }
305 if in.KubeAPIQPS != nil {
306 in, out := &in.KubeAPIQPS, &out.KubeAPIQPS
307 *out = new(int32)
308 **out = **in
309 }
310 if in.SerializeImagePulls != nil {
311 in, out := &in.SerializeImagePulls, &out.SerializeImagePulls
312 *out = new(bool)
313 **out = **in
314 }
315 if in.MaxParallelImagePulls != nil {
316 in, out := &in.MaxParallelImagePulls, &out.MaxParallelImagePulls
317 *out = new(int32)
318 **out = **in
319 }
320 if in.EvictionHard != nil {
321 in, out := &in.EvictionHard, &out.EvictionHard
322 *out = make(map[string]string, len(*in))
323 for key, val := range *in {
324 (*out)[key] = val
325 }
326 }
327 if in.EvictionSoft != nil {
328 in, out := &in.EvictionSoft, &out.EvictionSoft
329 *out = make(map[string]string, len(*in))
330 for key, val := range *in {
331 (*out)[key] = val
332 }
333 }
334 if in.EvictionSoftGracePeriod != nil {
335 in, out := &in.EvictionSoftGracePeriod, &out.EvictionSoftGracePeriod
336 *out = make(map[string]string, len(*in))
337 for key, val := range *in {
338 (*out)[key] = val
339 }
340 }
341 out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod
342 if in.EvictionMinimumReclaim != nil {
343 in, out := &in.EvictionMinimumReclaim, &out.EvictionMinimumReclaim
344 *out = make(map[string]string, len(*in))
345 for key, val := range *in {
346 (*out)[key] = val
347 }
348 }
349 if in.EnableControllerAttachDetach != nil {
350 in, out := &in.EnableControllerAttachDetach, &out.EnableControllerAttachDetach
351 *out = new(bool)
352 **out = **in
353 }
354 if in.MakeIPTablesUtilChains != nil {
355 in, out := &in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains
356 *out = new(bool)
357 **out = **in
358 }
359 if in.IPTablesMasqueradeBit != nil {
360 in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit
361 *out = new(int32)
362 **out = **in
363 }
364 if in.IPTablesDropBit != nil {
365 in, out := &in.IPTablesDropBit, &out.IPTablesDropBit
366 *out = new(int32)
367 **out = **in
368 }
369 if in.FeatureGates != nil {
370 in, out := &in.FeatureGates, &out.FeatureGates
371 *out = make(map[string]bool, len(*in))
372 for key, val := range *in {
373 (*out)[key] = val
374 }
375 }
376 if in.FailSwapOn != nil {
377 in, out := &in.FailSwapOn, &out.FailSwapOn
378 *out = new(bool)
379 **out = **in
380 }
381 out.MemorySwap = in.MemorySwap
382 if in.ContainerLogMaxFiles != nil {
383 in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
384 *out = new(int32)
385 **out = **in
386 }
387 if in.ContainerLogMaxWorkers != nil {
388 in, out := &in.ContainerLogMaxWorkers, &out.ContainerLogMaxWorkers
389 *out = new(int32)
390 **out = **in
391 }
392 if in.ContainerLogMonitorInterval != nil {
393 in, out := &in.ContainerLogMonitorInterval, &out.ContainerLogMonitorInterval
394 *out = new(v1.Duration)
395 **out = **in
396 }
397 if in.SystemReserved != nil {
398 in, out := &in.SystemReserved, &out.SystemReserved
399 *out = make(map[string]string, len(*in))
400 for key, val := range *in {
401 (*out)[key] = val
402 }
403 }
404 if in.KubeReserved != nil {
405 in, out := &in.KubeReserved, &out.KubeReserved
406 *out = make(map[string]string, len(*in))
407 for key, val := range *in {
408 (*out)[key] = val
409 }
410 }
411 if in.EnforceNodeAllocatable != nil {
412 in, out := &in.EnforceNodeAllocatable, &out.EnforceNodeAllocatable
413 *out = make([]string, len(*in))
414 copy(*out, *in)
415 }
416 if in.AllowedUnsafeSysctls != nil {
417 in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
418 *out = make([]string, len(*in))
419 copy(*out, *in)
420 }
421 in.Logging.DeepCopyInto(&out.Logging)
422 if in.EnableSystemLogHandler != nil {
423 in, out := &in.EnableSystemLogHandler, &out.EnableSystemLogHandler
424 *out = new(bool)
425 **out = **in
426 }
427 if in.EnableSystemLogQuery != nil {
428 in, out := &in.EnableSystemLogQuery, &out.EnableSystemLogQuery
429 *out = new(bool)
430 **out = **in
431 }
432 out.ShutdownGracePeriod = in.ShutdownGracePeriod
433 out.ShutdownGracePeriodCriticalPods = in.ShutdownGracePeriodCriticalPods
434 if in.ShutdownGracePeriodByPodPriority != nil {
435 in, out := &in.ShutdownGracePeriodByPodPriority, &out.ShutdownGracePeriodByPodPriority
436 *out = make([]ShutdownGracePeriodByPodPriority, len(*in))
437 copy(*out, *in)
438 }
439 if in.ReservedMemory != nil {
440 in, out := &in.ReservedMemory, &out.ReservedMemory
441 *out = make([]MemoryReservation, len(*in))
442 for i := range *in {
443 (*in)[i].DeepCopyInto(&(*out)[i])
444 }
445 }
446 if in.EnableProfilingHandler != nil {
447 in, out := &in.EnableProfilingHandler, &out.EnableProfilingHandler
448 *out = new(bool)
449 **out = **in
450 }
451 if in.EnableDebugFlagsHandler != nil {
452 in, out := &in.EnableDebugFlagsHandler, &out.EnableDebugFlagsHandler
453 *out = new(bool)
454 **out = **in
455 }
456 if in.SeccompDefault != nil {
457 in, out := &in.SeccompDefault, &out.SeccompDefault
458 *out = new(bool)
459 **out = **in
460 }
461 if in.MemoryThrottlingFactor != nil {
462 in, out := &in.MemoryThrottlingFactor, &out.MemoryThrottlingFactor
463 *out = new(float64)
464 **out = **in
465 }
466 if in.RegisterWithTaints != nil {
467 in, out := &in.RegisterWithTaints, &out.RegisterWithTaints
468 *out = make([]corev1.Taint, len(*in))
469 for i := range *in {
470 (*in)[i].DeepCopyInto(&(*out)[i])
471 }
472 }
473 if in.RegisterNode != nil {
474 in, out := &in.RegisterNode, &out.RegisterNode
475 *out = new(bool)
476 **out = **in
477 }
478 if in.Tracing != nil {
479 in, out := &in.Tracing, &out.Tracing
480 *out = new(apiv1.TracingConfiguration)
481 (*in).DeepCopyInto(*out)
482 }
483 if in.LocalStorageCapacityIsolation != nil {
484 in, out := &in.LocalStorageCapacityIsolation, &out.LocalStorageCapacityIsolation
485 *out = new(bool)
486 **out = **in
487 }
488 return
489 }
490
491
492 func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
493 if in == nil {
494 return nil
495 }
496 out := new(KubeletConfiguration)
497 in.DeepCopyInto(out)
498 return out
499 }
500
501
502 func (in *KubeletConfiguration) DeepCopyObject() runtime.Object {
503 if c := in.DeepCopy(); c != nil {
504 return c
505 }
506 return nil
507 }
508
509
510 func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) {
511 *out = *in
512 if in.Enabled != nil {
513 in, out := &in.Enabled, &out.Enabled
514 *out = new(bool)
515 **out = **in
516 }
517 out.CacheTTL = in.CacheTTL
518 return
519 }
520
521
522 func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
523 if in == nil {
524 return nil
525 }
526 out := new(KubeletWebhookAuthentication)
527 in.DeepCopyInto(out)
528 return out
529 }
530
531
532 func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthorization) {
533 *out = *in
534 out.CacheAuthorizedTTL = in.CacheAuthorizedTTL
535 out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL
536 return
537 }
538
539
540 func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
541 if in == nil {
542 return nil
543 }
544 out := new(KubeletWebhookAuthorization)
545 in.DeepCopyInto(out)
546 return out
547 }
548
549
550 func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication) {
551 *out = *in
552 return
553 }
554
555
556 func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
557 if in == nil {
558 return nil
559 }
560 out := new(KubeletX509Authentication)
561 in.DeepCopyInto(out)
562 return out
563 }
564
565
566 func (in *MemoryReservation) DeepCopyInto(out *MemoryReservation) {
567 *out = *in
568 if in.Limits != nil {
569 in, out := &in.Limits, &out.Limits
570 *out = make(corev1.ResourceList, len(*in))
571 for key, val := range *in {
572 (*out)[key] = val.DeepCopy()
573 }
574 }
575 return
576 }
577
578
579 func (in *MemoryReservation) DeepCopy() *MemoryReservation {
580 if in == nil {
581 return nil
582 }
583 out := new(MemoryReservation)
584 in.DeepCopyInto(out)
585 return out
586 }
587
588
589 func (in *MemorySwapConfiguration) DeepCopyInto(out *MemorySwapConfiguration) {
590 *out = *in
591 return
592 }
593
594
595 func (in *MemorySwapConfiguration) DeepCopy() *MemorySwapConfiguration {
596 if in == nil {
597 return nil
598 }
599 out := new(MemorySwapConfiguration)
600 in.DeepCopyInto(out)
601 return out
602 }
603
604
605 func (in *SerializedNodeConfigSource) DeepCopyInto(out *SerializedNodeConfigSource) {
606 *out = *in
607 out.TypeMeta = in.TypeMeta
608 in.Source.DeepCopyInto(&out.Source)
609 return
610 }
611
612
613 func (in *SerializedNodeConfigSource) DeepCopy() *SerializedNodeConfigSource {
614 if in == nil {
615 return nil
616 }
617 out := new(SerializedNodeConfigSource)
618 in.DeepCopyInto(out)
619 return out
620 }
621
622
623 func (in *SerializedNodeConfigSource) DeepCopyObject() runtime.Object {
624 if c := in.DeepCopy(); c != nil {
625 return c
626 }
627 return nil
628 }
629
630
631 func (in *ShutdownGracePeriodByPodPriority) DeepCopyInto(out *ShutdownGracePeriodByPodPriority) {
632 *out = *in
633 return
634 }
635
636
637 func (in *ShutdownGracePeriodByPodPriority) DeepCopy() *ShutdownGracePeriodByPodPriority {
638 if in == nil {
639 return nil
640 }
641 out := new(ShutdownGracePeriodByPodPriority)
642 in.DeepCopyInto(out)
643 return out
644 }
645
View as plain text