1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
30 if in.ClientCertificateData != nil {
31 in, out := &in.ClientCertificateData, &out.ClientCertificateData
32 *out = make([]byte, len(*in))
35 if in.ClientKeyData != nil {
36 in, out := &in.ClientKeyData, &out.ClientKeyData
37 *out = make([]byte, len(*in))
40 if in.ImpersonateGroups != nil {
41 in, out := &in.ImpersonateGroups, &out.ImpersonateGroups
42 *out = make([]string, len(*in))
45 if in.ImpersonateUserExtra != nil {
46 in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
47 *out = make(map[string][]string, len(*in))
48 for key, val := range *in {
53 in, out := &val, &outVal
54 *out = make([]string, len(*in))
60 if in.AuthProvider != nil {
61 in, out := &in.AuthProvider, &out.AuthProvider
62 *out = new(AuthProviderConfig)
63 (*in).DeepCopyInto(*out)
66 in, out := &in.Exec, &out.Exec
67 *out = new(ExecConfig)
68 (*in).DeepCopyInto(*out)
70 if in.Extensions != nil {
71 in, out := &in.Extensions, &out.Extensions
72 *out = make(map[string]runtime.Object, len(*in))
73 for key, val := range *in {
77 (*out)[key] = val.DeepCopyObject()
84 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo.
85 func (in *AuthInfo) DeepCopy() *AuthInfo {
94 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
95 func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) {
98 in, out := &in.Config, &out.Config
99 *out = make(map[string]string, len(*in))
100 for key, val := range *in {
107 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig.
108 func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig {
112 out := new(AuthProviderConfig)
117 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
118 func (in *Cluster) DeepCopyInto(out *Cluster) {
120 if in.CertificateAuthorityData != nil {
121 in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData
122 *out = make([]byte, len(*in))
125 if in.Extensions != nil {
126 in, out := &in.Extensions, &out.Extensions
127 *out = make(map[string]runtime.Object, len(*in))
128 for key, val := range *in {
132 (*out)[key] = val.DeepCopyObject()
139 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
140 func (in *Cluster) DeepCopy() *Cluster {
149 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
150 func (in *Config) DeepCopyInto(out *Config) {
152 in.Preferences.DeepCopyInto(&out.Preferences)
153 if in.Clusters != nil {
154 in, out := &in.Clusters, &out.Clusters
155 *out = make(map[string]*Cluster, len(*in))
156 for key, val := range *in {
161 in, out := &val, &outVal
163 (*in).DeepCopyInto(*out)
168 if in.AuthInfos != nil {
169 in, out := &in.AuthInfos, &out.AuthInfos
170 *out = make(map[string]*AuthInfo, len(*in))
171 for key, val := range *in {
176 in, out := &val, &outVal
178 (*in).DeepCopyInto(*out)
183 if in.Contexts != nil {
184 in, out := &in.Contexts, &out.Contexts
185 *out = make(map[string]*Context, len(*in))
186 for key, val := range *in {
191 in, out := &val, &outVal
193 (*in).DeepCopyInto(*out)
198 if in.Extensions != nil {
199 in, out := &in.Extensions, &out.Extensions
200 *out = make(map[string]runtime.Object, len(*in))
201 for key, val := range *in {
205 (*out)[key] = val.DeepCopyObject()
212 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
213 func (in *Config) DeepCopy() *Config {
222 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
223 func (in *Config) DeepCopyObject() runtime.Object {
224 if c := in.DeepCopy(); c != nil {
230 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
231 func (in *Context) DeepCopyInto(out *Context) {
233 if in.Extensions != nil {
234 in, out := &in.Extensions, &out.Extensions
235 *out = make(map[string]runtime.Object, len(*in))
236 for key, val := range *in {
240 (*out)[key] = val.DeepCopyObject()
247 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context.
248 func (in *Context) DeepCopy() *Context {
257 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
258 func (in *ExecConfig) DeepCopyInto(out *ExecConfig) {
261 in, out := &in.Args, &out.Args
262 *out = make([]string, len(*in))
266 in, out := &in.Env, &out.Env
267 *out = make([]ExecEnvVar, len(*in))
273 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecConfig.
274 func (in *ExecConfig) DeepCopy() *ExecConfig {
278 out := new(ExecConfig)
283 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
284 func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
289 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecEnvVar.
290 func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
294 out := new(ExecEnvVar)
299 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
300 func (in *Preferences) DeepCopyInto(out *Preferences) {
302 if in.Extensions != nil {
303 in, out := &in.Extensions, &out.Extensions
304 *out = make(map[string]runtime.Object, len(*in))
305 for key, val := range *in {
309 (*out)[key] = val.DeepCopyObject()
316 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences.
317 func (in *Preferences) DeepCopy() *Preferences {
321 out := new(Preferences)