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