1// +build !ignore_autogenerated 2 3/* 4Copyright The Kubernetes Authors. 5 6Licensed under the Apache License, Version 2.0 (the "License"); 7you may not use this file except in compliance with the License. 8You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12Unless required by applicable law or agreed to in writing, software 13distributed under the License is distributed on an "AS IS" BASIS, 14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15See the License for the specific language governing permissions and 16limitations under the License. 17*/ 18 19// Code generated by deepcopy-gen. DO NOT EDIT. 20 21package test 22 23import ( 24 runtime "k8s.io/apimachinery/pkg/runtime" 25) 26 27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 28func (in *List) DeepCopyInto(out *List) { 29 *out = *in 30 out.TypeMeta = in.TypeMeta 31 in.ListMeta.DeepCopyInto(&out.ListMeta) 32 if in.Items != nil { 33 in, out := &in.Items, &out.Items 34 *out = make([]runtime.Object, len(*in)) 35 for i := range *in { 36 if (*in)[i] != nil { 37 (*out)[i] = (*in)[i].DeepCopyObject() 38 } 39 } 40 } 41 return 42} 43 44// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. 45func (in *List) DeepCopy() *List { 46 if in == nil { 47 return nil 48 } 49 out := new(List) 50 in.DeepCopyInto(out) 51 return out 52} 53 54// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 55func (in *List) DeepCopyObject() runtime.Object { 56 if c := in.DeepCopy(); c != nil { 57 return c 58 } 59 return nil 60} 61 62// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 63func (in *ListV1) DeepCopyInto(out *ListV1) { 64 *out = *in 65 out.TypeMeta = in.TypeMeta 66 in.ListMeta.DeepCopyInto(&out.ListMeta) 67 if in.Items != nil { 68 in, out := &in.Items, &out.Items 69 *out = make([]runtime.RawExtension, len(*in)) 70 for i := range *in { 71 (*in)[i].DeepCopyInto(&(*out)[i]) 72 } 73 } 74 return 75} 76 77// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListV1. 78func (in *ListV1) DeepCopy() *ListV1 { 79 if in == nil { 80 return nil 81 } 82 out := new(ListV1) 83 in.DeepCopyInto(out) 84 return out 85} 86 87// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 88func (in *ListV1) DeepCopyObject() runtime.Object { 89 if c := in.DeepCopy(); c != nil { 90 return c 91 } 92 return nil 93} 94