...

Source file src/k8s.io/kubelet/config/v1/zz_generated.deepcopy.go

Documentation: k8s.io/kubelet/config/v1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1
    23  
    24  import (
    25  	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *CredentialProvider) DeepCopyInto(out *CredentialProvider) {
    31  	*out = *in
    32  	if in.MatchImages != nil {
    33  		in, out := &in.MatchImages, &out.MatchImages
    34  		*out = make([]string, len(*in))
    35  		copy(*out, *in)
    36  	}
    37  	if in.DefaultCacheDuration != nil {
    38  		in, out := &in.DefaultCacheDuration, &out.DefaultCacheDuration
    39  		*out = new(metav1.Duration)
    40  		**out = **in
    41  	}
    42  	if in.Args != nil {
    43  		in, out := &in.Args, &out.Args
    44  		*out = make([]string, len(*in))
    45  		copy(*out, *in)
    46  	}
    47  	if in.Env != nil {
    48  		in, out := &in.Env, &out.Env
    49  		*out = make([]ExecEnvVar, len(*in))
    50  		copy(*out, *in)
    51  	}
    52  	return
    53  }
    54  
    55  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProvider.
    56  func (in *CredentialProvider) DeepCopy() *CredentialProvider {
    57  	if in == nil {
    58  		return nil
    59  	}
    60  	out := new(CredentialProvider)
    61  	in.DeepCopyInto(out)
    62  	return out
    63  }
    64  
    65  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    66  func (in *CredentialProviderConfig) DeepCopyInto(out *CredentialProviderConfig) {
    67  	*out = *in
    68  	out.TypeMeta = in.TypeMeta
    69  	if in.Providers != nil {
    70  		in, out := &in.Providers, &out.Providers
    71  		*out = make([]CredentialProvider, len(*in))
    72  		for i := range *in {
    73  			(*in)[i].DeepCopyInto(&(*out)[i])
    74  		}
    75  	}
    76  	return
    77  }
    78  
    79  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfig.
    80  func (in *CredentialProviderConfig) DeepCopy() *CredentialProviderConfig {
    81  	if in == nil {
    82  		return nil
    83  	}
    84  	out := new(CredentialProviderConfig)
    85  	in.DeepCopyInto(out)
    86  	return out
    87  }
    88  
    89  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    90  func (in *CredentialProviderConfig) DeepCopyObject() runtime.Object {
    91  	if c := in.DeepCopy(); c != nil {
    92  		return c
    93  	}
    94  	return nil
    95  }
    96  
    97  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    98  func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
    99  	*out = *in
   100  	return
   101  }
   102  
   103  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecEnvVar.
   104  func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
   105  	if in == nil {
   106  		return nil
   107  	}
   108  	out := new(ExecEnvVar)
   109  	in.DeepCopyInto(out)
   110  	return out
   111  }
   112  

View as plain text