kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/devops/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2020 The KubeSphere 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 v1alpha1 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 *AuthConfig) DeepCopyInto(out *AuthConfig) { 31 *out = *in 32 if in.SecretRef != nil { 33 in, out := &in.SecretRef, &out.SecretRef 34 *out = new(v1.LocalObjectReference) 35 **out = **in 36 } 37 return 38 } 39 40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthConfig. 41 func (in *AuthConfig) DeepCopy() *AuthConfig { 42 if in == nil { 43 return nil 44 } 45 out := new(AuthConfig) 46 in.DeepCopyInto(out) 47 return out 48 } 49 50 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 51 func (in *CGroupLimits) DeepCopyInto(out *CGroupLimits) { 52 *out = *in 53 return 54 } 55 56 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CGroupLimits. 57 func (in *CGroupLimits) DeepCopy() *CGroupLimits { 58 if in == nil { 59 return nil 60 } 61 out := new(CGroupLimits) 62 in.DeepCopyInto(out) 63 return out 64 } 65 66 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 67 func (in *ContainerConfig) DeepCopyInto(out *ContainerConfig) { 68 *out = *in 69 if in.Labels != nil { 70 in, out := &in.Labels, &out.Labels 71 *out = make(map[string]string, len(*in)) 72 for key, val := range *in { 73 (*out)[key] = val 74 } 75 } 76 if in.Env != nil { 77 in, out := &in.Env, &out.Env 78 *out = make([]string, len(*in)) 79 copy(*out, *in) 80 } 81 return 82 } 83 84 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfig. 85 func (in *ContainerConfig) DeepCopy() *ContainerConfig { 86 if in == nil { 87 return nil 88 } 89 out := new(ContainerConfig) 90 in.DeepCopyInto(out) 91 return out 92 } 93 94 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 95 func (in *ContainerInfo) DeepCopyInto(out *ContainerInfo) { 96 *out = *in 97 if in.RuntimeArtifacts != nil { 98 in, out := &in.RuntimeArtifacts, &out.RuntimeArtifacts 99 *out = make([]VolumeSpec, len(*in)) 100 copy(*out, *in) 101 } 102 if in.BuildVolumes != nil { 103 in, out := &in.BuildVolumes, &out.BuildVolumes 104 *out = make([]string, len(*in)) 105 copy(*out, *in) 106 } 107 return 108 } 109 110 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerInfo. 111 func (in *ContainerInfo) DeepCopy() *ContainerInfo { 112 if in == nil { 113 return nil 114 } 115 out := new(ContainerInfo) 116 in.DeepCopyInto(out) 117 return out 118 } 119 120 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 121 func (in *DockerConfig) DeepCopyInto(out *DockerConfig) { 122 *out = *in 123 return 124 } 125 126 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfig. 127 func (in *DockerConfig) DeepCopy() *DockerConfig { 128 if in == nil { 129 return nil 130 } 131 out := new(DockerConfig) 132 in.DeepCopyInto(out) 133 return out 134 } 135 136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 137 func (in *DockerConfigEntry) DeepCopyInto(out *DockerConfigEntry) { 138 *out = *in 139 return 140 } 141 142 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigEntry. 143 func (in *DockerConfigEntry) DeepCopy() *DockerConfigEntry { 144 if in == nil { 145 return nil 146 } 147 out := new(DockerConfigEntry) 148 in.DeepCopyInto(out) 149 return out 150 } 151 152 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 153 func (in *DockerConfigJson) DeepCopyInto(out *DockerConfigJson) { 154 *out = *in 155 if in.Auths != nil { 156 in, out := &in.Auths, &out.Auths 157 *out = make(DockerConfigMap, len(*in)) 158 for key, val := range *in { 159 (*out)[key] = val 160 } 161 } 162 return 163 } 164 165 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigJson. 166 func (in *DockerConfigJson) DeepCopy() *DockerConfigJson { 167 if in == nil { 168 return nil 169 } 170 out := new(DockerConfigJson) 171 in.DeepCopyInto(out) 172 return out 173 } 174 175 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 176 func (in DockerConfigMap) DeepCopyInto(out *DockerConfigMap) { 177 { 178 in := &in 179 *out = make(DockerConfigMap, len(*in)) 180 for key, val := range *in { 181 (*out)[key] = val 182 } 183 return 184 } 185 } 186 187 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigMap. 188 func (in DockerConfigMap) DeepCopy() DockerConfigMap { 189 if in == nil { 190 return nil 191 } 192 out := new(DockerConfigMap) 193 in.DeepCopyInto(out) 194 return *out 195 } 196 197 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 198 func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec) { 199 *out = *in 200 return 201 } 202 203 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec. 204 func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec { 205 if in == nil { 206 return nil 207 } 208 out := new(EnvironmentSpec) 209 in.DeepCopyInto(out) 210 return out 211 } 212 213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 214 func (in *Parameter) DeepCopyInto(out *Parameter) { 215 *out = *in 216 if in.OptValues != nil { 217 in, out := &in.OptValues, &out.OptValues 218 *out = make([]string, len(*in)) 219 copy(*out, *in) 220 } 221 return 222 } 223 224 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter. 225 func (in *Parameter) DeepCopy() *Parameter { 226 if in == nil { 227 return nil 228 } 229 out := new(Parameter) 230 in.DeepCopyInto(out) 231 return out 232 } 233 234 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 235 func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig) { 236 *out = *in 237 return 238 } 239 240 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig. 241 func (in *ProxyConfig) DeepCopy() *ProxyConfig { 242 if in == nil { 243 return nil 244 } 245 out := new(ProxyConfig) 246 in.DeepCopyInto(out) 247 return out 248 } 249 250 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 251 func (in *S2iAutoScale) DeepCopyInto(out *S2iAutoScale) { 252 *out = *in 253 if in.InitReplicas != nil { 254 in, out := &in.InitReplicas, &out.InitReplicas 255 *out = new(int32) 256 **out = **in 257 } 258 if in.Containers != nil { 259 in, out := &in.Containers, &out.Containers 260 *out = make([]string, len(*in)) 261 copy(*out, *in) 262 } 263 return 264 } 265 266 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iAutoScale. 267 func (in *S2iAutoScale) DeepCopy() *S2iAutoScale { 268 if in == nil { 269 return nil 270 } 271 out := new(S2iAutoScale) 272 in.DeepCopyInto(out) 273 return out 274 } 275 276 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 277 func (in *S2iBinary) DeepCopyInto(out *S2iBinary) { 278 *out = *in 279 out.TypeMeta = in.TypeMeta 280 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 281 in.Spec.DeepCopyInto(&out.Spec) 282 out.Status = in.Status 283 return 284 } 285 286 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinary. 287 func (in *S2iBinary) DeepCopy() *S2iBinary { 288 if in == nil { 289 return nil 290 } 291 out := new(S2iBinary) 292 in.DeepCopyInto(out) 293 return out 294 } 295 296 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 297 func (in *S2iBinary) DeepCopyObject() runtime.Object { 298 if c := in.DeepCopy(); c != nil { 299 return c 300 } 301 return nil 302 } 303 304 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 305 func (in *S2iBinaryList) DeepCopyInto(out *S2iBinaryList) { 306 *out = *in 307 out.TypeMeta = in.TypeMeta 308 in.ListMeta.DeepCopyInto(&out.ListMeta) 309 if in.Items != nil { 310 in, out := &in.Items, &out.Items 311 *out = make([]S2iBinary, len(*in)) 312 for i := range *in { 313 (*in)[i].DeepCopyInto(&(*out)[i]) 314 } 315 } 316 return 317 } 318 319 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinaryList. 320 func (in *S2iBinaryList) DeepCopy() *S2iBinaryList { 321 if in == nil { 322 return nil 323 } 324 out := new(S2iBinaryList) 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 *S2iBinaryList) 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 *S2iBinarySpec) DeepCopyInto(out *S2iBinarySpec) { 339 *out = *in 340 if in.UploadTimeStamp != nil { 341 in, out := &in.UploadTimeStamp, &out.UploadTimeStamp 342 *out = (*in).DeepCopy() 343 } 344 return 345 } 346 347 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinarySpec. 348 func (in *S2iBinarySpec) DeepCopy() *S2iBinarySpec { 349 if in == nil { 350 return nil 351 } 352 out := new(S2iBinarySpec) 353 in.DeepCopyInto(out) 354 return out 355 } 356 357 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 358 func (in *S2iBinaryStatus) DeepCopyInto(out *S2iBinaryStatus) { 359 *out = *in 360 return 361 } 362 363 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBinaryStatus. 364 func (in *S2iBinaryStatus) DeepCopy() *S2iBinaryStatus { 365 if in == nil { 366 return nil 367 } 368 out := new(S2iBinaryStatus) 369 in.DeepCopyInto(out) 370 return out 371 } 372 373 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 374 func (in *S2iBuildResult) DeepCopyInto(out *S2iBuildResult) { 375 *out = *in 376 if in.ImageRepoTags != nil { 377 in, out := &in.ImageRepoTags, &out.ImageRepoTags 378 *out = make([]string, len(*in)) 379 copy(*out, *in) 380 } 381 return 382 } 383 384 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuildResult. 385 func (in *S2iBuildResult) DeepCopy() *S2iBuildResult { 386 if in == nil { 387 return nil 388 } 389 out := new(S2iBuildResult) 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 *S2iBuildSource) DeepCopyInto(out *S2iBuildSource) { 396 *out = *in 397 return 398 } 399 400 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuildSource. 401 func (in *S2iBuildSource) DeepCopy() *S2iBuildSource { 402 if in == nil { 403 return nil 404 } 405 out := new(S2iBuildSource) 406 in.DeepCopyInto(out) 407 return out 408 } 409 410 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 411 func (in *S2iBuilder) DeepCopyInto(out *S2iBuilder) { 412 *out = *in 413 out.TypeMeta = in.TypeMeta 414 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 415 in.Spec.DeepCopyInto(&out.Spec) 416 in.Status.DeepCopyInto(&out.Status) 417 return 418 } 419 420 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilder. 421 func (in *S2iBuilder) DeepCopy() *S2iBuilder { 422 if in == nil { 423 return nil 424 } 425 out := new(S2iBuilder) 426 in.DeepCopyInto(out) 427 return out 428 } 429 430 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 431 func (in *S2iBuilder) DeepCopyObject() runtime.Object { 432 if c := in.DeepCopy(); c != nil { 433 return c 434 } 435 return nil 436 } 437 438 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 439 func (in *S2iBuilderList) DeepCopyInto(out *S2iBuilderList) { 440 *out = *in 441 out.TypeMeta = in.TypeMeta 442 in.ListMeta.DeepCopyInto(&out.ListMeta) 443 if in.Items != nil { 444 in, out := &in.Items, &out.Items 445 *out = make([]S2iBuilder, len(*in)) 446 for i := range *in { 447 (*in)[i].DeepCopyInto(&(*out)[i]) 448 } 449 } 450 return 451 } 452 453 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderList. 454 func (in *S2iBuilderList) DeepCopy() *S2iBuilderList { 455 if in == nil { 456 return nil 457 } 458 out := new(S2iBuilderList) 459 in.DeepCopyInto(out) 460 return out 461 } 462 463 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 464 func (in *S2iBuilderList) DeepCopyObject() runtime.Object { 465 if c := in.DeepCopy(); c != nil { 466 return c 467 } 468 return nil 469 } 470 471 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 472 func (in *S2iBuilderSpec) DeepCopyInto(out *S2iBuilderSpec) { 473 *out = *in 474 if in.Config != nil { 475 in, out := &in.Config, &out.Config 476 *out = new(S2iConfig) 477 (*in).DeepCopyInto(*out) 478 } 479 if in.FromTemplate != nil { 480 in, out := &in.FromTemplate, &out.FromTemplate 481 *out = new(UserDefineTemplate) 482 (*in).DeepCopyInto(*out) 483 } 484 return 485 } 486 487 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderSpec. 488 func (in *S2iBuilderSpec) DeepCopy() *S2iBuilderSpec { 489 if in == nil { 490 return nil 491 } 492 out := new(S2iBuilderSpec) 493 in.DeepCopyInto(out) 494 return out 495 } 496 497 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 498 func (in *S2iBuilderStatus) DeepCopyInto(out *S2iBuilderStatus) { 499 *out = *in 500 if in.LastRunName != nil { 501 in, out := &in.LastRunName, &out.LastRunName 502 *out = new(string) 503 **out = **in 504 } 505 if in.LastRunStartTime != nil { 506 in, out := &in.LastRunStartTime, &out.LastRunStartTime 507 *out = (*in).DeepCopy() 508 } 509 return 510 } 511 512 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderStatus. 513 func (in *S2iBuilderStatus) DeepCopy() *S2iBuilderStatus { 514 if in == nil { 515 return nil 516 } 517 out := new(S2iBuilderStatus) 518 in.DeepCopyInto(out) 519 return out 520 } 521 522 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 523 func (in *S2iBuilderTemplate) DeepCopyInto(out *S2iBuilderTemplate) { 524 *out = *in 525 out.TypeMeta = in.TypeMeta 526 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 527 in.Spec.DeepCopyInto(&out.Spec) 528 out.Status = in.Status 529 return 530 } 531 532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderTemplate. 533 func (in *S2iBuilderTemplate) DeepCopy() *S2iBuilderTemplate { 534 if in == nil { 535 return nil 536 } 537 out := new(S2iBuilderTemplate) 538 in.DeepCopyInto(out) 539 return out 540 } 541 542 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 543 func (in *S2iBuilderTemplate) DeepCopyObject() runtime.Object { 544 if c := in.DeepCopy(); c != nil { 545 return c 546 } 547 return nil 548 } 549 550 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 551 func (in *S2iBuilderTemplateList) DeepCopyInto(out *S2iBuilderTemplateList) { 552 *out = *in 553 out.TypeMeta = in.TypeMeta 554 in.ListMeta.DeepCopyInto(&out.ListMeta) 555 if in.Items != nil { 556 in, out := &in.Items, &out.Items 557 *out = make([]S2iBuilderTemplate, len(*in)) 558 for i := range *in { 559 (*in)[i].DeepCopyInto(&(*out)[i]) 560 } 561 } 562 return 563 } 564 565 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderTemplateList. 566 func (in *S2iBuilderTemplateList) DeepCopy() *S2iBuilderTemplateList { 567 if in == nil { 568 return nil 569 } 570 out := new(S2iBuilderTemplateList) 571 in.DeepCopyInto(out) 572 return out 573 } 574 575 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 576 func (in *S2iBuilderTemplateList) DeepCopyObject() runtime.Object { 577 if c := in.DeepCopy(); c != nil { 578 return c 579 } 580 return nil 581 } 582 583 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 584 func (in *S2iBuilderTemplateSpec) DeepCopyInto(out *S2iBuilderTemplateSpec) { 585 *out = *in 586 if in.ContainerInfo != nil { 587 in, out := &in.ContainerInfo, &out.ContainerInfo 588 *out = make([]ContainerInfo, len(*in)) 589 for i := range *in { 590 (*in)[i].DeepCopyInto(&(*out)[i]) 591 } 592 } 593 if in.Parameters != nil { 594 in, out := &in.Parameters, &out.Parameters 595 *out = make([]Parameter, len(*in)) 596 for i := range *in { 597 (*in)[i].DeepCopyInto(&(*out)[i]) 598 } 599 } 600 return 601 } 602 603 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderTemplateSpec. 604 func (in *S2iBuilderTemplateSpec) DeepCopy() *S2iBuilderTemplateSpec { 605 if in == nil { 606 return nil 607 } 608 out := new(S2iBuilderTemplateSpec) 609 in.DeepCopyInto(out) 610 return out 611 } 612 613 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 614 func (in *S2iBuilderTemplateStatus) DeepCopyInto(out *S2iBuilderTemplateStatus) { 615 *out = *in 616 return 617 } 618 619 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iBuilderTemplateStatus. 620 func (in *S2iBuilderTemplateStatus) DeepCopy() *S2iBuilderTemplateStatus { 621 if in == nil { 622 return nil 623 } 624 out := new(S2iBuilderTemplateStatus) 625 in.DeepCopyInto(out) 626 return out 627 } 628 629 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 630 func (in *S2iConfig) DeepCopyInto(out *S2iConfig) { 631 *out = *in 632 if in.RuntimeAuthentication != nil { 633 in, out := &in.RuntimeAuthentication, &out.RuntimeAuthentication 634 *out = new(AuthConfig) 635 (*in).DeepCopyInto(*out) 636 } 637 if in.RuntimeArtifacts != nil { 638 in, out := &in.RuntimeArtifacts, &out.RuntimeArtifacts 639 *out = make([]VolumeSpec, len(*in)) 640 copy(*out, *in) 641 } 642 if in.DockerConfig != nil { 643 in, out := &in.DockerConfig, &out.DockerConfig 644 *out = new(DockerConfig) 645 **out = **in 646 } 647 if in.PullAuthentication != nil { 648 in, out := &in.PullAuthentication, &out.PullAuthentication 649 *out = new(AuthConfig) 650 (*in).DeepCopyInto(*out) 651 } 652 if in.PushAuthentication != nil { 653 in, out := &in.PushAuthentication, &out.PushAuthentication 654 *out = new(AuthConfig) 655 (*in).DeepCopyInto(*out) 656 } 657 if in.IncrementalAuthentication != nil { 658 in, out := &in.IncrementalAuthentication, &out.IncrementalAuthentication 659 *out = new(AuthConfig) 660 (*in).DeepCopyInto(*out) 661 } 662 if in.Environment != nil { 663 in, out := &in.Environment, &out.Environment 664 *out = make([]EnvironmentSpec, len(*in)) 665 copy(*out, *in) 666 } 667 if in.Injections != nil { 668 in, out := &in.Injections, &out.Injections 669 *out = make([]VolumeSpec, len(*in)) 670 copy(*out, *in) 671 } 672 if in.CGroupLimits != nil { 673 in, out := &in.CGroupLimits, &out.CGroupLimits 674 *out = new(CGroupLimits) 675 **out = **in 676 } 677 if in.DropCapabilities != nil { 678 in, out := &in.DropCapabilities, &out.DropCapabilities 679 *out = make([]string, len(*in)) 680 copy(*out, *in) 681 } 682 if in.ScriptDownloadProxyConfig != nil { 683 in, out := &in.ScriptDownloadProxyConfig, &out.ScriptDownloadProxyConfig 684 *out = new(ProxyConfig) 685 **out = **in 686 } 687 if in.BuildVolumes != nil { 688 in, out := &in.BuildVolumes, &out.BuildVolumes 689 *out = make([]string, len(*in)) 690 copy(*out, *in) 691 } 692 if in.Labels != nil { 693 in, out := &in.Labels, &out.Labels 694 *out = make(map[string]string, len(*in)) 695 for key, val := range *in { 696 (*out)[key] = val 697 } 698 } 699 if in.SecurityOpt != nil { 700 in, out := &in.SecurityOpt, &out.SecurityOpt 701 *out = make([]string, len(*in)) 702 copy(*out, *in) 703 } 704 if in.AddHost != nil { 705 in, out := &in.AddHost, &out.AddHost 706 *out = make([]string, len(*in)) 707 copy(*out, *in) 708 } 709 if in.GitSecretRef != nil { 710 in, out := &in.GitSecretRef, &out.GitSecretRef 711 *out = new(v1.LocalObjectReference) 712 **out = **in 713 } 714 if in.NodeAffinityValues != nil { 715 in, out := &in.NodeAffinityValues, &out.NodeAffinityValues 716 *out = make([]string, len(*in)) 717 copy(*out, *in) 718 } 719 return 720 } 721 722 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iConfig. 723 func (in *S2iConfig) DeepCopy() *S2iConfig { 724 if in == nil { 725 return nil 726 } 727 out := new(S2iConfig) 728 in.DeepCopyInto(out) 729 return out 730 } 731 732 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 733 func (in *S2iRun) DeepCopyInto(out *S2iRun) { 734 *out = *in 735 out.TypeMeta = in.TypeMeta 736 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 737 out.Spec = in.Spec 738 in.Status.DeepCopyInto(&out.Status) 739 return 740 } 741 742 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iRun. 743 func (in *S2iRun) DeepCopy() *S2iRun { 744 if in == nil { 745 return nil 746 } 747 out := new(S2iRun) 748 in.DeepCopyInto(out) 749 return out 750 } 751 752 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 753 func (in *S2iRun) DeepCopyObject() runtime.Object { 754 if c := in.DeepCopy(); c != nil { 755 return c 756 } 757 return nil 758 } 759 760 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 761 func (in *S2iRunList) DeepCopyInto(out *S2iRunList) { 762 *out = *in 763 out.TypeMeta = in.TypeMeta 764 in.ListMeta.DeepCopyInto(&out.ListMeta) 765 if in.Items != nil { 766 in, out := &in.Items, &out.Items 767 *out = make([]S2iRun, len(*in)) 768 for i := range *in { 769 (*in)[i].DeepCopyInto(&(*out)[i]) 770 } 771 } 772 return 773 } 774 775 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iRunList. 776 func (in *S2iRunList) DeepCopy() *S2iRunList { 777 if in == nil { 778 return nil 779 } 780 out := new(S2iRunList) 781 in.DeepCopyInto(out) 782 return out 783 } 784 785 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 786 func (in *S2iRunList) DeepCopyObject() runtime.Object { 787 if c := in.DeepCopy(); c != nil { 788 return c 789 } 790 return nil 791 } 792 793 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 794 func (in *S2iRunSpec) DeepCopyInto(out *S2iRunSpec) { 795 *out = *in 796 return 797 } 798 799 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iRunSpec. 800 func (in *S2iRunSpec) DeepCopy() *S2iRunSpec { 801 if in == nil { 802 return nil 803 } 804 out := new(S2iRunSpec) 805 in.DeepCopyInto(out) 806 return out 807 } 808 809 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 810 func (in *S2iRunStatus) DeepCopyInto(out *S2iRunStatus) { 811 *out = *in 812 if in.StartTime != nil { 813 in, out := &in.StartTime, &out.StartTime 814 *out = (*in).DeepCopy() 815 } 816 if in.CompletionTime != nil { 817 in, out := &in.CompletionTime, &out.CompletionTime 818 *out = (*in).DeepCopy() 819 } 820 if in.S2iBuildResult != nil { 821 in, out := &in.S2iBuildResult, &out.S2iBuildResult 822 *out = new(S2iBuildResult) 823 (*in).DeepCopyInto(*out) 824 } 825 if in.S2iBuildSource != nil { 826 in, out := &in.S2iBuildSource, &out.S2iBuildSource 827 *out = new(S2iBuildSource) 828 **out = **in 829 } 830 return 831 } 832 833 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iRunStatus. 834 func (in *S2iRunStatus) DeepCopy() *S2iRunStatus { 835 if in == nil { 836 return nil 837 } 838 out := new(S2iRunStatus) 839 in.DeepCopyInto(out) 840 return out 841 } 842 843 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 844 func (in *UserDefineTemplate) DeepCopyInto(out *UserDefineTemplate) { 845 *out = *in 846 if in.Parameters != nil { 847 in, out := &in.Parameters, &out.Parameters 848 *out = make([]Parameter, len(*in)) 849 for i := range *in { 850 (*in)[i].DeepCopyInto(&(*out)[i]) 851 } 852 } 853 return 854 } 855 856 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDefineTemplate. 857 func (in *UserDefineTemplate) DeepCopy() *UserDefineTemplate { 858 if in == nil { 859 return nil 860 } 861 out := new(UserDefineTemplate) 862 in.DeepCopyInto(out) 863 return out 864 } 865 866 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 867 func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec) { 868 *out = *in 869 return 870 } 871 872 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec. 873 func (in *VolumeSpec) DeepCopy() *VolumeSpec { 874 if in == nil { 875 return nil 876 } 877 out := new(VolumeSpec) 878 in.DeepCopyInto(out) 879 return out 880 }