diff --git a/internal/ingress/zz_generated.deepcopy.go b/internal/ingress/zz_generated.deepcopy.go index ad80016d0..c6f95123c 100644 --- a/internal/ingress/zz_generated.deepcopy.go +++ b/internal/ingress/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2018 The Kubernetes Authors. +Copyright 2019 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// This file was autogenerated by deepcopy-gen. Do not edit it manually! +// Code generated by deepcopy-gen. DO NOT EDIT. package ingress @@ -29,12 +29,8 @@ func (in *Backend) DeepCopyInto(out *Backend) { *out = *in if in.Service != nil { in, out := &in.Service, &out.Service - if *in == nil { - *out = nil - } else { - *out = new(v1.Service) - (*in).DeepCopyInto(*out) - } + *out = new(v1.Service) + (*in).DeepCopyInto(*out) } out.Port = in.Port out.SecureCACert = in.SecureCACert @@ -46,6 +42,13 @@ func (in *Backend) DeepCopyInto(out *Backend) { } } in.SessionAffinity.DeepCopyInto(&out.SessionAffinity) + out.UpstreamHashBy = in.UpstreamHashBy + out.TrafficShapingPolicy = in.TrafficShapingPolicy + if in.AlternativeBackends != nil { + in, out := &in.AlternativeBackends, &out.AlternativeBackends + *out = make([]string, len(*in)) + copy(*out, *in) + } return } @@ -66,12 +69,15 @@ func (in *CookieSessionAffinity) DeepCopyInto(out *CookieSessionAffinity) { in, out := &in.Locations, &out.Locations *out = make(map[string][]string, len(*in)) for key, val := range *in { + var outVal []string if val == nil { (*out)[key] = nil } else { - (*out)[key] = make([]string, len(val)) - copy((*out)[key], val) + in, out := &val, &outVal + *out = make([]string, len(*in)) + copy(*out, *in) } + (*out)[key] = outVal } } return @@ -92,12 +98,8 @@ func (in *Endpoint) DeepCopyInto(out *Endpoint) { *out = *in if in.Target != nil { in, out := &in.Target, &out.Target - if *in == nil { - *out = nil - } else { - *out = new(v1.ObjectReference) - **out = **in - } + *out = new(v1.ObjectReference) + **out = **in } return } @@ -128,3 +130,19 @@ func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficShapingPolicy) DeepCopyInto(out *TrafficShapingPolicy) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficShapingPolicy. +func (in *TrafficShapingPolicy) DeepCopy() *TrafficShapingPolicy { + if in == nil { + return nil + } + out := new(TrafficShapingPolicy) + in.DeepCopyInto(out) + return out +}