mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-13 01:53:00 +08:00
91ef013bbe
Automatic merge from submit-queue (batch tested with PRs 64895, 64938, 63700, 65050, 64957). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Bump gengo to include uniform pointer deepcopy This bumps k8s.io/gengo with uniform pointer support in deepcopy-gen. Fixes https://github.com/kubernetes/code-generator/issues/45. Kubernetes-commit: d1f5cb2348dfaeabe26ff5539b05568ab6f8a830
129 lines
3.5 KiB
Go
129 lines
3.5 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 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.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
|
|
|
package clientauthentication
|
|
|
|
import (
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
if in.Status != nil {
|
|
in, out := &in.Status, &out.Status
|
|
*out = new(ExecCredentialStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredential.
|
|
func (in *ExecCredential) DeepCopy() *ExecCredential {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecCredential)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ExecCredential) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
|
|
*out = *in
|
|
if in.Response != nil {
|
|
in, out := &in.Response, &out.Response
|
|
*out = new(Response)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialSpec.
|
|
func (in *ExecCredentialSpec) DeepCopy() *ExecCredentialSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecCredentialSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
|
|
*out = *in
|
|
if in.ExpirationTimestamp != nil {
|
|
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialStatus.
|
|
func (in *ExecCredentialStatus) DeepCopy() *ExecCredentialStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecCredentialStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Response) DeepCopyInto(out *Response) {
|
|
*out = *in
|
|
if in.Header != nil {
|
|
in, out := &in.Header, &out.Header
|
|
*out = make(map[string][]string, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []string
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response.
|
|
func (in *Response) DeepCopy() *Response {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Response)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|