...

Source file src/k8s.io/component-base/config/v1alpha1/zz_generated.deepcopy.go

Documentation: k8s.io/component-base/config/v1alpha1

     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 v1alpha1
    23  
    24  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    25  func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfiguration) {
    26  	*out = *in
    27  	return
    28  }
    29  
    30  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
    31  func (in *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration {
    32  	if in == nil {
    33  		return nil
    34  	}
    35  	out := new(ClientConnectionConfiguration)
    36  	in.DeepCopyInto(out)
    37  	return out
    38  }
    39  
    40  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    41  func (in *DebuggingConfiguration) DeepCopyInto(out *DebuggingConfiguration) {
    42  	*out = *in
    43  	if in.EnableProfiling != nil {
    44  		in, out := &in.EnableProfiling, &out.EnableProfiling
    45  		*out = new(bool)
    46  		**out = **in
    47  	}
    48  	if in.EnableContentionProfiling != nil {
    49  		in, out := &in.EnableContentionProfiling, &out.EnableContentionProfiling
    50  		*out = new(bool)
    51  		**out = **in
    52  	}
    53  	return
    54  }
    55  
    56  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DebuggingConfiguration.
    57  func (in *DebuggingConfiguration) DeepCopy() *DebuggingConfiguration {
    58  	if in == nil {
    59  		return nil
    60  	}
    61  	out := new(DebuggingConfiguration)
    62  	in.DeepCopyInto(out)
    63  	return out
    64  }
    65  
    66  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    67  func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfiguration) {
    68  	*out = *in
    69  	if in.LeaderElect != nil {
    70  		in, out := &in.LeaderElect, &out.LeaderElect
    71  		*out = new(bool)
    72  		**out = **in
    73  	}
    74  	out.LeaseDuration = in.LeaseDuration
    75  	out.RenewDeadline = in.RenewDeadline
    76  	out.RetryPeriod = in.RetryPeriod
    77  	return
    78  }
    79  
    80  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.
    81  func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration {
    82  	if in == nil {
    83  		return nil
    84  	}
    85  	out := new(LeaderElectionConfiguration)
    86  	in.DeepCopyInto(out)
    87  	return out
    88  }
    89  

View as plain text