k8s.io/client-go@v0.22.2/rest/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 rest
    22  
    23  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    24  func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) {
    25  	*out = *in
    26  	if in.CertData != nil {
    27  		in, out := &in.CertData, &out.CertData
    28  		*out = make([]byte, len(*in))
    29  		copy(*out, *in)
    30  	}
    31  	if in.KeyData != nil {
    32  		in, out := &in.KeyData, &out.KeyData
    33  		*out = make([]byte, len(*in))
    34  		copy(*out, *in)
    35  	}
    36  	if in.CAData != nil {
    37  		in, out := &in.CAData, &out.CAData
    38  		*out = make([]byte, len(*in))
    39  		copy(*out, *in)
    40  	}
    41  	if in.NextProtos != nil {
    42  		in, out := &in.NextProtos, &out.NextProtos
    43  		*out = make([]string, len(*in))
    44  		copy(*out, *in)
    45  	}
    46  	return
    47  }
    48  
    49  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig.
    50  func (in *TLSClientConfig) DeepCopy() *TLSClientConfig {
    51  	if in == nil {
    52  		return nil
    53  	}
    54  	out := new(TLSClientConfig)
    55  	in.DeepCopyInto(out)
    56  	return out
    57  }