github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/api/v1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2021. 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 controller-gen. DO NOT EDIT. 21 22 package v1 23 24 import ( 25 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 "k8s.io/apimachinery/pkg/util/intstr" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in ByPriority) DeepCopyInto(out *ByPriority) { 32 { 33 in := &in 34 *out = make(ByPriority, len(*in)) 35 for i := range *in { 36 (*in)[i].DeepCopyInto(&(*out)[i]) 37 } 38 } 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ByPriority. 42 func (in ByPriority) DeepCopy() ByPriority { 43 if in == nil { 44 return nil 45 } 46 out := new(ByPriority) 47 in.DeepCopyInto(out) 48 return *out 49 } 50 51 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 52 func (in *Interface) DeepCopyInto(out *Interface) { 53 *out = *in 54 if in.VfGroups != nil { 55 in, out := &in.VfGroups, &out.VfGroups 56 *out = make([]VfGroup, len(*in)) 57 copy(*out, *in) 58 } 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface. 62 func (in *Interface) DeepCopy() *Interface { 63 if in == nil { 64 return nil 65 } 66 out := new(Interface) 67 in.DeepCopyInto(out) 68 return out 69 } 70 71 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 72 func (in *InterfaceExt) DeepCopyInto(out *InterfaceExt) { 73 *out = *in 74 if in.VFs != nil { 75 in, out := &in.VFs, &out.VFs 76 *out = make([]VirtualFunction, len(*in)) 77 copy(*out, *in) 78 } 79 } 80 81 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceExt. 82 func (in *InterfaceExt) DeepCopy() *InterfaceExt { 83 if in == nil { 84 return nil 85 } 86 out := new(InterfaceExt) 87 in.DeepCopyInto(out) 88 return out 89 } 90 91 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 92 func (in InterfaceExts) DeepCopyInto(out *InterfaceExts) { 93 { 94 in := &in 95 *out = make(InterfaceExts, len(*in)) 96 for i := range *in { 97 (*in)[i].DeepCopyInto(&(*out)[i]) 98 } 99 } 100 } 101 102 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceExts. 103 func (in InterfaceExts) DeepCopy() InterfaceExts { 104 if in == nil { 105 return nil 106 } 107 out := new(InterfaceExts) 108 in.DeepCopyInto(out) 109 return *out 110 } 111 112 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 113 func (in Interfaces) DeepCopyInto(out *Interfaces) { 114 { 115 in := &in 116 *out = make(Interfaces, len(*in)) 117 for i := range *in { 118 (*in)[i].DeepCopyInto(&(*out)[i]) 119 } 120 } 121 } 122 123 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interfaces. 124 func (in Interfaces) DeepCopy() Interfaces { 125 if in == nil { 126 return nil 127 } 128 out := new(Interfaces) 129 in.DeepCopyInto(out) 130 return *out 131 } 132 133 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 134 func (in *OvsHardwareOffloadConfig) DeepCopyInto(out *OvsHardwareOffloadConfig) { 135 *out = *in 136 } 137 138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvsHardwareOffloadConfig. 139 func (in *OvsHardwareOffloadConfig) DeepCopy() *OvsHardwareOffloadConfig { 140 if in == nil { 141 return nil 142 } 143 out := new(OvsHardwareOffloadConfig) 144 in.DeepCopyInto(out) 145 return out 146 } 147 148 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 149 func (in PluginNameSlice) DeepCopyInto(out *PluginNameSlice) { 150 { 151 in := &in 152 *out = make(PluginNameSlice, len(*in)) 153 copy(*out, *in) 154 } 155 } 156 157 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginNameSlice. 158 func (in PluginNameSlice) DeepCopy() PluginNameSlice { 159 if in == nil { 160 return nil 161 } 162 out := new(PluginNameSlice) 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 *SriovIBNetwork) DeepCopyInto(out *SriovIBNetwork) { 169 *out = *in 170 out.TypeMeta = in.TypeMeta 171 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 172 out.Spec = in.Spec 173 out.Status = in.Status 174 } 175 176 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetwork. 177 func (in *SriovIBNetwork) DeepCopy() *SriovIBNetwork { 178 if in == nil { 179 return nil 180 } 181 out := new(SriovIBNetwork) 182 in.DeepCopyInto(out) 183 return out 184 } 185 186 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 187 func (in *SriovIBNetwork) DeepCopyObject() runtime.Object { 188 if c := in.DeepCopy(); c != nil { 189 return c 190 } 191 return nil 192 } 193 194 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 195 func (in *SriovIBNetworkList) DeepCopyInto(out *SriovIBNetworkList) { 196 *out = *in 197 out.TypeMeta = in.TypeMeta 198 in.ListMeta.DeepCopyInto(&out.ListMeta) 199 if in.Items != nil { 200 in, out := &in.Items, &out.Items 201 *out = make([]SriovIBNetwork, len(*in)) 202 for i := range *in { 203 (*in)[i].DeepCopyInto(&(*out)[i]) 204 } 205 } 206 } 207 208 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetworkList. 209 func (in *SriovIBNetworkList) DeepCopy() *SriovIBNetworkList { 210 if in == nil { 211 return nil 212 } 213 out := new(SriovIBNetworkList) 214 in.DeepCopyInto(out) 215 return out 216 } 217 218 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 219 func (in *SriovIBNetworkList) DeepCopyObject() runtime.Object { 220 if c := in.DeepCopy(); c != nil { 221 return c 222 } 223 return nil 224 } 225 226 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 227 func (in *SriovIBNetworkSpec) DeepCopyInto(out *SriovIBNetworkSpec) { 228 *out = *in 229 } 230 231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetworkSpec. 232 func (in *SriovIBNetworkSpec) DeepCopy() *SriovIBNetworkSpec { 233 if in == nil { 234 return nil 235 } 236 out := new(SriovIBNetworkSpec) 237 in.DeepCopyInto(out) 238 return out 239 } 240 241 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 242 func (in *SriovIBNetworkStatus) DeepCopyInto(out *SriovIBNetworkStatus) { 243 *out = *in 244 } 245 246 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetworkStatus. 247 func (in *SriovIBNetworkStatus) DeepCopy() *SriovIBNetworkStatus { 248 if in == nil { 249 return nil 250 } 251 out := new(SriovIBNetworkStatus) 252 in.DeepCopyInto(out) 253 return out 254 } 255 256 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 257 func (in *SriovNetwork) DeepCopyInto(out *SriovNetwork) { 258 *out = *in 259 out.TypeMeta = in.TypeMeta 260 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 261 in.Spec.DeepCopyInto(&out.Spec) 262 out.Status = in.Status 263 } 264 265 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetwork. 266 func (in *SriovNetwork) DeepCopy() *SriovNetwork { 267 if in == nil { 268 return nil 269 } 270 out := new(SriovNetwork) 271 in.DeepCopyInto(out) 272 return out 273 } 274 275 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 276 func (in *SriovNetwork) DeepCopyObject() runtime.Object { 277 if c := in.DeepCopy(); c != nil { 278 return c 279 } 280 return nil 281 } 282 283 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 284 func (in *SriovNetworkList) DeepCopyInto(out *SriovNetworkList) { 285 *out = *in 286 out.TypeMeta = in.TypeMeta 287 in.ListMeta.DeepCopyInto(&out.ListMeta) 288 if in.Items != nil { 289 in, out := &in.Items, &out.Items 290 *out = make([]SriovNetwork, len(*in)) 291 for i := range *in { 292 (*in)[i].DeepCopyInto(&(*out)[i]) 293 } 294 } 295 } 296 297 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkList. 298 func (in *SriovNetworkList) DeepCopy() *SriovNetworkList { 299 if in == nil { 300 return nil 301 } 302 out := new(SriovNetworkList) 303 in.DeepCopyInto(out) 304 return out 305 } 306 307 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 308 func (in *SriovNetworkList) DeepCopyObject() runtime.Object { 309 if c := in.DeepCopy(); c != nil { 310 return c 311 } 312 return nil 313 } 314 315 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 316 func (in *SriovNetworkNicSelector) DeepCopyInto(out *SriovNetworkNicSelector) { 317 *out = *in 318 if in.RootDevices != nil { 319 in, out := &in.RootDevices, &out.RootDevices 320 *out = make([]string, len(*in)) 321 copy(*out, *in) 322 } 323 if in.PfNames != nil { 324 in, out := &in.PfNames, &out.PfNames 325 *out = make([]string, len(*in)) 326 copy(*out, *in) 327 } 328 } 329 330 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNicSelector. 331 func (in *SriovNetworkNicSelector) DeepCopy() *SriovNetworkNicSelector { 332 if in == nil { 333 return nil 334 } 335 out := new(SriovNetworkNicSelector) 336 in.DeepCopyInto(out) 337 return out 338 } 339 340 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 341 func (in *SriovNetworkNodePolicy) DeepCopyInto(out *SriovNetworkNodePolicy) { 342 *out = *in 343 out.TypeMeta = in.TypeMeta 344 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 345 in.Spec.DeepCopyInto(&out.Spec) 346 out.Status = in.Status 347 } 348 349 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicy. 350 func (in *SriovNetworkNodePolicy) DeepCopy() *SriovNetworkNodePolicy { 351 if in == nil { 352 return nil 353 } 354 out := new(SriovNetworkNodePolicy) 355 in.DeepCopyInto(out) 356 return out 357 } 358 359 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 360 func (in *SriovNetworkNodePolicy) DeepCopyObject() runtime.Object { 361 if c := in.DeepCopy(); c != nil { 362 return c 363 } 364 return nil 365 } 366 367 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 368 func (in *SriovNetworkNodePolicyList) DeepCopyInto(out *SriovNetworkNodePolicyList) { 369 *out = *in 370 out.TypeMeta = in.TypeMeta 371 in.ListMeta.DeepCopyInto(&out.ListMeta) 372 if in.Items != nil { 373 in, out := &in.Items, &out.Items 374 *out = make([]SriovNetworkNodePolicy, len(*in)) 375 for i := range *in { 376 (*in)[i].DeepCopyInto(&(*out)[i]) 377 } 378 } 379 } 380 381 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicyList. 382 func (in *SriovNetworkNodePolicyList) DeepCopy() *SriovNetworkNodePolicyList { 383 if in == nil { 384 return nil 385 } 386 out := new(SriovNetworkNodePolicyList) 387 in.DeepCopyInto(out) 388 return out 389 } 390 391 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 392 func (in *SriovNetworkNodePolicyList) DeepCopyObject() runtime.Object { 393 if c := in.DeepCopy(); c != nil { 394 return c 395 } 396 return nil 397 } 398 399 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 400 func (in *SriovNetworkNodePolicySpec) DeepCopyInto(out *SriovNetworkNodePolicySpec) { 401 *out = *in 402 if in.NodeSelector != nil { 403 in, out := &in.NodeSelector, &out.NodeSelector 404 *out = make(map[string]string, len(*in)) 405 for key, val := range *in { 406 (*out)[key] = val 407 } 408 } 409 in.NicSelector.DeepCopyInto(&out.NicSelector) 410 } 411 412 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicySpec. 413 func (in *SriovNetworkNodePolicySpec) DeepCopy() *SriovNetworkNodePolicySpec { 414 if in == nil { 415 return nil 416 } 417 out := new(SriovNetworkNodePolicySpec) 418 in.DeepCopyInto(out) 419 return out 420 } 421 422 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 423 func (in *SriovNetworkNodePolicyStatus) DeepCopyInto(out *SriovNetworkNodePolicyStatus) { 424 *out = *in 425 } 426 427 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicyStatus. 428 func (in *SriovNetworkNodePolicyStatus) DeepCopy() *SriovNetworkNodePolicyStatus { 429 if in == nil { 430 return nil 431 } 432 out := new(SriovNetworkNodePolicyStatus) 433 in.DeepCopyInto(out) 434 return out 435 } 436 437 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 438 func (in *SriovNetworkNodeState) DeepCopyInto(out *SriovNetworkNodeState) { 439 *out = *in 440 out.TypeMeta = in.TypeMeta 441 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 442 in.Spec.DeepCopyInto(&out.Spec) 443 in.Status.DeepCopyInto(&out.Status) 444 } 445 446 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeState. 447 func (in *SriovNetworkNodeState) DeepCopy() *SriovNetworkNodeState { 448 if in == nil { 449 return nil 450 } 451 out := new(SriovNetworkNodeState) 452 in.DeepCopyInto(out) 453 return out 454 } 455 456 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 457 func (in *SriovNetworkNodeState) DeepCopyObject() runtime.Object { 458 if c := in.DeepCopy(); c != nil { 459 return c 460 } 461 return nil 462 } 463 464 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 465 func (in *SriovNetworkNodeStateList) DeepCopyInto(out *SriovNetworkNodeStateList) { 466 *out = *in 467 out.TypeMeta = in.TypeMeta 468 in.ListMeta.DeepCopyInto(&out.ListMeta) 469 if in.Items != nil { 470 in, out := &in.Items, &out.Items 471 *out = make([]SriovNetworkNodeState, len(*in)) 472 for i := range *in { 473 (*in)[i].DeepCopyInto(&(*out)[i]) 474 } 475 } 476 } 477 478 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeStateList. 479 func (in *SriovNetworkNodeStateList) DeepCopy() *SriovNetworkNodeStateList { 480 if in == nil { 481 return nil 482 } 483 out := new(SriovNetworkNodeStateList) 484 in.DeepCopyInto(out) 485 return out 486 } 487 488 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 489 func (in *SriovNetworkNodeStateList) DeepCopyObject() runtime.Object { 490 if c := in.DeepCopy(); c != nil { 491 return c 492 } 493 return nil 494 } 495 496 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 497 func (in *SriovNetworkNodeStateSpec) DeepCopyInto(out *SriovNetworkNodeStateSpec) { 498 *out = *in 499 if in.Interfaces != nil { 500 in, out := &in.Interfaces, &out.Interfaces 501 *out = make(Interfaces, len(*in)) 502 for i := range *in { 503 (*in)[i].DeepCopyInto(&(*out)[i]) 504 } 505 } 506 } 507 508 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeStateSpec. 509 func (in *SriovNetworkNodeStateSpec) DeepCopy() *SriovNetworkNodeStateSpec { 510 if in == nil { 511 return nil 512 } 513 out := new(SriovNetworkNodeStateSpec) 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 *SriovNetworkNodeStateStatus) DeepCopyInto(out *SriovNetworkNodeStateStatus) { 520 *out = *in 521 if in.Interfaces != nil { 522 in, out := &in.Interfaces, &out.Interfaces 523 *out = make(InterfaceExts, len(*in)) 524 for i := range *in { 525 (*in)[i].DeepCopyInto(&(*out)[i]) 526 } 527 } 528 } 529 530 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeStateStatus. 531 func (in *SriovNetworkNodeStateStatus) DeepCopy() *SriovNetworkNodeStateStatus { 532 if in == nil { 533 return nil 534 } 535 out := new(SriovNetworkNodeStateStatus) 536 in.DeepCopyInto(out) 537 return out 538 } 539 540 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 541 func (in *SriovNetworkPoolConfig) DeepCopyInto(out *SriovNetworkPoolConfig) { 542 *out = *in 543 out.TypeMeta = in.TypeMeta 544 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 545 in.Spec.DeepCopyInto(&out.Spec) 546 out.Status = in.Status 547 } 548 549 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfig. 550 func (in *SriovNetworkPoolConfig) DeepCopy() *SriovNetworkPoolConfig { 551 if in == nil { 552 return nil 553 } 554 out := new(SriovNetworkPoolConfig) 555 in.DeepCopyInto(out) 556 return out 557 } 558 559 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 560 func (in *SriovNetworkPoolConfig) DeepCopyObject() runtime.Object { 561 if c := in.DeepCopy(); c != nil { 562 return c 563 } 564 return nil 565 } 566 567 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 568 func (in *SriovNetworkPoolConfigList) DeepCopyInto(out *SriovNetworkPoolConfigList) { 569 *out = *in 570 out.TypeMeta = in.TypeMeta 571 in.ListMeta.DeepCopyInto(&out.ListMeta) 572 if in.Items != nil { 573 in, out := &in.Items, &out.Items 574 *out = make([]SriovNetworkPoolConfig, len(*in)) 575 for i := range *in { 576 (*in)[i].DeepCopyInto(&(*out)[i]) 577 } 578 } 579 } 580 581 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfigList. 582 func (in *SriovNetworkPoolConfigList) DeepCopy() *SriovNetworkPoolConfigList { 583 if in == nil { 584 return nil 585 } 586 out := new(SriovNetworkPoolConfigList) 587 in.DeepCopyInto(out) 588 return out 589 } 590 591 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 592 func (in *SriovNetworkPoolConfigList) DeepCopyObject() runtime.Object { 593 if c := in.DeepCopy(); c != nil { 594 return c 595 } 596 return nil 597 } 598 599 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 600 func (in *SriovNetworkPoolConfigSpec) DeepCopyInto(out *SriovNetworkPoolConfigSpec) { 601 *out = *in 602 out.OvsHardwareOffloadConfig = in.OvsHardwareOffloadConfig 603 if in.NodeSelector != nil { 604 in, out := &in.NodeSelector, &out.NodeSelector 605 *out = new(metav1.LabelSelector) 606 (*in).DeepCopyInto(*out) 607 } 608 if in.MaxUnavailable != nil { 609 in, out := &in.MaxUnavailable, &out.MaxUnavailable 610 *out = new(intstr.IntOrString) 611 **out = **in 612 } 613 } 614 615 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfigSpec. 616 func (in *SriovNetworkPoolConfigSpec) DeepCopy() *SriovNetworkPoolConfigSpec { 617 if in == nil { 618 return nil 619 } 620 out := new(SriovNetworkPoolConfigSpec) 621 in.DeepCopyInto(out) 622 return out 623 } 624 625 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 626 func (in *SriovNetworkPoolConfigStatus) DeepCopyInto(out *SriovNetworkPoolConfigStatus) { 627 *out = *in 628 } 629 630 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfigStatus. 631 func (in *SriovNetworkPoolConfigStatus) DeepCopy() *SriovNetworkPoolConfigStatus { 632 if in == nil { 633 return nil 634 } 635 out := new(SriovNetworkPoolConfigStatus) 636 in.DeepCopyInto(out) 637 return out 638 } 639 640 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 641 func (in *SriovNetworkSpec) DeepCopyInto(out *SriovNetworkSpec) { 642 *out = *in 643 if in.MinTxRate != nil { 644 in, out := &in.MinTxRate, &out.MinTxRate 645 *out = new(int) 646 **out = **in 647 } 648 if in.MaxTxRate != nil { 649 in, out := &in.MaxTxRate, &out.MaxTxRate 650 *out = new(int) 651 **out = **in 652 } 653 } 654 655 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkSpec. 656 func (in *SriovNetworkSpec) DeepCopy() *SriovNetworkSpec { 657 if in == nil { 658 return nil 659 } 660 out := new(SriovNetworkSpec) 661 in.DeepCopyInto(out) 662 return out 663 } 664 665 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 666 func (in *SriovNetworkStatus) DeepCopyInto(out *SriovNetworkStatus) { 667 *out = *in 668 } 669 670 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkStatus. 671 func (in *SriovNetworkStatus) DeepCopy() *SriovNetworkStatus { 672 if in == nil { 673 return nil 674 } 675 out := new(SriovNetworkStatus) 676 in.DeepCopyInto(out) 677 return out 678 } 679 680 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 681 func (in *SriovOperatorConfig) DeepCopyInto(out *SriovOperatorConfig) { 682 *out = *in 683 out.TypeMeta = in.TypeMeta 684 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 685 in.Spec.DeepCopyInto(&out.Spec) 686 out.Status = in.Status 687 } 688 689 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfig. 690 func (in *SriovOperatorConfig) DeepCopy() *SriovOperatorConfig { 691 if in == nil { 692 return nil 693 } 694 out := new(SriovOperatorConfig) 695 in.DeepCopyInto(out) 696 return out 697 } 698 699 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 700 func (in *SriovOperatorConfig) DeepCopyObject() runtime.Object { 701 if c := in.DeepCopy(); c != nil { 702 return c 703 } 704 return nil 705 } 706 707 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 708 func (in *SriovOperatorConfigList) DeepCopyInto(out *SriovOperatorConfigList) { 709 *out = *in 710 out.TypeMeta = in.TypeMeta 711 in.ListMeta.DeepCopyInto(&out.ListMeta) 712 if in.Items != nil { 713 in, out := &in.Items, &out.Items 714 *out = make([]SriovOperatorConfig, len(*in)) 715 for i := range *in { 716 (*in)[i].DeepCopyInto(&(*out)[i]) 717 } 718 } 719 } 720 721 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfigList. 722 func (in *SriovOperatorConfigList) DeepCopy() *SriovOperatorConfigList { 723 if in == nil { 724 return nil 725 } 726 out := new(SriovOperatorConfigList) 727 in.DeepCopyInto(out) 728 return out 729 } 730 731 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 732 func (in *SriovOperatorConfigList) DeepCopyObject() runtime.Object { 733 if c := in.DeepCopy(); c != nil { 734 return c 735 } 736 return nil 737 } 738 739 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 740 func (in *SriovOperatorConfigSpec) DeepCopyInto(out *SriovOperatorConfigSpec) { 741 *out = *in 742 if in.ConfigDaemonNodeSelector != nil { 743 in, out := &in.ConfigDaemonNodeSelector, &out.ConfigDaemonNodeSelector 744 *out = make(map[string]string, len(*in)) 745 for key, val := range *in { 746 (*out)[key] = val 747 } 748 } 749 if in.DisablePlugins != nil { 750 in, out := &in.DisablePlugins, &out.DisablePlugins 751 *out = make(PluginNameSlice, len(*in)) 752 copy(*out, *in) 753 } 754 if in.FeatureGates != nil { 755 in, out := &in.FeatureGates, &out.FeatureGates 756 *out = make(map[string]bool, len(*in)) 757 for key, val := range *in { 758 (*out)[key] = val 759 } 760 } 761 } 762 763 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfigSpec. 764 func (in *SriovOperatorConfigSpec) DeepCopy() *SriovOperatorConfigSpec { 765 if in == nil { 766 return nil 767 } 768 out := new(SriovOperatorConfigSpec) 769 in.DeepCopyInto(out) 770 return out 771 } 772 773 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 774 func (in *SriovOperatorConfigStatus) DeepCopyInto(out *SriovOperatorConfigStatus) { 775 *out = *in 776 } 777 778 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfigStatus. 779 func (in *SriovOperatorConfigStatus) DeepCopy() *SriovOperatorConfigStatus { 780 if in == nil { 781 return nil 782 } 783 out := new(SriovOperatorConfigStatus) 784 in.DeepCopyInto(out) 785 return out 786 } 787 788 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 789 func (in *VfGroup) DeepCopyInto(out *VfGroup) { 790 *out = *in 791 } 792 793 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VfGroup. 794 func (in *VfGroup) DeepCopy() *VfGroup { 795 if in == nil { 796 return nil 797 } 798 out := new(VfGroup) 799 in.DeepCopyInto(out) 800 return out 801 } 802 803 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 804 func (in *VirtualFunction) DeepCopyInto(out *VirtualFunction) { 805 *out = *in 806 } 807 808 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualFunction. 809 func (in *VirtualFunction) DeepCopy() *VirtualFunction { 810 if in == nil { 811 return nil 812 } 813 out := new(VirtualFunction) 814 in.DeepCopyInto(out) 815 return out 816 }