Update generated code

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-05-13 22:55:22 -04:00
parent be2792c5f9
commit 89c157c63b
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

@ -1,7 +1,7 @@
// +build !ignore_autogenerated // +build !ignore_autogenerated
/* /*
Copyright 2018 The Kubernetes Authors. Copyright 2019 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with 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. 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 package ingress
@ -29,13 +29,9 @@ func (in *Backend) DeepCopyInto(out *Backend) {
*out = *in *out = *in
if in.Service != nil { if in.Service != nil {
in, out := &in.Service, &out.Service in, out := &in.Service, &out.Service
if *in == nil {
*out = nil
} else {
*out = new(v1.Service) *out = new(v1.Service)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
out.Port = in.Port out.Port = in.Port
out.SecureCACert = in.SecureCACert out.SecureCACert = in.SecureCACert
if in.Endpoints != nil { if in.Endpoints != nil {
@ -46,6 +42,13 @@ func (in *Backend) DeepCopyInto(out *Backend) {
} }
} }
in.SessionAffinity.DeepCopyInto(&out.SessionAffinity) 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 return
} }
@ -66,12 +69,15 @@ func (in *CookieSessionAffinity) DeepCopyInto(out *CookieSessionAffinity) {
in, out := &in.Locations, &out.Locations in, out := &in.Locations, &out.Locations
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return
@ -92,13 +98,9 @@ func (in *Endpoint) DeepCopyInto(out *Endpoint) {
*out = *in *out = *in
if in.Target != nil { if in.Target != nil {
in, out := &in.Target, &out.Target in, out := &in.Target, &out.Target
if *in == nil {
*out = nil
} else {
*out = new(v1.ObjectReference) *out = new(v1.ObjectReference)
**out = **in **out = **in
} }
}
return return
} }
@ -128,3 +130,19 @@ func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig {
in.DeepCopyInto(out) in.DeepCopyInto(out)
return 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
}