k8s.io/kubernetes@v1.29.3/pkg/controller/garbagecollector/metaonly/zz_generated.deepcopy.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 metaonly 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 *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 return 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject. 37 func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject { 38 if in == nil { 39 return nil 40 } 41 out := new(MetadataOnlyObject) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList) { 56 *out = *in 57 out.TypeMeta = in.TypeMeta 58 in.ListMeta.DeepCopyInto(&out.ListMeta) 59 if in.Items != nil { 60 in, out := &in.Items, &out.Items 61 *out = make([]MetadataOnlyObject, len(*in)) 62 for i := range *in { 63 (*in)[i].DeepCopyInto(&(*out)[i]) 64 } 65 } 66 return 67 } 68 69 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList. 70 func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList { 71 if in == nil { 72 return nil 73 } 74 out := new(MetadataOnlyObjectList) 75 in.DeepCopyInto(out) 76 return out 77 } 78 79 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 80 func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object { 81 if c := in.DeepCopy(); c != nil { 82 return c 83 } 84 return nil 85 }