update generated deepcopy code

Kubernetes-commit: a1c880ece3574a2c7170e0d040489d56dd912e08
This commit is contained in:
supereagle
2017-07-31 22:33:00 +08:00
committed by Kubernetes Publisher
parent d2d99774f7
commit 3baab95e2e
3 changed files with 81 additions and 77 deletions

View File

@@ -25,7 +25,9 @@ import (
reflect "reflect"
)
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
// 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 {
@@ -56,12 +58,12 @@ func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig.
func (x *TLSClientConfig) DeepCopy() *TLSClientConfig {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig.
func (in *TLSClientConfig) DeepCopy() *TLSClientConfig {
if in == nil {
return nil
}
out := new(TLSClientConfig)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}