k8s.io/kubernetes@v1.29.3/pkg/scheduler/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 v1 "k8s.io/api/core/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *DefaultPreemptionArgs) DeepCopyInto(out *DefaultPreemptionArgs) { 31 *out = *in 32 out.TypeMeta = in.TypeMeta 33 return 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPreemptionArgs. 37 func (in *DefaultPreemptionArgs) DeepCopy() *DefaultPreemptionArgs { 38 if in == nil { 39 return nil 40 } 41 out := new(DefaultPreemptionArgs) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *DefaultPreemptionArgs) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *Extender) DeepCopyInto(out *Extender) { 56 *out = *in 57 if in.TLSConfig != nil { 58 in, out := &in.TLSConfig, &out.TLSConfig 59 *out = new(ExtenderTLSConfig) 60 (*in).DeepCopyInto(*out) 61 } 62 out.HTTPTimeout = in.HTTPTimeout 63 if in.ManagedResources != nil { 64 in, out := &in.ManagedResources, &out.ManagedResources 65 *out = make([]ExtenderManagedResource, len(*in)) 66 copy(*out, *in) 67 } 68 return 69 } 70 71 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extender. 72 func (in *Extender) DeepCopy() *Extender { 73 if in == nil { 74 return nil 75 } 76 out := new(Extender) 77 in.DeepCopyInto(out) 78 return out 79 } 80 81 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 82 func (in *ExtenderManagedResource) DeepCopyInto(out *ExtenderManagedResource) { 83 *out = *in 84 return 85 } 86 87 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderManagedResource. 88 func (in *ExtenderManagedResource) DeepCopy() *ExtenderManagedResource { 89 if in == nil { 90 return nil 91 } 92 out := new(ExtenderManagedResource) 93 in.DeepCopyInto(out) 94 return out 95 } 96 97 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 98 func (in *ExtenderTLSConfig) DeepCopyInto(out *ExtenderTLSConfig) { 99 *out = *in 100 if in.CertData != nil { 101 in, out := &in.CertData, &out.CertData 102 *out = make([]byte, len(*in)) 103 copy(*out, *in) 104 } 105 if in.KeyData != nil { 106 in, out := &in.KeyData, &out.KeyData 107 *out = make([]byte, len(*in)) 108 copy(*out, *in) 109 } 110 if in.CAData != nil { 111 in, out := &in.CAData, &out.CAData 112 *out = make([]byte, len(*in)) 113 copy(*out, *in) 114 } 115 return 116 } 117 118 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderTLSConfig. 119 func (in *ExtenderTLSConfig) DeepCopy() *ExtenderTLSConfig { 120 if in == nil { 121 return nil 122 } 123 out := new(ExtenderTLSConfig) 124 in.DeepCopyInto(out) 125 return out 126 } 127 128 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 129 func (in *InterPodAffinityArgs) DeepCopyInto(out *InterPodAffinityArgs) { 130 *out = *in 131 out.TypeMeta = in.TypeMeta 132 return 133 } 134 135 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterPodAffinityArgs. 136 func (in *InterPodAffinityArgs) DeepCopy() *InterPodAffinityArgs { 137 if in == nil { 138 return nil 139 } 140 out := new(InterPodAffinityArgs) 141 in.DeepCopyInto(out) 142 return out 143 } 144 145 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 146 func (in *InterPodAffinityArgs) DeepCopyObject() runtime.Object { 147 if c := in.DeepCopy(); c != nil { 148 return c 149 } 150 return nil 151 } 152 153 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 154 func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfiguration) { 155 *out = *in 156 out.TypeMeta = in.TypeMeta 157 out.LeaderElection = in.LeaderElection 158 out.ClientConnection = in.ClientConnection 159 out.DebuggingConfiguration = in.DebuggingConfiguration 160 if in.PercentageOfNodesToScore != nil { 161 in, out := &in.PercentageOfNodesToScore, &out.PercentageOfNodesToScore 162 *out = new(int32) 163 **out = **in 164 } 165 if in.Profiles != nil { 166 in, out := &in.Profiles, &out.Profiles 167 *out = make([]KubeSchedulerProfile, len(*in)) 168 for i := range *in { 169 (*in)[i].DeepCopyInto(&(*out)[i]) 170 } 171 } 172 if in.Extenders != nil { 173 in, out := &in.Extenders, &out.Extenders 174 *out = make([]Extender, len(*in)) 175 for i := range *in { 176 (*in)[i].DeepCopyInto(&(*out)[i]) 177 } 178 } 179 return 180 } 181 182 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. 183 func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { 184 if in == nil { 185 return nil 186 } 187 out := new(KubeSchedulerConfiguration) 188 in.DeepCopyInto(out) 189 return out 190 } 191 192 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 193 func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { 194 if c := in.DeepCopy(); c != nil { 195 return c 196 } 197 return nil 198 } 199 200 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 201 func (in *KubeSchedulerProfile) DeepCopyInto(out *KubeSchedulerProfile) { 202 *out = *in 203 if in.PercentageOfNodesToScore != nil { 204 in, out := &in.PercentageOfNodesToScore, &out.PercentageOfNodesToScore 205 *out = new(int32) 206 **out = **in 207 } 208 if in.Plugins != nil { 209 in, out := &in.Plugins, &out.Plugins 210 *out = new(Plugins) 211 (*in).DeepCopyInto(*out) 212 } 213 if in.PluginConfig != nil { 214 in, out := &in.PluginConfig, &out.PluginConfig 215 *out = make([]PluginConfig, len(*in)) 216 for i := range *in { 217 (*in)[i].DeepCopyInto(&(*out)[i]) 218 } 219 } 220 return 221 } 222 223 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerProfile. 224 func (in *KubeSchedulerProfile) DeepCopy() *KubeSchedulerProfile { 225 if in == nil { 226 return nil 227 } 228 out := new(KubeSchedulerProfile) 229 in.DeepCopyInto(out) 230 return out 231 } 232 233 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 234 func (in *NodeAffinityArgs) DeepCopyInto(out *NodeAffinityArgs) { 235 *out = *in 236 out.TypeMeta = in.TypeMeta 237 if in.AddedAffinity != nil { 238 in, out := &in.AddedAffinity, &out.AddedAffinity 239 *out = new(v1.NodeAffinity) 240 (*in).DeepCopyInto(*out) 241 } 242 return 243 } 244 245 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinityArgs. 246 func (in *NodeAffinityArgs) DeepCopy() *NodeAffinityArgs { 247 if in == nil { 248 return nil 249 } 250 out := new(NodeAffinityArgs) 251 in.DeepCopyInto(out) 252 return out 253 } 254 255 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 256 func (in *NodeAffinityArgs) DeepCopyObject() runtime.Object { 257 if c := in.DeepCopy(); c != nil { 258 return c 259 } 260 return nil 261 } 262 263 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 264 func (in *NodeResourcesBalancedAllocationArgs) DeepCopyInto(out *NodeResourcesBalancedAllocationArgs) { 265 *out = *in 266 out.TypeMeta = in.TypeMeta 267 if in.Resources != nil { 268 in, out := &in.Resources, &out.Resources 269 *out = make([]ResourceSpec, len(*in)) 270 copy(*out, *in) 271 } 272 return 273 } 274 275 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResourcesBalancedAllocationArgs. 276 func (in *NodeResourcesBalancedAllocationArgs) DeepCopy() *NodeResourcesBalancedAllocationArgs { 277 if in == nil { 278 return nil 279 } 280 out := new(NodeResourcesBalancedAllocationArgs) 281 in.DeepCopyInto(out) 282 return out 283 } 284 285 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 286 func (in *NodeResourcesBalancedAllocationArgs) DeepCopyObject() runtime.Object { 287 if c := in.DeepCopy(); c != nil { 288 return c 289 } 290 return nil 291 } 292 293 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 294 func (in *NodeResourcesFitArgs) DeepCopyInto(out *NodeResourcesFitArgs) { 295 *out = *in 296 out.TypeMeta = in.TypeMeta 297 if in.IgnoredResources != nil { 298 in, out := &in.IgnoredResources, &out.IgnoredResources 299 *out = make([]string, len(*in)) 300 copy(*out, *in) 301 } 302 if in.IgnoredResourceGroups != nil { 303 in, out := &in.IgnoredResourceGroups, &out.IgnoredResourceGroups 304 *out = make([]string, len(*in)) 305 copy(*out, *in) 306 } 307 if in.ScoringStrategy != nil { 308 in, out := &in.ScoringStrategy, &out.ScoringStrategy 309 *out = new(ScoringStrategy) 310 (*in).DeepCopyInto(*out) 311 } 312 return 313 } 314 315 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResourcesFitArgs. 316 func (in *NodeResourcesFitArgs) DeepCopy() *NodeResourcesFitArgs { 317 if in == nil { 318 return nil 319 } 320 out := new(NodeResourcesFitArgs) 321 in.DeepCopyInto(out) 322 return out 323 } 324 325 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 326 func (in *NodeResourcesFitArgs) DeepCopyObject() runtime.Object { 327 if c := in.DeepCopy(); c != nil { 328 return c 329 } 330 return nil 331 } 332 333 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 334 func (in *Plugin) DeepCopyInto(out *Plugin) { 335 *out = *in 336 return 337 } 338 339 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin. 340 func (in *Plugin) DeepCopy() *Plugin { 341 if in == nil { 342 return nil 343 } 344 out := new(Plugin) 345 in.DeepCopyInto(out) 346 return out 347 } 348 349 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 350 func (in *PluginConfig) DeepCopyInto(out *PluginConfig) { 351 *out = *in 352 if in.Args != nil { 353 out.Args = in.Args.DeepCopyObject() 354 } 355 return 356 } 357 358 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfig. 359 func (in *PluginConfig) DeepCopy() *PluginConfig { 360 if in == nil { 361 return nil 362 } 363 out := new(PluginConfig) 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 *PluginSet) DeepCopyInto(out *PluginSet) { 370 *out = *in 371 if in.Enabled != nil { 372 in, out := &in.Enabled, &out.Enabled 373 *out = make([]Plugin, len(*in)) 374 copy(*out, *in) 375 } 376 if in.Disabled != nil { 377 in, out := &in.Disabled, &out.Disabled 378 *out = make([]Plugin, len(*in)) 379 copy(*out, *in) 380 } 381 return 382 } 383 384 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSet. 385 func (in *PluginSet) DeepCopy() *PluginSet { 386 if in == nil { 387 return nil 388 } 389 out := new(PluginSet) 390 in.DeepCopyInto(out) 391 return out 392 } 393 394 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 395 func (in *Plugins) DeepCopyInto(out *Plugins) { 396 *out = *in 397 in.PreEnqueue.DeepCopyInto(&out.PreEnqueue) 398 in.QueueSort.DeepCopyInto(&out.QueueSort) 399 in.PreFilter.DeepCopyInto(&out.PreFilter) 400 in.Filter.DeepCopyInto(&out.Filter) 401 in.PostFilter.DeepCopyInto(&out.PostFilter) 402 in.PreScore.DeepCopyInto(&out.PreScore) 403 in.Score.DeepCopyInto(&out.Score) 404 in.Reserve.DeepCopyInto(&out.Reserve) 405 in.Permit.DeepCopyInto(&out.Permit) 406 in.PreBind.DeepCopyInto(&out.PreBind) 407 in.Bind.DeepCopyInto(&out.Bind) 408 in.PostBind.DeepCopyInto(&out.PostBind) 409 in.MultiPoint.DeepCopyInto(&out.MultiPoint) 410 return 411 } 412 413 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugins. 414 func (in *Plugins) DeepCopy() *Plugins { 415 if in == nil { 416 return nil 417 } 418 out := new(Plugins) 419 in.DeepCopyInto(out) 420 return out 421 } 422 423 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 424 func (in *PodTopologySpreadArgs) DeepCopyInto(out *PodTopologySpreadArgs) { 425 *out = *in 426 out.TypeMeta = in.TypeMeta 427 if in.DefaultConstraints != nil { 428 in, out := &in.DefaultConstraints, &out.DefaultConstraints 429 *out = make([]v1.TopologySpreadConstraint, len(*in)) 430 for i := range *in { 431 (*in)[i].DeepCopyInto(&(*out)[i]) 432 } 433 } 434 return 435 } 436 437 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTopologySpreadArgs. 438 func (in *PodTopologySpreadArgs) DeepCopy() *PodTopologySpreadArgs { 439 if in == nil { 440 return nil 441 } 442 out := new(PodTopologySpreadArgs) 443 in.DeepCopyInto(out) 444 return out 445 } 446 447 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 448 func (in *PodTopologySpreadArgs) DeepCopyObject() runtime.Object { 449 if c := in.DeepCopy(); c != nil { 450 return c 451 } 452 return nil 453 } 454 455 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 456 func (in *RequestedToCapacityRatioParam) DeepCopyInto(out *RequestedToCapacityRatioParam) { 457 *out = *in 458 if in.Shape != nil { 459 in, out := &in.Shape, &out.Shape 460 *out = make([]UtilizationShapePoint, len(*in)) 461 copy(*out, *in) 462 } 463 return 464 } 465 466 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestedToCapacityRatioParam. 467 func (in *RequestedToCapacityRatioParam) DeepCopy() *RequestedToCapacityRatioParam { 468 if in == nil { 469 return nil 470 } 471 out := new(RequestedToCapacityRatioParam) 472 in.DeepCopyInto(out) 473 return out 474 } 475 476 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 477 func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) { 478 *out = *in 479 return 480 } 481 482 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec. 483 func (in *ResourceSpec) DeepCopy() *ResourceSpec { 484 if in == nil { 485 return nil 486 } 487 out := new(ResourceSpec) 488 in.DeepCopyInto(out) 489 return out 490 } 491 492 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 493 func (in *ScoringStrategy) DeepCopyInto(out *ScoringStrategy) { 494 *out = *in 495 if in.Resources != nil { 496 in, out := &in.Resources, &out.Resources 497 *out = make([]ResourceSpec, len(*in)) 498 copy(*out, *in) 499 } 500 if in.RequestedToCapacityRatio != nil { 501 in, out := &in.RequestedToCapacityRatio, &out.RequestedToCapacityRatio 502 *out = new(RequestedToCapacityRatioParam) 503 (*in).DeepCopyInto(*out) 504 } 505 return 506 } 507 508 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoringStrategy. 509 func (in *ScoringStrategy) DeepCopy() *ScoringStrategy { 510 if in == nil { 511 return nil 512 } 513 out := new(ScoringStrategy) 514 in.DeepCopyInto(out) 515 return out 516 } 517 518 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 519 func (in *UtilizationShapePoint) DeepCopyInto(out *UtilizationShapePoint) { 520 *out = *in 521 return 522 } 523 524 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UtilizationShapePoint. 525 func (in *UtilizationShapePoint) DeepCopy() *UtilizationShapePoint { 526 if in == nil { 527 return nil 528 } 529 out := new(UtilizationShapePoint) 530 in.DeepCopyInto(out) 531 return out 532 } 533 534 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 535 func (in *VolumeBindingArgs) DeepCopyInto(out *VolumeBindingArgs) { 536 *out = *in 537 out.TypeMeta = in.TypeMeta 538 if in.Shape != nil { 539 in, out := &in.Shape, &out.Shape 540 *out = make([]UtilizationShapePoint, len(*in)) 541 copy(*out, *in) 542 } 543 return 544 } 545 546 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBindingArgs. 547 func (in *VolumeBindingArgs) DeepCopy() *VolumeBindingArgs { 548 if in == nil { 549 return nil 550 } 551 out := new(VolumeBindingArgs) 552 in.DeepCopyInto(out) 553 return out 554 } 555 556 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 557 func (in *VolumeBindingArgs) DeepCopyObject() runtime.Object { 558 if c := in.DeepCopy(); c != nil { 559 return c 560 } 561 return nil 562 }