sigs.k8s.io/cluster-api@v1.6.3/bootstrap/kubeadm/api/v1alpha4/zz_generated.deepcopy.go (about)

     1  //go: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 controller-gen. DO NOT EDIT.
    20  
    21  package v1alpha4
    22  
    23  import (
    24  	corev1 "k8s.io/api/core/v1"
    25  	"k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	"k8s.io/apimachinery/pkg/runtime"
    27  	apiv1alpha4 "sigs.k8s.io/cluster-api/api/v1alpha4"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) {
    32  	*out = *in
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.
    36  func (in *APIEndpoint) DeepCopy() *APIEndpoint {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(APIEndpoint)
    41  	in.DeepCopyInto(out)
    42  	return out
    43  }
    44  
    45  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    46  func (in *APIServer) DeepCopyInto(out *APIServer) {
    47  	*out = *in
    48  	in.ControlPlaneComponent.DeepCopyInto(&out.ControlPlaneComponent)
    49  	if in.CertSANs != nil {
    50  		in, out := &in.CertSANs, &out.CertSANs
    51  		*out = make([]string, len(*in))
    52  		copy(*out, *in)
    53  	}
    54  	if in.TimeoutForControlPlane != nil {
    55  		in, out := &in.TimeoutForControlPlane, &out.TimeoutForControlPlane
    56  		*out = new(v1.Duration)
    57  		**out = **in
    58  	}
    59  }
    60  
    61  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
    62  func (in *APIServer) DeepCopy() *APIServer {
    63  	if in == nil {
    64  		return nil
    65  	}
    66  	out := new(APIServer)
    67  	in.DeepCopyInto(out)
    68  	return out
    69  }
    70  
    71  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    72  func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
    73  	*out = *in
    74  	if in.Token != nil {
    75  		in, out := &in.Token, &out.Token
    76  		*out = new(BootstrapTokenString)
    77  		**out = **in
    78  	}
    79  	if in.TTL != nil {
    80  		in, out := &in.TTL, &out.TTL
    81  		*out = new(v1.Duration)
    82  		**out = **in
    83  	}
    84  	if in.Expires != nil {
    85  		in, out := &in.Expires, &out.Expires
    86  		*out = (*in).DeepCopy()
    87  	}
    88  	if in.Usages != nil {
    89  		in, out := &in.Usages, &out.Usages
    90  		*out = make([]string, len(*in))
    91  		copy(*out, *in)
    92  	}
    93  	if in.Groups != nil {
    94  		in, out := &in.Groups, &out.Groups
    95  		*out = make([]string, len(*in))
    96  		copy(*out, *in)
    97  	}
    98  }
    99  
   100  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
   101  func (in *BootstrapToken) DeepCopy() *BootstrapToken {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(BootstrapToken)
   106  	in.DeepCopyInto(out)
   107  	return out
   108  }
   109  
   110  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   111  func (in *BootstrapTokenDiscovery) DeepCopyInto(out *BootstrapTokenDiscovery) {
   112  	*out = *in
   113  	if in.CACertHashes != nil {
   114  		in, out := &in.CACertHashes, &out.CACertHashes
   115  		*out = make([]string, len(*in))
   116  		copy(*out, *in)
   117  	}
   118  }
   119  
   120  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenDiscovery.
   121  func (in *BootstrapTokenDiscovery) DeepCopy() *BootstrapTokenDiscovery {
   122  	if in == nil {
   123  		return nil
   124  	}
   125  	out := new(BootstrapTokenDiscovery)
   126  	in.DeepCopyInto(out)
   127  	return out
   128  }
   129  
   130  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   131  func (in *BootstrapTokenString) DeepCopyInto(out *BootstrapTokenString) {
   132  	*out = *in
   133  }
   134  
   135  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenString.
   136  func (in *BootstrapTokenString) DeepCopy() *BootstrapTokenString {
   137  	if in == nil {
   138  		return nil
   139  	}
   140  	out := new(BootstrapTokenString)
   141  	in.DeepCopyInto(out)
   142  	return out
   143  }
   144  
   145  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   146  func (in *ClusterConfiguration) DeepCopyInto(out *ClusterConfiguration) {
   147  	*out = *in
   148  	out.TypeMeta = in.TypeMeta
   149  	in.Etcd.DeepCopyInto(&out.Etcd)
   150  	out.Networking = in.Networking
   151  	in.APIServer.DeepCopyInto(&out.APIServer)
   152  	in.ControllerManager.DeepCopyInto(&out.ControllerManager)
   153  	in.Scheduler.DeepCopyInto(&out.Scheduler)
   154  	out.DNS = in.DNS
   155  	if in.FeatureGates != nil {
   156  		in, out := &in.FeatureGates, &out.FeatureGates
   157  		*out = make(map[string]bool, len(*in))
   158  		for key, val := range *in {
   159  			(*out)[key] = val
   160  		}
   161  	}
   162  }
   163  
   164  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfiguration.
   165  func (in *ClusterConfiguration) DeepCopy() *ClusterConfiguration {
   166  	if in == nil {
   167  		return nil
   168  	}
   169  	out := new(ClusterConfiguration)
   170  	in.DeepCopyInto(out)
   171  	return out
   172  }
   173  
   174  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   175  func (in *ClusterConfiguration) DeepCopyObject() runtime.Object {
   176  	if c := in.DeepCopy(); c != nil {
   177  		return c
   178  	}
   179  	return nil
   180  }
   181  
   182  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   183  func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
   184  	*out = *in
   185  	out.TypeMeta = in.TypeMeta
   186  	if in.APIEndpoints != nil {
   187  		in, out := &in.APIEndpoints, &out.APIEndpoints
   188  		*out = make(map[string]APIEndpoint, len(*in))
   189  		for key, val := range *in {
   190  			(*out)[key] = val
   191  		}
   192  	}
   193  }
   194  
   195  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
   196  func (in *ClusterStatus) DeepCopy() *ClusterStatus {
   197  	if in == nil {
   198  		return nil
   199  	}
   200  	out := new(ClusterStatus)
   201  	in.DeepCopyInto(out)
   202  	return out
   203  }
   204  
   205  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   206  func (in *ClusterStatus) DeepCopyObject() runtime.Object {
   207  	if c := in.DeepCopy(); c != nil {
   208  		return c
   209  	}
   210  	return nil
   211  }
   212  
   213  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   214  func (in *ControlPlaneComponent) DeepCopyInto(out *ControlPlaneComponent) {
   215  	*out = *in
   216  	if in.ExtraArgs != nil {
   217  		in, out := &in.ExtraArgs, &out.ExtraArgs
   218  		*out = make(map[string]string, len(*in))
   219  		for key, val := range *in {
   220  			(*out)[key] = val
   221  		}
   222  	}
   223  	if in.ExtraVolumes != nil {
   224  		in, out := &in.ExtraVolumes, &out.ExtraVolumes
   225  		*out = make([]HostPathMount, len(*in))
   226  		copy(*out, *in)
   227  	}
   228  }
   229  
   230  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneComponent.
   231  func (in *ControlPlaneComponent) DeepCopy() *ControlPlaneComponent {
   232  	if in == nil {
   233  		return nil
   234  	}
   235  	out := new(ControlPlaneComponent)
   236  	in.DeepCopyInto(out)
   237  	return out
   238  }
   239  
   240  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   241  func (in *DNS) DeepCopyInto(out *DNS) {
   242  	*out = *in
   243  	out.ImageMeta = in.ImageMeta
   244  }
   245  
   246  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS.
   247  func (in *DNS) DeepCopy() *DNS {
   248  	if in == nil {
   249  		return nil
   250  	}
   251  	out := new(DNS)
   252  	in.DeepCopyInto(out)
   253  	return out
   254  }
   255  
   256  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   257  func (in *Discovery) DeepCopyInto(out *Discovery) {
   258  	*out = *in
   259  	if in.BootstrapToken != nil {
   260  		in, out := &in.BootstrapToken, &out.BootstrapToken
   261  		*out = new(BootstrapTokenDiscovery)
   262  		(*in).DeepCopyInto(*out)
   263  	}
   264  	if in.File != nil {
   265  		in, out := &in.File, &out.File
   266  		*out = new(FileDiscovery)
   267  		**out = **in
   268  	}
   269  	if in.Timeout != nil {
   270  		in, out := &in.Timeout, &out.Timeout
   271  		*out = new(v1.Duration)
   272  		**out = **in
   273  	}
   274  }
   275  
   276  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Discovery.
   277  func (in *Discovery) DeepCopy() *Discovery {
   278  	if in == nil {
   279  		return nil
   280  	}
   281  	out := new(Discovery)
   282  	in.DeepCopyInto(out)
   283  	return out
   284  }
   285  
   286  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   287  func (in *DiskSetup) DeepCopyInto(out *DiskSetup) {
   288  	*out = *in
   289  	if in.Partitions != nil {
   290  		in, out := &in.Partitions, &out.Partitions
   291  		*out = make([]Partition, len(*in))
   292  		for i := range *in {
   293  			(*in)[i].DeepCopyInto(&(*out)[i])
   294  		}
   295  	}
   296  	if in.Filesystems != nil {
   297  		in, out := &in.Filesystems, &out.Filesystems
   298  		*out = make([]Filesystem, len(*in))
   299  		for i := range *in {
   300  			(*in)[i].DeepCopyInto(&(*out)[i])
   301  		}
   302  	}
   303  }
   304  
   305  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSetup.
   306  func (in *DiskSetup) DeepCopy() *DiskSetup {
   307  	if in == nil {
   308  		return nil
   309  	}
   310  	out := new(DiskSetup)
   311  	in.DeepCopyInto(out)
   312  	return out
   313  }
   314  
   315  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   316  func (in *Etcd) DeepCopyInto(out *Etcd) {
   317  	*out = *in
   318  	if in.Local != nil {
   319  		in, out := &in.Local, &out.Local
   320  		*out = new(LocalEtcd)
   321  		(*in).DeepCopyInto(*out)
   322  	}
   323  	if in.External != nil {
   324  		in, out := &in.External, &out.External
   325  		*out = new(ExternalEtcd)
   326  		(*in).DeepCopyInto(*out)
   327  	}
   328  }
   329  
   330  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
   331  func (in *Etcd) DeepCopy() *Etcd {
   332  	if in == nil {
   333  		return nil
   334  	}
   335  	out := new(Etcd)
   336  	in.DeepCopyInto(out)
   337  	return out
   338  }
   339  
   340  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   341  func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd) {
   342  	*out = *in
   343  	if in.Endpoints != nil {
   344  		in, out := &in.Endpoints, &out.Endpoints
   345  		*out = make([]string, len(*in))
   346  		copy(*out, *in)
   347  	}
   348  }
   349  
   350  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd.
   351  func (in *ExternalEtcd) DeepCopy() *ExternalEtcd {
   352  	if in == nil {
   353  		return nil
   354  	}
   355  	out := new(ExternalEtcd)
   356  	in.DeepCopyInto(out)
   357  	return out
   358  }
   359  
   360  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   361  func (in *File) DeepCopyInto(out *File) {
   362  	*out = *in
   363  	if in.ContentFrom != nil {
   364  		in, out := &in.ContentFrom, &out.ContentFrom
   365  		*out = new(FileSource)
   366  		**out = **in
   367  	}
   368  }
   369  
   370  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
   371  func (in *File) DeepCopy() *File {
   372  	if in == nil {
   373  		return nil
   374  	}
   375  	out := new(File)
   376  	in.DeepCopyInto(out)
   377  	return out
   378  }
   379  
   380  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   381  func (in *FileDiscovery) DeepCopyInto(out *FileDiscovery) {
   382  	*out = *in
   383  }
   384  
   385  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileDiscovery.
   386  func (in *FileDiscovery) DeepCopy() *FileDiscovery {
   387  	if in == nil {
   388  		return nil
   389  	}
   390  	out := new(FileDiscovery)
   391  	in.DeepCopyInto(out)
   392  	return out
   393  }
   394  
   395  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   396  func (in *FileSource) DeepCopyInto(out *FileSource) {
   397  	*out = *in
   398  	out.Secret = in.Secret
   399  }
   400  
   401  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSource.
   402  func (in *FileSource) DeepCopy() *FileSource {
   403  	if in == nil {
   404  		return nil
   405  	}
   406  	out := new(FileSource)
   407  	in.DeepCopyInto(out)
   408  	return out
   409  }
   410  
   411  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   412  func (in *Filesystem) DeepCopyInto(out *Filesystem) {
   413  	*out = *in
   414  	if in.Partition != nil {
   415  		in, out := &in.Partition, &out.Partition
   416  		*out = new(string)
   417  		**out = **in
   418  	}
   419  	if in.Overwrite != nil {
   420  		in, out := &in.Overwrite, &out.Overwrite
   421  		*out = new(bool)
   422  		**out = **in
   423  	}
   424  	if in.ReplaceFS != nil {
   425  		in, out := &in.ReplaceFS, &out.ReplaceFS
   426  		*out = new(string)
   427  		**out = **in
   428  	}
   429  	if in.ExtraOpts != nil {
   430  		in, out := &in.ExtraOpts, &out.ExtraOpts
   431  		*out = make([]string, len(*in))
   432  		copy(*out, *in)
   433  	}
   434  }
   435  
   436  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filesystem.
   437  func (in *Filesystem) DeepCopy() *Filesystem {
   438  	if in == nil {
   439  		return nil
   440  	}
   441  	out := new(Filesystem)
   442  	in.DeepCopyInto(out)
   443  	return out
   444  }
   445  
   446  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   447  func (in *HostPathMount) DeepCopyInto(out *HostPathMount) {
   448  	*out = *in
   449  }
   450  
   451  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathMount.
   452  func (in *HostPathMount) DeepCopy() *HostPathMount {
   453  	if in == nil {
   454  		return nil
   455  	}
   456  	out := new(HostPathMount)
   457  	in.DeepCopyInto(out)
   458  	return out
   459  }
   460  
   461  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   462  func (in *ImageMeta) DeepCopyInto(out *ImageMeta) {
   463  	*out = *in
   464  }
   465  
   466  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMeta.
   467  func (in *ImageMeta) DeepCopy() *ImageMeta {
   468  	if in == nil {
   469  		return nil
   470  	}
   471  	out := new(ImageMeta)
   472  	in.DeepCopyInto(out)
   473  	return out
   474  }
   475  
   476  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   477  func (in *InitConfiguration) DeepCopyInto(out *InitConfiguration) {
   478  	*out = *in
   479  	out.TypeMeta = in.TypeMeta
   480  	if in.BootstrapTokens != nil {
   481  		in, out := &in.BootstrapTokens, &out.BootstrapTokens
   482  		*out = make([]BootstrapToken, len(*in))
   483  		for i := range *in {
   484  			(*in)[i].DeepCopyInto(&(*out)[i])
   485  		}
   486  	}
   487  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   488  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   489  }
   490  
   491  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitConfiguration.
   492  func (in *InitConfiguration) DeepCopy() *InitConfiguration {
   493  	if in == nil {
   494  		return nil
   495  	}
   496  	out := new(InitConfiguration)
   497  	in.DeepCopyInto(out)
   498  	return out
   499  }
   500  
   501  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   502  func (in *InitConfiguration) DeepCopyObject() runtime.Object {
   503  	if c := in.DeepCopy(); c != nil {
   504  		return c
   505  	}
   506  	return nil
   507  }
   508  
   509  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   510  func (in *JoinConfiguration) DeepCopyInto(out *JoinConfiguration) {
   511  	*out = *in
   512  	out.TypeMeta = in.TypeMeta
   513  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   514  	in.Discovery.DeepCopyInto(&out.Discovery)
   515  	if in.ControlPlane != nil {
   516  		in, out := &in.ControlPlane, &out.ControlPlane
   517  		*out = new(JoinControlPlane)
   518  		**out = **in
   519  	}
   520  }
   521  
   522  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinConfiguration.
   523  func (in *JoinConfiguration) DeepCopy() *JoinConfiguration {
   524  	if in == nil {
   525  		return nil
   526  	}
   527  	out := new(JoinConfiguration)
   528  	in.DeepCopyInto(out)
   529  	return out
   530  }
   531  
   532  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   533  func (in *JoinConfiguration) DeepCopyObject() runtime.Object {
   534  	if c := in.DeepCopy(); c != nil {
   535  		return c
   536  	}
   537  	return nil
   538  }
   539  
   540  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   541  func (in *JoinControlPlane) DeepCopyInto(out *JoinControlPlane) {
   542  	*out = *in
   543  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   544  }
   545  
   546  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinControlPlane.
   547  func (in *JoinControlPlane) DeepCopy() *JoinControlPlane {
   548  	if in == nil {
   549  		return nil
   550  	}
   551  	out := new(JoinControlPlane)
   552  	in.DeepCopyInto(out)
   553  	return out
   554  }
   555  
   556  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   557  func (in *KubeadmConfig) DeepCopyInto(out *KubeadmConfig) {
   558  	*out = *in
   559  	out.TypeMeta = in.TypeMeta
   560  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   561  	in.Spec.DeepCopyInto(&out.Spec)
   562  	in.Status.DeepCopyInto(&out.Status)
   563  }
   564  
   565  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfig.
   566  func (in *KubeadmConfig) DeepCopy() *KubeadmConfig {
   567  	if in == nil {
   568  		return nil
   569  	}
   570  	out := new(KubeadmConfig)
   571  	in.DeepCopyInto(out)
   572  	return out
   573  }
   574  
   575  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   576  func (in *KubeadmConfig) DeepCopyObject() runtime.Object {
   577  	if c := in.DeepCopy(); c != nil {
   578  		return c
   579  	}
   580  	return nil
   581  }
   582  
   583  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   584  func (in *KubeadmConfigList) DeepCopyInto(out *KubeadmConfigList) {
   585  	*out = *in
   586  	out.TypeMeta = in.TypeMeta
   587  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   588  	if in.Items != nil {
   589  		in, out := &in.Items, &out.Items
   590  		*out = make([]KubeadmConfig, len(*in))
   591  		for i := range *in {
   592  			(*in)[i].DeepCopyInto(&(*out)[i])
   593  		}
   594  	}
   595  }
   596  
   597  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigList.
   598  func (in *KubeadmConfigList) DeepCopy() *KubeadmConfigList {
   599  	if in == nil {
   600  		return nil
   601  	}
   602  	out := new(KubeadmConfigList)
   603  	in.DeepCopyInto(out)
   604  	return out
   605  }
   606  
   607  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   608  func (in *KubeadmConfigList) DeepCopyObject() runtime.Object {
   609  	if c := in.DeepCopy(); c != nil {
   610  		return c
   611  	}
   612  	return nil
   613  }
   614  
   615  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   616  func (in *KubeadmConfigSpec) DeepCopyInto(out *KubeadmConfigSpec) {
   617  	*out = *in
   618  	if in.ClusterConfiguration != nil {
   619  		in, out := &in.ClusterConfiguration, &out.ClusterConfiguration
   620  		*out = new(ClusterConfiguration)
   621  		(*in).DeepCopyInto(*out)
   622  	}
   623  	if in.InitConfiguration != nil {
   624  		in, out := &in.InitConfiguration, &out.InitConfiguration
   625  		*out = new(InitConfiguration)
   626  		(*in).DeepCopyInto(*out)
   627  	}
   628  	if in.JoinConfiguration != nil {
   629  		in, out := &in.JoinConfiguration, &out.JoinConfiguration
   630  		*out = new(JoinConfiguration)
   631  		(*in).DeepCopyInto(*out)
   632  	}
   633  	if in.Files != nil {
   634  		in, out := &in.Files, &out.Files
   635  		*out = make([]File, len(*in))
   636  		for i := range *in {
   637  			(*in)[i].DeepCopyInto(&(*out)[i])
   638  		}
   639  	}
   640  	if in.DiskSetup != nil {
   641  		in, out := &in.DiskSetup, &out.DiskSetup
   642  		*out = new(DiskSetup)
   643  		(*in).DeepCopyInto(*out)
   644  	}
   645  	if in.Mounts != nil {
   646  		in, out := &in.Mounts, &out.Mounts
   647  		*out = make([]MountPoints, len(*in))
   648  		for i := range *in {
   649  			if (*in)[i] != nil {
   650  				in, out := &(*in)[i], &(*out)[i]
   651  				*out = make(MountPoints, len(*in))
   652  				copy(*out, *in)
   653  			}
   654  		}
   655  	}
   656  	if in.PreKubeadmCommands != nil {
   657  		in, out := &in.PreKubeadmCommands, &out.PreKubeadmCommands
   658  		*out = make([]string, len(*in))
   659  		copy(*out, *in)
   660  	}
   661  	if in.PostKubeadmCommands != nil {
   662  		in, out := &in.PostKubeadmCommands, &out.PostKubeadmCommands
   663  		*out = make([]string, len(*in))
   664  		copy(*out, *in)
   665  	}
   666  	if in.Users != nil {
   667  		in, out := &in.Users, &out.Users
   668  		*out = make([]User, len(*in))
   669  		for i := range *in {
   670  			(*in)[i].DeepCopyInto(&(*out)[i])
   671  		}
   672  	}
   673  	if in.NTP != nil {
   674  		in, out := &in.NTP, &out.NTP
   675  		*out = new(NTP)
   676  		(*in).DeepCopyInto(*out)
   677  	}
   678  	if in.Verbosity != nil {
   679  		in, out := &in.Verbosity, &out.Verbosity
   680  		*out = new(int32)
   681  		**out = **in
   682  	}
   683  }
   684  
   685  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigSpec.
   686  func (in *KubeadmConfigSpec) DeepCopy() *KubeadmConfigSpec {
   687  	if in == nil {
   688  		return nil
   689  	}
   690  	out := new(KubeadmConfigSpec)
   691  	in.DeepCopyInto(out)
   692  	return out
   693  }
   694  
   695  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   696  func (in *KubeadmConfigStatus) DeepCopyInto(out *KubeadmConfigStatus) {
   697  	*out = *in
   698  	if in.DataSecretName != nil {
   699  		in, out := &in.DataSecretName, &out.DataSecretName
   700  		*out = new(string)
   701  		**out = **in
   702  	}
   703  	if in.Conditions != nil {
   704  		in, out := &in.Conditions, &out.Conditions
   705  		*out = make(apiv1alpha4.Conditions, len(*in))
   706  		for i := range *in {
   707  			(*in)[i].DeepCopyInto(&(*out)[i])
   708  		}
   709  	}
   710  }
   711  
   712  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigStatus.
   713  func (in *KubeadmConfigStatus) DeepCopy() *KubeadmConfigStatus {
   714  	if in == nil {
   715  		return nil
   716  	}
   717  	out := new(KubeadmConfigStatus)
   718  	in.DeepCopyInto(out)
   719  	return out
   720  }
   721  
   722  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   723  func (in *KubeadmConfigTemplate) DeepCopyInto(out *KubeadmConfigTemplate) {
   724  	*out = *in
   725  	out.TypeMeta = in.TypeMeta
   726  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   727  	in.Spec.DeepCopyInto(&out.Spec)
   728  }
   729  
   730  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplate.
   731  func (in *KubeadmConfigTemplate) DeepCopy() *KubeadmConfigTemplate {
   732  	if in == nil {
   733  		return nil
   734  	}
   735  	out := new(KubeadmConfigTemplate)
   736  	in.DeepCopyInto(out)
   737  	return out
   738  }
   739  
   740  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   741  func (in *KubeadmConfigTemplate) DeepCopyObject() runtime.Object {
   742  	if c := in.DeepCopy(); c != nil {
   743  		return c
   744  	}
   745  	return nil
   746  }
   747  
   748  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   749  func (in *KubeadmConfigTemplateList) DeepCopyInto(out *KubeadmConfigTemplateList) {
   750  	*out = *in
   751  	out.TypeMeta = in.TypeMeta
   752  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   753  	if in.Items != nil {
   754  		in, out := &in.Items, &out.Items
   755  		*out = make([]KubeadmConfigTemplate, len(*in))
   756  		for i := range *in {
   757  			(*in)[i].DeepCopyInto(&(*out)[i])
   758  		}
   759  	}
   760  }
   761  
   762  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateList.
   763  func (in *KubeadmConfigTemplateList) DeepCopy() *KubeadmConfigTemplateList {
   764  	if in == nil {
   765  		return nil
   766  	}
   767  	out := new(KubeadmConfigTemplateList)
   768  	in.DeepCopyInto(out)
   769  	return out
   770  }
   771  
   772  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   773  func (in *KubeadmConfigTemplateList) DeepCopyObject() runtime.Object {
   774  	if c := in.DeepCopy(); c != nil {
   775  		return c
   776  	}
   777  	return nil
   778  }
   779  
   780  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   781  func (in *KubeadmConfigTemplateResource) DeepCopyInto(out *KubeadmConfigTemplateResource) {
   782  	*out = *in
   783  	in.Spec.DeepCopyInto(&out.Spec)
   784  }
   785  
   786  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateResource.
   787  func (in *KubeadmConfigTemplateResource) DeepCopy() *KubeadmConfigTemplateResource {
   788  	if in == nil {
   789  		return nil
   790  	}
   791  	out := new(KubeadmConfigTemplateResource)
   792  	in.DeepCopyInto(out)
   793  	return out
   794  }
   795  
   796  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   797  func (in *KubeadmConfigTemplateSpec) DeepCopyInto(out *KubeadmConfigTemplateSpec) {
   798  	*out = *in
   799  	in.Template.DeepCopyInto(&out.Template)
   800  }
   801  
   802  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateSpec.
   803  func (in *KubeadmConfigTemplateSpec) DeepCopy() *KubeadmConfigTemplateSpec {
   804  	if in == nil {
   805  		return nil
   806  	}
   807  	out := new(KubeadmConfigTemplateSpec)
   808  	in.DeepCopyInto(out)
   809  	return out
   810  }
   811  
   812  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   813  func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) {
   814  	*out = *in
   815  	out.ImageMeta = in.ImageMeta
   816  	if in.ExtraArgs != nil {
   817  		in, out := &in.ExtraArgs, &out.ExtraArgs
   818  		*out = make(map[string]string, len(*in))
   819  		for key, val := range *in {
   820  			(*out)[key] = val
   821  		}
   822  	}
   823  	if in.ServerCertSANs != nil {
   824  		in, out := &in.ServerCertSANs, &out.ServerCertSANs
   825  		*out = make([]string, len(*in))
   826  		copy(*out, *in)
   827  	}
   828  	if in.PeerCertSANs != nil {
   829  		in, out := &in.PeerCertSANs, &out.PeerCertSANs
   830  		*out = make([]string, len(*in))
   831  		copy(*out, *in)
   832  	}
   833  }
   834  
   835  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
   836  func (in *LocalEtcd) DeepCopy() *LocalEtcd {
   837  	if in == nil {
   838  		return nil
   839  	}
   840  	out := new(LocalEtcd)
   841  	in.DeepCopyInto(out)
   842  	return out
   843  }
   844  
   845  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   846  func (in MountPoints) DeepCopyInto(out *MountPoints) {
   847  	{
   848  		in := &in
   849  		*out = make(MountPoints, len(*in))
   850  		copy(*out, *in)
   851  	}
   852  }
   853  
   854  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MountPoints.
   855  func (in MountPoints) DeepCopy() MountPoints {
   856  	if in == nil {
   857  		return nil
   858  	}
   859  	out := new(MountPoints)
   860  	in.DeepCopyInto(out)
   861  	return *out
   862  }
   863  
   864  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   865  func (in *NTP) DeepCopyInto(out *NTP) {
   866  	*out = *in
   867  	if in.Servers != nil {
   868  		in, out := &in.Servers, &out.Servers
   869  		*out = make([]string, len(*in))
   870  		copy(*out, *in)
   871  	}
   872  	if in.Enabled != nil {
   873  		in, out := &in.Enabled, &out.Enabled
   874  		*out = new(bool)
   875  		**out = **in
   876  	}
   877  }
   878  
   879  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTP.
   880  func (in *NTP) DeepCopy() *NTP {
   881  	if in == nil {
   882  		return nil
   883  	}
   884  	out := new(NTP)
   885  	in.DeepCopyInto(out)
   886  	return out
   887  }
   888  
   889  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   890  func (in *Networking) DeepCopyInto(out *Networking) {
   891  	*out = *in
   892  }
   893  
   894  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
   895  func (in *Networking) DeepCopy() *Networking {
   896  	if in == nil {
   897  		return nil
   898  	}
   899  	out := new(Networking)
   900  	in.DeepCopyInto(out)
   901  	return out
   902  }
   903  
   904  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   905  func (in *NodeRegistrationOptions) DeepCopyInto(out *NodeRegistrationOptions) {
   906  	*out = *in
   907  	if in.Taints != nil {
   908  		in, out := &in.Taints, &out.Taints
   909  		*out = make([]corev1.Taint, len(*in))
   910  		for i := range *in {
   911  			(*in)[i].DeepCopyInto(&(*out)[i])
   912  		}
   913  	}
   914  	if in.KubeletExtraArgs != nil {
   915  		in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs
   916  		*out = make(map[string]string, len(*in))
   917  		for key, val := range *in {
   918  			(*out)[key] = val
   919  		}
   920  	}
   921  	if in.IgnorePreflightErrors != nil {
   922  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   923  		*out = make([]string, len(*in))
   924  		copy(*out, *in)
   925  	}
   926  }
   927  
   928  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRegistrationOptions.
   929  func (in *NodeRegistrationOptions) DeepCopy() *NodeRegistrationOptions {
   930  	if in == nil {
   931  		return nil
   932  	}
   933  	out := new(NodeRegistrationOptions)
   934  	in.DeepCopyInto(out)
   935  	return out
   936  }
   937  
   938  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   939  func (in *Partition) DeepCopyInto(out *Partition) {
   940  	*out = *in
   941  	if in.Overwrite != nil {
   942  		in, out := &in.Overwrite, &out.Overwrite
   943  		*out = new(bool)
   944  		**out = **in
   945  	}
   946  	if in.TableType != nil {
   947  		in, out := &in.TableType, &out.TableType
   948  		*out = new(string)
   949  		**out = **in
   950  	}
   951  }
   952  
   953  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partition.
   954  func (in *Partition) DeepCopy() *Partition {
   955  	if in == nil {
   956  		return nil
   957  	}
   958  	out := new(Partition)
   959  	in.DeepCopyInto(out)
   960  	return out
   961  }
   962  
   963  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   964  func (in *SecretFileSource) DeepCopyInto(out *SecretFileSource) {
   965  	*out = *in
   966  }
   967  
   968  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretFileSource.
   969  func (in *SecretFileSource) DeepCopy() *SecretFileSource {
   970  	if in == nil {
   971  		return nil
   972  	}
   973  	out := new(SecretFileSource)
   974  	in.DeepCopyInto(out)
   975  	return out
   976  }
   977  
   978  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   979  func (in *User) DeepCopyInto(out *User) {
   980  	*out = *in
   981  	if in.Gecos != nil {
   982  		in, out := &in.Gecos, &out.Gecos
   983  		*out = new(string)
   984  		**out = **in
   985  	}
   986  	if in.Groups != nil {
   987  		in, out := &in.Groups, &out.Groups
   988  		*out = new(string)
   989  		**out = **in
   990  	}
   991  	if in.HomeDir != nil {
   992  		in, out := &in.HomeDir, &out.HomeDir
   993  		*out = new(string)
   994  		**out = **in
   995  	}
   996  	if in.Inactive != nil {
   997  		in, out := &in.Inactive, &out.Inactive
   998  		*out = new(bool)
   999  		**out = **in
  1000  	}
  1001  	if in.Shell != nil {
  1002  		in, out := &in.Shell, &out.Shell
  1003  		*out = new(string)
  1004  		**out = **in
  1005  	}
  1006  	if in.Passwd != nil {
  1007  		in, out := &in.Passwd, &out.Passwd
  1008  		*out = new(string)
  1009  		**out = **in
  1010  	}
  1011  	if in.PrimaryGroup != nil {
  1012  		in, out := &in.PrimaryGroup, &out.PrimaryGroup
  1013  		*out = new(string)
  1014  		**out = **in
  1015  	}
  1016  	if in.LockPassword != nil {
  1017  		in, out := &in.LockPassword, &out.LockPassword
  1018  		*out = new(bool)
  1019  		**out = **in
  1020  	}
  1021  	if in.Sudo != nil {
  1022  		in, out := &in.Sudo, &out.Sudo
  1023  		*out = new(string)
  1024  		**out = **in
  1025  	}
  1026  	if in.SSHAuthorizedKeys != nil {
  1027  		in, out := &in.SSHAuthorizedKeys, &out.SSHAuthorizedKeys
  1028  		*out = make([]string, len(*in))
  1029  		copy(*out, *in)
  1030  	}
  1031  }
  1032  
  1033  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
  1034  func (in *User) DeepCopy() *User {
  1035  	if in == nil {
  1036  		return nil
  1037  	}
  1038  	out := new(User)
  1039  	in.DeepCopyInto(out)
  1040  	return out
  1041  }