sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/api/v1alpha2/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 controller-gen. DO NOT EDIT.
    20  
    21  package v1alpha2
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  	"sigs.k8s.io/cluster-api/bootstrap/kubeadm/kubeadm/v1beta1"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *File) DeepCopyInto(out *File) {
    30  	*out = *in
    31  }
    32  
    33  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
    34  func (in *File) DeepCopy() *File {
    35  	if in == nil {
    36  		return nil
    37  	}
    38  	out := new(File)
    39  	in.DeepCopyInto(out)
    40  	return out
    41  }
    42  
    43  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    44  func (in *KubeadmConfig) DeepCopyInto(out *KubeadmConfig) {
    45  	*out = *in
    46  	out.TypeMeta = in.TypeMeta
    47  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    48  	in.Spec.DeepCopyInto(&out.Spec)
    49  	in.Status.DeepCopyInto(&out.Status)
    50  }
    51  
    52  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfig.
    53  func (in *KubeadmConfig) DeepCopy() *KubeadmConfig {
    54  	if in == nil {
    55  		return nil
    56  	}
    57  	out := new(KubeadmConfig)
    58  	in.DeepCopyInto(out)
    59  	return out
    60  }
    61  
    62  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    63  func (in *KubeadmConfig) DeepCopyObject() runtime.Object {
    64  	if c := in.DeepCopy(); c != nil {
    65  		return c
    66  	}
    67  	return nil
    68  }
    69  
    70  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    71  func (in *KubeadmConfigList) DeepCopyInto(out *KubeadmConfigList) {
    72  	*out = *in
    73  	out.TypeMeta = in.TypeMeta
    74  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    75  	if in.Items != nil {
    76  		in, out := &in.Items, &out.Items
    77  		*out = make([]KubeadmConfig, len(*in))
    78  		for i := range *in {
    79  			(*in)[i].DeepCopyInto(&(*out)[i])
    80  		}
    81  	}
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigList.
    85  func (in *KubeadmConfigList) DeepCopy() *KubeadmConfigList {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(KubeadmConfigList)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    95  func (in *KubeadmConfigList) DeepCopyObject() runtime.Object {
    96  	if c := in.DeepCopy(); c != nil {
    97  		return c
    98  	}
    99  	return nil
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *KubeadmConfigSpec) DeepCopyInto(out *KubeadmConfigSpec) {
   104  	*out = *in
   105  	if in.ClusterConfiguration != nil {
   106  		in, out := &in.ClusterConfiguration, &out.ClusterConfiguration
   107  		*out = new(v1beta1.ClusterConfiguration)
   108  		(*in).DeepCopyInto(*out)
   109  	}
   110  	if in.InitConfiguration != nil {
   111  		in, out := &in.InitConfiguration, &out.InitConfiguration
   112  		*out = new(v1beta1.InitConfiguration)
   113  		(*in).DeepCopyInto(*out)
   114  	}
   115  	if in.JoinConfiguration != nil {
   116  		in, out := &in.JoinConfiguration, &out.JoinConfiguration
   117  		*out = new(v1beta1.JoinConfiguration)
   118  		(*in).DeepCopyInto(*out)
   119  	}
   120  	if in.Files != nil {
   121  		in, out := &in.Files, &out.Files
   122  		*out = make([]File, len(*in))
   123  		copy(*out, *in)
   124  	}
   125  	if in.PreKubeadmCommands != nil {
   126  		in, out := &in.PreKubeadmCommands, &out.PreKubeadmCommands
   127  		*out = make([]string, len(*in))
   128  		copy(*out, *in)
   129  	}
   130  	if in.PostKubeadmCommands != nil {
   131  		in, out := &in.PostKubeadmCommands, &out.PostKubeadmCommands
   132  		*out = make([]string, len(*in))
   133  		copy(*out, *in)
   134  	}
   135  	if in.Users != nil {
   136  		in, out := &in.Users, &out.Users
   137  		*out = make([]User, len(*in))
   138  		for i := range *in {
   139  			(*in)[i].DeepCopyInto(&(*out)[i])
   140  		}
   141  	}
   142  	if in.NTP != nil {
   143  		in, out := &in.NTP, &out.NTP
   144  		*out = new(NTP)
   145  		(*in).DeepCopyInto(*out)
   146  	}
   147  }
   148  
   149  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigSpec.
   150  func (in *KubeadmConfigSpec) DeepCopy() *KubeadmConfigSpec {
   151  	if in == nil {
   152  		return nil
   153  	}
   154  	out := new(KubeadmConfigSpec)
   155  	in.DeepCopyInto(out)
   156  	return out
   157  }
   158  
   159  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   160  func (in *KubeadmConfigStatus) DeepCopyInto(out *KubeadmConfigStatus) {
   161  	*out = *in
   162  	if in.BootstrapData != nil {
   163  		in, out := &in.BootstrapData, &out.BootstrapData
   164  		*out = make([]byte, len(*in))
   165  		copy(*out, *in)
   166  	}
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigStatus.
   170  func (in *KubeadmConfigStatus) DeepCopy() *KubeadmConfigStatus {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(KubeadmConfigStatus)
   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 *KubeadmConfigTemplate) DeepCopyInto(out *KubeadmConfigTemplate) {
   181  	*out = *in
   182  	out.TypeMeta = in.TypeMeta
   183  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   184  	in.Spec.DeepCopyInto(&out.Spec)
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplate.
   188  func (in *KubeadmConfigTemplate) DeepCopy() *KubeadmConfigTemplate {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(KubeadmConfigTemplate)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   198  func (in *KubeadmConfigTemplate) DeepCopyObject() runtime.Object {
   199  	if c := in.DeepCopy(); c != nil {
   200  		return c
   201  	}
   202  	return nil
   203  }
   204  
   205  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   206  func (in *KubeadmConfigTemplateList) DeepCopyInto(out *KubeadmConfigTemplateList) {
   207  	*out = *in
   208  	out.TypeMeta = in.TypeMeta
   209  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   210  	if in.Items != nil {
   211  		in, out := &in.Items, &out.Items
   212  		*out = make([]KubeadmConfigTemplate, len(*in))
   213  		for i := range *in {
   214  			(*in)[i].DeepCopyInto(&(*out)[i])
   215  		}
   216  	}
   217  }
   218  
   219  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateList.
   220  func (in *KubeadmConfigTemplateList) DeepCopy() *KubeadmConfigTemplateList {
   221  	if in == nil {
   222  		return nil
   223  	}
   224  	out := new(KubeadmConfigTemplateList)
   225  	in.DeepCopyInto(out)
   226  	return out
   227  }
   228  
   229  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   230  func (in *KubeadmConfigTemplateList) DeepCopyObject() runtime.Object {
   231  	if c := in.DeepCopy(); c != nil {
   232  		return c
   233  	}
   234  	return nil
   235  }
   236  
   237  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   238  func (in *KubeadmConfigTemplateResource) DeepCopyInto(out *KubeadmConfigTemplateResource) {
   239  	*out = *in
   240  	in.Spec.DeepCopyInto(&out.Spec)
   241  }
   242  
   243  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateResource.
   244  func (in *KubeadmConfigTemplateResource) DeepCopy() *KubeadmConfigTemplateResource {
   245  	if in == nil {
   246  		return nil
   247  	}
   248  	out := new(KubeadmConfigTemplateResource)
   249  	in.DeepCopyInto(out)
   250  	return out
   251  }
   252  
   253  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   254  func (in *KubeadmConfigTemplateSpec) DeepCopyInto(out *KubeadmConfigTemplateSpec) {
   255  	*out = *in
   256  	in.Template.DeepCopyInto(&out.Template)
   257  }
   258  
   259  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateSpec.
   260  func (in *KubeadmConfigTemplateSpec) DeepCopy() *KubeadmConfigTemplateSpec {
   261  	if in == nil {
   262  		return nil
   263  	}
   264  	out := new(KubeadmConfigTemplateSpec)
   265  	in.DeepCopyInto(out)
   266  	return out
   267  }
   268  
   269  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   270  func (in *NTP) DeepCopyInto(out *NTP) {
   271  	*out = *in
   272  	if in.Servers != nil {
   273  		in, out := &in.Servers, &out.Servers
   274  		*out = make([]string, len(*in))
   275  		copy(*out, *in)
   276  	}
   277  	if in.Enabled != nil {
   278  		in, out := &in.Enabled, &out.Enabled
   279  		*out = new(bool)
   280  		**out = **in
   281  	}
   282  }
   283  
   284  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTP.
   285  func (in *NTP) DeepCopy() *NTP {
   286  	if in == nil {
   287  		return nil
   288  	}
   289  	out := new(NTP)
   290  	in.DeepCopyInto(out)
   291  	return out
   292  }
   293  
   294  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   295  func (in *User) DeepCopyInto(out *User) {
   296  	*out = *in
   297  	if in.Gecos != nil {
   298  		in, out := &in.Gecos, &out.Gecos
   299  		*out = new(string)
   300  		**out = **in
   301  	}
   302  	if in.Groups != nil {
   303  		in, out := &in.Groups, &out.Groups
   304  		*out = new(string)
   305  		**out = **in
   306  	}
   307  	if in.HomeDir != nil {
   308  		in, out := &in.HomeDir, &out.HomeDir
   309  		*out = new(string)
   310  		**out = **in
   311  	}
   312  	if in.Inactive != nil {
   313  		in, out := &in.Inactive, &out.Inactive
   314  		*out = new(bool)
   315  		**out = **in
   316  	}
   317  	if in.Shell != nil {
   318  		in, out := &in.Shell, &out.Shell
   319  		*out = new(string)
   320  		**out = **in
   321  	}
   322  	if in.Passwd != nil {
   323  		in, out := &in.Passwd, &out.Passwd
   324  		*out = new(string)
   325  		**out = **in
   326  	}
   327  	if in.PrimaryGroup != nil {
   328  		in, out := &in.PrimaryGroup, &out.PrimaryGroup
   329  		*out = new(string)
   330  		**out = **in
   331  	}
   332  	if in.LockPassword != nil {
   333  		in, out := &in.LockPassword, &out.LockPassword
   334  		*out = new(bool)
   335  		**out = **in
   336  	}
   337  	if in.Sudo != nil {
   338  		in, out := &in.Sudo, &out.Sudo
   339  		*out = new(string)
   340  		**out = **in
   341  	}
   342  	if in.SSHAuthorizedKeys != nil {
   343  		in, out := &in.SSHAuthorizedKeys, &out.SSHAuthorizedKeys
   344  		*out = make([]string, len(*in))
   345  		copy(*out, *in)
   346  	}
   347  }
   348  
   349  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
   350  func (in *User) DeepCopy() *User {
   351  	if in == nil {
   352  		return nil
   353  	}
   354  	out := new(User)
   355  	in.DeepCopyInto(out)
   356  	return out
   357  }