github.com/galaxyobe/gen@v0.0.0-20220910125335-392fa8f0990f/cmd/deepcopy-gen/output_tests/structs/deepcopy_generated.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes 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 structs 23 24 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 25 func (in *Inner) DeepCopyInto(out *Inner) { 26 *out = *in 27 return 28 } 29 30 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inner. 31 func (in *Inner) DeepCopy() *Inner { 32 if in == nil { 33 return nil 34 } 35 out := new(Inner) 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 *Ttest) DeepCopyInto(out *Ttest) { 42 *out = *in 43 out.Inner1 = in.Inner1 44 out.Inner2 = in.Inner2 45 return 46 } 47 48 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ttest. 49 func (in *Ttest) DeepCopy() *Ttest { 50 if in == nil { 51 return nil 52 } 53 out := new(Ttest) 54 in.DeepCopyInto(out) 55 return out 56 }