...

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

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

     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 output
    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 *AvailableUpgrade) DeepCopyInto(out *AvailableUpgrade) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	if in.Components != nil {
    33  		in, out := &in.Components, &out.Components
    34  		*out = make([]ComponentUpgradePlan, len(*in))
    35  		copy(*out, *in)
    36  	}
    37  	return
    38  }
    39  
    40  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableUpgrade.
    41  func (in *AvailableUpgrade) DeepCopy() *AvailableUpgrade {
    42  	if in == nil {
    43  		return nil
    44  	}
    45  	out := new(AvailableUpgrade)
    46  	in.DeepCopyInto(out)
    47  	return out
    48  }
    49  
    50  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    51  func (in *AvailableUpgrade) DeepCopyObject() runtime.Object {
    52  	if c := in.DeepCopy(); c != nil {
    53  		return c
    54  	}
    55  	return nil
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
    60  	*out = *in
    61  	out.TypeMeta = in.TypeMeta
    62  	in.BootstrapToken.DeepCopyInto(&out.BootstrapToken)
    63  	return
    64  }
    65  
    66  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
    67  func (in *BootstrapToken) DeepCopy() *BootstrapToken {
    68  	if in == nil {
    69  		return nil
    70  	}
    71  	out := new(BootstrapToken)
    72  	in.DeepCopyInto(out)
    73  	return out
    74  }
    75  
    76  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    77  func (in *BootstrapToken) DeepCopyObject() runtime.Object {
    78  	if c := in.DeepCopy(); c != nil {
    79  		return c
    80  	}
    81  	return nil
    82  }
    83  
    84  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    85  func (in *Certificate) DeepCopyInto(out *Certificate) {
    86  	*out = *in
    87  	in.ExpirationDate.DeepCopyInto(&out.ExpirationDate)
    88  	return
    89  }
    90  
    91  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
    92  func (in *Certificate) DeepCopy() *Certificate {
    93  	if in == nil {
    94  		return nil
    95  	}
    96  	out := new(Certificate)
    97  	in.DeepCopyInto(out)
    98  	return out
    99  }
   100  
   101  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   102  func (in *CertificateExpirationInfo) DeepCopyInto(out *CertificateExpirationInfo) {
   103  	*out = *in
   104  	out.TypeMeta = in.TypeMeta
   105  	if in.Certificates != nil {
   106  		in, out := &in.Certificates, &out.Certificates
   107  		*out = make([]Certificate, len(*in))
   108  		for i := range *in {
   109  			(*in)[i].DeepCopyInto(&(*out)[i])
   110  		}
   111  	}
   112  	if in.CertificateAuthorities != nil {
   113  		in, out := &in.CertificateAuthorities, &out.CertificateAuthorities
   114  		*out = make([]Certificate, len(*in))
   115  		for i := range *in {
   116  			(*in)[i].DeepCopyInto(&(*out)[i])
   117  		}
   118  	}
   119  	return
   120  }
   121  
   122  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateExpirationInfo.
   123  func (in *CertificateExpirationInfo) DeepCopy() *CertificateExpirationInfo {
   124  	if in == nil {
   125  		return nil
   126  	}
   127  	out := new(CertificateExpirationInfo)
   128  	in.DeepCopyInto(out)
   129  	return out
   130  }
   131  
   132  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   133  func (in *CertificateExpirationInfo) DeepCopyObject() runtime.Object {
   134  	if c := in.DeepCopy(); c != nil {
   135  		return c
   136  	}
   137  	return nil
   138  }
   139  
   140  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   141  func (in *ComponentConfigVersionState) DeepCopyInto(out *ComponentConfigVersionState) {
   142  	*out = *in
   143  	return
   144  }
   145  
   146  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfigVersionState.
   147  func (in *ComponentConfigVersionState) DeepCopy() *ComponentConfigVersionState {
   148  	if in == nil {
   149  		return nil
   150  	}
   151  	out := new(ComponentConfigVersionState)
   152  	in.DeepCopyInto(out)
   153  	return out
   154  }
   155  
   156  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   157  func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan) {
   158  	*out = *in
   159  	out.TypeMeta = in.TypeMeta
   160  	return
   161  }
   162  
   163  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUpgradePlan.
   164  func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan {
   165  	if in == nil {
   166  		return nil
   167  	}
   168  	out := new(ComponentUpgradePlan)
   169  	in.DeepCopyInto(out)
   170  	return out
   171  }
   172  
   173  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   174  func (in *ComponentUpgradePlan) DeepCopyObject() runtime.Object {
   175  	if c := in.DeepCopy(); c != nil {
   176  		return c
   177  	}
   178  	return nil
   179  }
   180  
   181  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   182  func (in *Images) DeepCopyInto(out *Images) {
   183  	*out = *in
   184  	out.TypeMeta = in.TypeMeta
   185  	if in.Images != nil {
   186  		in, out := &in.Images, &out.Images
   187  		*out = make([]string, len(*in))
   188  		copy(*out, *in)
   189  	}
   190  	return
   191  }
   192  
   193  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
   194  func (in *Images) DeepCopy() *Images {
   195  	if in == nil {
   196  		return nil
   197  	}
   198  	out := new(Images)
   199  	in.DeepCopyInto(out)
   200  	return out
   201  }
   202  
   203  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   204  func (in *Images) DeepCopyObject() runtime.Object {
   205  	if c := in.DeepCopy(); c != nil {
   206  		return c
   207  	}
   208  	return nil
   209  }
   210  
   211  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   212  func (in *UpgradePlan) DeepCopyInto(out *UpgradePlan) {
   213  	*out = *in
   214  	out.TypeMeta = in.TypeMeta
   215  	if in.AvailableUpgrades != nil {
   216  		in, out := &in.AvailableUpgrades, &out.AvailableUpgrades
   217  		*out = make([]AvailableUpgrade, len(*in))
   218  		for i := range *in {
   219  			(*in)[i].DeepCopyInto(&(*out)[i])
   220  		}
   221  	}
   222  	if in.ConfigVersions != nil {
   223  		in, out := &in.ConfigVersions, &out.ConfigVersions
   224  		*out = make([]ComponentConfigVersionState, len(*in))
   225  		copy(*out, *in)
   226  	}
   227  	if in.Components != nil {
   228  		in, out := &in.Components, &out.Components
   229  		*out = make([]ComponentUpgradePlan, len(*in))
   230  		copy(*out, *in)
   231  	}
   232  	return
   233  }
   234  
   235  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlan.
   236  func (in *UpgradePlan) DeepCopy() *UpgradePlan {
   237  	if in == nil {
   238  		return nil
   239  	}
   240  	out := new(UpgradePlan)
   241  	in.DeepCopyInto(out)
   242  	return out
   243  }
   244  
   245  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   246  func (in *UpgradePlan) DeepCopyObject() runtime.Object {
   247  	if c := in.DeepCopy(); c != nil {
   248  		return c
   249  	}
   250  	return nil
   251  }
   252  

View as plain text