...

Source file src/k8s.io/kubernetes/cmd/kubeadm/app/apis/output/v1alpha2/zz_generated.deepcopy.go

Documentation: k8s.io/kubernetes/cmd/kubeadm/app/apis/output/v1alpha2

     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 v1alpha2
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.BootstrapToken.DeepCopyInto(&out.BootstrapToken)
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
    37  func (in *BootstrapToken) DeepCopy() *BootstrapToken {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(BootstrapToken)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    47  func (in *BootstrapToken) DeepCopyObject() runtime.Object {
    48  	if c := in.DeepCopy(); c != nil {
    49  		return c
    50  	}
    51  	return nil
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *ComponentConfigVersionState) DeepCopyInto(out *ComponentConfigVersionState) {
    56  	*out = *in
    57  	return
    58  }
    59  
    60  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfigVersionState.
    61  func (in *ComponentConfigVersionState) DeepCopy() *ComponentConfigVersionState {
    62  	if in == nil {
    63  		return nil
    64  	}
    65  	out := new(ComponentConfigVersionState)
    66  	in.DeepCopyInto(out)
    67  	return out
    68  }
    69  
    70  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    71  func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan) {
    72  	*out = *in
    73  	out.TypeMeta = in.TypeMeta
    74  	return
    75  }
    76  
    77  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUpgradePlan.
    78  func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan {
    79  	if in == nil {
    80  		return nil
    81  	}
    82  	out := new(ComponentUpgradePlan)
    83  	in.DeepCopyInto(out)
    84  	return out
    85  }
    86  
    87  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    88  func (in *ComponentUpgradePlan) DeepCopyObject() runtime.Object {
    89  	if c := in.DeepCopy(); c != nil {
    90  		return c
    91  	}
    92  	return nil
    93  }
    94  
    95  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    96  func (in *Images) DeepCopyInto(out *Images) {
    97  	*out = *in
    98  	out.TypeMeta = in.TypeMeta
    99  	if in.Images != nil {
   100  		in, out := &in.Images, &out.Images
   101  		*out = make([]string, len(*in))
   102  		copy(*out, *in)
   103  	}
   104  	return
   105  }
   106  
   107  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
   108  func (in *Images) DeepCopy() *Images {
   109  	if in == nil {
   110  		return nil
   111  	}
   112  	out := new(Images)
   113  	in.DeepCopyInto(out)
   114  	return out
   115  }
   116  
   117  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   118  func (in *Images) DeepCopyObject() runtime.Object {
   119  	if c := in.DeepCopy(); c != nil {
   120  		return c
   121  	}
   122  	return nil
   123  }
   124  
   125  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   126  func (in *UpgradePlan) DeepCopyInto(out *UpgradePlan) {
   127  	*out = *in
   128  	out.TypeMeta = in.TypeMeta
   129  	if in.Components != nil {
   130  		in, out := &in.Components, &out.Components
   131  		*out = make([]ComponentUpgradePlan, len(*in))
   132  		copy(*out, *in)
   133  	}
   134  	if in.ConfigVersions != nil {
   135  		in, out := &in.ConfigVersions, &out.ConfigVersions
   136  		*out = make([]ComponentConfigVersionState, len(*in))
   137  		copy(*out, *in)
   138  	}
   139  	return
   140  }
   141  
   142  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlan.
   143  func (in *UpgradePlan) DeepCopy() *UpgradePlan {
   144  	if in == nil {
   145  		return nil
   146  	}
   147  	out := new(UpgradePlan)
   148  	in.DeepCopyInto(out)
   149  	return out
   150  }
   151  
   152  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   153  func (in *UpgradePlan) DeepCopyObject() runtime.Object {
   154  	if c := in.DeepCopy(); c != nil {
   155  		return c
   156  	}
   157  	return nil
   158  }
   159  

View as plain text