github.com/metaprov/modela-operator@v0.0.0-20240118193048-f378be8b74d2/api/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright 2022.
     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 v1alpha1
    22  
    23  import (
    24  	"k8s.io/api/core/v1"
    25  	"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 *ApiGatewaySpec) DeepCopyInto(out *ApiGatewaySpec) {
    30  	*out = *in
    31  	if in.Replicas != nil {
    32  		in, out := &in.Replicas, &out.Replicas
    33  		*out = new(int32)
    34  		**out = **in
    35  	}
    36  	if in.Resources != nil {
    37  		in, out := &in.Resources, &out.Resources
    38  		*out = new(v1.ResourceRequirements)
    39  		(*in).DeepCopyInto(*out)
    40  	}
    41  }
    42  
    43  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiGatewaySpec.
    44  func (in *ApiGatewaySpec) DeepCopy() *ApiGatewaySpec {
    45  	if in == nil {
    46  		return nil
    47  	}
    48  	out := new(ApiGatewaySpec)
    49  	in.DeepCopyInto(out)
    50  	return out
    51  }
    52  
    53  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    54  func (in *CertManagerSpec) DeepCopyInto(out *CertManagerSpec) {
    55  	*out = *in
    56  	in.Values.DeepCopyInto(&out.Values)
    57  }
    58  
    59  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerSpec.
    60  func (in *CertManagerSpec) DeepCopy() *CertManagerSpec {
    61  	if in == nil {
    62  		return nil
    63  	}
    64  	out := new(CertManagerSpec)
    65  	in.DeepCopyInto(out)
    66  	return out
    67  }
    68  
    69  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    70  func (in *ControlPlaneSpec) DeepCopyInto(out *ControlPlaneSpec) {
    71  	*out = *in
    72  	if in.Replicas != nil {
    73  		in, out := &in.Replicas, &out.Replicas
    74  		*out = new(int32)
    75  		**out = **in
    76  	}
    77  	if in.Resources != nil {
    78  		in, out := &in.Resources, &out.Resources
    79  		*out = new(v1.ResourceRequirements)
    80  		(*in).DeepCopyInto(*out)
    81  	}
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneSpec.
    85  func (in *ControlPlaneSpec) DeepCopy() *ControlPlaneSpec {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(ControlPlaneSpec)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    95  func (in *DataPlaneSpec) DeepCopyInto(out *DataPlaneSpec) {
    96  	*out = *in
    97  	if in.Replicas != nil {
    98  		in, out := &in.Replicas, &out.Replicas
    99  		*out = new(int32)
   100  		**out = **in
   101  	}
   102  	if in.Resources != nil {
   103  		in, out := &in.Resources, &out.Resources
   104  		*out = new(v1.ResourceRequirements)
   105  		(*in).DeepCopyInto(*out)
   106  	}
   107  }
   108  
   109  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneSpec.
   110  func (in *DataPlaneSpec) DeepCopy() *DataPlaneSpec {
   111  	if in == nil {
   112  		return nil
   113  	}
   114  	out := new(DataPlaneSpec)
   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 *DatabaseSpec) DeepCopyInto(out *DatabaseSpec) {
   121  	*out = *in
   122  	in.PostgresValues.DeepCopyInto(&out.PostgresValues)
   123  	in.MongoDBValues.DeepCopyInto(&out.MongoDBValues)
   124  }
   125  
   126  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
   127  func (in *DatabaseSpec) DeepCopy() *DatabaseSpec {
   128  	if in == nil {
   129  		return nil
   130  	}
   131  	out := new(DatabaseSpec)
   132  	in.DeepCopyInto(out)
   133  	return out
   134  }
   135  
   136  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   137  func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
   138  	*out = *in
   139  	if in.Hostname != nil {
   140  		in, out := &in.Hostname, &out.Hostname
   141  		*out = new(string)
   142  		**out = **in
   143  	}
   144  }
   145  
   146  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
   147  func (in *IngressSpec) DeepCopy() *IngressSpec {
   148  	if in == nil {
   149  		return nil
   150  	}
   151  	out := new(IngressSpec)
   152  	in.DeepCopyInto(out)
   153  	return out
   154  }
   155  
   156  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   157  func (in *Modela) DeepCopyInto(out *Modela) {
   158  	*out = *in
   159  	out.TypeMeta = in.TypeMeta
   160  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   161  	in.Spec.DeepCopyInto(&out.Spec)
   162  	in.Status.DeepCopyInto(&out.Status)
   163  }
   164  
   165  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Modela.
   166  func (in *Modela) DeepCopy() *Modela {
   167  	if in == nil {
   168  		return nil
   169  	}
   170  	out := new(Modela)
   171  	in.DeepCopyInto(out)
   172  	return out
   173  }
   174  
   175  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   176  func (in *Modela) DeepCopyObject() runtime.Object {
   177  	if c := in.DeepCopy(); c != nil {
   178  		return c
   179  	}
   180  	return nil
   181  }
   182  
   183  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   184  func (in *ModelaCondition) DeepCopyInto(out *ModelaCondition) {
   185  	*out = *in
   186  	if in.LastTransitionTime != nil {
   187  		in, out := &in.LastTransitionTime, &out.LastTransitionTime
   188  		*out = (*in).DeepCopy()
   189  	}
   190  }
   191  
   192  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelaCondition.
   193  func (in *ModelaCondition) DeepCopy() *ModelaCondition {
   194  	if in == nil {
   195  		return nil
   196  	}
   197  	out := new(ModelaCondition)
   198  	in.DeepCopyInto(out)
   199  	return out
   200  }
   201  
   202  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   203  func (in *ModelaLicenseSpec) DeepCopyInto(out *ModelaLicenseSpec) {
   204  	*out = *in
   205  	if in.LicenseKey != nil {
   206  		in, out := &in.LicenseKey, &out.LicenseKey
   207  		*out = new(string)
   208  		**out = **in
   209  	}
   210  	if in.LinkLicense != nil {
   211  		in, out := &in.LinkLicense, &out.LinkLicense
   212  		*out = new(bool)
   213  		**out = **in
   214  	}
   215  }
   216  
   217  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelaLicenseSpec.
   218  func (in *ModelaLicenseSpec) DeepCopy() *ModelaLicenseSpec {
   219  	if in == nil {
   220  		return nil
   221  	}
   222  	out := new(ModelaLicenseSpec)
   223  	in.DeepCopyInto(out)
   224  	return out
   225  }
   226  
   227  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   228  func (in *ModelaList) DeepCopyInto(out *ModelaList) {
   229  	*out = *in
   230  	out.TypeMeta = in.TypeMeta
   231  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   232  	if in.Items != nil {
   233  		in, out := &in.Items, &out.Items
   234  		*out = make([]Modela, len(*in))
   235  		for i := range *in {
   236  			(*in)[i].DeepCopyInto(&(*out)[i])
   237  		}
   238  	}
   239  }
   240  
   241  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelaList.
   242  func (in *ModelaList) DeepCopy() *ModelaList {
   243  	if in == nil {
   244  		return nil
   245  	}
   246  	out := new(ModelaList)
   247  	in.DeepCopyInto(out)
   248  	return out
   249  }
   250  
   251  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   252  func (in *ModelaList) DeepCopyObject() runtime.Object {
   253  	if c := in.DeepCopy(); c != nil {
   254  		return c
   255  	}
   256  	return nil
   257  }
   258  
   259  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   260  func (in *ModelaSpec) DeepCopyInto(out *ModelaSpec) {
   261  	*out = *in
   262  	in.Observability.DeepCopyInto(&out.Observability)
   263  	in.Network.DeepCopyInto(&out.Network)
   264  	in.License.DeepCopyInto(&out.License)
   265  	if in.Tenants != nil {
   266  		in, out := &in.Tenants, &out.Tenants
   267  		*out = make([]*TenantSpec, len(*in))
   268  		for i := range *in {
   269  			if (*in)[i] != nil {
   270  				in, out := &(*in)[i], &(*out)[i]
   271  				*out = new(TenantSpec)
   272  				(*in).DeepCopyInto(*out)
   273  			}
   274  		}
   275  	}
   276  	in.CertManager.DeepCopyInto(&out.CertManager)
   277  	in.ObjectStore.DeepCopyInto(&out.ObjectStore)
   278  	in.Database.DeepCopyInto(&out.Database)
   279  	in.OnlineStore.DeepCopyInto(&out.OnlineStore)
   280  	in.ControlPlane.DeepCopyInto(&out.ControlPlane)
   281  	in.DataPlane.DeepCopyInto(&out.DataPlane)
   282  	in.ApiGateway.DeepCopyInto(&out.ApiGateway)
   283  	in.Vault.DeepCopyInto(&out.Vault)
   284  }
   285  
   286  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelaSpec.
   287  func (in *ModelaSpec) DeepCopy() *ModelaSpec {
   288  	if in == nil {
   289  		return nil
   290  	}
   291  	out := new(ModelaSpec)
   292  	in.DeepCopyInto(out)
   293  	return out
   294  }
   295  
   296  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   297  func (in *ModelaStatus) DeepCopyInto(out *ModelaStatus) {
   298  	*out = *in
   299  	if in.Tenants != nil {
   300  		in, out := &in.Tenants, &out.Tenants
   301  		*out = make([]string, len(*in))
   302  		copy(*out, *in)
   303  	}
   304  	if in.LicenseToken != nil {
   305  		in, out := &in.LicenseToken, &out.LicenseToken
   306  		*out = new(v1.ObjectReference)
   307  		**out = **in
   308  	}
   309  	if in.LinkLicenseUrl != nil {
   310  		in, out := &in.LinkLicenseUrl, &out.LinkLicenseUrl
   311  		*out = new(string)
   312  		**out = **in
   313  	}
   314  	if in.FailureMessage != nil {
   315  		in, out := &in.FailureMessage, &out.FailureMessage
   316  		*out = new(string)
   317  		**out = **in
   318  	}
   319  	if in.LastUpdated != nil {
   320  		in, out := &in.LastUpdated, &out.LastUpdated
   321  		*out = (*in).DeepCopy()
   322  	}
   323  	if in.Conditions != nil {
   324  		in, out := &in.Conditions, &out.Conditions
   325  		*out = make([]ModelaCondition, len(*in))
   326  		for i := range *in {
   327  			(*in)[i].DeepCopyInto(&(*out)[i])
   328  		}
   329  	}
   330  }
   331  
   332  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelaStatus.
   333  func (in *ModelaStatus) DeepCopy() *ModelaStatus {
   334  	if in == nil {
   335  		return nil
   336  	}
   337  	out := new(ModelaStatus)
   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 *NetworkSpec) DeepCopyInto(out *NetworkSpec) {
   344  	*out = *in
   345  	if in.NodePort != nil {
   346  		in, out := &in.NodePort, &out.NodePort
   347  		*out = new(NodePortSpec)
   348  		(*in).DeepCopyInto(*out)
   349  	}
   350  	if in.Ingress != nil {
   351  		in, out := &in.Ingress, &out.Ingress
   352  		*out = new(IngressSpec)
   353  		(*in).DeepCopyInto(*out)
   354  	}
   355  	if in.Nginx != nil {
   356  		in, out := &in.Nginx, &out.Nginx
   357  		*out = new(NginxSpec)
   358  		(*in).DeepCopyInto(*out)
   359  	}
   360  }
   361  
   362  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
   363  func (in *NetworkSpec) DeepCopy() *NetworkSpec {
   364  	if in == nil {
   365  		return nil
   366  	}
   367  	out := new(NetworkSpec)
   368  	in.DeepCopyInto(out)
   369  	return out
   370  }
   371  
   372  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   373  func (in *NginxSpec) DeepCopyInto(out *NginxSpec) {
   374  	*out = *in
   375  	in.Values.DeepCopyInto(&out.Values)
   376  }
   377  
   378  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NginxSpec.
   379  func (in *NginxSpec) DeepCopy() *NginxSpec {
   380  	if in == nil {
   381  		return nil
   382  	}
   383  	out := new(NginxSpec)
   384  	in.DeepCopyInto(out)
   385  	return out
   386  }
   387  
   388  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   389  func (in *NodePortSpec) DeepCopyInto(out *NodePortSpec) {
   390  	*out = *in
   391  	if in.NodeSelector != nil {
   392  		in, out := &in.NodeSelector, &out.NodeSelector
   393  		*out = make(map[string]string, len(*in))
   394  		for key, val := range *in {
   395  			(*out)[key] = val
   396  		}
   397  	}
   398  }
   399  
   400  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePortSpec.
   401  func (in *NodePortSpec) DeepCopy() *NodePortSpec {
   402  	if in == nil {
   403  		return nil
   404  	}
   405  	out := new(NodePortSpec)
   406  	in.DeepCopyInto(out)
   407  	return out
   408  }
   409  
   410  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   411  func (in *ObjectStorageSpec) DeepCopyInto(out *ObjectStorageSpec) {
   412  	*out = *in
   413  	in.Values.DeepCopyInto(&out.Values)
   414  }
   415  
   416  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStorageSpec.
   417  func (in *ObjectStorageSpec) DeepCopy() *ObjectStorageSpec {
   418  	if in == nil {
   419  		return nil
   420  	}
   421  	out := new(ObjectStorageSpec)
   422  	in.DeepCopyInto(out)
   423  	return out
   424  }
   425  
   426  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   427  func (in *ObservabilitySpec) DeepCopyInto(out *ObservabilitySpec) {
   428  	*out = *in
   429  	in.PrometheusValues.DeepCopyInto(&out.PrometheusValues)
   430  	in.LokiValues.DeepCopyInto(&out.LokiValues)
   431  	in.GrafanaValues.DeepCopyInto(&out.GrafanaValues)
   432  }
   433  
   434  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilitySpec.
   435  func (in *ObservabilitySpec) DeepCopy() *ObservabilitySpec {
   436  	if in == nil {
   437  		return nil
   438  	}
   439  	out := new(ObservabilitySpec)
   440  	in.DeepCopyInto(out)
   441  	return out
   442  }
   443  
   444  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   445  func (in *OnlineStoreSpec) DeepCopyInto(out *OnlineStoreSpec) {
   446  	*out = *in
   447  	in.Values.DeepCopyInto(&out.Values)
   448  }
   449  
   450  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnlineStoreSpec.
   451  func (in *OnlineStoreSpec) DeepCopy() *OnlineStoreSpec {
   452  	if in == nil {
   453  		return nil
   454  	}
   455  	out := new(OnlineStoreSpec)
   456  	in.DeepCopyInto(out)
   457  	return out
   458  }
   459  
   460  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   461  func (in *TenantSpec) DeepCopyInto(out *TenantSpec) {
   462  	*out = *in
   463  	if in.AdminPassword != nil {
   464  		in, out := &in.AdminPassword, &out.AdminPassword
   465  		*out = new(string)
   466  		**out = **in
   467  	}
   468  }
   469  
   470  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec.
   471  func (in *TenantSpec) DeepCopy() *TenantSpec {
   472  	if in == nil {
   473  		return nil
   474  	}
   475  	out := new(TenantSpec)
   476  	in.DeepCopyInto(out)
   477  	return out
   478  }
   479  
   480  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   481  func (in *VaultSpec) DeepCopyInto(out *VaultSpec) {
   482  	*out = *in
   483  	if in.VaultAddress != nil {
   484  		in, out := &in.VaultAddress, &out.VaultAddress
   485  		*out = new(string)
   486  		**out = **in
   487  	}
   488  	in.Values.DeepCopyInto(&out.Values)
   489  }
   490  
   491  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSpec.
   492  func (in *VaultSpec) DeepCopy() *VaultSpec {
   493  	if in == nil {
   494  		return nil
   495  	}
   496  	out := new(VaultSpec)
   497  	in.DeepCopyInto(out)
   498  	return out
   499  }