k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/pkg/kubelet/apis/config/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package config 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 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProvider. 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 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfig. 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 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 92 func (in *CredentialProviderConfig) DeepCopyObject() runtime.Object { 93 if c := in.DeepCopy(); c != nil { 94 return c 95 } 96 return nil 97 } 98 99 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 100 func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) { 101 *out = *in 102 return 103 } 104 105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecEnvVar. 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 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 116 func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuthentication) { 117 *out = *in 118 return 119 } 120 121 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. 122 func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { 123 if in == nil { 124 return nil 125 } 126 out := new(KubeletAnonymousAuthentication) 127 in.DeepCopyInto(out) 128 return out 129 } 130 131 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 132 func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) { 133 *out = *in 134 out.X509 = in.X509 135 out.Webhook = in.Webhook 136 out.Anonymous = in.Anonymous 137 return 138 } 139 140 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. 141 func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication { 142 if in == nil { 143 return nil 144 } 145 out := new(KubeletAuthentication) 146 in.DeepCopyInto(out) 147 return out 148 } 149 150 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 151 func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) { 152 *out = *in 153 out.Webhook = in.Webhook 154 return 155 } 156 157 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. 158 func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization { 159 if in == nil { 160 return nil 161 } 162 out := new(KubeletAuthorization) 163 in.DeepCopyInto(out) 164 return out 165 } 166 167 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 168 func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { 169 *out = *in 170 out.TypeMeta = in.TypeMeta 171 out.SyncFrequency = in.SyncFrequency 172 out.FileCheckFrequency = in.FileCheckFrequency 173 out.HTTPCheckFrequency = in.HTTPCheckFrequency 174 if in.StaticPodURLHeader != nil { 175 in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader 176 *out = make(map[string][]string, len(*in)) 177 for key, val := range *in { 178 var outVal []string 179 if val == nil { 180 (*out)[key] = nil 181 } else { 182 in, out := &val, &outVal 183 *out = make([]string, len(*in)) 184 copy(*out, *in) 185 } 186 (*out)[key] = outVal 187 } 188 } 189 if in.TLSCipherSuites != nil { 190 in, out := &in.TLSCipherSuites, &out.TLSCipherSuites 191 *out = make([]string, len(*in)) 192 copy(*out, *in) 193 } 194 out.Authentication = in.Authentication 195 out.Authorization = in.Authorization 196 if in.ClusterDNS != nil { 197 in, out := &in.ClusterDNS, &out.ClusterDNS 198 *out = make([]string, len(*in)) 199 copy(*out, *in) 200 } 201 out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout 202 out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency 203 out.NodeStatusReportFrequency = in.NodeStatusReportFrequency 204 out.ImageMinimumGCAge = in.ImageMinimumGCAge 205 out.ImageMaximumGCAge = in.ImageMaximumGCAge 206 out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod 207 if in.CPUManagerPolicyOptions != nil { 208 in, out := &in.CPUManagerPolicyOptions, &out.CPUManagerPolicyOptions 209 *out = make(map[string]string, len(*in)) 210 for key, val := range *in { 211 (*out)[key] = val 212 } 213 } 214 out.CPUManagerReconcilePeriod = in.CPUManagerReconcilePeriod 215 if in.TopologyManagerPolicyOptions != nil { 216 in, out := &in.TopologyManagerPolicyOptions, &out.TopologyManagerPolicyOptions 217 *out = make(map[string]string, len(*in)) 218 for key, val := range *in { 219 (*out)[key] = val 220 } 221 } 222 if in.QOSReserved != nil { 223 in, out := &in.QOSReserved, &out.QOSReserved 224 *out = make(map[string]string, len(*in)) 225 for key, val := range *in { 226 (*out)[key] = val 227 } 228 } 229 out.RuntimeRequestTimeout = in.RuntimeRequestTimeout 230 out.CPUCFSQuotaPeriod = in.CPUCFSQuotaPeriod 231 if in.MaxParallelImagePulls != nil { 232 in, out := &in.MaxParallelImagePulls, &out.MaxParallelImagePulls 233 *out = new(int32) 234 **out = **in 235 } 236 if in.EvictionHard != nil { 237 in, out := &in.EvictionHard, &out.EvictionHard 238 *out = make(map[string]string, len(*in)) 239 for key, val := range *in { 240 (*out)[key] = val 241 } 242 } 243 if in.EvictionSoft != nil { 244 in, out := &in.EvictionSoft, &out.EvictionSoft 245 *out = make(map[string]string, len(*in)) 246 for key, val := range *in { 247 (*out)[key] = val 248 } 249 } 250 if in.EvictionSoftGracePeriod != nil { 251 in, out := &in.EvictionSoftGracePeriod, &out.EvictionSoftGracePeriod 252 *out = make(map[string]string, len(*in)) 253 for key, val := range *in { 254 (*out)[key] = val 255 } 256 } 257 out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod 258 if in.EvictionMinimumReclaim != nil { 259 in, out := &in.EvictionMinimumReclaim, &out.EvictionMinimumReclaim 260 *out = make(map[string]string, len(*in)) 261 for key, val := range *in { 262 (*out)[key] = val 263 } 264 } 265 if in.FeatureGates != nil { 266 in, out := &in.FeatureGates, &out.FeatureGates 267 *out = make(map[string]bool, len(*in)) 268 for key, val := range *in { 269 (*out)[key] = val 270 } 271 } 272 out.MemorySwap = in.MemorySwap 273 out.ContainerLogMonitorInterval = in.ContainerLogMonitorInterval 274 if in.AllowedUnsafeSysctls != nil { 275 in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls 276 *out = make([]string, len(*in)) 277 copy(*out, *in) 278 } 279 if in.SystemReserved != nil { 280 in, out := &in.SystemReserved, &out.SystemReserved 281 *out = make(map[string]string, len(*in)) 282 for key, val := range *in { 283 (*out)[key] = val 284 } 285 } 286 if in.KubeReserved != nil { 287 in, out := &in.KubeReserved, &out.KubeReserved 288 *out = make(map[string]string, len(*in)) 289 for key, val := range *in { 290 (*out)[key] = val 291 } 292 } 293 if in.EnforceNodeAllocatable != nil { 294 in, out := &in.EnforceNodeAllocatable, &out.EnforceNodeAllocatable 295 *out = make([]string, len(*in)) 296 copy(*out, *in) 297 } 298 in.Logging.DeepCopyInto(&out.Logging) 299 out.ShutdownGracePeriod = in.ShutdownGracePeriod 300 out.ShutdownGracePeriodCriticalPods = in.ShutdownGracePeriodCriticalPods 301 if in.ShutdownGracePeriodByPodPriority != nil { 302 in, out := &in.ShutdownGracePeriodByPodPriority, &out.ShutdownGracePeriodByPodPriority 303 *out = make([]ShutdownGracePeriodByPodPriority, len(*in)) 304 copy(*out, *in) 305 } 306 if in.ReservedMemory != nil { 307 in, out := &in.ReservedMemory, &out.ReservedMemory 308 *out = make([]MemoryReservation, len(*in)) 309 for i := range *in { 310 (*in)[i].DeepCopyInto(&(*out)[i]) 311 } 312 } 313 if in.MemoryThrottlingFactor != nil { 314 in, out := &in.MemoryThrottlingFactor, &out.MemoryThrottlingFactor 315 *out = new(float64) 316 **out = **in 317 } 318 if in.RegisterWithTaints != nil { 319 in, out := &in.RegisterWithTaints, &out.RegisterWithTaints 320 *out = make([]corev1.Taint, len(*in)) 321 for i := range *in { 322 (*in)[i].DeepCopyInto(&(*out)[i]) 323 } 324 } 325 if in.Tracing != nil { 326 in, out := &in.Tracing, &out.Tracing 327 *out = new(apiv1.TracingConfiguration) 328 (*in).DeepCopyInto(*out) 329 } 330 return 331 } 332 333 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. 334 func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration { 335 if in == nil { 336 return nil 337 } 338 out := new(KubeletConfiguration) 339 in.DeepCopyInto(out) 340 return out 341 } 342 343 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 344 func (in *KubeletConfiguration) DeepCopyObject() runtime.Object { 345 if c := in.DeepCopy(); c != nil { 346 return c 347 } 348 return nil 349 } 350 351 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 352 func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) { 353 *out = *in 354 out.CacheTTL = in.CacheTTL 355 return 356 } 357 358 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. 359 func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { 360 if in == nil { 361 return nil 362 } 363 out := new(KubeletWebhookAuthentication) 364 in.DeepCopyInto(out) 365 return out 366 } 367 368 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 369 func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthorization) { 370 *out = *in 371 out.CacheAuthorizedTTL = in.CacheAuthorizedTTL 372 out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL 373 return 374 } 375 376 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. 377 func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { 378 if in == nil { 379 return nil 380 } 381 out := new(KubeletWebhookAuthorization) 382 in.DeepCopyInto(out) 383 return out 384 } 385 386 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 387 func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication) { 388 *out = *in 389 return 390 } 391 392 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. 393 func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { 394 if in == nil { 395 return nil 396 } 397 out := new(KubeletX509Authentication) 398 in.DeepCopyInto(out) 399 return out 400 } 401 402 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 403 func (in *MemoryReservation) DeepCopyInto(out *MemoryReservation) { 404 *out = *in 405 if in.Limits != nil { 406 in, out := &in.Limits, &out.Limits 407 *out = make(corev1.ResourceList, len(*in)) 408 for key, val := range *in { 409 (*out)[key] = val.DeepCopy() 410 } 411 } 412 return 413 } 414 415 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryReservation. 416 func (in *MemoryReservation) DeepCopy() *MemoryReservation { 417 if in == nil { 418 return nil 419 } 420 out := new(MemoryReservation) 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 *MemorySwapConfiguration) DeepCopyInto(out *MemorySwapConfiguration) { 427 *out = *in 428 return 429 } 430 431 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorySwapConfiguration. 432 func (in *MemorySwapConfiguration) DeepCopy() *MemorySwapConfiguration { 433 if in == nil { 434 return nil 435 } 436 out := new(MemorySwapConfiguration) 437 in.DeepCopyInto(out) 438 return out 439 } 440 441 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 442 func (in *SerializedNodeConfigSource) DeepCopyInto(out *SerializedNodeConfigSource) { 443 *out = *in 444 out.TypeMeta = in.TypeMeta 445 in.Source.DeepCopyInto(&out.Source) 446 return 447 } 448 449 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedNodeConfigSource. 450 func (in *SerializedNodeConfigSource) DeepCopy() *SerializedNodeConfigSource { 451 if in == nil { 452 return nil 453 } 454 out := new(SerializedNodeConfigSource) 455 in.DeepCopyInto(out) 456 return out 457 } 458 459 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 460 func (in *SerializedNodeConfigSource) DeepCopyObject() runtime.Object { 461 if c := in.DeepCopy(); c != nil { 462 return c 463 } 464 return nil 465 } 466 467 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 468 func (in *ShutdownGracePeriodByPodPriority) DeepCopyInto(out *ShutdownGracePeriodByPodPriority) { 469 *out = *in 470 return 471 } 472 473 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShutdownGracePeriodByPodPriority. 474 func (in *ShutdownGracePeriodByPodPriority) DeepCopy() *ShutdownGracePeriodByPodPriority { 475 if in == nil { 476 return nil 477 } 478 out := new(ShutdownGracePeriodByPodPriority) 479 in.DeepCopyInto(out) 480 return out 481 }