github.com/tototoman/operator-sdk@v0.8.2/test/test-framework/pkg/apis/cache/v1alpha1/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 // Code generated by deepcopy-gen. DO NOT EDIT. 4 5 package v1alpha1 6 7 import ( 8 runtime "k8s.io/apimachinery/pkg/runtime" 9 ) 10 11 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 12 func (in *Memcached) DeepCopyInto(out *Memcached) { 13 *out = *in 14 out.TypeMeta = in.TypeMeta 15 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 16 out.Spec = in.Spec 17 in.Status.DeepCopyInto(&out.Status) 18 return 19 } 20 21 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memcached. 22 func (in *Memcached) DeepCopy() *Memcached { 23 if in == nil { 24 return nil 25 } 26 out := new(Memcached) 27 in.DeepCopyInto(out) 28 return out 29 } 30 31 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 32 func (in *Memcached) DeepCopyObject() runtime.Object { 33 if c := in.DeepCopy(); c != nil { 34 return c 35 } 36 return nil 37 } 38 39 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 40 func (in *MemcachedList) DeepCopyInto(out *MemcachedList) { 41 *out = *in 42 out.TypeMeta = in.TypeMeta 43 out.ListMeta = in.ListMeta 44 if in.Items != nil { 45 in, out := &in.Items, &out.Items 46 *out = make([]Memcached, len(*in)) 47 for i := range *in { 48 (*in)[i].DeepCopyInto(&(*out)[i]) 49 } 50 } 51 return 52 } 53 54 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedList. 55 func (in *MemcachedList) DeepCopy() *MemcachedList { 56 if in == nil { 57 return nil 58 } 59 out := new(MemcachedList) 60 in.DeepCopyInto(out) 61 return out 62 } 63 64 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 65 func (in *MemcachedList) DeepCopyObject() runtime.Object { 66 if c := in.DeepCopy(); c != nil { 67 return c 68 } 69 return nil 70 } 71 72 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 73 func (in *MemcachedRS) DeepCopyInto(out *MemcachedRS) { 74 *out = *in 75 out.TypeMeta = in.TypeMeta 76 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 77 out.Spec = in.Spec 78 in.Status.DeepCopyInto(&out.Status) 79 return 80 } 81 82 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedRS. 83 func (in *MemcachedRS) DeepCopy() *MemcachedRS { 84 if in == nil { 85 return nil 86 } 87 out := new(MemcachedRS) 88 in.DeepCopyInto(out) 89 return out 90 } 91 92 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 93 func (in *MemcachedRS) DeepCopyObject() runtime.Object { 94 if c := in.DeepCopy(); c != nil { 95 return c 96 } 97 return nil 98 } 99 100 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 101 func (in *MemcachedRSList) DeepCopyInto(out *MemcachedRSList) { 102 *out = *in 103 out.TypeMeta = in.TypeMeta 104 out.ListMeta = in.ListMeta 105 if in.Items != nil { 106 in, out := &in.Items, &out.Items 107 *out = make([]MemcachedRS, len(*in)) 108 for i := range *in { 109 (*in)[i].DeepCopyInto(&(*out)[i]) 110 } 111 } 112 return 113 } 114 115 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedRSList. 116 func (in *MemcachedRSList) DeepCopy() *MemcachedRSList { 117 if in == nil { 118 return nil 119 } 120 out := new(MemcachedRSList) 121 in.DeepCopyInto(out) 122 return out 123 } 124 125 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 126 func (in *MemcachedRSList) DeepCopyObject() runtime.Object { 127 if c := in.DeepCopy(); c != nil { 128 return c 129 } 130 return nil 131 } 132 133 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 134 func (in *MemcachedRSSpec) DeepCopyInto(out *MemcachedRSSpec) { 135 *out = *in 136 return 137 } 138 139 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedRSSpec. 140 func (in *MemcachedRSSpec) DeepCopy() *MemcachedRSSpec { 141 if in == nil { 142 return nil 143 } 144 out := new(MemcachedRSSpec) 145 in.DeepCopyInto(out) 146 return out 147 } 148 149 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 150 func (in *MemcachedRSStatus) DeepCopyInto(out *MemcachedRSStatus) { 151 *out = *in 152 if in.NodeList != nil { 153 in, out := &in.NodeList, &out.NodeList 154 *out = make([]string, len(*in)) 155 copy(*out, *in) 156 } 157 return 158 } 159 160 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedRSStatus. 161 func (in *MemcachedRSStatus) DeepCopy() *MemcachedRSStatus { 162 if in == nil { 163 return nil 164 } 165 out := new(MemcachedRSStatus) 166 in.DeepCopyInto(out) 167 return out 168 } 169 170 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 171 func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { 172 *out = *in 173 return 174 } 175 176 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedSpec. 177 func (in *MemcachedSpec) DeepCopy() *MemcachedSpec { 178 if in == nil { 179 return nil 180 } 181 out := new(MemcachedSpec) 182 in.DeepCopyInto(out) 183 return out 184 } 185 186 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 187 func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus) { 188 *out = *in 189 if in.Nodes != nil { 190 in, out := &in.Nodes, &out.Nodes 191 *out = make([]string, len(*in)) 192 copy(*out, *in) 193 } 194 return 195 } 196 197 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedStatus. 198 func (in *MemcachedStatus) DeepCopy() *MemcachedStatus { 199 if in == nil { 200 return nil 201 } 202 out := new(MemcachedStatus) 203 in.DeepCopyInto(out) 204 return out 205 }