github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/test/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 test 23 24 import ( 25 runtime "github.com/spotmaxtech/k8s-apimachinery-v0260/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 *List) DeepCopyInto(out *List) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ListMeta.DeepCopyInto(&out.ListMeta) 33 if in.Items != nil { 34 in, out := &in.Items, &out.Items 35 *out = make([]runtime.Object, len(*in)) 36 for i := range *in { 37 if (*in)[i] != nil { 38 (*out)[i] = (*in)[i].DeepCopyObject() 39 } 40 } 41 } 42 return 43 } 44 45 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. 46 func (in *List) DeepCopy() *List { 47 if in == nil { 48 return nil 49 } 50 out := new(List) 51 in.DeepCopyInto(out) 52 return out 53 } 54 55 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 56 func (in *List) DeepCopyObject() runtime.Object { 57 if c := in.DeepCopy(); c != nil { 58 return c 59 } 60 return nil 61 } 62 63 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 64 func (in *ListV1) DeepCopyInto(out *ListV1) { 65 *out = *in 66 out.TypeMeta = in.TypeMeta 67 in.ListMeta.DeepCopyInto(&out.ListMeta) 68 if in.Items != nil { 69 in, out := &in.Items, &out.Items 70 *out = make([]runtime.RawExtension, len(*in)) 71 for i := range *in { 72 (*in)[i].DeepCopyInto(&(*out)[i]) 73 } 74 } 75 return 76 } 77 78 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListV1. 79 func (in *ListV1) DeepCopy() *ListV1 { 80 if in == nil { 81 return nil 82 } 83 out := new(ListV1) 84 in.DeepCopyInto(out) 85 return out 86 } 87 88 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 89 func (in *ListV1) DeepCopyObject() runtime.Object { 90 if c := in.DeepCopy(); c != nil { 91 return c 92 } 93 return nil 94 }