k8s.io/client-go@v0.22.2/pkg/apis/clientauthentication/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 /* 4 Copyright The Kubernetes Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 // Code generated by deepcopy-gen. DO NOT EDIT. 20 21 package clientauthentication 22 23 import ( 24 runtime "k8s.io/apimachinery/pkg/runtime" 25 ) 26 27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 28 func (in *Cluster) DeepCopyInto(out *Cluster) { 29 *out = *in 30 if in.CertificateAuthorityData != nil { 31 in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData 32 *out = make([]byte, len(*in)) 33 copy(*out, *in) 34 } 35 if in.Config != nil { 36 out.Config = in.Config.DeepCopyObject() 37 } 38 return 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. 42 func (in *Cluster) DeepCopy() *Cluster { 43 if in == nil { 44 return nil 45 } 46 out := new(Cluster) 47 in.DeepCopyInto(out) 48 return out 49 } 50 51 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 52 func (in *ExecCredential) DeepCopyInto(out *ExecCredential) { 53 *out = *in 54 out.TypeMeta = in.TypeMeta 55 in.Spec.DeepCopyInto(&out.Spec) 56 if in.Status != nil { 57 in, out := &in.Status, &out.Status 58 *out = new(ExecCredentialStatus) 59 (*in).DeepCopyInto(*out) 60 } 61 return 62 } 63 64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredential. 65 func (in *ExecCredential) DeepCopy() *ExecCredential { 66 if in == nil { 67 return nil 68 } 69 out := new(ExecCredential) 70 in.DeepCopyInto(out) 71 return out 72 } 73 74 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 75 func (in *ExecCredential) DeepCopyObject() runtime.Object { 76 if c := in.DeepCopy(); c != nil { 77 return c 78 } 79 return nil 80 } 81 82 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 83 func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) { 84 *out = *in 85 if in.Response != nil { 86 in, out := &in.Response, &out.Response 87 *out = new(Response) 88 (*in).DeepCopyInto(*out) 89 } 90 if in.Cluster != nil { 91 in, out := &in.Cluster, &out.Cluster 92 *out = new(Cluster) 93 (*in).DeepCopyInto(*out) 94 } 95 return 96 } 97 98 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialSpec. 99 func (in *ExecCredentialSpec) DeepCopy() *ExecCredentialSpec { 100 if in == nil { 101 return nil 102 } 103 out := new(ExecCredentialSpec) 104 in.DeepCopyInto(out) 105 return out 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) { 110 *out = *in 111 if in.ExpirationTimestamp != nil { 112 in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp 113 *out = (*in).DeepCopy() 114 } 115 return 116 } 117 118 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialStatus. 119 func (in *ExecCredentialStatus) DeepCopy() *ExecCredentialStatus { 120 if in == nil { 121 return nil 122 } 123 out := new(ExecCredentialStatus) 124 in.DeepCopyInto(out) 125 return out 126 } 127 128 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 129 func (in *Response) DeepCopyInto(out *Response) { 130 *out = *in 131 if in.Header != nil { 132 in, out := &in.Header, &out.Header 133 *out = make(map[string][]string, len(*in)) 134 for key, val := range *in { 135 var outVal []string 136 if val == nil { 137 (*out)[key] = nil 138 } else { 139 in, out := &val, &outVal 140 *out = make([]string, len(*in)) 141 copy(*out, *in) 142 } 143 (*out)[key] = outVal 144 } 145 } 146 return 147 } 148 149 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response. 150 func (in *Response) DeepCopy() *Response { 151 if in == nil { 152 return nil 153 } 154 out := new(Response) 155 in.DeepCopyInto(out) 156 return out 157 }