github.com/kubevela/workflow@v0.6.0/api/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2022 The KubeVela 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 controller-gen. DO NOT EDIT. 21 22 package v1alpha1 23 24 import ( 25 v1 "k8s.io/api/core/v1" 26 "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 *InputItem) DeepCopyInto(out *InputItem) { 31 *out = *in 32 } 33 34 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputItem. 35 func (in *InputItem) DeepCopy() *InputItem { 36 if in == nil { 37 return nil 38 } 39 out := new(InputItem) 40 in.DeepCopyInto(out) 41 return out 42 } 43 44 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 45 func (in *OutputItem) DeepCopyInto(out *OutputItem) { 46 *out = *in 47 } 48 49 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputItem. 50 func (in *OutputItem) DeepCopy() *OutputItem { 51 if in == nil { 52 return nil 53 } 54 out := new(OutputItem) 55 in.DeepCopyInto(out) 56 return out 57 } 58 59 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 60 func (in StepInputs) DeepCopyInto(out *StepInputs) { 61 { 62 in := &in 63 *out = make(StepInputs, len(*in)) 64 copy(*out, *in) 65 } 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepInputs. 69 func (in StepInputs) DeepCopy() StepInputs { 70 if in == nil { 71 return nil 72 } 73 out := new(StepInputs) 74 in.DeepCopyInto(out) 75 return *out 76 } 77 78 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 79 func (in StepOutputs) DeepCopyInto(out *StepOutputs) { 80 { 81 in := &in 82 *out = make(StepOutputs, len(*in)) 83 copy(*out, *in) 84 } 85 } 86 87 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepOutputs. 88 func (in StepOutputs) DeepCopy() StepOutputs { 89 if in == nil { 90 return nil 91 } 92 out := new(StepOutputs) 93 in.DeepCopyInto(out) 94 return *out 95 } 96 97 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 98 func (in *StepStatus) DeepCopyInto(out *StepStatus) { 99 *out = *in 100 in.FirstExecuteTime.DeepCopyInto(&out.FirstExecuteTime) 101 in.LastExecuteTime.DeepCopyInto(&out.LastExecuteTime) 102 } 103 104 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepStatus. 105 func (in *StepStatus) DeepCopy() *StepStatus { 106 if in == nil { 107 return nil 108 } 109 out := new(StepStatus) 110 in.DeepCopyInto(out) 111 return out 112 } 113 114 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 115 func (in *Workflow) DeepCopyInto(out *Workflow) { 116 *out = *in 117 out.TypeMeta = in.TypeMeta 118 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 119 if in.Mode != nil { 120 in, out := &in.Mode, &out.Mode 121 *out = new(WorkflowExecuteMode) 122 **out = **in 123 } 124 in.WorkflowSpec.DeepCopyInto(&out.WorkflowSpec) 125 } 126 127 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow. 128 func (in *Workflow) DeepCopy() *Workflow { 129 if in == nil { 130 return nil 131 } 132 out := new(Workflow) 133 in.DeepCopyInto(out) 134 return out 135 } 136 137 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 138 func (in *Workflow) DeepCopyObject() runtime.Object { 139 if c := in.DeepCopy(); c != nil { 140 return c 141 } 142 return nil 143 } 144 145 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 146 func (in *WorkflowExecuteMode) DeepCopyInto(out *WorkflowExecuteMode) { 147 *out = *in 148 } 149 150 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowExecuteMode. 151 func (in *WorkflowExecuteMode) DeepCopy() *WorkflowExecuteMode { 152 if in == nil { 153 return nil 154 } 155 out := new(WorkflowExecuteMode) 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 *WorkflowList) DeepCopyInto(out *WorkflowList) { 162 *out = *in 163 out.TypeMeta = in.TypeMeta 164 in.ListMeta.DeepCopyInto(&out.ListMeta) 165 if in.Items != nil { 166 in, out := &in.Items, &out.Items 167 *out = make([]Workflow, len(*in)) 168 for i := range *in { 169 (*in)[i].DeepCopyInto(&(*out)[i]) 170 } 171 } 172 } 173 174 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList. 175 func (in *WorkflowList) DeepCopy() *WorkflowList { 176 if in == nil { 177 return nil 178 } 179 out := new(WorkflowList) 180 in.DeepCopyInto(out) 181 return out 182 } 183 184 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 185 func (in *WorkflowList) DeepCopyObject() runtime.Object { 186 if c := in.DeepCopy(); c != nil { 187 return c 188 } 189 return nil 190 } 191 192 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 193 func (in *WorkflowRun) DeepCopyInto(out *WorkflowRun) { 194 *out = *in 195 out.TypeMeta = in.TypeMeta 196 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 197 in.Spec.DeepCopyInto(&out.Spec) 198 in.Status.DeepCopyInto(&out.Status) 199 } 200 201 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRun. 202 func (in *WorkflowRun) DeepCopy() *WorkflowRun { 203 if in == nil { 204 return nil 205 } 206 out := new(WorkflowRun) 207 in.DeepCopyInto(out) 208 return out 209 } 210 211 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 212 func (in *WorkflowRun) DeepCopyObject() runtime.Object { 213 if c := in.DeepCopy(); c != nil { 214 return c 215 } 216 return nil 217 } 218 219 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 220 func (in *WorkflowRunList) DeepCopyInto(out *WorkflowRunList) { 221 *out = *in 222 out.TypeMeta = in.TypeMeta 223 in.ListMeta.DeepCopyInto(&out.ListMeta) 224 if in.Items != nil { 225 in, out := &in.Items, &out.Items 226 *out = make([]WorkflowRun, len(*in)) 227 for i := range *in { 228 (*in)[i].DeepCopyInto(&(*out)[i]) 229 } 230 } 231 } 232 233 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunList. 234 func (in *WorkflowRunList) DeepCopy() *WorkflowRunList { 235 if in == nil { 236 return nil 237 } 238 out := new(WorkflowRunList) 239 in.DeepCopyInto(out) 240 return out 241 } 242 243 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 244 func (in *WorkflowRunList) DeepCopyObject() runtime.Object { 245 if c := in.DeepCopy(); c != nil { 246 return c 247 } 248 return nil 249 } 250 251 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 252 func (in *WorkflowRunSpec) DeepCopyInto(out *WorkflowRunSpec) { 253 *out = *in 254 if in.Context != nil { 255 in, out := &in.Context, &out.Context 256 *out = new(runtime.RawExtension) 257 (*in).DeepCopyInto(*out) 258 } 259 if in.Mode != nil { 260 in, out := &in.Mode, &out.Mode 261 *out = new(WorkflowExecuteMode) 262 **out = **in 263 } 264 if in.WorkflowSpec != nil { 265 in, out := &in.WorkflowSpec, &out.WorkflowSpec 266 *out = new(WorkflowSpec) 267 (*in).DeepCopyInto(*out) 268 } 269 } 270 271 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunSpec. 272 func (in *WorkflowRunSpec) DeepCopy() *WorkflowRunSpec { 273 if in == nil { 274 return nil 275 } 276 out := new(WorkflowRunSpec) 277 in.DeepCopyInto(out) 278 return out 279 } 280 281 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 282 func (in *WorkflowRunStatus) DeepCopyInto(out *WorkflowRunStatus) { 283 *out = *in 284 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 285 out.Mode = in.Mode 286 if in.ContextBackend != nil { 287 in, out := &in.ContextBackend, &out.ContextBackend 288 *out = new(v1.ObjectReference) 289 **out = **in 290 } 291 if in.Steps != nil { 292 in, out := &in.Steps, &out.Steps 293 *out = make([]WorkflowStepStatus, len(*in)) 294 for i := range *in { 295 (*in)[i].DeepCopyInto(&(*out)[i]) 296 } 297 } 298 in.StartTime.DeepCopyInto(&out.StartTime) 299 in.EndTime.DeepCopyInto(&out.EndTime) 300 } 301 302 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowRunStatus. 303 func (in *WorkflowRunStatus) DeepCopy() *WorkflowRunStatus { 304 if in == nil { 305 return nil 306 } 307 out := new(WorkflowRunStatus) 308 in.DeepCopyInto(out) 309 return out 310 } 311 312 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 313 func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec) { 314 *out = *in 315 if in.Steps != nil { 316 in, out := &in.Steps, &out.Steps 317 *out = make([]WorkflowStep, len(*in)) 318 for i := range *in { 319 (*in)[i].DeepCopyInto(&(*out)[i]) 320 } 321 } 322 } 323 324 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowSpec. 325 func (in *WorkflowSpec) DeepCopy() *WorkflowSpec { 326 if in == nil { 327 return nil 328 } 329 out := new(WorkflowSpec) 330 in.DeepCopyInto(out) 331 return out 332 } 333 334 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 335 func (in *WorkflowStep) DeepCopyInto(out *WorkflowStep) { 336 *out = *in 337 in.WorkflowStepBase.DeepCopyInto(&out.WorkflowStepBase) 338 if in.SubSteps != nil { 339 in, out := &in.SubSteps, &out.SubSteps 340 *out = make([]WorkflowStepBase, len(*in)) 341 for i := range *in { 342 (*in)[i].DeepCopyInto(&(*out)[i]) 343 } 344 } 345 } 346 347 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStep. 348 func (in *WorkflowStep) DeepCopy() *WorkflowStep { 349 if in == nil { 350 return nil 351 } 352 out := new(WorkflowStep) 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 *WorkflowStepBase) DeepCopyInto(out *WorkflowStepBase) { 359 *out = *in 360 if in.Meta != nil { 361 in, out := &in.Meta, &out.Meta 362 *out = new(WorkflowStepMeta) 363 **out = **in 364 } 365 if in.DependsOn != nil { 366 in, out := &in.DependsOn, &out.DependsOn 367 *out = make([]string, len(*in)) 368 copy(*out, *in) 369 } 370 if in.Inputs != nil { 371 in, out := &in.Inputs, &out.Inputs 372 *out = make(StepInputs, len(*in)) 373 copy(*out, *in) 374 } 375 if in.Outputs != nil { 376 in, out := &in.Outputs, &out.Outputs 377 *out = make(StepOutputs, len(*in)) 378 copy(*out, *in) 379 } 380 if in.Properties != nil { 381 in, out := &in.Properties, &out.Properties 382 *out = new(runtime.RawExtension) 383 (*in).DeepCopyInto(*out) 384 } 385 } 386 387 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepBase. 388 func (in *WorkflowStepBase) DeepCopy() *WorkflowStepBase { 389 if in == nil { 390 return nil 391 } 392 out := new(WorkflowStepBase) 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 *WorkflowStepMeta) DeepCopyInto(out *WorkflowStepMeta) { 399 *out = *in 400 } 401 402 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepMeta. 403 func (in *WorkflowStepMeta) DeepCopy() *WorkflowStepMeta { 404 if in == nil { 405 return nil 406 } 407 out := new(WorkflowStepMeta) 408 in.DeepCopyInto(out) 409 return out 410 } 411 412 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 413 func (in *WorkflowStepStatus) DeepCopyInto(out *WorkflowStepStatus) { 414 *out = *in 415 in.StepStatus.DeepCopyInto(&out.StepStatus) 416 if in.SubStepsStatus != nil { 417 in, out := &in.SubStepsStatus, &out.SubStepsStatus 418 *out = make([]StepStatus, len(*in)) 419 for i := range *in { 420 (*in)[i].DeepCopyInto(&(*out)[i]) 421 } 422 } 423 } 424 425 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepStatus. 426 func (in *WorkflowStepStatus) DeepCopy() *WorkflowStepStatus { 427 if in == nil { 428 return nil 429 } 430 out := new(WorkflowStepStatus) 431 in.DeepCopyInto(out) 432 return out 433 }