github.com/jenkins-x/jx/v2@v2.1.155/pkg/tekton/syntax/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 // Code generated by deepcopy-gen. DO NOT EDIT. 4 5 package syntax 6 7 import ( 8 v1alpha1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1alpha1" 9 v1 "k8s.io/api/core/v1" 10 ) 11 12 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 13 func (in *Agent) DeepCopyInto(out *Agent) { 14 *out = *in 15 return 16 } 17 18 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent. 19 func (in *Agent) DeepCopy() *Agent { 20 if in == nil { 21 return nil 22 } 23 out := new(Agent) 24 in.DeepCopyInto(out) 25 return out 26 } 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *CRDsFromPipelineParams) DeepCopyInto(out *CRDsFromPipelineParams) { 30 *out = *in 31 if in.PodTemplates != nil { 32 in, out := &in.PodTemplates, &out.PodTemplates 33 *out = make(map[string]*v1.Pod, len(*in)) 34 for key, val := range *in { 35 var outVal *v1.Pod 36 if val == nil { 37 (*out)[key] = nil 38 } else { 39 in, out := &val, &outVal 40 *out = new(v1.Pod) 41 (*in).DeepCopyInto(*out) 42 } 43 (*out)[key] = outVal 44 } 45 } 46 if in.TaskParams != nil { 47 in, out := &in.TaskParams, &out.TaskParams 48 *out = make([]v1alpha1.ParamSpec, len(*in)) 49 for i := range *in { 50 (*in)[i].DeepCopyInto(&(*out)[i]) 51 } 52 } 53 if in.Labels != nil { 54 in, out := &in.Labels, &out.Labels 55 *out = make(map[string]string, len(*in)) 56 for key, val := range *in { 57 (*out)[key] = val 58 } 59 } 60 return 61 } 62 63 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDsFromPipelineParams. 64 func (in *CRDsFromPipelineParams) DeepCopy() *CRDsFromPipelineParams { 65 if in == nil { 66 return nil 67 } 68 out := new(CRDsFromPipelineParams) 69 in.DeepCopyInto(out) 70 return out 71 } 72 73 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 74 func (in *Loop) DeepCopyInto(out *Loop) { 75 *out = *in 76 if in.Values != nil { 77 in, out := &in.Values, &out.Values 78 *out = make([]string, len(*in)) 79 copy(*out, *in) 80 } 81 if in.Steps != nil { 82 in, out := &in.Steps, &out.Steps 83 *out = make([]Step, len(*in)) 84 for i := range *in { 85 (*in)[i].DeepCopyInto(&(*out)[i]) 86 } 87 } 88 return 89 } 90 91 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Loop. 92 func (in *Loop) DeepCopy() *Loop { 93 if in == nil { 94 return nil 95 } 96 out := new(Loop) 97 in.DeepCopyInto(out) 98 return out 99 } 100 101 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 102 func (in *ParsedPipeline) DeepCopyInto(out *ParsedPipeline) { 103 *out = *in 104 if in.Agent != nil { 105 in, out := &in.Agent, &out.Agent 106 *out = new(Agent) 107 **out = **in 108 } 109 if in.Env != nil { 110 in, out := &in.Env, &out.Env 111 *out = make([]v1.EnvVar, len(*in)) 112 for i := range *in { 113 (*in)[i].DeepCopyInto(&(*out)[i]) 114 } 115 } 116 if in.Options != nil { 117 in, out := &in.Options, &out.Options 118 *out = new(RootOptions) 119 (*in).DeepCopyInto(*out) 120 } 121 if in.Stages != nil { 122 in, out := &in.Stages, &out.Stages 123 *out = make([]Stage, len(*in)) 124 for i := range *in { 125 (*in)[i].DeepCopyInto(&(*out)[i]) 126 } 127 } 128 if in.Post != nil { 129 in, out := &in.Post, &out.Post 130 *out = make([]Post, len(*in)) 131 for i := range *in { 132 (*in)[i].DeepCopyInto(&(*out)[i]) 133 } 134 } 135 if in.WorkingDir != nil { 136 in, out := &in.WorkingDir, &out.WorkingDir 137 *out = new(string) 138 **out = **in 139 } 140 if in.Environment != nil { 141 in, out := &in.Environment, &out.Environment 142 *out = make([]v1.EnvVar, len(*in)) 143 for i := range *in { 144 (*in)[i].DeepCopyInto(&(*out)[i]) 145 } 146 } 147 return 148 } 149 150 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParsedPipeline. 151 func (in *ParsedPipeline) DeepCopy() *ParsedPipeline { 152 if in == nil { 153 return nil 154 } 155 out := new(ParsedPipeline) 156 in.DeepCopyInto(out) 157 return out 158 } 159 160 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 161 func (in *PipelineOverride) DeepCopyInto(out *PipelineOverride) { 162 *out = *in 163 if in.Step != nil { 164 in, out := &in.Step, &out.Step 165 *out = new(Step) 166 (*in).DeepCopyInto(*out) 167 } 168 if in.Steps != nil { 169 in, out := &in.Steps, &out.Steps 170 *out = make([]*Step, len(*in)) 171 for i := range *in { 172 if (*in)[i] != nil { 173 in, out := &(*in)[i], &(*out)[i] 174 *out = new(Step) 175 (*in).DeepCopyInto(*out) 176 } 177 } 178 } 179 if in.Type != nil { 180 in, out := &in.Type, &out.Type 181 *out = new(StepOverrideType) 182 **out = **in 183 } 184 if in.Agent != nil { 185 in, out := &in.Agent, &out.Agent 186 *out = new(Agent) 187 **out = **in 188 } 189 if in.ContainerOptions != nil { 190 in, out := &in.ContainerOptions, &out.ContainerOptions 191 *out = new(v1.Container) 192 (*in).DeepCopyInto(*out) 193 } 194 if in.Volumes != nil { 195 in, out := &in.Volumes, &out.Volumes 196 *out = make([]*v1.Volume, len(*in)) 197 for i := range *in { 198 if (*in)[i] != nil { 199 in, out := &(*in)[i], &(*out)[i] 200 *out = new(v1.Volume) 201 (*in).DeepCopyInto(*out) 202 } 203 } 204 } 205 return 206 } 207 208 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineOverride. 209 func (in *PipelineOverride) DeepCopy() *PipelineOverride { 210 if in == nil { 211 return nil 212 } 213 out := new(PipelineOverride) 214 in.DeepCopyInto(out) 215 return out 216 } 217 218 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 219 func (in *Post) DeepCopyInto(out *Post) { 220 *out = *in 221 if in.Actions != nil { 222 in, out := &in.Actions, &out.Actions 223 *out = make([]PostAction, len(*in)) 224 for i := range *in { 225 (*in)[i].DeepCopyInto(&(*out)[i]) 226 } 227 } 228 return 229 } 230 231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Post. 232 func (in *Post) DeepCopy() *Post { 233 if in == nil { 234 return nil 235 } 236 out := new(Post) 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 *PostAction) DeepCopyInto(out *PostAction) { 243 *out = *in 244 if in.Options != nil { 245 in, out := &in.Options, &out.Options 246 *out = make(map[string]string, len(*in)) 247 for key, val := range *in { 248 (*out)[key] = val 249 } 250 } 251 return 252 } 253 254 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostAction. 255 func (in *PostAction) DeepCopy() *PostAction { 256 if in == nil { 257 return nil 258 } 259 out := new(PostAction) 260 in.DeepCopyInto(out) 261 return out 262 } 263 264 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 265 func (in *RootOptions) DeepCopyInto(out *RootOptions) { 266 *out = *in 267 if in.Timeout != nil { 268 in, out := &in.Timeout, &out.Timeout 269 *out = new(Timeout) 270 **out = **in 271 } 272 if in.ContainerOptions != nil { 273 in, out := &in.ContainerOptions, &out.ContainerOptions 274 *out = new(v1.Container) 275 (*in).DeepCopyInto(*out) 276 } 277 if in.Volumes != nil { 278 in, out := &in.Volumes, &out.Volumes 279 *out = make([]*v1.Volume, len(*in)) 280 for i := range *in { 281 if (*in)[i] != nil { 282 in, out := &(*in)[i], &(*out)[i] 283 *out = new(v1.Volume) 284 (*in).DeepCopyInto(*out) 285 } 286 } 287 } 288 if in.Tolerations != nil { 289 in, out := &in.Tolerations, &out.Tolerations 290 *out = make([]v1.Toleration, len(*in)) 291 for i := range *in { 292 (*in)[i].DeepCopyInto(&(*out)[i]) 293 } 294 } 295 if in.PodLabels != nil { 296 in, out := &in.PodLabels, &out.PodLabels 297 *out = make(map[string]string, len(*in)) 298 for key, val := range *in { 299 (*out)[key] = val 300 } 301 } 302 return 303 } 304 305 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootOptions. 306 func (in *RootOptions) DeepCopy() *RootOptions { 307 if in == nil { 308 return nil 309 } 310 out := new(RootOptions) 311 in.DeepCopyInto(out) 312 return out 313 } 314 315 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 316 func (in *Stage) DeepCopyInto(out *Stage) { 317 *out = *in 318 if in.Agent != nil { 319 in, out := &in.Agent, &out.Agent 320 *out = new(Agent) 321 **out = **in 322 } 323 if in.Env != nil { 324 in, out := &in.Env, &out.Env 325 *out = make([]v1.EnvVar, len(*in)) 326 for i := range *in { 327 (*in)[i].DeepCopyInto(&(*out)[i]) 328 } 329 } 330 if in.Options != nil { 331 in, out := &in.Options, &out.Options 332 *out = new(StageOptions) 333 (*in).DeepCopyInto(*out) 334 } 335 if in.Steps != nil { 336 in, out := &in.Steps, &out.Steps 337 *out = make([]Step, len(*in)) 338 for i := range *in { 339 (*in)[i].DeepCopyInto(&(*out)[i]) 340 } 341 } 342 if in.Stages != nil { 343 in, out := &in.Stages, &out.Stages 344 *out = make([]Stage, len(*in)) 345 for i := range *in { 346 (*in)[i].DeepCopyInto(&(*out)[i]) 347 } 348 } 349 if in.Parallel != nil { 350 in, out := &in.Parallel, &out.Parallel 351 *out = make([]Stage, len(*in)) 352 for i := range *in { 353 (*in)[i].DeepCopyInto(&(*out)[i]) 354 } 355 } 356 if in.Post != nil { 357 in, out := &in.Post, &out.Post 358 *out = make([]Post, len(*in)) 359 for i := range *in { 360 (*in)[i].DeepCopyInto(&(*out)[i]) 361 } 362 } 363 if in.WorkingDir != nil { 364 in, out := &in.WorkingDir, &out.WorkingDir 365 *out = new(string) 366 **out = **in 367 } 368 if in.Environment != nil { 369 in, out := &in.Environment, &out.Environment 370 *out = make([]v1.EnvVar, len(*in)) 371 for i := range *in { 372 (*in)[i].DeepCopyInto(&(*out)[i]) 373 } 374 } 375 return 376 } 377 378 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stage. 379 func (in *Stage) DeepCopy() *Stage { 380 if in == nil { 381 return nil 382 } 383 out := new(Stage) 384 in.DeepCopyInto(out) 385 return out 386 } 387 388 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 389 func (in *StageOptions) DeepCopyInto(out *StageOptions) { 390 *out = *in 391 if in.RootOptions != nil { 392 in, out := &in.RootOptions, &out.RootOptions 393 *out = new(RootOptions) 394 (*in).DeepCopyInto(*out) 395 } 396 if in.Stash != nil { 397 in, out := &in.Stash, &out.Stash 398 *out = new(Stash) 399 **out = **in 400 } 401 if in.Unstash != nil { 402 in, out := &in.Unstash, &out.Unstash 403 *out = new(Unstash) 404 **out = **in 405 } 406 if in.Workspace != nil { 407 in, out := &in.Workspace, &out.Workspace 408 *out = new(string) 409 **out = **in 410 } 411 return 412 } 413 414 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageOptions. 415 func (in *StageOptions) DeepCopy() *StageOptions { 416 if in == nil { 417 return nil 418 } 419 out := new(StageOptions) 420 in.DeepCopyInto(out) 421 return out 422 } 423 424 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 425 func (in *Stash) DeepCopyInto(out *Stash) { 426 *out = *in 427 return 428 } 429 430 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stash. 431 func (in *Stash) DeepCopy() *Stash { 432 if in == nil { 433 return nil 434 } 435 out := new(Stash) 436 in.DeepCopyInto(out) 437 return out 438 } 439 440 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 441 func (in *Step) DeepCopyInto(out *Step) { 442 *out = *in 443 if in.Arguments != nil { 444 in, out := &in.Arguments, &out.Arguments 445 *out = make([]string, len(*in)) 446 copy(*out, *in) 447 } 448 if in.Options != nil { 449 in, out := &in.Options, &out.Options 450 *out = make(map[string]string, len(*in)) 451 for key, val := range *in { 452 (*out)[key] = val 453 } 454 } 455 if in.Loop != nil { 456 in, out := &in.Loop, &out.Loop 457 *out = new(Loop) 458 (*in).DeepCopyInto(*out) 459 } 460 if in.Agent != nil { 461 in, out := &in.Agent, &out.Agent 462 *out = new(Agent) 463 **out = **in 464 } 465 if in.Env != nil { 466 in, out := &in.Env, &out.Env 467 *out = make([]v1.EnvVar, len(*in)) 468 for i := range *in { 469 (*in)[i].DeepCopyInto(&(*out)[i]) 470 } 471 } 472 if in.Steps != nil { 473 in, out := &in.Steps, &out.Steps 474 *out = make([]*Step, len(*in)) 475 for i := range *in { 476 if (*in)[i] != nil { 477 in, out := &(*in)[i], &(*out)[i] 478 *out = new(Step) 479 (*in).DeepCopyInto(*out) 480 } 481 } 482 } 483 return 484 } 485 486 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step. 487 func (in *Step) DeepCopy() *Step { 488 if in == nil { 489 return nil 490 } 491 out := new(Step) 492 in.DeepCopyInto(out) 493 return out 494 } 495 496 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 497 func (in *StepPlaceholderReplacementArgs) DeepCopyInto(out *StepPlaceholderReplacementArgs) { 498 *out = *in 499 return 500 } 501 502 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepPlaceholderReplacementArgs. 503 func (in *StepPlaceholderReplacementArgs) DeepCopy() *StepPlaceholderReplacementArgs { 504 if in == nil { 505 return nil 506 } 507 out := new(StepPlaceholderReplacementArgs) 508 in.DeepCopyInto(out) 509 return out 510 } 511 512 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 513 func (in *Timeout) DeepCopyInto(out *Timeout) { 514 *out = *in 515 return 516 } 517 518 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timeout. 519 func (in *Timeout) DeepCopy() *Timeout { 520 if in == nil { 521 return nil 522 } 523 out := new(Timeout) 524 in.DeepCopyInto(out) 525 return out 526 } 527 528 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 529 func (in *Unstash) DeepCopyInto(out *Unstash) { 530 *out = *in 531 return 532 } 533 534 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unstash. 535 func (in *Unstash) DeepCopy() *Unstash { 536 if in == nil { 537 return nil 538 } 539 out := new(Unstash) 540 in.DeepCopyInto(out) 541 return out 542 }