Update generated code

This commit is contained in:
Manuel de Brito Fontes 2018-01-07 12:06:44 -03:00
parent c8c4610714
commit e803907066
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

@ -1,7 +1,7 @@
// +build !ignore_autogenerated
/*
Copyright 2017 The Kubernetes Authors.
Copyright 2018 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.
@ -22,34 +22,8 @@ package ingress
import (
v1 "k8s.io/api/core/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
reflect "reflect"
)
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*Backend).DeepCopyInto(out.(*Backend))
return nil
}, InType: reflect.TypeOf(&Backend{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*CookieSessionAffinity).DeepCopyInto(out.(*CookieSessionAffinity))
return nil
}, InType: reflect.TypeOf(&CookieSessionAffinity{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*Endpoint).DeepCopyInto(out.(*Endpoint))
return nil
}, InType: reflect.TypeOf(&Endpoint{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*SessionAffinityConfig).DeepCopyInto(out.(*SessionAffinityConfig))
return nil
}, InType: reflect.TypeOf(&SessionAffinityConfig{})},
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Backend) DeepCopyInto(out *Backend) {
*out = *in