Update generated files

Kubernetes-commit: 1208437f84304ef4f73a6bf1770786bb436b75c9
This commit is contained in:
Dr. Stefan Schimanski
2018-06-13 09:53:47 +02:00
committed by Kubernetes Publisher
parent 715f1319cb
commit 9f7f556240
6 changed files with 58 additions and 89 deletions

View File

@@ -31,13 +31,9 @@ func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil {
*out = nil
} else {
*out = new(ExecCredentialStatus) *out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
return return
} }
@@ -64,13 +60,9 @@ func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
*out = *in *out = *in
if in.Response != nil { if in.Response != nil {
in, out := &in.Response, &out.Response in, out := &in.Response, &out.Response
if *in == nil {
*out = nil
} else {
*out = new(Response) *out = new(Response)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
return return
} }
@@ -89,12 +81,8 @@ func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in *out = *in
if in.ExpirationTimestamp != nil { if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
if *in == nil {
*out = nil
} else {
*out = (*in).DeepCopy() *out = (*in).DeepCopy()
} }
}
return return
} }
@@ -115,12 +103,15 @@ func (in *Response) DeepCopyInto(out *Response) {
in, out := &in.Header, &out.Header in, out := &in.Header, &out.Header
*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

View File

@@ -31,13 +31,9 @@ func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
out.Spec = in.Spec out.Spec = in.Spec
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil {
*out = nil
} else {
*out = new(ExecCredentialStatus) *out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
return return
} }
@@ -80,12 +76,8 @@ func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in *out = *in
if in.ExpirationTimestamp != nil { if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
if *in == nil {
*out = nil
} else {
*out = (*in).DeepCopy() *out = (*in).DeepCopy()
} }
}
return return
} }

View File

@@ -31,13 +31,9 @@ func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil {
*out = nil
} else {
*out = new(ExecCredentialStatus) *out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
return return
} }
@@ -64,13 +60,9 @@ func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
*out = *in *out = *in
if in.Response != nil { if in.Response != nil {
in, out := &in.Response, &out.Response in, out := &in.Response, &out.Response
if *in == nil {
*out = nil
} else {
*out = new(Response) *out = new(Response)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
return return
} }
@@ -89,12 +81,8 @@ func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in *out = *in
if in.ExpirationTimestamp != nil { if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
if *in == nil {
*out = nil
} else {
*out = (*in).DeepCopy() *out = (*in).DeepCopy()
} }
}
return return
} }
@@ -115,12 +103,15 @@ func (in *Response) DeepCopyInto(out *Response) {
in, out := &in.Header, &out.Header in, out := &in.Header, &out.Header
*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

View File

@@ -74,13 +74,9 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil {
*out = nil
} else {
*out = new(v1.LabelSelector) *out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
return return
} }

View File

@@ -46,32 +46,27 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
*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
} }
} }
if in.AuthProvider != nil { if in.AuthProvider != nil {
in, out := &in.AuthProvider, &out.AuthProvider in, out := &in.AuthProvider, &out.AuthProvider
if *in == nil {
*out = nil
} else {
*out = new(AuthProviderConfig) *out = new(AuthProviderConfig)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
if in.Exec != nil { if in.Exec != nil {
in, out := &in.Exec, &out.Exec in, out := &in.Exec, &out.Exec
if *in == nil {
*out = nil
} else {
*out = new(ExecConfig) *out = new(ExecConfig)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
if in.Extensions != nil { if in.Extensions != nil {
in, out := &in.Extensions, &out.Extensions in, out := &in.Extensions, &out.Extensions
*out = make([]NamedExtension, len(*in)) *out = make([]NamedExtension, len(*in))

View File

@@ -46,32 +46,27 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
*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
} }
} }
if in.AuthProvider != nil { if in.AuthProvider != nil {
in, out := &in.AuthProvider, &out.AuthProvider in, out := &in.AuthProvider, &out.AuthProvider
if *in == nil {
*out = nil
} else {
*out = new(AuthProviderConfig) *out = new(AuthProviderConfig)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
if in.Exec != nil { if in.Exec != nil {
in, out := &in.Exec, &out.Exec in, out := &in.Exec, &out.Exec
if *in == nil {
*out = nil
} else {
*out = new(ExecConfig) *out = new(ExecConfig)
(*in).DeepCopyInto(*out) (*in).DeepCopyInto(*out)
} }
}
if in.Extensions != nil { if in.Extensions != nil {
in, out := &in.Extensions, &out.Extensions in, out := &in.Extensions, &out.Extensions
*out = make(map[string]runtime.Object, len(*in)) *out = make(map[string]runtime.Object, len(*in))
@@ -159,36 +154,45 @@ func (in *Config) DeepCopyInto(out *Config) {
in, out := &in.Clusters, &out.Clusters in, out := &in.Clusters, &out.Clusters
*out = make(map[string]*Cluster, len(*in)) *out = make(map[string]*Cluster, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *Cluster
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(Cluster) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(Cluster)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.AuthInfos != nil { if in.AuthInfos != nil {
in, out := &in.AuthInfos, &out.AuthInfos in, out := &in.AuthInfos, &out.AuthInfos
*out = make(map[string]*AuthInfo, len(*in)) *out = make(map[string]*AuthInfo, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *AuthInfo
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(AuthInfo) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(AuthInfo)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.Contexts != nil { if in.Contexts != nil {
in, out := &in.Contexts, &out.Contexts in, out := &in.Contexts, &out.Contexts
*out = make(map[string]*Context, len(*in)) *out = make(map[string]*Context, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *Context
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(Context) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(Context)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.Extensions != nil { if in.Extensions != nil {