Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1beta1 |
| 22 | |
| 23 | import ( |
| 24 | v1 "k8s.io/api/core/v1" |
| 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 *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) { |
| 30 | *out = *in |
| 31 | if in.PathType != nil { |
| 32 | in, out := &in.PathType, &out.PathType |
| 33 | *out = new(PathType) |
| 34 | **out = **in |
| 35 | } |
| 36 | in.Backend.DeepCopyInto(&out.Backend) |
| 37 | return |
| 38 | } |
| 39 | |
| 40 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath. |
| 41 | func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath { |
| 42 | if in == nil { |
| 43 | return nil |
| 44 | } |
| 45 | out := new(HTTPIngressPath) |
| 46 | in.DeepCopyInto(out) |
| 47 | return out |
| 48 | } |
| 49 | |
| 50 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 51 | func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) { |
| 52 | *out = *in |
| 53 | if in.Paths != nil { |
| 54 | in, out := &in.Paths, &out.Paths |
| 55 | *out = make([]HTTPIngressPath, len(*in)) |
| 56 | for i := range *in { |
| 57 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 58 | } |
| 59 | } |
| 60 | return |
| 61 | } |
| 62 | |
| 63 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue. |
| 64 | func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue { |
| 65 | if in == nil { |
| 66 | return nil |
| 67 | } |
| 68 | out := new(HTTPIngressRuleValue) |
| 69 | in.DeepCopyInto(out) |
| 70 | return out |
| 71 | } |
| 72 | |
| 73 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 74 | func (in *Ingress) DeepCopyInto(out *Ingress) { |
| 75 | *out = *in |
| 76 | out.TypeMeta = in.TypeMeta |
| 77 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 78 | in.Spec.DeepCopyInto(&out.Spec) |
| 79 | in.Status.DeepCopyInto(&out.Status) |
| 80 | return |
| 81 | } |
| 82 | |
| 83 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress. |
| 84 | func (in *Ingress) DeepCopy() *Ingress { |
| 85 | if in == nil { |
| 86 | return nil |
| 87 | } |
| 88 | out := new(Ingress) |
| 89 | in.DeepCopyInto(out) |
| 90 | return out |
| 91 | } |
| 92 | |
| 93 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 94 | func (in *Ingress) DeepCopyObject() runtime.Object { |
| 95 | if c := in.DeepCopy(); c != nil { |
| 96 | return c |
| 97 | } |
| 98 | return nil |
| 99 | } |
| 100 | |
| 101 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 102 | func (in *IngressBackend) DeepCopyInto(out *IngressBackend) { |
| 103 | *out = *in |
| 104 | out.ServicePort = in.ServicePort |
| 105 | if in.Resource != nil { |
| 106 | in, out := &in.Resource, &out.Resource |
| 107 | *out = new(v1.TypedLocalObjectReference) |
| 108 | (*in).DeepCopyInto(*out) |
| 109 | } |
| 110 | return |
| 111 | } |
| 112 | |
| 113 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend. |
| 114 | func (in *IngressBackend) DeepCopy() *IngressBackend { |
| 115 | if in == nil { |
| 116 | return nil |
| 117 | } |
| 118 | out := new(IngressBackend) |
| 119 | in.DeepCopyInto(out) |
| 120 | return out |
| 121 | } |
| 122 | |
| 123 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 124 | func (in *IngressClass) DeepCopyInto(out *IngressClass) { |
| 125 | *out = *in |
| 126 | out.TypeMeta = in.TypeMeta |
| 127 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 128 | in.Spec.DeepCopyInto(&out.Spec) |
| 129 | return |
| 130 | } |
| 131 | |
| 132 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass. |
| 133 | func (in *IngressClass) DeepCopy() *IngressClass { |
| 134 | if in == nil { |
| 135 | return nil |
| 136 | } |
| 137 | out := new(IngressClass) |
| 138 | in.DeepCopyInto(out) |
| 139 | return out |
| 140 | } |
| 141 | |
| 142 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 143 | func (in *IngressClass) DeepCopyObject() runtime.Object { |
| 144 | if c := in.DeepCopy(); c != nil { |
| 145 | return c |
| 146 | } |
| 147 | return nil |
| 148 | } |
| 149 | |
| 150 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 151 | func (in *IngressClassList) DeepCopyInto(out *IngressClassList) { |
| 152 | *out = *in |
| 153 | out.TypeMeta = in.TypeMeta |
| 154 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 155 | if in.Items != nil { |
| 156 | in, out := &in.Items, &out.Items |
| 157 | *out = make([]IngressClass, len(*in)) |
| 158 | for i := range *in { |
| 159 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 160 | } |
| 161 | } |
| 162 | return |
| 163 | } |
| 164 | |
| 165 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList. |
| 166 | func (in *IngressClassList) DeepCopy() *IngressClassList { |
| 167 | if in == nil { |
| 168 | return nil |
| 169 | } |
| 170 | out := new(IngressClassList) |
| 171 | in.DeepCopyInto(out) |
| 172 | return out |
| 173 | } |
| 174 | |
| 175 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 176 | func (in *IngressClassList) DeepCopyObject() runtime.Object { |
| 177 | if c := in.DeepCopy(); c != nil { |
| 178 | return c |
| 179 | } |
| 180 | return nil |
| 181 | } |
| 182 | |
| 183 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 184 | func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) { |
| 185 | *out = *in |
| 186 | if in.Parameters != nil { |
| 187 | in, out := &in.Parameters, &out.Parameters |
| 188 | *out = new(v1.TypedLocalObjectReference) |
| 189 | (*in).DeepCopyInto(*out) |
| 190 | } |
| 191 | return |
| 192 | } |
| 193 | |
| 194 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec. |
| 195 | func (in *IngressClassSpec) DeepCopy() *IngressClassSpec { |
| 196 | if in == nil { |
| 197 | return nil |
| 198 | } |
| 199 | out := new(IngressClassSpec) |
| 200 | in.DeepCopyInto(out) |
| 201 | return out |
| 202 | } |
| 203 | |
| 204 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 205 | func (in *IngressList) DeepCopyInto(out *IngressList) { |
| 206 | *out = *in |
| 207 | out.TypeMeta = in.TypeMeta |
| 208 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 209 | if in.Items != nil { |
| 210 | in, out := &in.Items, &out.Items |
| 211 | *out = make([]Ingress, len(*in)) |
| 212 | for i := range *in { |
| 213 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 214 | } |
| 215 | } |
| 216 | return |
| 217 | } |
| 218 | |
| 219 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList. |
| 220 | func (in *IngressList) DeepCopy() *IngressList { |
| 221 | if in == nil { |
| 222 | return nil |
| 223 | } |
| 224 | out := new(IngressList) |
| 225 | in.DeepCopyInto(out) |
| 226 | return out |
| 227 | } |
| 228 | |
| 229 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 230 | func (in *IngressList) DeepCopyObject() runtime.Object { |
| 231 | if c := in.DeepCopy(); c != nil { |
| 232 | return c |
| 233 | } |
| 234 | return nil |
| 235 | } |
| 236 | |
| 237 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 238 | func (in *IngressRule) DeepCopyInto(out *IngressRule) { |
| 239 | *out = *in |
| 240 | in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue) |
| 241 | return |
| 242 | } |
| 243 | |
| 244 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. |
| 245 | func (in *IngressRule) DeepCopy() *IngressRule { |
| 246 | if in == nil { |
| 247 | return nil |
| 248 | } |
| 249 | out := new(IngressRule) |
| 250 | in.DeepCopyInto(out) |
| 251 | return out |
| 252 | } |
| 253 | |
| 254 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 255 | func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) { |
| 256 | *out = *in |
| 257 | if in.HTTP != nil { |
| 258 | in, out := &in.HTTP, &out.HTTP |
| 259 | *out = new(HTTPIngressRuleValue) |
| 260 | (*in).DeepCopyInto(*out) |
| 261 | } |
| 262 | return |
| 263 | } |
| 264 | |
| 265 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue. |
| 266 | func (in *IngressRuleValue) DeepCopy() *IngressRuleValue { |
| 267 | if in == nil { |
| 268 | return nil |
| 269 | } |
| 270 | out := new(IngressRuleValue) |
| 271 | in.DeepCopyInto(out) |
| 272 | return out |
| 273 | } |
| 274 | |
| 275 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 276 | func (in *IngressSpec) DeepCopyInto(out *IngressSpec) { |
| 277 | *out = *in |
| 278 | if in.IngressClassName != nil { |
| 279 | in, out := &in.IngressClassName, &out.IngressClassName |
| 280 | *out = new(string) |
| 281 | **out = **in |
| 282 | } |
| 283 | if in.Backend != nil { |
| 284 | in, out := &in.Backend, &out.Backend |
| 285 | *out = new(IngressBackend) |
| 286 | (*in).DeepCopyInto(*out) |
| 287 | } |
| 288 | if in.TLS != nil { |
| 289 | in, out := &in.TLS, &out.TLS |
| 290 | *out = make([]IngressTLS, len(*in)) |
| 291 | for i := range *in { |
| 292 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 293 | } |
| 294 | } |
| 295 | if in.Rules != nil { |
| 296 | in, out := &in.Rules, &out.Rules |
| 297 | *out = make([]IngressRule, len(*in)) |
| 298 | for i := range *in { |
| 299 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 300 | } |
| 301 | } |
| 302 | return |
| 303 | } |
| 304 | |
| 305 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec. |
| 306 | func (in *IngressSpec) DeepCopy() *IngressSpec { |
| 307 | if in == nil { |
| 308 | return nil |
| 309 | } |
| 310 | out := new(IngressSpec) |
| 311 | in.DeepCopyInto(out) |
| 312 | return out |
| 313 | } |
| 314 | |
| 315 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 316 | func (in *IngressStatus) DeepCopyInto(out *IngressStatus) { |
| 317 | *out = *in |
| 318 | in.LoadBalancer.DeepCopyInto(&out.LoadBalancer) |
| 319 | return |
| 320 | } |
| 321 | |
| 322 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus. |
| 323 | func (in *IngressStatus) DeepCopy() *IngressStatus { |
| 324 | if in == nil { |
| 325 | return nil |
| 326 | } |
| 327 | out := new(IngressStatus) |
| 328 | in.DeepCopyInto(out) |
| 329 | return out |
| 330 | } |
| 331 | |
| 332 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 333 | func (in *IngressTLS) DeepCopyInto(out *IngressTLS) { |
| 334 | *out = *in |
| 335 | if in.Hosts != nil { |
| 336 | in, out := &in.Hosts, &out.Hosts |
| 337 | *out = make([]string, len(*in)) |
| 338 | copy(*out, *in) |
| 339 | } |
| 340 | return |
| 341 | } |
| 342 | |
| 343 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS. |
| 344 | func (in *IngressTLS) DeepCopy() *IngressTLS { |
| 345 | if in == nil { |
| 346 | return nil |
| 347 | } |
| 348 | out := new(IngressTLS) |
| 349 | in.DeepCopyInto(out) |
| 350 | return out |
| 351 | } |