github.com/kubevela/workflow@v0.6.0/api/condition/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 condition 23 24 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 25 func (in *Condition) DeepCopyInto(out *Condition) { 26 *out = *in 27 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 28 } 29 30 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 31 func (in *Condition) DeepCopy() *Condition { 32 if in == nil { 33 return nil 34 } 35 out := new(Condition) 36 in.DeepCopyInto(out) 37 return out 38 } 39 40 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 41 func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus) { 42 *out = *in 43 if in.Conditions != nil { 44 in, out := &in.Conditions, &out.Conditions 45 *out = make([]Condition, len(*in)) 46 for i := range *in { 47 (*in)[i].DeepCopyInto(&(*out)[i]) 48 } 49 } 50 } 51 52 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionedStatus. 53 func (in *ConditionedStatus) DeepCopy() *ConditionedStatus { 54 if in == nil { 55 return nil 56 } 57 out := new(ConditionedStatus) 58 in.DeepCopyInto(out) 59 return out 60 }