github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/apis/extensions/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright (C) 2022-2023 ApeCloud Co., Ltd
     6  
     7  This file is part of KubeBlocks project
     8  
     9  This program is free software: you can redistribute it and/or modify
    10  it under the terms of the GNU Affero General Public License as published by
    11  the Free Software Foundation, either version 3 of the License, or
    12  (at your option) any later version.
    13  
    14  This program is distributed in the hope that it will be useful
    15  but WITHOUT ANY WARRANTY; without even the implied warranty of
    16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17  GNU Affero General Public License for more details.
    18  
    19  You should have received a copy of the GNU Affero General Public License
    20  along with this program.  If not, see <http://www.gnu.org/licenses/>.
    21  */
    22  
    23  // Code generated by controller-gen. DO NOT EDIT.
    24  
    25  package v1alpha1
    26  
    27  import (
    28  	corev1 "k8s.io/api/core/v1"
    29  	"k8s.io/apimachinery/pkg/apis/meta/v1"
    30  	runtime "k8s.io/apimachinery/pkg/runtime"
    31  )
    32  
    33  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    34  func (in *Addon) DeepCopyInto(out *Addon) {
    35  	*out = *in
    36  	out.TypeMeta = in.TypeMeta
    37  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    38  	in.Spec.DeepCopyInto(&out.Spec)
    39  	in.Status.DeepCopyInto(&out.Status)
    40  }
    41  
    42  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
    43  func (in *Addon) DeepCopy() *Addon {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(Addon)
    48  	in.DeepCopyInto(out)
    49  	return out
    50  }
    51  
    52  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    53  func (in *Addon) DeepCopyObject() runtime.Object {
    54  	if c := in.DeepCopy(); c != nil {
    55  		return c
    56  	}
    57  	return nil
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *AddonDefaultInstallSpecItem) DeepCopyInto(out *AddonDefaultInstallSpecItem) {
    62  	*out = *in
    63  	in.AddonInstallSpec.DeepCopyInto(&out.AddonInstallSpec)
    64  	if in.Selectors != nil {
    65  		in, out := &in.Selectors, &out.Selectors
    66  		*out = make([]SelectorRequirement, len(*in))
    67  		for i := range *in {
    68  			(*in)[i].DeepCopyInto(&(*out)[i])
    69  		}
    70  	}
    71  }
    72  
    73  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonDefaultInstallSpecItem.
    74  func (in *AddonDefaultInstallSpecItem) DeepCopy() *AddonDefaultInstallSpecItem {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(AddonDefaultInstallSpecItem)
    79  	in.DeepCopyInto(out)
    80  	return out
    81  }
    82  
    83  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    84  func (in *AddonInstallExtraItem) DeepCopyInto(out *AddonInstallExtraItem) {
    85  	*out = *in
    86  	in.AddonInstallSpecItem.DeepCopyInto(&out.AddonInstallSpecItem)
    87  }
    88  
    89  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonInstallExtraItem.
    90  func (in *AddonInstallExtraItem) DeepCopy() *AddonInstallExtraItem {
    91  	if in == nil {
    92  		return nil
    93  	}
    94  	out := new(AddonInstallExtraItem)
    95  	in.DeepCopyInto(out)
    96  	return out
    97  }
    98  
    99  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   100  func (in *AddonInstallSpec) DeepCopyInto(out *AddonInstallSpec) {
   101  	*out = *in
   102  	in.AddonInstallSpecItem.DeepCopyInto(&out.AddonInstallSpecItem)
   103  	if in.ExtraItems != nil {
   104  		in, out := &in.ExtraItems, &out.ExtraItems
   105  		*out = make([]AddonInstallExtraItem, len(*in))
   106  		for i := range *in {
   107  			(*in)[i].DeepCopyInto(&(*out)[i])
   108  		}
   109  	}
   110  }
   111  
   112  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonInstallSpec.
   113  func (in *AddonInstallSpec) DeepCopy() *AddonInstallSpec {
   114  	if in == nil {
   115  		return nil
   116  	}
   117  	out := new(AddonInstallSpec)
   118  	in.DeepCopyInto(out)
   119  	return out
   120  }
   121  
   122  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   123  func (in *AddonInstallSpecItem) DeepCopyInto(out *AddonInstallSpecItem) {
   124  	*out = *in
   125  	if in.Replicas != nil {
   126  		in, out := &in.Replicas, &out.Replicas
   127  		*out = new(int32)
   128  		**out = **in
   129  	}
   130  	if in.PVEnabled != nil {
   131  		in, out := &in.PVEnabled, &out.PVEnabled
   132  		*out = new(bool)
   133  		**out = **in
   134  	}
   135  	in.Resources.DeepCopyInto(&out.Resources)
   136  }
   137  
   138  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonInstallSpecItem.
   139  func (in *AddonInstallSpecItem) DeepCopy() *AddonInstallSpecItem {
   140  	if in == nil {
   141  		return nil
   142  	}
   143  	out := new(AddonInstallSpecItem)
   144  	in.DeepCopyInto(out)
   145  	return out
   146  }
   147  
   148  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   149  func (in *AddonList) DeepCopyInto(out *AddonList) {
   150  	*out = *in
   151  	out.TypeMeta = in.TypeMeta
   152  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   153  	if in.Items != nil {
   154  		in, out := &in.Items, &out.Items
   155  		*out = make([]Addon, len(*in))
   156  		for i := range *in {
   157  			(*in)[i].DeepCopyInto(&(*out)[i])
   158  		}
   159  	}
   160  }
   161  
   162  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonList.
   163  func (in *AddonList) DeepCopy() *AddonList {
   164  	if in == nil {
   165  		return nil
   166  	}
   167  	out := new(AddonList)
   168  	in.DeepCopyInto(out)
   169  	return out
   170  }
   171  
   172  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   173  func (in *AddonList) DeepCopyObject() runtime.Object {
   174  	if c := in.DeepCopy(); c != nil {
   175  		return c
   176  	}
   177  	return nil
   178  }
   179  
   180  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   181  func (in *AddonSpec) DeepCopyInto(out *AddonSpec) {
   182  	*out = *in
   183  	if in.Helm != nil {
   184  		in, out := &in.Helm, &out.Helm
   185  		*out = new(HelmTypeInstallSpec)
   186  		(*in).DeepCopyInto(*out)
   187  	}
   188  	if in.DefaultInstallValues != nil {
   189  		in, out := &in.DefaultInstallValues, &out.DefaultInstallValues
   190  		*out = make([]AddonDefaultInstallSpecItem, len(*in))
   191  		for i := range *in {
   192  			(*in)[i].DeepCopyInto(&(*out)[i])
   193  		}
   194  	}
   195  	if in.InstallSpec != nil {
   196  		in, out := &in.InstallSpec, &out.InstallSpec
   197  		*out = new(AddonInstallSpec)
   198  		(*in).DeepCopyInto(*out)
   199  	}
   200  	if in.Installable != nil {
   201  		in, out := &in.Installable, &out.Installable
   202  		*out = new(InstallableSpec)
   203  		(*in).DeepCopyInto(*out)
   204  	}
   205  	if in.CliPlugins != nil {
   206  		in, out := &in.CliPlugins, &out.CliPlugins
   207  		*out = make([]CliPlugin, len(*in))
   208  		copy(*out, *in)
   209  	}
   210  }
   211  
   212  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonSpec.
   213  func (in *AddonSpec) DeepCopy() *AddonSpec {
   214  	if in == nil {
   215  		return nil
   216  	}
   217  	out := new(AddonSpec)
   218  	in.DeepCopyInto(out)
   219  	return out
   220  }
   221  
   222  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   223  func (in *AddonStatus) DeepCopyInto(out *AddonStatus) {
   224  	*out = *in
   225  	if in.Conditions != nil {
   226  		in, out := &in.Conditions, &out.Conditions
   227  		*out = make([]v1.Condition, len(*in))
   228  		for i := range *in {
   229  			(*in)[i].DeepCopyInto(&(*out)[i])
   230  		}
   231  	}
   232  }
   233  
   234  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonStatus.
   235  func (in *AddonStatus) DeepCopy() *AddonStatus {
   236  	if in == nil {
   237  		return nil
   238  	}
   239  	out := new(AddonStatus)
   240  	in.DeepCopyInto(out)
   241  	return out
   242  }
   243  
   244  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   245  func (in *CliPlugin) DeepCopyInto(out *CliPlugin) {
   246  	*out = *in
   247  }
   248  
   249  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CliPlugin.
   250  func (in *CliPlugin) DeepCopy() *CliPlugin {
   251  	if in == nil {
   252  		return nil
   253  	}
   254  	out := new(CliPlugin)
   255  	in.DeepCopyInto(out)
   256  	return out
   257  }
   258  
   259  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   260  func (in *DataObjectKeySelector) DeepCopyInto(out *DataObjectKeySelector) {
   261  	*out = *in
   262  }
   263  
   264  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataObjectKeySelector.
   265  func (in *DataObjectKeySelector) DeepCopy() *DataObjectKeySelector {
   266  	if in == nil {
   267  		return nil
   268  	}
   269  	out := new(DataObjectKeySelector)
   270  	in.DeepCopyInto(out)
   271  	return out
   272  }
   273  
   274  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   275  func (in HelmInstallOptions) DeepCopyInto(out *HelmInstallOptions) {
   276  	{
   277  		in := &in
   278  		*out = make(HelmInstallOptions, len(*in))
   279  		for key, val := range *in {
   280  			(*out)[key] = val
   281  		}
   282  	}
   283  }
   284  
   285  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmInstallOptions.
   286  func (in HelmInstallOptions) DeepCopy() HelmInstallOptions {
   287  	if in == nil {
   288  		return nil
   289  	}
   290  	out := new(HelmInstallOptions)
   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 *HelmInstallValues) DeepCopyInto(out *HelmInstallValues) {
   297  	*out = *in
   298  	if in.URLs != nil {
   299  		in, out := &in.URLs, &out.URLs
   300  		*out = make([]string, len(*in))
   301  		copy(*out, *in)
   302  	}
   303  	if in.ConfigMapRefs != nil {
   304  		in, out := &in.ConfigMapRefs, &out.ConfigMapRefs
   305  		*out = make([]DataObjectKeySelector, len(*in))
   306  		copy(*out, *in)
   307  	}
   308  	if in.SecretRefs != nil {
   309  		in, out := &in.SecretRefs, &out.SecretRefs
   310  		*out = make([]DataObjectKeySelector, len(*in))
   311  		copy(*out, *in)
   312  	}
   313  	if in.SetValues != nil {
   314  		in, out := &in.SetValues, &out.SetValues
   315  		*out = make([]string, len(*in))
   316  		copy(*out, *in)
   317  	}
   318  	if in.SetJSONValues != nil {
   319  		in, out := &in.SetJSONValues, &out.SetJSONValues
   320  		*out = make([]string, len(*in))
   321  		copy(*out, *in)
   322  	}
   323  }
   324  
   325  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmInstallValues.
   326  func (in *HelmInstallValues) DeepCopy() *HelmInstallValues {
   327  	if in == nil {
   328  		return nil
   329  	}
   330  	out := new(HelmInstallValues)
   331  	in.DeepCopyInto(out)
   332  	return out
   333  }
   334  
   335  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   336  func (in *HelmJSONValueMapType) DeepCopyInto(out *HelmJSONValueMapType) {
   337  	*out = *in
   338  }
   339  
   340  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmJSONValueMapType.
   341  func (in *HelmJSONValueMapType) DeepCopy() *HelmJSONValueMapType {
   342  	if in == nil {
   343  		return nil
   344  	}
   345  	out := new(HelmJSONValueMapType)
   346  	in.DeepCopyInto(out)
   347  	return out
   348  }
   349  
   350  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   351  func (in *HelmTypeInstallSpec) DeepCopyInto(out *HelmTypeInstallSpec) {
   352  	*out = *in
   353  	if in.InstallOptions != nil {
   354  		in, out := &in.InstallOptions, &out.InstallOptions
   355  		*out = make(HelmInstallOptions, len(*in))
   356  		for key, val := range *in {
   357  			(*out)[key] = val
   358  		}
   359  	}
   360  	in.InstallValues.DeepCopyInto(&out.InstallValues)
   361  	in.ValuesMapping.DeepCopyInto(&out.ValuesMapping)
   362  }
   363  
   364  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmTypeInstallSpec.
   365  func (in *HelmTypeInstallSpec) DeepCopy() *HelmTypeInstallSpec {
   366  	if in == nil {
   367  		return nil
   368  	}
   369  	out := new(HelmTypeInstallSpec)
   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 *HelmValueMapType) DeepCopyInto(out *HelmValueMapType) {
   376  	*out = *in
   377  }
   378  
   379  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmValueMapType.
   380  func (in *HelmValueMapType) DeepCopy() *HelmValueMapType {
   381  	if in == nil {
   382  		return nil
   383  	}
   384  	out := new(HelmValueMapType)
   385  	in.DeepCopyInto(out)
   386  	return out
   387  }
   388  
   389  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   390  func (in *HelmValuesMapping) DeepCopyInto(out *HelmValuesMapping) {
   391  	*out = *in
   392  	in.HelmValuesMappingItem.DeepCopyInto(&out.HelmValuesMappingItem)
   393  	if in.ExtraItems != nil {
   394  		in, out := &in.ExtraItems, &out.ExtraItems
   395  		*out = make([]HelmValuesMappingExtraItem, len(*in))
   396  		for i := range *in {
   397  			(*in)[i].DeepCopyInto(&(*out)[i])
   398  		}
   399  	}
   400  }
   401  
   402  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmValuesMapping.
   403  func (in *HelmValuesMapping) DeepCopy() *HelmValuesMapping {
   404  	if in == nil {
   405  		return nil
   406  	}
   407  	out := new(HelmValuesMapping)
   408  	in.DeepCopyInto(out)
   409  	return out
   410  }
   411  
   412  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   413  func (in *HelmValuesMappingExtraItem) DeepCopyInto(out *HelmValuesMappingExtraItem) {
   414  	*out = *in
   415  	in.HelmValuesMappingItem.DeepCopyInto(&out.HelmValuesMappingItem)
   416  }
   417  
   418  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmValuesMappingExtraItem.
   419  func (in *HelmValuesMappingExtraItem) DeepCopy() *HelmValuesMappingExtraItem {
   420  	if in == nil {
   421  		return nil
   422  	}
   423  	out := new(HelmValuesMappingExtraItem)
   424  	in.DeepCopyInto(out)
   425  	return out
   426  }
   427  
   428  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   429  func (in *HelmValuesMappingItem) DeepCopyInto(out *HelmValuesMappingItem) {
   430  	*out = *in
   431  	out.HelmValueMap = in.HelmValueMap
   432  	out.HelmJSONMap = in.HelmJSONMap
   433  	if in.ResourcesMapping != nil {
   434  		in, out := &in.ResourcesMapping, &out.ResourcesMapping
   435  		*out = new(ResourceMappingItem)
   436  		(*in).DeepCopyInto(*out)
   437  	}
   438  }
   439  
   440  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmValuesMappingItem.
   441  func (in *HelmValuesMappingItem) DeepCopy() *HelmValuesMappingItem {
   442  	if in == nil {
   443  		return nil
   444  	}
   445  	out := new(HelmValuesMappingItem)
   446  	in.DeepCopyInto(out)
   447  	return out
   448  }
   449  
   450  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   451  func (in *InstallableSpec) DeepCopyInto(out *InstallableSpec) {
   452  	*out = *in
   453  	if in.Selectors != nil {
   454  		in, out := &in.Selectors, &out.Selectors
   455  		*out = make([]SelectorRequirement, len(*in))
   456  		for i := range *in {
   457  			(*in)[i].DeepCopyInto(&(*out)[i])
   458  		}
   459  	}
   460  }
   461  
   462  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallableSpec.
   463  func (in *InstallableSpec) DeepCopy() *InstallableSpec {
   464  	if in == nil {
   465  		return nil
   466  	}
   467  	out := new(InstallableSpec)
   468  	in.DeepCopyInto(out)
   469  	return out
   470  }
   471  
   472  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   473  func (in *ResourceMappingItem) DeepCopyInto(out *ResourceMappingItem) {
   474  	*out = *in
   475  	if in.CPU != nil {
   476  		in, out := &in.CPU, &out.CPU
   477  		*out = new(ResourceReqLimItem)
   478  		**out = **in
   479  	}
   480  	if in.Memory != nil {
   481  		in, out := &in.Memory, &out.Memory
   482  		*out = new(ResourceReqLimItem)
   483  		**out = **in
   484  	}
   485  }
   486  
   487  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMappingItem.
   488  func (in *ResourceMappingItem) DeepCopy() *ResourceMappingItem {
   489  	if in == nil {
   490  		return nil
   491  	}
   492  	out := new(ResourceMappingItem)
   493  	in.DeepCopyInto(out)
   494  	return out
   495  }
   496  
   497  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   498  func (in *ResourceReqLimItem) DeepCopyInto(out *ResourceReqLimItem) {
   499  	*out = *in
   500  }
   501  
   502  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReqLimItem.
   503  func (in *ResourceReqLimItem) DeepCopy() *ResourceReqLimItem {
   504  	if in == nil {
   505  		return nil
   506  	}
   507  	out := new(ResourceReqLimItem)
   508  	in.DeepCopyInto(out)
   509  	return out
   510  }
   511  
   512  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   513  func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) {
   514  	*out = *in
   515  	if in.Limits != nil {
   516  		in, out := &in.Limits, &out.Limits
   517  		*out = make(corev1.ResourceList, len(*in))
   518  		for key, val := range *in {
   519  			(*out)[key] = val.DeepCopy()
   520  		}
   521  	}
   522  	if in.Requests != nil {
   523  		in, out := &in.Requests, &out.Requests
   524  		*out = make(corev1.ResourceList, len(*in))
   525  		for key, val := range *in {
   526  			(*out)[key] = val.DeepCopy()
   527  		}
   528  	}
   529  }
   530  
   531  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
   532  func (in *ResourceRequirements) DeepCopy() *ResourceRequirements {
   533  	if in == nil {
   534  		return nil
   535  	}
   536  	out := new(ResourceRequirements)
   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 *SelectorRequirement) DeepCopyInto(out *SelectorRequirement) {
   543  	*out = *in
   544  	if in.Values != nil {
   545  		in, out := &in.Values, &out.Values
   546  		*out = make([]string, len(*in))
   547  		copy(*out, *in)
   548  	}
   549  }
   550  
   551  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorRequirement.
   552  func (in *SelectorRequirement) DeepCopy() *SelectorRequirement {
   553  	if in == nil {
   554  		return nil
   555  	}
   556  	out := new(SelectorRequirement)
   557  	in.DeepCopyInto(out)
   558  	return out
   559  }