github.com/sealerio/sealer@v0.11.1-0.20240507115618-f4f89c5853ae/types/api/v1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright © 2021 Alibaba Group Holding Ltd.
     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  // Code generated by deepcopy-gen. DO NOT EDIT.
    19  
    20  package v1
    21  
    22  import (
    23  	"net"
    24  
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *Cluster) DeepCopyInto(out *Cluster) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	out.Status = in.Status
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
    39  func (in *Cluster) DeepCopy() *Cluster {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(Cluster)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    49  func (in *Cluster) DeepCopyObject() runtime.Object {
    50  	if c := in.DeepCopy(); c != nil {
    51  		return c
    52  	}
    53  	return nil
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *ClusterList) DeepCopyInto(out *ClusterList) {
    58  	*out = *in
    59  	out.TypeMeta = in.TypeMeta
    60  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    61  	if in.Items != nil {
    62  		in, out := &in.Items, &out.Items
    63  		*out = make([]Cluster, len(*in))
    64  		for i := range *in {
    65  			(*in)[i].DeepCopyInto(&(*out)[i])
    66  		}
    67  	}
    68  	return
    69  }
    70  
    71  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
    72  func (in *ClusterList) DeepCopy() *ClusterList {
    73  	if in == nil {
    74  		return nil
    75  	}
    76  	out := new(ClusterList)
    77  	in.DeepCopyInto(out)
    78  	return out
    79  }
    80  
    81  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    82  func (in *ClusterList) DeepCopyObject() runtime.Object {
    83  	if c := in.DeepCopy(); c != nil {
    84  		return c
    85  	}
    86  	return nil
    87  }
    88  
    89  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    90  func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
    91  	*out = *in
    92  	if in.Env != nil {
    93  		in, out := &in.Env, &out.Env
    94  		*out = make([]string, len(*in))
    95  		copy(*out, *in)
    96  	}
    97  	out.SSH = in.SSH
    98  	out.Network = in.Network
    99  	if in.CertSANS != nil {
   100  		in, out := &in.CertSANS, &out.CertSANS
   101  		*out = make([]string, len(*in))
   102  		copy(*out, *in)
   103  	}
   104  	in.Masters.DeepCopyInto(&out.Masters)
   105  	in.Nodes.DeepCopyInto(&out.Nodes)
   106  	return
   107  }
   108  
   109  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
   110  func (in *ClusterSpec) DeepCopy() *ClusterSpec {
   111  	if in == nil {
   112  		return nil
   113  	}
   114  	out := new(ClusterSpec)
   115  	in.DeepCopyInto(out)
   116  	return out
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
   121  	*out = *in
   122  	return
   123  }
   124  
   125  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
   126  func (in *ClusterStatus) DeepCopy() *ClusterStatus {
   127  	if in == nil {
   128  		return nil
   129  	}
   130  	out := new(ClusterStatus)
   131  	in.DeepCopyInto(out)
   132  	return out
   133  }
   134  
   135  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   136  func (in *Config) DeepCopyInto(out *Config) {
   137  	*out = *in
   138  	out.TypeMeta = in.TypeMeta
   139  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   140  	out.Spec = in.Spec
   141  	out.Status = in.Status
   142  	return
   143  }
   144  
   145  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
   146  func (in *Config) DeepCopy() *Config {
   147  	if in == nil {
   148  		return nil
   149  	}
   150  	out := new(Config)
   151  	in.DeepCopyInto(out)
   152  	return out
   153  }
   154  
   155  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   156  func (in *Config) DeepCopyObject() runtime.Object {
   157  	if c := in.DeepCopy(); c != nil {
   158  		return c
   159  	}
   160  	return nil
   161  }
   162  
   163  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   164  func (in *ConfigList) DeepCopyInto(out *ConfigList) {
   165  	*out = *in
   166  	out.TypeMeta = in.TypeMeta
   167  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   168  	if in.Items != nil {
   169  		in, out := &in.Items, &out.Items
   170  		*out = make([]Config, len(*in))
   171  		for i := range *in {
   172  			(*in)[i].DeepCopyInto(&(*out)[i])
   173  		}
   174  	}
   175  	return
   176  }
   177  
   178  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
   179  func (in *ConfigList) DeepCopy() *ConfigList {
   180  	if in == nil {
   181  		return nil
   182  	}
   183  	out := new(ConfigList)
   184  	in.DeepCopyInto(out)
   185  	return out
   186  }
   187  
   188  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   189  func (in *ConfigList) DeepCopyObject() runtime.Object {
   190  	if c := in.DeepCopy(); c != nil {
   191  		return c
   192  	}
   193  	return nil
   194  }
   195  
   196  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   197  func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec) {
   198  	*out = *in
   199  	return
   200  }
   201  
   202  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
   203  func (in *ConfigSpec) DeepCopy() *ConfigSpec {
   204  	if in == nil {
   205  		return nil
   206  	}
   207  	out := new(ConfigSpec)
   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 *ConfigStatus) DeepCopyInto(out *ConfigStatus) {
   214  	*out = *in
   215  	return
   216  }
   217  
   218  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatus.
   219  func (in *ConfigStatus) DeepCopy() *ConfigStatus {
   220  	if in == nil {
   221  		return nil
   222  	}
   223  	out := new(ConfigStatus)
   224  	in.DeepCopyInto(out)
   225  	return out
   226  }
   227  
   228  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   229  func (in *Hosts) DeepCopyInto(out *Hosts) {
   230  	*out = *in
   231  	if in.DataDisks != nil {
   232  		in, out := &in.DataDisks, &out.DataDisks
   233  		*out = make([]string, len(*in))
   234  		copy(*out, *in)
   235  	}
   236  	if in.IPList != nil {
   237  		in, out := &in.IPList, &out.IPList
   238  		*out = make([]net.IP, len(*in))
   239  		copy(*out, *in)
   240  	}
   241  	return
   242  }
   243  
   244  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hosts.
   245  func (in *Hosts) DeepCopy() *Hosts {
   246  	if in == nil {
   247  		return nil
   248  	}
   249  	out := new(Hosts)
   250  	in.DeepCopyInto(out)
   251  	return out
   252  }
   253  
   254  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   255  func (in *Image) DeepCopyInto(out *Image) {
   256  	*out = *in
   257  	out.TypeMeta = in.TypeMeta
   258  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   259  	in.Spec.DeepCopyInto(&out.Spec)
   260  	out.Status = in.Status
   261  	return
   262  }
   263  
   264  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
   265  func (in *Image) DeepCopy() *Image {
   266  	if in == nil {
   267  		return nil
   268  	}
   269  	out := new(Image)
   270  	in.DeepCopyInto(out)
   271  	return out
   272  }
   273  
   274  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   275  func (in *Image) DeepCopyObject() runtime.Object {
   276  	if c := in.DeepCopy(); c != nil {
   277  		return c
   278  	}
   279  	return nil
   280  }
   281  
   282  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   283  func (in *ImageList) DeepCopyInto(out *ImageList) {
   284  	*out = *in
   285  	out.TypeMeta = in.TypeMeta
   286  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   287  	if in.Items != nil {
   288  		in, out := &in.Items, &out.Items
   289  		*out = make([]Image, len(*in))
   290  		for i := range *in {
   291  			(*in)[i].DeepCopyInto(&(*out)[i])
   292  		}
   293  	}
   294  	return
   295  }
   296  
   297  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
   298  func (in *ImageList) DeepCopy() *ImageList {
   299  	if in == nil {
   300  		return nil
   301  	}
   302  	out := new(ImageList)
   303  	in.DeepCopyInto(out)
   304  	return out
   305  }
   306  
   307  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   308  func (in *ImageList) DeepCopyObject() runtime.Object {
   309  	if c := in.DeepCopy(); c != nil {
   310  		return c
   311  	}
   312  	return nil
   313  }
   314  
   315  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   316  func (in *ImageSpec) DeepCopyInto(out *ImageSpec) {
   317  	*out = *in
   318  	if in.Layers != nil {
   319  		in, out := &in.Layers, &out.Layers
   320  		*out = make([]Layer, len(*in))
   321  		copy(*out, *in)
   322  	}
   323  	out.Platform = in.Platform
   324  	out.ImageConfig = in.ImageConfig
   325  	return
   326  }
   327  
   328  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
   329  func (in *ImageSpec) DeepCopy() *ImageSpec {
   330  	if in == nil {
   331  		return nil
   332  	}
   333  	out := new(ImageSpec)
   334  	in.DeepCopyInto(out)
   335  	return out
   336  }
   337  
   338  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   339  func (in *ImageStatus) DeepCopyInto(out *ImageStatus) {
   340  	*out = *in
   341  	return
   342  }
   343  
   344  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
   345  func (in *ImageStatus) DeepCopy() *ImageStatus {
   346  	if in == nil {
   347  		return nil
   348  	}
   349  	out := new(ImageStatus)
   350  	in.DeepCopyInto(out)
   351  	return out
   352  }
   353  
   354  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   355  func (in *Layer) DeepCopyInto(out *Layer) {
   356  	*out = *in
   357  	return
   358  }
   359  
   360  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Layer.
   361  func (in *Layer) DeepCopy() *Layer {
   362  	if in == nil {
   363  		return nil
   364  	}
   365  	out := new(Layer)
   366  	in.DeepCopyInto(out)
   367  	return out
   368  }
   369  
   370  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   371  func (in *Network) DeepCopyInto(out *Network) {
   372  	*out = *in
   373  	return
   374  }
   375  
   376  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
   377  func (in *Network) DeepCopy() *Network {
   378  	if in == nil {
   379  		return nil
   380  	}
   381  	out := new(Network)
   382  	in.DeepCopyInto(out)
   383  	return out
   384  }
   385  
   386  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   387  func (in *Platform) DeepCopyInto(out *Platform) {
   388  	*out = *in
   389  	return
   390  }
   391  
   392  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.
   393  func (in *Platform) DeepCopy() *Platform {
   394  	if in == nil {
   395  		return nil
   396  	}
   397  	out := new(Platform)
   398  	in.DeepCopyInto(out)
   399  	return out
   400  }
   401  
   402  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   403  func (in *Plugin) DeepCopyInto(out *Plugin) {
   404  	*out = *in
   405  	out.TypeMeta = in.TypeMeta
   406  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   407  	out.Spec = in.Spec
   408  	out.Status = in.Status
   409  	return
   410  }
   411  
   412  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
   413  func (in *Plugin) DeepCopy() *Plugin {
   414  	if in == nil {
   415  		return nil
   416  	}
   417  	out := new(Plugin)
   418  	in.DeepCopyInto(out)
   419  	return out
   420  }
   421  
   422  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   423  func (in *Plugin) DeepCopyObject() runtime.Object {
   424  	if c := in.DeepCopy(); c != nil {
   425  		return c
   426  	}
   427  	return nil
   428  }
   429  
   430  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   431  func (in *PluginList) DeepCopyInto(out *PluginList) {
   432  	*out = *in
   433  	out.TypeMeta = in.TypeMeta
   434  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   435  	if in.Items != nil {
   436  		in, out := &in.Items, &out.Items
   437  		*out = make([]Plugin, len(*in))
   438  		for i := range *in {
   439  			(*in)[i].DeepCopyInto(&(*out)[i])
   440  		}
   441  	}
   442  	return
   443  }
   444  
   445  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginList.
   446  func (in *PluginList) DeepCopy() *PluginList {
   447  	if in == nil {
   448  		return nil
   449  	}
   450  	out := new(PluginList)
   451  	in.DeepCopyInto(out)
   452  	return out
   453  }
   454  
   455  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   456  func (in *PluginList) DeepCopyObject() runtime.Object {
   457  	if c := in.DeepCopy(); c != nil {
   458  		return c
   459  	}
   460  	return nil
   461  }
   462  
   463  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   464  func (in *PluginSpec) DeepCopyInto(out *PluginSpec) {
   465  	*out = *in
   466  	return
   467  }
   468  
   469  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSpec.
   470  func (in *PluginSpec) DeepCopy() *PluginSpec {
   471  	if in == nil {
   472  		return nil
   473  	}
   474  	out := new(PluginSpec)
   475  	in.DeepCopyInto(out)
   476  	return out
   477  }
   478  
   479  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   480  func (in *PluginStatus) DeepCopyInto(out *PluginStatus) {
   481  	*out = *in
   482  	return
   483  }
   484  
   485  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginStatus.
   486  func (in *PluginStatus) DeepCopy() *PluginStatus {
   487  	if in == nil {
   488  		return nil
   489  	}
   490  	out := new(PluginStatus)
   491  	in.DeepCopyInto(out)
   492  	return out
   493  }
   494  
   495  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   496  func (in *SSH) DeepCopyInto(out *SSH) {
   497  	*out = *in
   498  	return
   499  }
   500  
   501  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSH.
   502  func (in *SSH) DeepCopy() *SSH {
   503  	if in == nil {
   504  		return nil
   505  	}
   506  	out := new(SSH)
   507  	in.DeepCopyInto(out)
   508  	return out
   509  }