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
/*
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,13 +29,9 @@ 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.Port = in.Port
out.SecureCACert = in.SecureCACert
if in.Endpoints != nil {
@ -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,13 +98,9 @@ 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
}
}
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
}