github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/runtime/testing/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 testing 23 24 import ( 25 runtime "github.com/spotmaxtech/k8s-apimachinery-v0260/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *EmbeddedTest) DeepCopyInto(out *EmbeddedTest) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 if in.Object != nil { 33 out.Object = in.Object.DeepCopyObject() 34 } 35 if in.EmptyObject != nil { 36 out.EmptyObject = in.EmptyObject.DeepCopyObject() 37 } 38 return 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTest. 42 func (in *EmbeddedTest) DeepCopy() *EmbeddedTest { 43 if in == nil { 44 return nil 45 } 46 out := new(EmbeddedTest) 47 in.DeepCopyInto(out) 48 return out 49 } 50 51 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 52 func (in *EmbeddedTest) DeepCopyObject() runtime.Object { 53 if c := in.DeepCopy(); c != nil { 54 return c 55 } 56 return nil 57 } 58 59 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 60 func (in *EmbeddedTestExternal) DeepCopyInto(out *EmbeddedTestExternal) { 61 *out = *in 62 out.TypeMeta = in.TypeMeta 63 in.Object.DeepCopyInto(&out.Object) 64 in.EmptyObject.DeepCopyInto(&out.EmptyObject) 65 return 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTestExternal. 69 func (in *EmbeddedTestExternal) DeepCopy() *EmbeddedTestExternal { 70 if in == nil { 71 return nil 72 } 73 out := new(EmbeddedTestExternal) 74 in.DeepCopyInto(out) 75 return out 76 } 77 78 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 79 func (in *EmbeddedTestExternal) DeepCopyObject() runtime.Object { 80 if c := in.DeepCopy(); c != nil { 81 return c 82 } 83 return nil 84 } 85 86 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 87 func (in *ExtensionA) DeepCopyInto(out *ExtensionA) { 88 *out = *in 89 out.TypeMeta = in.TypeMeta 90 return 91 } 92 93 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionA. 94 func (in *ExtensionA) DeepCopy() *ExtensionA { 95 if in == nil { 96 return nil 97 } 98 out := new(ExtensionA) 99 in.DeepCopyInto(out) 100 return out 101 } 102 103 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 104 func (in *ExtensionA) DeepCopyObject() runtime.Object { 105 if c := in.DeepCopy(); c != nil { 106 return c 107 } 108 return nil 109 } 110 111 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 112 func (in *ExtensionB) DeepCopyInto(out *ExtensionB) { 113 *out = *in 114 out.TypeMeta = in.TypeMeta 115 return 116 } 117 118 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionB. 119 func (in *ExtensionB) DeepCopy() *ExtensionB { 120 if in == nil { 121 return nil 122 } 123 out := new(ExtensionB) 124 in.DeepCopyInto(out) 125 return out 126 } 127 128 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 129 func (in *ExtensionB) DeepCopyObject() runtime.Object { 130 if c := in.DeepCopy(); c != nil { 131 return c 132 } 133 return nil 134 } 135 136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 137 func (in *ExternalComplex) DeepCopyInto(out *ExternalComplex) { 138 *out = *in 139 out.TypeMeta = in.TypeMeta 140 return 141 } 142 143 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalComplex. 144 func (in *ExternalComplex) DeepCopy() *ExternalComplex { 145 if in == nil { 146 return nil 147 } 148 out := new(ExternalComplex) 149 in.DeepCopyInto(out) 150 return out 151 } 152 153 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 154 func (in *ExternalComplex) DeepCopyObject() runtime.Object { 155 if c := in.DeepCopy(); c != nil { 156 return c 157 } 158 return nil 159 } 160 161 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 162 func (in *ExternalExtensionType) DeepCopyInto(out *ExternalExtensionType) { 163 *out = *in 164 out.TypeMeta = in.TypeMeta 165 in.Extension.DeepCopyInto(&out.Extension) 166 return 167 } 168 169 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalExtensionType. 170 func (in *ExternalExtensionType) DeepCopy() *ExternalExtensionType { 171 if in == nil { 172 return nil 173 } 174 out := new(ExternalExtensionType) 175 in.DeepCopyInto(out) 176 return out 177 } 178 179 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 180 func (in *ExternalExtensionType) DeepCopyObject() runtime.Object { 181 if c := in.DeepCopy(); c != nil { 182 return c 183 } 184 return nil 185 } 186 187 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 188 func (in *ExternalInternalSame) DeepCopyInto(out *ExternalInternalSame) { 189 *out = *in 190 out.MyWeirdCustomEmbeddedVersionKindField = in.MyWeirdCustomEmbeddedVersionKindField 191 out.A = in.A 192 return 193 } 194 195 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. 196 func (in *ExternalInternalSame) DeepCopy() *ExternalInternalSame { 197 if in == nil { 198 return nil 199 } 200 out := new(ExternalInternalSame) 201 in.DeepCopyInto(out) 202 return out 203 } 204 205 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 206 func (in *ExternalInternalSame) DeepCopyObject() runtime.Object { 207 if c := in.DeepCopy(); c != nil { 208 return c 209 } 210 return nil 211 } 212 213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 214 func (in *ExternalOptionalExtensionType) DeepCopyInto(out *ExternalOptionalExtensionType) { 215 *out = *in 216 out.TypeMeta = in.TypeMeta 217 in.Extension.DeepCopyInto(&out.Extension) 218 return 219 } 220 221 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalOptionalExtensionType. 222 func (in *ExternalOptionalExtensionType) DeepCopy() *ExternalOptionalExtensionType { 223 if in == nil { 224 return nil 225 } 226 out := new(ExternalOptionalExtensionType) 227 in.DeepCopyInto(out) 228 return out 229 } 230 231 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 232 func (in *ExternalOptionalExtensionType) DeepCopyObject() runtime.Object { 233 if c := in.DeepCopy(); c != nil { 234 return c 235 } 236 return nil 237 } 238 239 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 240 func (in *ExternalSimple) DeepCopyInto(out *ExternalSimple) { 241 *out = *in 242 out.TypeMeta = in.TypeMeta 243 return 244 } 245 246 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSimple. 247 func (in *ExternalSimple) DeepCopy() *ExternalSimple { 248 if in == nil { 249 return nil 250 } 251 out := new(ExternalSimple) 252 in.DeepCopyInto(out) 253 return out 254 } 255 256 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 257 func (in *ExternalSimple) DeepCopyObject() runtime.Object { 258 if c := in.DeepCopy(); c != nil { 259 return c 260 } 261 return nil 262 } 263 264 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 265 func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) { 266 *out = *in 267 out.MyWeirdCustomEmbeddedVersionKindField = in.MyWeirdCustomEmbeddedVersionKindField 268 if in.M != nil { 269 in, out := &in.M, &out.M 270 *out = make(map[string]int, len(*in)) 271 for key, val := range *in { 272 (*out)[key] = val 273 } 274 } 275 if in.N != nil { 276 in, out := &in.N, &out.N 277 *out = make(map[string]ExternalTestType2, len(*in)) 278 for key, val := range *in { 279 (*out)[key] = val 280 } 281 } 282 if in.O != nil { 283 in, out := &in.O, &out.O 284 *out = new(ExternalTestType2) 285 **out = **in 286 } 287 if in.P != nil { 288 in, out := &in.P, &out.P 289 *out = make([]ExternalTestType2, len(*in)) 290 copy(*out, *in) 291 } 292 return 293 } 294 295 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. 296 func (in *ExternalTestType1) DeepCopy() *ExternalTestType1 { 297 if in == nil { 298 return nil 299 } 300 out := new(ExternalTestType1) 301 in.DeepCopyInto(out) 302 return out 303 } 304 305 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 306 func (in *ExternalTestType1) DeepCopyObject() runtime.Object { 307 if c := in.DeepCopy(); c != nil { 308 return c 309 } 310 return nil 311 } 312 313 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 314 func (in *ExternalTestType2) DeepCopyInto(out *ExternalTestType2) { 315 *out = *in 316 return 317 } 318 319 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. 320 func (in *ExternalTestType2) DeepCopy() *ExternalTestType2 { 321 if in == nil { 322 return nil 323 } 324 out := new(ExternalTestType2) 325 in.DeepCopyInto(out) 326 return out 327 } 328 329 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 330 func (in *ExternalTestType2) DeepCopyObject() runtime.Object { 331 if c := in.DeepCopy(); c != nil { 332 return c 333 } 334 return nil 335 } 336 337 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 338 func (in *InternalComplex) DeepCopyInto(out *InternalComplex) { 339 *out = *in 340 out.TypeMeta = in.TypeMeta 341 return 342 } 343 344 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalComplex. 345 func (in *InternalComplex) DeepCopy() *InternalComplex { 346 if in == nil { 347 return nil 348 } 349 out := new(InternalComplex) 350 in.DeepCopyInto(out) 351 return out 352 } 353 354 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 355 func (in *InternalComplex) DeepCopyObject() runtime.Object { 356 if c := in.DeepCopy(); c != nil { 357 return c 358 } 359 return nil 360 } 361 362 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 363 func (in *InternalExtensionType) DeepCopyInto(out *InternalExtensionType) { 364 *out = *in 365 out.TypeMeta = in.TypeMeta 366 if in.Extension != nil { 367 out.Extension = in.Extension.DeepCopyObject() 368 } 369 return 370 } 371 372 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalExtensionType. 373 func (in *InternalExtensionType) DeepCopy() *InternalExtensionType { 374 if in == nil { 375 return nil 376 } 377 out := new(InternalExtensionType) 378 in.DeepCopyInto(out) 379 return out 380 } 381 382 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 383 func (in *InternalExtensionType) DeepCopyObject() runtime.Object { 384 if c := in.DeepCopy(); c != nil { 385 return c 386 } 387 return nil 388 } 389 390 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 391 func (in *InternalOptionalExtensionType) DeepCopyInto(out *InternalOptionalExtensionType) { 392 *out = *in 393 out.TypeMeta = in.TypeMeta 394 if in.Extension != nil { 395 out.Extension = in.Extension.DeepCopyObject() 396 } 397 return 398 } 399 400 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalOptionalExtensionType. 401 func (in *InternalOptionalExtensionType) DeepCopy() *InternalOptionalExtensionType { 402 if in == nil { 403 return nil 404 } 405 out := new(InternalOptionalExtensionType) 406 in.DeepCopyInto(out) 407 return out 408 } 409 410 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 411 func (in *InternalOptionalExtensionType) DeepCopyObject() runtime.Object { 412 if c := in.DeepCopy(); c != nil { 413 return c 414 } 415 return nil 416 } 417 418 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 419 func (in *InternalSimple) DeepCopyInto(out *InternalSimple) { 420 *out = *in 421 out.TypeMeta = in.TypeMeta 422 return 423 } 424 425 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalSimple. 426 func (in *InternalSimple) DeepCopy() *InternalSimple { 427 if in == nil { 428 return nil 429 } 430 out := new(InternalSimple) 431 in.DeepCopyInto(out) 432 return out 433 } 434 435 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 436 func (in *InternalSimple) DeepCopyObject() runtime.Object { 437 if c := in.DeepCopy(); c != nil { 438 return c 439 } 440 return nil 441 } 442 443 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 444 func (in *ObjectTest) DeepCopyInto(out *ObjectTest) { 445 *out = *in 446 out.TypeMeta = in.TypeMeta 447 if in.Items != nil { 448 in, out := &in.Items, &out.Items 449 *out = make([]runtime.Object, len(*in)) 450 for i := range *in { 451 if (*in)[i] != nil { 452 (*out)[i] = (*in)[i].DeepCopyObject() 453 } 454 } 455 } 456 return 457 } 458 459 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTest. 460 func (in *ObjectTest) DeepCopy() *ObjectTest { 461 if in == nil { 462 return nil 463 } 464 out := new(ObjectTest) 465 in.DeepCopyInto(out) 466 return out 467 } 468 469 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 470 func (in *ObjectTest) DeepCopyObject() runtime.Object { 471 if c := in.DeepCopy(); c != nil { 472 return c 473 } 474 return nil 475 } 476 477 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 478 func (in *ObjectTestExternal) DeepCopyInto(out *ObjectTestExternal) { 479 *out = *in 480 out.TypeMeta = in.TypeMeta 481 if in.Items != nil { 482 in, out := &in.Items, &out.Items 483 *out = make([]runtime.RawExtension, len(*in)) 484 for i := range *in { 485 (*in)[i].DeepCopyInto(&(*out)[i]) 486 } 487 } 488 return 489 } 490 491 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTestExternal. 492 func (in *ObjectTestExternal) DeepCopy() *ObjectTestExternal { 493 if in == nil { 494 return nil 495 } 496 out := new(ObjectTestExternal) 497 in.DeepCopyInto(out) 498 return out 499 } 500 501 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 502 func (in *ObjectTestExternal) DeepCopyObject() runtime.Object { 503 if c := in.DeepCopy(); c != nil { 504 return c 505 } 506 return nil 507 } 508 509 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 510 func (in *TestType1) DeepCopyInto(out *TestType1) { 511 *out = *in 512 out.MyWeirdCustomEmbeddedVersionKindField = in.MyWeirdCustomEmbeddedVersionKindField 513 if in.M != nil { 514 in, out := &in.M, &out.M 515 *out = make(map[string]int, len(*in)) 516 for key, val := range *in { 517 (*out)[key] = val 518 } 519 } 520 if in.N != nil { 521 in, out := &in.N, &out.N 522 *out = make(map[string]TestType2, len(*in)) 523 for key, val := range *in { 524 (*out)[key] = val 525 } 526 } 527 if in.O != nil { 528 in, out := &in.O, &out.O 529 *out = new(TestType2) 530 **out = **in 531 } 532 if in.P != nil { 533 in, out := &in.P, &out.P 534 *out = make([]TestType2, len(*in)) 535 copy(*out, *in) 536 } 537 return 538 } 539 540 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. 541 func (in *TestType1) DeepCopy() *TestType1 { 542 if in == nil { 543 return nil 544 } 545 out := new(TestType1) 546 in.DeepCopyInto(out) 547 return out 548 } 549 550 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 551 func (in *TestType1) DeepCopyObject() runtime.Object { 552 if c := in.DeepCopy(); c != nil { 553 return c 554 } 555 return nil 556 } 557 558 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 559 func (in *TestType2) DeepCopyInto(out *TestType2) { 560 *out = *in 561 return 562 } 563 564 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. 565 func (in *TestType2) DeepCopy() *TestType2 { 566 if in == nil { 567 return nil 568 } 569 out := new(TestType2) 570 in.DeepCopyInto(out) 571 return out 572 } 573 574 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 575 func (in *TestType2) DeepCopyObject() runtime.Object { 576 if c := in.DeepCopy(); c != nil { 577 return c 578 } 579 return nil 580 } 581 582 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 583 func (in *UnknownType) DeepCopyInto(out *UnknownType) { 584 *out = *in 585 out.MyWeirdCustomEmbeddedVersionKindField = in.MyWeirdCustomEmbeddedVersionKindField 586 return 587 } 588 589 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnknownType. 590 func (in *UnknownType) DeepCopy() *UnknownType { 591 if in == nil { 592 return nil 593 } 594 out := new(UnknownType) 595 in.DeepCopyInto(out) 596 return out 597 } 598 599 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 600 func (in *UnknownType) DeepCopyObject() runtime.Object { 601 if c := in.DeepCopy(); c != nil { 602 return c 603 } 604 return nil 605 } 606 607 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 608 func (in *UnversionedType) DeepCopyInto(out *UnversionedType) { 609 *out = *in 610 out.MyWeirdCustomEmbeddedVersionKindField = in.MyWeirdCustomEmbeddedVersionKindField 611 return 612 } 613 614 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnversionedType. 615 func (in *UnversionedType) DeepCopy() *UnversionedType { 616 if in == nil { 617 return nil 618 } 619 out := new(UnversionedType) 620 in.DeepCopyInto(out) 621 return out 622 } 623 624 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 625 func (in *UnversionedType) DeepCopyObject() runtime.Object { 626 if c := in.DeepCopy(); c != nil { 627 return c 628 } 629 return nil 630 }