sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/kubeadm/v1beta1/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 v1beta1
    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  	in.ClusterConfiguration.DeepCopyInto(&out.ClusterConfiguration)
   395  	if in.BootstrapTokens != nil {
   396  		in, out := &in.BootstrapTokens, &out.BootstrapTokens
   397  		*out = make([]BootstrapToken, len(*in))
   398  		for i := range *in {
   399  			(*in)[i].DeepCopyInto(&(*out)[i])
   400  		}
   401  	}
   402  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   403  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   404  	return
   405  }
   406  
   407  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitConfiguration.
   408  func (in *InitConfiguration) DeepCopy() *InitConfiguration {
   409  	if in == nil {
   410  		return nil
   411  	}
   412  	out := new(InitConfiguration)
   413  	in.DeepCopyInto(out)
   414  	return out
   415  }
   416  
   417  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   418  func (in *InitConfiguration) DeepCopyObject() runtime.Object {
   419  	if c := in.DeepCopy(); c != nil {
   420  		return c
   421  	}
   422  	return nil
   423  }
   424  
   425  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   426  func (in *JoinConfiguration) DeepCopyInto(out *JoinConfiguration) {
   427  	*out = *in
   428  	out.TypeMeta = in.TypeMeta
   429  	in.NodeRegistration.DeepCopyInto(&out.NodeRegistration)
   430  	in.Discovery.DeepCopyInto(&out.Discovery)
   431  	if in.ControlPlane != nil {
   432  		in, out := &in.ControlPlane, &out.ControlPlane
   433  		*out = new(JoinControlPlane)
   434  		**out = **in
   435  	}
   436  	return
   437  }
   438  
   439  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinConfiguration.
   440  func (in *JoinConfiguration) DeepCopy() *JoinConfiguration {
   441  	if in == nil {
   442  		return nil
   443  	}
   444  	out := new(JoinConfiguration)
   445  	in.DeepCopyInto(out)
   446  	return out
   447  }
   448  
   449  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   450  func (in *JoinConfiguration) DeepCopyObject() runtime.Object {
   451  	if c := in.DeepCopy(); c != nil {
   452  		return c
   453  	}
   454  	return nil
   455  }
   456  
   457  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   458  func (in *JoinControlPlane) DeepCopyInto(out *JoinControlPlane) {
   459  	*out = *in
   460  	out.LocalAPIEndpoint = in.LocalAPIEndpoint
   461  	return
   462  }
   463  
   464  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinControlPlane.
   465  func (in *JoinControlPlane) DeepCopy() *JoinControlPlane {
   466  	if in == nil {
   467  		return nil
   468  	}
   469  	out := new(JoinControlPlane)
   470  	in.DeepCopyInto(out)
   471  	return out
   472  }
   473  
   474  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   475  func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) {
   476  	*out = *in
   477  	out.ImageMeta = in.ImageMeta
   478  	if in.ExtraArgs != nil {
   479  		in, out := &in.ExtraArgs, &out.ExtraArgs
   480  		*out = make(map[string]string, len(*in))
   481  		for key, val := range *in {
   482  			(*out)[key] = val
   483  		}
   484  	}
   485  	if in.ServerCertSANs != nil {
   486  		in, out := &in.ServerCertSANs, &out.ServerCertSANs
   487  		*out = make([]string, len(*in))
   488  		copy(*out, *in)
   489  	}
   490  	if in.PeerCertSANs != nil {
   491  		in, out := &in.PeerCertSANs, &out.PeerCertSANs
   492  		*out = make([]string, len(*in))
   493  		copy(*out, *in)
   494  	}
   495  	return
   496  }
   497  
   498  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
   499  func (in *LocalEtcd) DeepCopy() *LocalEtcd {
   500  	if in == nil {
   501  		return nil
   502  	}
   503  	out := new(LocalEtcd)
   504  	in.DeepCopyInto(out)
   505  	return out
   506  }
   507  
   508  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   509  func (in *Networking) DeepCopyInto(out *Networking) {
   510  	*out = *in
   511  	return
   512  }
   513  
   514  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
   515  func (in *Networking) DeepCopy() *Networking {
   516  	if in == nil {
   517  		return nil
   518  	}
   519  	out := new(Networking)
   520  	in.DeepCopyInto(out)
   521  	return out
   522  }
   523  
   524  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   525  func (in *NodeRegistrationOptions) DeepCopyInto(out *NodeRegistrationOptions) {
   526  	*out = *in
   527  	if in.Taints != nil {
   528  		in, out := &in.Taints, &out.Taints
   529  		*out = make([]corev1.Taint, len(*in))
   530  		for i := range *in {
   531  			(*in)[i].DeepCopyInto(&(*out)[i])
   532  		}
   533  	}
   534  	if in.KubeletExtraArgs != nil {
   535  		in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs
   536  		*out = make(map[string]string, len(*in))
   537  		for key, val := range *in {
   538  			(*out)[key] = val
   539  		}
   540  	}
   541  	return
   542  }
   543  
   544  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRegistrationOptions.
   545  func (in *NodeRegistrationOptions) DeepCopy() *NodeRegistrationOptions {
   546  	if in == nil {
   547  		return nil
   548  	}
   549  	out := new(NodeRegistrationOptions)
   550  	in.DeepCopyInto(out)
   551  	return out
   552  }