sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/kubeadm/v1beta2/zz_generated.deepcopy.go (about)

     1  // +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 deepcopy-gen. DO NOT EDIT.
    20  
    21  package v1beta2
    22  
    23  import (
    24  	corev1 "k8s.io/api/core/v1"
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) {
    31  	*out = *in
    32  	return
    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  	return
    60  }
    61  
    62  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
    63  func (in *APIServer) DeepCopy() *APIServer {
    64  	if in == nil {
    65  		return nil
    66  	}
    67  	out := new(APIServer)
    68  	in.DeepCopyInto(out)
    69  	return out
    70  }
    71  
    72  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    73  func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
    74  	*out = *in
    75  	if in.Token != nil {
    76  		in, out := &in.Token, &out.Token
    77  		*out = new(BootstrapTokenString)
    78  		**out = **in
    79  	}
    80  	if in.TTL != nil {
    81  		in, out := &in.TTL, &out.TTL
    82  		*out = new(v1.Duration)
    83  		**out = **in
    84  	}
    85  	if in.Expires != nil {
    86  		in, out := &in.Expires, &out.Expires
    87  		*out = (*in).DeepCopy()
    88  	}
    89  	if in.Usages != nil {
    90  		in, out := &in.Usages, &out.Usages
    91  		*out = make([]string, len(*in))
    92  		copy(*out, *in)
    93  	}
    94  	if in.Groups != nil {
    95  		in, out := &in.Groups, &out.Groups
    96  		*out = make([]string, len(*in))
    97  		copy(*out, *in)
    98  	}
    99  	return
   100  }
   101  
   102  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
   103  func (in *BootstrapToken) DeepCopy() *BootstrapToken {
   104  	if in == nil {
   105  		return nil
   106  	}
   107  	out := new(BootstrapToken)
   108  	in.DeepCopyInto(out)
   109  	return out
   110  }
   111  
   112  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   113  func (in *BootstrapTokenDiscovery) DeepCopyInto(out *BootstrapTokenDiscovery) {
   114  	*out = *in
   115  	if in.CACertHashes != nil {
   116  		in, out := &in.CACertHashes, &out.CACertHashes
   117  		*out = make([]string, len(*in))
   118  		copy(*out, *in)
   119  	}
   120  	return
   121  }
   122  
   123  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenDiscovery.
   124  func (in *BootstrapTokenDiscovery) DeepCopy() *BootstrapTokenDiscovery {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(BootstrapTokenDiscovery)
   129  	in.DeepCopyInto(out)
   130  	return out
   131  }
   132  
   133  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   134  func (in *BootstrapTokenString) DeepCopyInto(out *BootstrapTokenString) {
   135  	*out = *in
   136  	return
   137  }
   138  
   139  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenString.
   140  func (in *BootstrapTokenString) DeepCopy() *BootstrapTokenString {
   141  	if in == nil {
   142  		return nil
   143  	}
   144  	out := new(BootstrapTokenString)
   145  	in.DeepCopyInto(out)
   146  	return out
   147  }
   148  
   149  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   150  func (in *ClusterConfiguration) DeepCopyInto(out *ClusterConfiguration) {
   151  	*out = *in
   152  	out.TypeMeta = in.TypeMeta
   153  	in.Etcd.DeepCopyInto(&out.Etcd)
   154  	out.Networking = in.Networking
   155  	in.APIServer.DeepCopyInto(&out.APIServer)
   156  	in.ControllerManager.DeepCopyInto(&out.ControllerManager)
   157  	in.Scheduler.DeepCopyInto(&out.Scheduler)
   158  	out.DNS = in.DNS
   159  	if in.FeatureGates != nil {
   160  		in, out := &in.FeatureGates, &out.FeatureGates
   161  		*out = make(map[string]bool, len(*in))
   162  		for key, val := range *in {
   163  			(*out)[key] = val
   164  		}
   165  	}
   166  	return
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfiguration.
   170  func (in *ClusterConfiguration) DeepCopy() *ClusterConfiguration {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(ClusterConfiguration)
   175  	in.DeepCopyInto(out)
   176  	return out
   177  }
   178  
   179  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   180  func (in *ClusterConfiguration) DeepCopyObject() runtime.Object {
   181  	if c := in.DeepCopy(); c != nil {
   182  		return c
   183  	}
   184  	return nil
   185  }
   186  
   187  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   188  func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
   189  	*out = *in
   190  	out.TypeMeta = in.TypeMeta
   191  	if in.APIEndpoints != nil {
   192  		in, out := &in.APIEndpoints, &out.APIEndpoints
   193  		*out = make(map[string]APIEndpoint, len(*in))
   194  		for key, val := range *in {
   195  			(*out)[key] = val
   196  		}
   197  	}
   198  	return
   199  }
   200  
   201  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
   202  func (in *ClusterStatus) DeepCopy() *ClusterStatus {
   203  	if in == nil {
   204  		return nil
   205  	}
   206  	out := new(ClusterStatus)
   207  	in.DeepCopyInto(out)
   208  	return out
   209  }
   210  
   211  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   212  func (in *ClusterStatus) DeepCopyObject() runtime.Object {
   213  	if c := in.DeepCopy(); c != nil {
   214  		return c
   215  	}
   216  	return nil
   217  }
   218  
   219  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   220  func (in *ControlPlaneComponent) DeepCopyInto(out *ControlPlaneComponent) {
   221  	*out = *in
   222  	if in.ExtraArgs != nil {
   223  		in, out := &in.ExtraArgs, &out.ExtraArgs
   224  		*out = make(map[string]string, len(*in))
   225  		for key, val := range *in {
   226  			(*out)[key] = val
   227  		}
   228  	}
   229  	if in.ExtraVolumes != nil {
   230  		in, out := &in.ExtraVolumes, &out.ExtraVolumes
   231  		*out = make([]HostPathMount, len(*in))
   232  		copy(*out, *in)
   233  	}
   234  	return
   235  }
   236  
   237  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneComponent.
   238  func (in *ControlPlaneComponent) DeepCopy() *ControlPlaneComponent {
   239  	if in == nil {
   240  		return nil
   241  	}
   242  	out := new(ControlPlaneComponent)
   243  	in.DeepCopyInto(out)
   244  	return out
   245  }
   246  
   247  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   248  func (in *DNS) DeepCopyInto(out *DNS) {
   249  	*out = *in
   250  	out.ImageMeta = in.ImageMeta
   251  	return
   252  }
   253  
   254  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS.
   255  func (in *DNS) DeepCopy() *DNS {
   256  	if in == nil {
   257  		return nil
   258  	}
   259  	out := new(DNS)
   260  	in.DeepCopyInto(out)
   261  	return out
   262  }
   263  
   264  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   265  func (in *Discovery) DeepCopyInto(out *Discovery) {
   266  	*out = *in
   267  	if in.BootstrapToken != nil {
   268  		in, out := &in.BootstrapToken, &out.BootstrapToken
   269  		*out = new(BootstrapTokenDiscovery)
   270  		(*in).DeepCopyInto(*out)
   271  	}
   272  	if in.File != nil {
   273  		in, out := &in.File, &out.File
   274  		*out = new(FileDiscovery)
   275  		**out = **in
   276  	}
   277  	if in.Timeout != nil {
   278  		in, out := &in.Timeout, &out.Timeout
   279  		*out = new(v1.Duration)
   280  		**out = **in
   281  	}
   282  	return
   283  }
   284  
   285  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Discovery.
   286  func (in *Discovery) DeepCopy() *Discovery {
   287  	if in == nil {
   288  		return nil
   289  	}
   290  	out := new(Discovery)
   291  	in.DeepCopyInto(out)
   292  	return out
   293  }
   294  
   295  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   296  func (in *Etcd) DeepCopyInto(out *Etcd) {
   297  	*out = *in
   298  	if in.Local != nil {
   299  		in, out := &in.Local, &out.Local
   300  		*out = new(LocalEtcd)
   301  		(*in).DeepCopyInto(*out)
   302  	}
   303  	if in.External != nil {
   304  		in, out := &in.External, &out.External
   305  		*out = new(ExternalEtcd)
   306  		(*in).DeepCopyInto(*out)
   307  	}
   308  	return
   309  }
   310  
   311  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
   312  func (in *Etcd) DeepCopy() *Etcd {
   313  	if in == nil {
   314  		return nil
   315  	}
   316  	out := new(Etcd)
   317  	in.DeepCopyInto(out)
   318  	return out
   319  }
   320  
   321  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   322  func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd) {
   323  	*out = *in
   324  	if in.Endpoints != nil {
   325  		in, out := &in.Endpoints, &out.Endpoints
   326  		*out = make([]string, len(*in))
   327  		copy(*out, *in)
   328  	}
   329  	return
   330  }
   331  
   332  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd.
   333  func (in *ExternalEtcd) DeepCopy() *ExternalEtcd {
   334  	if in == nil {
   335  		return nil
   336  	}
   337  	out := new(ExternalEtcd)
   338  	in.DeepCopyInto(out)
   339  	return out
   340  }
   341  
   342  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   343  func (in *FileDiscovery) DeepCopyInto(out *FileDiscovery) {
   344  	*out = *in
   345  	return
   346  }
   347  
   348  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileDiscovery.
   349  func (in *FileDiscovery) DeepCopy() *FileDiscovery {
   350  	if in == nil {
   351  		return nil
   352  	}
   353  	out := new(FileDiscovery)
   354  	in.DeepCopyInto(out)
   355  	return out
   356  }
   357  
   358  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   359  func (in *HostPathMount) DeepCopyInto(out *HostPathMount) {
   360  	*out = *in
   361  	return
   362  }
   363  
   364  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathMount.
   365  func (in *HostPathMount) DeepCopy() *HostPathMount {
   366  	if in == nil {
   367  		return nil
   368  	}
   369  	out := new(HostPathMount)
   370  	in.DeepCopyInto(out)
   371  	return out
   372  }
   373  
   374  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   375  func (in *ImageMeta) DeepCopyInto(out *ImageMeta) {
   376  	*out = *in
   377  	return
   378  }
   379  
   380  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMeta.
   381  func (in *ImageMeta) DeepCopy() *ImageMeta {
   382  	if in == nil {
   383  		return nil
   384  	}
   385  	out := new(ImageMeta)
   386  	in.DeepCopyInto(out)
   387  	return out
   388  }
   389  
   390  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   391  func (in *InitConfiguration) DeepCopyInto(out *InitConfiguration) {
   392  	*out = *in
   393  	out.TypeMeta = in.TypeMeta
   394  	if in.BootstrapTokens != nil {
   395  		in, out := &in.BootstrapTokens, &out.BootstrapTokens
   396  		*out = make([]BootstrapToken, len(*in))
   397  		for i := range *in {
   398  			(*in)[i].DeepCopyInto(&(*out)[i])
   399  		}
   400  	}
   401  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   402  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   403  	return
   404  }
   405  
   406  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitConfiguration.
   407  func (in *InitConfiguration) DeepCopy() *InitConfiguration {
   408  	if in == nil {
   409  		return nil
   410  	}
   411  	out := new(InitConfiguration)
   412  	in.DeepCopyInto(out)
   413  	return out
   414  }
   415  
   416  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   417  func (in *InitConfiguration) DeepCopyObject() runtime.Object {
   418  	if c := in.DeepCopy(); c != nil {
   419  		return c
   420  	}
   421  	return nil
   422  }
   423  
   424  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   425  func (in *JoinConfiguration) DeepCopyInto(out *JoinConfiguration) {
   426  	*out = *in
   427  	out.TypeMeta = in.TypeMeta
   428  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   429  	in.Discovery.DeepCopyInto(&out.Discovery)
   430  	if in.ControlPlane != nil {
   431  		in, out := &in.ControlPlane, &out.ControlPlane
   432  		*out = new(JoinControlPlane)
   433  		**out = **in
   434  	}
   435  	return
   436  }
   437  
   438  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinConfiguration.
   439  func (in *JoinConfiguration) DeepCopy() *JoinConfiguration {
   440  	if in == nil {
   441  		return nil
   442  	}
   443  	out := new(JoinConfiguration)
   444  	in.DeepCopyInto(out)
   445  	return out
   446  }
   447  
   448  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   449  func (in *JoinConfiguration) DeepCopyObject() runtime.Object {
   450  	if c := in.DeepCopy(); c != nil {
   451  		return c
   452  	}
   453  	return nil
   454  }
   455  
   456  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   457  func (in *JoinControlPlane) DeepCopyInto(out *JoinControlPlane) {
   458  	*out = *in
   459  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   460  	return
   461  }
   462  
   463  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinControlPlane.
   464  func (in *JoinControlPlane) DeepCopy() *JoinControlPlane {
   465  	if in == nil {
   466  		return nil
   467  	}
   468  	out := new(JoinControlPlane)
   469  	in.DeepCopyInto(out)
   470  	return out
   471  }
   472  
   473  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   474  func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) {
   475  	*out = *in
   476  	out.ImageMeta = in.ImageMeta
   477  	if in.ExtraArgs != nil {
   478  		in, out := &in.ExtraArgs, &out.ExtraArgs
   479  		*out = make(map[string]string, len(*in))
   480  		for key, val := range *in {
   481  			(*out)[key] = val
   482  		}
   483  	}
   484  	if in.ServerCertSANs != nil {
   485  		in, out := &in.ServerCertSANs, &out.ServerCertSANs
   486  		*out = make([]string, len(*in))
   487  		copy(*out, *in)
   488  	}
   489  	if in.PeerCertSANs != nil {
   490  		in, out := &in.PeerCertSANs, &out.PeerCertSANs
   491  		*out = make([]string, len(*in))
   492  		copy(*out, *in)
   493  	}
   494  	return
   495  }
   496  
   497  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
   498  func (in *LocalEtcd) DeepCopy() *LocalEtcd {
   499  	if in == nil {
   500  		return nil
   501  	}
   502  	out := new(LocalEtcd)
   503  	in.DeepCopyInto(out)
   504  	return out
   505  }
   506  
   507  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   508  func (in *Networking) DeepCopyInto(out *Networking) {
   509  	*out = *in
   510  	return
   511  }
   512  
   513  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
   514  func (in *Networking) DeepCopy() *Networking {
   515  	if in == nil {
   516  		return nil
   517  	}
   518  	out := new(Networking)
   519  	in.DeepCopyInto(out)
   520  	return out
   521  }
   522  
   523  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   524  func (in *NodeRegistrationOptions) DeepCopyInto(out *NodeRegistrationOptions) {
   525  	*out = *in
   526  	if in.Taints != nil {
   527  		in, out := &in.Taints, &out.Taints
   528  		*out = make([]corev1.Taint, len(*in))
   529  		for i := range *in {
   530  			(*in)[i].DeepCopyInto(&(*out)[i])
   531  		}
   532  	}
   533  	if in.KubeletExtraArgs != nil {
   534  		in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs
   535  		*out = make(map[string]string, len(*in))
   536  		for key, val := range *in {
   537  			(*out)[key] = val
   538  		}
   539  	}
   540  	if in.IgnorePreflightErrors != nil {
   541  		in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors
   542  		*out = make([]string, len(*in))
   543  		copy(*out, *in)
   544  	}
   545  	return
   546  }
   547  
   548  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRegistrationOptions.
   549  func (in *NodeRegistrationOptions) DeepCopy() *NodeRegistrationOptions {
   550  	if in == nil {
   551  		return nil
   552  	}
   553  	out := new(NodeRegistrationOptions)
   554  	in.DeepCopyInto(out)
   555  	return out
   556  }