...

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

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

     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 kubeadm
    23  
    24  import (
    25  	corev1 "k8s.io/api/core/v1"
    26  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    27  	runtime "k8s.io/apimachinery/pkg/runtime"
    28  	bootstraptokenv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/bootstraptoken/v1"
    29  )
    30  
    31  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    32  func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) {
    33  	*out = *in
    34  	return
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.
    38  func (in *APIEndpoint) DeepCopy() *APIEndpoint {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(APIEndpoint)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    48  func (in *APIServer) DeepCopyInto(out *APIServer) {
    49  	*out = *in
    50  	in.ControlPlaneComponent.DeepCopyInto(&out.ControlPlaneComponent)
    51  	if in.CertSANs != nil {
    52  		in, out := &in.CertSANs, &out.CertSANs
    53  		*out = make([]string, len(*in))
    54  		copy(*out, *in)
    55  	}
    56  	if in.TimeoutForControlPlane != nil {
    57  		in, out := &in.TimeoutForControlPlane, &out.TimeoutForControlPlane
    58  		*out = new(v1.Duration)
    59  		**out = **in
    60  	}
    61  	return
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
    65  func (in *APIServer) DeepCopy() *APIServer {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(APIServer)
    70  	in.DeepCopyInto(out)
    71  	return out
    72  }
    73  
    74  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    75  func (in *Arg) DeepCopyInto(out *Arg) {
    76  	*out = *in
    77  	return
    78  }
    79  
    80  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arg.
    81  func (in *Arg) DeepCopy() *Arg {
    82  	if in == nil {
    83  		return nil
    84  	}
    85  	out := new(Arg)
    86  	in.DeepCopyInto(out)
    87  	return out
    88  }
    89  
    90  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    91  func (in *BootstrapTokenDiscovery) DeepCopyInto(out *BootstrapTokenDiscovery) {
    92  	*out = *in
    93  	if in.CACertHashes != nil {
    94  		in, out := &in.CACertHashes, &out.CACertHashes
    95  		*out = make([]string, len(*in))
    96  		copy(*out, *in)
    97  	}
    98  	return
    99  }
   100  
   101  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenDiscovery.
   102  func (in *BootstrapTokenDiscovery) DeepCopy() *BootstrapTokenDiscovery {
   103  	if in == nil {
   104  		return nil
   105  	}
   106  	out := new(BootstrapTokenDiscovery)
   107  	in.DeepCopyInto(out)
   108  	return out
   109  }
   110  
   111  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   112  func (in *ClusterConfiguration) DeepCopyInto(out *ClusterConfiguration) {
   113  	*out = *in
   114  	out.TypeMeta = in.TypeMeta
   115  	if in.ComponentConfigs != nil {
   116  		in, out := &in.ComponentConfigs, &out.ComponentConfigs
   117  		*out = make(ComponentConfigMap, len(*in))
   118  		for key, val := range *in {
   119  			(*out)[key] = val.DeepCopy()
   120  		}
   121  	}
   122  	in.Etcd.DeepCopyInto(&out.Etcd)
   123  	out.Networking = in.Networking
   124  	in.APIServer.DeepCopyInto(&out.APIServer)
   125  	in.ControllerManager.DeepCopyInto(&out.ControllerManager)
   126  	in.Scheduler.DeepCopyInto(&out.Scheduler)
   127  	out.DNS = in.DNS
   128  	out.Proxy = in.Proxy
   129  	if in.FeatureGates != nil {
   130  		in, out := &in.FeatureGates, &out.FeatureGates
   131  		*out = make(map[string]bool, len(*in))
   132  		for key, val := range *in {
   133  			(*out)[key] = val
   134  		}
   135  	}
   136  	return
   137  }
   138  
   139  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfiguration.
   140  func (in *ClusterConfiguration) DeepCopy() *ClusterConfiguration {
   141  	if in == nil {
   142  		return nil
   143  	}
   144  	out := new(ClusterConfiguration)
   145  	in.DeepCopyInto(out)
   146  	return out
   147  }
   148  
   149  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   150  func (in *ClusterConfiguration) DeepCopyObject() runtime.Object {
   151  	if c := in.DeepCopy(); c != nil {
   152  		return c
   153  	}
   154  	return nil
   155  }
   156  
   157  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   158  func (in ComponentConfigMap) DeepCopyInto(out *ComponentConfigMap) {
   159  	{
   160  		in := &in
   161  		*out = make(ComponentConfigMap, len(*in))
   162  		for key, val := range *in {
   163  			(*out)[key] = val.DeepCopy()
   164  		}
   165  		return
   166  	}
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfigMap.
   170  func (in ComponentConfigMap) DeepCopy() ComponentConfigMap {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(ComponentConfigMap)
   175  	in.DeepCopyInto(out)
   176  	return *out
   177  }
   178  
   179  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   180  func (in *ControlPlaneComponent) DeepCopyInto(out *ControlPlaneComponent) {
   181  	*out = *in
   182  	if in.ExtraArgs != nil {
   183  		in, out := &in.ExtraArgs, &out.ExtraArgs
   184  		*out = make([]Arg, len(*in))
   185  		copy(*out, *in)
   186  	}
   187  	if in.ExtraVolumes != nil {
   188  		in, out := &in.ExtraVolumes, &out.ExtraVolumes
   189  		*out = make([]HostPathMount, len(*in))
   190  		copy(*out, *in)
   191  	}
   192  	if in.ExtraEnvs != nil {
   193  		in, out := &in.ExtraEnvs, &out.ExtraEnvs
   194  		*out = make([]EnvVar, len(*in))
   195  		for i := range *in {
   196  			(*in)[i].DeepCopyInto(&(*out)[i])
   197  		}
   198  	}
   199  	return
   200  }
   201  
   202  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneComponent.
   203  func (in *ControlPlaneComponent) DeepCopy() *ControlPlaneComponent {
   204  	if in == nil {
   205  		return nil
   206  	}
   207  	out := new(ControlPlaneComponent)
   208  	in.DeepCopyInto(out)
   209  	return out
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in *DNS) DeepCopyInto(out *DNS) {
   214  	*out = *in
   215  	out.ImageMeta = in.ImageMeta
   216  	return
   217  }
   218  
   219  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS.
   220  func (in *DNS) DeepCopy() *DNS {
   221  	if in == nil {
   222  		return nil
   223  	}
   224  	out := new(DNS)
   225  	in.DeepCopyInto(out)
   226  	return out
   227  }
   228  
   229  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   230  func (in *Discovery) DeepCopyInto(out *Discovery) {
   231  	*out = *in
   232  	if in.BootstrapToken != nil {
   233  		in, out := &in.BootstrapToken, &out.BootstrapToken
   234  		*out = new(BootstrapTokenDiscovery)
   235  		(*in).DeepCopyInto(*out)
   236  	}
   237  	if in.File != nil {
   238  		in, out := &in.File, &out.File
   239  		*out = new(FileDiscovery)
   240  		**out = **in
   241  	}
   242  	if in.Timeout != nil {
   243  		in, out := &in.Timeout, &out.Timeout
   244  		*out = new(v1.Duration)
   245  		**out = **in
   246  	}
   247  	return
   248  }
   249  
   250  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Discovery.
   251  func (in *Discovery) DeepCopy() *Discovery {
   252  	if in == nil {
   253  		return nil
   254  	}
   255  	out := new(Discovery)
   256  	in.DeepCopyInto(out)
   257  	return out
   258  }
   259  
   260  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   261  func (in *EnvVar) DeepCopyInto(out *EnvVar) {
   262  	*out = *in
   263  	in.EnvVar.DeepCopyInto(&out.EnvVar)
   264  	return
   265  }
   266  
   267  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
   268  func (in *EnvVar) DeepCopy() *EnvVar {
   269  	if in == nil {
   270  		return nil
   271  	}
   272  	out := new(EnvVar)
   273  	in.DeepCopyInto(out)
   274  	return out
   275  }
   276  
   277  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   278  func (in *Etcd) DeepCopyInto(out *Etcd) {
   279  	*out = *in
   280  	if in.Local != nil {
   281  		in, out := &in.Local, &out.Local
   282  		*out = new(LocalEtcd)
   283  		(*in).DeepCopyInto(*out)
   284  	}
   285  	if in.External != nil {
   286  		in, out := &in.External, &out.External
   287  		*out = new(ExternalEtcd)
   288  		(*in).DeepCopyInto(*out)
   289  	}
   290  	return
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
   294  func (in *Etcd) DeepCopy() *Etcd {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(Etcd)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  
   303  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   304  func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd) {
   305  	*out = *in
   306  	if in.Endpoints != nil {
   307  		in, out := &in.Endpoints, &out.Endpoints
   308  		*out = make([]string, len(*in))
   309  		copy(*out, *in)
   310  	}
   311  	return
   312  }
   313  
   314  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd.
   315  func (in *ExternalEtcd) DeepCopy() *ExternalEtcd {
   316  	if in == nil {
   317  		return nil
   318  	}
   319  	out := new(ExternalEtcd)
   320  	in.DeepCopyInto(out)
   321  	return out
   322  }
   323  
   324  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   325  func (in *FileDiscovery) DeepCopyInto(out *FileDiscovery) {
   326  	*out = *in
   327  	return
   328  }
   329  
   330  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileDiscovery.
   331  func (in *FileDiscovery) DeepCopy() *FileDiscovery {
   332  	if in == nil {
   333  		return nil
   334  	}
   335  	out := new(FileDiscovery)
   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 *HostPathMount) DeepCopyInto(out *HostPathMount) {
   342  	*out = *in
   343  	return
   344  }
   345  
   346  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathMount.
   347  func (in *HostPathMount) DeepCopy() *HostPathMount {
   348  	if in == nil {
   349  		return nil
   350  	}
   351  	out := new(HostPathMount)
   352  	in.DeepCopyInto(out)
   353  	return out
   354  }
   355  
   356  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   357  func (in *ImageMeta) DeepCopyInto(out *ImageMeta) {
   358  	*out = *in
   359  	return
   360  }
   361  
   362  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMeta.
   363  func (in *ImageMeta) DeepCopy() *ImageMeta {
   364  	if in == nil {
   365  		return nil
   366  	}
   367  	out := new(ImageMeta)
   368  	in.DeepCopyInto(out)
   369  	return out
   370  }
   371  
   372  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   373  func (in *InitConfiguration) DeepCopyInto(out *InitConfiguration) {
   374  	*out = *in
   375  	out.TypeMeta = in.TypeMeta
   376  	in.ClusterConfiguration.DeepCopyInto(&out.ClusterConfiguration)
   377  	if in.BootstrapTokens != nil {
   378  		in, out := &in.BootstrapTokens, &out.BootstrapTokens
   379  		*out = make([]bootstraptokenv1.BootstrapToken, len(*in))
   380  		for i := range *in {
   381  			(*in)[i].DeepCopyInto(&(*out)[i])
   382  		}
   383  	}
   384  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   385  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   386  	if in.SkipPhases != nil {
   387  		in, out := &in.SkipPhases, &out.SkipPhases
   388  		*out = make([]string, len(*in))
   389  		copy(*out, *in)
   390  	}
   391  	if in.Patches != nil {
   392  		in, out := &in.Patches, &out.Patches
   393  		*out = new(Patches)
   394  		**out = **in
   395  	}
   396  	if in.Timeouts != nil {
   397  		in, out := &in.Timeouts, &out.Timeouts
   398  		*out = new(Timeouts)
   399  		(*in).DeepCopyInto(*out)
   400  	}
   401  	return
   402  }
   403  
   404  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitConfiguration.
   405  func (in *InitConfiguration) DeepCopy() *InitConfiguration {
   406  	if in == nil {
   407  		return nil
   408  	}
   409  	out := new(InitConfiguration)
   410  	in.DeepCopyInto(out)
   411  	return out
   412  }
   413  
   414  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   415  func (in *InitConfiguration) DeepCopyObject() runtime.Object {
   416  	if c := in.DeepCopy(); c != nil {
   417  		return c
   418  	}
   419  	return nil
   420  }
   421  
   422  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   423  func (in *JoinConfiguration) DeepCopyInto(out *JoinConfiguration) {
   424  	*out = *in
   425  	out.TypeMeta = in.TypeMeta
   426  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   427  	in.Discovery.DeepCopyInto(&out.Discovery)
   428  	if in.ControlPlane != nil {
   429  		in, out := &in.ControlPlane, &out.ControlPlane
   430  		*out = new(JoinControlPlane)
   431  		**out = **in
   432  	}
   433  	if in.SkipPhases != nil {
   434  		in, out := &in.SkipPhases, &out.SkipPhases
   435  		*out = make([]string, len(*in))
   436  		copy(*out, *in)
   437  	}
   438  	if in.Patches != nil {
   439  		in, out := &in.Patches, &out.Patches
   440  		*out = new(Patches)
   441  		**out = **in
   442  	}
   443  	if in.Timeouts != nil {
   444  		in, out := &in.Timeouts, &out.Timeouts
   445  		*out = new(Timeouts)
   446  		(*in).DeepCopyInto(*out)
   447  	}
   448  	return
   449  }
   450  
   451  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinConfiguration.
   452  func (in *JoinConfiguration) DeepCopy() *JoinConfiguration {
   453  	if in == nil {
   454  		return nil
   455  	}
   456  	out := new(JoinConfiguration)
   457  	in.DeepCopyInto(out)
   458  	return out
   459  }
   460  
   461  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   462  func (in *JoinConfiguration) DeepCopyObject() runtime.Object {
   463  	if c := in.DeepCopy(); c != nil {
   464  		return c
   465  	}
   466  	return nil
   467  }
   468  
   469  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   470  func (in *JoinControlPlane) DeepCopyInto(out *JoinControlPlane) {
   471  	*out = *in
   472  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   473  	return
   474  }
   475  
   476  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinControlPlane.
   477  func (in *JoinControlPlane) DeepCopy() *JoinControlPlane {
   478  	if in == nil {
   479  		return nil
   480  	}
   481  	out := new(JoinControlPlane)
   482  	in.DeepCopyInto(out)
   483  	return out
   484  }
   485  
   486  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   487  func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) {
   488  	*out = *in
   489  	out.ImageMeta = in.ImageMeta
   490  	if in.ExtraArgs != nil {
   491  		in, out := &in.ExtraArgs, &out.ExtraArgs
   492  		*out = make([]Arg, len(*in))
   493  		copy(*out, *in)
   494  	}
   495  	if in.ExtraEnvs != nil {
   496  		in, out := &in.ExtraEnvs, &out.ExtraEnvs
   497  		*out = make([]EnvVar, len(*in))
   498  		for i := range *in {
   499  			(*in)[i].DeepCopyInto(&(*out)[i])
   500  		}
   501  	}
   502  	if in.ServerCertSANs != nil {
   503  		in, out := &in.ServerCertSANs, &out.ServerCertSANs
   504  		*out = make([]string, len(*in))
   505  		copy(*out, *in)
   506  	}
   507  	if in.PeerCertSANs != nil {
   508  		in, out := &in.PeerCertSANs, &out.PeerCertSANs
   509  		*out = make([]string, len(*in))
   510  		copy(*out, *in)
   511  	}
   512  	return
   513  }
   514  
   515  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
   516  func (in *LocalEtcd) DeepCopy() *LocalEtcd {
   517  	if in == nil {
   518  		return nil
   519  	}
   520  	out := new(LocalEtcd)
   521  	in.DeepCopyInto(out)
   522  	return out
   523  }
   524  
   525  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   526  func (in *Networking) DeepCopyInto(out *Networking) {
   527  	*out = *in
   528  	return
   529  }
   530  
   531  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
   532  func (in *Networking) DeepCopy() *Networking {
   533  	if in == nil {
   534  		return nil
   535  	}
   536  	out := new(Networking)
   537  	in.DeepCopyInto(out)
   538  	return out
   539  }
   540  
   541  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   542  func (in *NodeRegistrationOptions) DeepCopyInto(out *NodeRegistrationOptions) {
   543  	*out = *in
   544  	if in.Taints != nil {
   545  		in, out := &in.Taints, &out.Taints
   546  		*out = make([]corev1.Taint, len(*in))
   547  		for i := range *in {
   548  			(*in)[i].DeepCopyInto(&(*out)[i])
   549  		}
   550  	}
   551  	if in.KubeletExtraArgs != nil {
   552  		in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs
   553  		*out = make([]Arg, len(*in))
   554  		copy(*out, *in)
   555  	}
   556  	if in.IgnorePreflightErrors != nil {
   557  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   558  		*out = make([]string, len(*in))
   559  		copy(*out, *in)
   560  	}
   561  	if in.ImagePullSerial != nil {
   562  		in, out := &in.ImagePullSerial, &out.ImagePullSerial
   563  		*out = new(bool)
   564  		**out = **in
   565  	}
   566  	return
   567  }
   568  
   569  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRegistrationOptions.
   570  func (in *NodeRegistrationOptions) DeepCopy() *NodeRegistrationOptions {
   571  	if in == nil {
   572  		return nil
   573  	}
   574  	out := new(NodeRegistrationOptions)
   575  	in.DeepCopyInto(out)
   576  	return out
   577  }
   578  
   579  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   580  func (in *Patches) DeepCopyInto(out *Patches) {
   581  	*out = *in
   582  	return
   583  }
   584  
   585  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patches.
   586  func (in *Patches) DeepCopy() *Patches {
   587  	if in == nil {
   588  		return nil
   589  	}
   590  	out := new(Patches)
   591  	in.DeepCopyInto(out)
   592  	return out
   593  }
   594  
   595  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   596  func (in *Proxy) DeepCopyInto(out *Proxy) {
   597  	*out = *in
   598  	return
   599  }
   600  
   601  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Proxy.
   602  func (in *Proxy) DeepCopy() *Proxy {
   603  	if in == nil {
   604  		return nil
   605  	}
   606  	out := new(Proxy)
   607  	in.DeepCopyInto(out)
   608  	return out
   609  }
   610  
   611  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   612  func (in *ResetConfiguration) DeepCopyInto(out *ResetConfiguration) {
   613  	*out = *in
   614  	out.TypeMeta = in.TypeMeta
   615  	if in.IgnorePreflightErrors != nil {
   616  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   617  		*out = make([]string, len(*in))
   618  		copy(*out, *in)
   619  	}
   620  	if in.SkipPhases != nil {
   621  		in, out := &in.SkipPhases, &out.SkipPhases
   622  		*out = make([]string, len(*in))
   623  		copy(*out, *in)
   624  	}
   625  	if in.UnmountFlags != nil {
   626  		in, out := &in.UnmountFlags, &out.UnmountFlags
   627  		*out = make([]string, len(*in))
   628  		copy(*out, *in)
   629  	}
   630  	if in.Timeouts != nil {
   631  		in, out := &in.Timeouts, &out.Timeouts
   632  		*out = new(Timeouts)
   633  		(*in).DeepCopyInto(*out)
   634  	}
   635  	return
   636  }
   637  
   638  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResetConfiguration.
   639  func (in *ResetConfiguration) DeepCopy() *ResetConfiguration {
   640  	if in == nil {
   641  		return nil
   642  	}
   643  	out := new(ResetConfiguration)
   644  	in.DeepCopyInto(out)
   645  	return out
   646  }
   647  
   648  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   649  func (in *ResetConfiguration) DeepCopyObject() runtime.Object {
   650  	if c := in.DeepCopy(); c != nil {
   651  		return c
   652  	}
   653  	return nil
   654  }
   655  
   656  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   657  func (in *Timeouts) DeepCopyInto(out *Timeouts) {
   658  	*out = *in
   659  	if in.ControlPlaneComponentHealthCheck != nil {
   660  		in, out := &in.ControlPlaneComponentHealthCheck, &out.ControlPlaneComponentHealthCheck
   661  		*out = new(v1.Duration)
   662  		**out = **in
   663  	}
   664  	if in.KubeletHealthCheck != nil {
   665  		in, out := &in.KubeletHealthCheck, &out.KubeletHealthCheck
   666  		*out = new(v1.Duration)
   667  		**out = **in
   668  	}
   669  	if in.KubernetesAPICall != nil {
   670  		in, out := &in.KubernetesAPICall, &out.KubernetesAPICall
   671  		*out = new(v1.Duration)
   672  		**out = **in
   673  	}
   674  	if in.EtcdAPICall != nil {
   675  		in, out := &in.EtcdAPICall, &out.EtcdAPICall
   676  		*out = new(v1.Duration)
   677  		**out = **in
   678  	}
   679  	if in.TLSBootstrap != nil {
   680  		in, out := &in.TLSBootstrap, &out.TLSBootstrap
   681  		*out = new(v1.Duration)
   682  		**out = **in
   683  	}
   684  	if in.Discovery != nil {
   685  		in, out := &in.Discovery, &out.Discovery
   686  		*out = new(v1.Duration)
   687  		**out = **in
   688  	}
   689  	if in.UpgradeManifests != nil {
   690  		in, out := &in.UpgradeManifests, &out.UpgradeManifests
   691  		*out = new(v1.Duration)
   692  		**out = **in
   693  	}
   694  	return
   695  }
   696  
   697  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timeouts.
   698  func (in *Timeouts) DeepCopy() *Timeouts {
   699  	if in == nil {
   700  		return nil
   701  	}
   702  	out := new(Timeouts)
   703  	in.DeepCopyInto(out)
   704  	return out
   705  }
   706  
   707  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   708  func (in *UpgradeApplyConfiguration) DeepCopyInto(out *UpgradeApplyConfiguration) {
   709  	*out = *in
   710  	if in.AllowExperimentalUpgrades != nil {
   711  		in, out := &in.AllowExperimentalUpgrades, &out.AllowExperimentalUpgrades
   712  		*out = new(bool)
   713  		**out = **in
   714  	}
   715  	if in.AllowRCUpgrades != nil {
   716  		in, out := &in.AllowRCUpgrades, &out.AllowRCUpgrades
   717  		*out = new(bool)
   718  		**out = **in
   719  	}
   720  	if in.CertificateRenewal != nil {
   721  		in, out := &in.CertificateRenewal, &out.CertificateRenewal
   722  		*out = new(bool)
   723  		**out = **in
   724  	}
   725  	if in.DryRun != nil {
   726  		in, out := &in.DryRun, &out.DryRun
   727  		*out = new(bool)
   728  		**out = **in
   729  	}
   730  	if in.EtcdUpgrade != nil {
   731  		in, out := &in.EtcdUpgrade, &out.EtcdUpgrade
   732  		*out = new(bool)
   733  		**out = **in
   734  	}
   735  	if in.ForceUpgrade != nil {
   736  		in, out := &in.ForceUpgrade, &out.ForceUpgrade
   737  		*out = new(bool)
   738  		**out = **in
   739  	}
   740  	if in.IgnorePreflightErrors != nil {
   741  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   742  		*out = make([]string, len(*in))
   743  		copy(*out, *in)
   744  	}
   745  	if in.Patches != nil {
   746  		in, out := &in.Patches, &out.Patches
   747  		*out = new(Patches)
   748  		**out = **in
   749  	}
   750  	if in.PrintConfig != nil {
   751  		in, out := &in.PrintConfig, &out.PrintConfig
   752  		*out = new(bool)
   753  		**out = **in
   754  	}
   755  	if in.SkipPhases != nil {
   756  		in, out := &in.SkipPhases, &out.SkipPhases
   757  		*out = make([]string, len(*in))
   758  		copy(*out, *in)
   759  	}
   760  	return
   761  }
   762  
   763  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeApplyConfiguration.
   764  func (in *UpgradeApplyConfiguration) DeepCopy() *UpgradeApplyConfiguration {
   765  	if in == nil {
   766  		return nil
   767  	}
   768  	out := new(UpgradeApplyConfiguration)
   769  	in.DeepCopyInto(out)
   770  	return out
   771  }
   772  
   773  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   774  func (in *UpgradeConfiguration) DeepCopyInto(out *UpgradeConfiguration) {
   775  	*out = *in
   776  	out.TypeMeta = in.TypeMeta
   777  	in.Apply.DeepCopyInto(&out.Apply)
   778  	out.Diff = in.Diff
   779  	in.Node.DeepCopyInto(&out.Node)
   780  	in.Plan.DeepCopyInto(&out.Plan)
   781  	if in.Timeouts != nil {
   782  		in, out := &in.Timeouts, &out.Timeouts
   783  		*out = new(Timeouts)
   784  		(*in).DeepCopyInto(*out)
   785  	}
   786  	return
   787  }
   788  
   789  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeConfiguration.
   790  func (in *UpgradeConfiguration) DeepCopy() *UpgradeConfiguration {
   791  	if in == nil {
   792  		return nil
   793  	}
   794  	out := new(UpgradeConfiguration)
   795  	in.DeepCopyInto(out)
   796  	return out
   797  }
   798  
   799  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   800  func (in *UpgradeConfiguration) DeepCopyObject() runtime.Object {
   801  	if c := in.DeepCopy(); c != nil {
   802  		return c
   803  	}
   804  	return nil
   805  }
   806  
   807  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   808  func (in *UpgradeDiffConfiguration) DeepCopyInto(out *UpgradeDiffConfiguration) {
   809  	*out = *in
   810  	return
   811  }
   812  
   813  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDiffConfiguration.
   814  func (in *UpgradeDiffConfiguration) DeepCopy() *UpgradeDiffConfiguration {
   815  	if in == nil {
   816  		return nil
   817  	}
   818  	out := new(UpgradeDiffConfiguration)
   819  	in.DeepCopyInto(out)
   820  	return out
   821  }
   822  
   823  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   824  func (in *UpgradeNodeConfiguration) DeepCopyInto(out *UpgradeNodeConfiguration) {
   825  	*out = *in
   826  	if in.CertificateRenewal != nil {
   827  		in, out := &in.CertificateRenewal, &out.CertificateRenewal
   828  		*out = new(bool)
   829  		**out = **in
   830  	}
   831  	if in.DryRun != nil {
   832  		in, out := &in.DryRun, &out.DryRun
   833  		*out = new(bool)
   834  		**out = **in
   835  	}
   836  	if in.EtcdUpgrade != nil {
   837  		in, out := &in.EtcdUpgrade, &out.EtcdUpgrade
   838  		*out = new(bool)
   839  		**out = **in
   840  	}
   841  	if in.IgnorePreflightErrors != nil {
   842  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   843  		*out = make([]string, len(*in))
   844  		copy(*out, *in)
   845  	}
   846  	if in.SkipPhases != nil {
   847  		in, out := &in.SkipPhases, &out.SkipPhases
   848  		*out = make([]string, len(*in))
   849  		copy(*out, *in)
   850  	}
   851  	if in.Patches != nil {
   852  		in, out := &in.Patches, &out.Patches
   853  		*out = new(Patches)
   854  		**out = **in
   855  	}
   856  	return
   857  }
   858  
   859  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeNodeConfiguration.
   860  func (in *UpgradeNodeConfiguration) DeepCopy() *UpgradeNodeConfiguration {
   861  	if in == nil {
   862  		return nil
   863  	}
   864  	out := new(UpgradeNodeConfiguration)
   865  	in.DeepCopyInto(out)
   866  	return out
   867  }
   868  
   869  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   870  func (in *UpgradePlanConfiguration) DeepCopyInto(out *UpgradePlanConfiguration) {
   871  	*out = *in
   872  	if in.AllowExperimentalUpgrades != nil {
   873  		in, out := &in.AllowExperimentalUpgrades, &out.AllowExperimentalUpgrades
   874  		*out = new(bool)
   875  		**out = **in
   876  	}
   877  	if in.AllowRCUpgrades != nil {
   878  		in, out := &in.AllowRCUpgrades, &out.AllowRCUpgrades
   879  		*out = new(bool)
   880  		**out = **in
   881  	}
   882  	if in.DryRun != nil {
   883  		in, out := &in.DryRun, &out.DryRun
   884  		*out = new(bool)
   885  		**out = **in
   886  	}
   887  	if in.IgnorePreflightErrors != nil {
   888  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   889  		*out = make([]string, len(*in))
   890  		copy(*out, *in)
   891  	}
   892  	if in.PrintConfig != nil {
   893  		in, out := &in.PrintConfig, &out.PrintConfig
   894  		*out = new(bool)
   895  		**out = **in
   896  	}
   897  	return
   898  }
   899  
   900  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlanConfiguration.
   901  func (in *UpgradePlanConfiguration) DeepCopy() *UpgradePlanConfiguration {
   902  	if in == nil {
   903  		return nil
   904  	}
   905  	out := new(UpgradePlanConfiguration)
   906  	in.DeepCopyInto(out)
   907  	return out
   908  }
   909  

View as plain text