...

Source file src/github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/cloudfunctions2/v1alpha1/zz_generated.deepcopy.go

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/cloudfunctions2/v1alpha1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2020 Google LLC
     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  // *** DISCLAIMER ***
    19  // Config Connector's go-client for CRDs is currently in ALPHA, which means
    20  // that future versions of the go-client may include breaking changes.
    21  // Please try it out and give us feedback!
    22  
    23  // Code generated by main. DO NOT EDIT.
    24  
    25  package v1alpha1
    26  
    27  import (
    28  	k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
    29  	runtime "k8s.io/apimachinery/pkg/runtime"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *CloudFunctions2Function) DeepCopyInto(out *CloudFunctions2Function) {
    34  	*out = *in
    35  	out.TypeMeta = in.TypeMeta
    36  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    37  	in.Spec.DeepCopyInto(&out.Spec)
    38  	in.Status.DeepCopyInto(&out.Status)
    39  	return
    40  }
    41  
    42  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctions2Function.
    43  func (in *CloudFunctions2Function) DeepCopy() *CloudFunctions2Function {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(CloudFunctions2Function)
    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 *CloudFunctions2Function) 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 *CloudFunctions2FunctionList) DeepCopyInto(out *CloudFunctions2FunctionList) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    65  	if in.Items != nil {
    66  		in, out := &in.Items, &out.Items
    67  		*out = make([]CloudFunctions2Function, len(*in))
    68  		for i := range *in {
    69  			(*in)[i].DeepCopyInto(&(*out)[i])
    70  		}
    71  	}
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctions2FunctionList.
    76  func (in *CloudFunctions2FunctionList) DeepCopy() *CloudFunctions2FunctionList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(CloudFunctions2FunctionList)
    81  	in.DeepCopyInto(out)
    82  	return out
    83  }
    84  
    85  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    86  func (in *CloudFunctions2FunctionList) DeepCopyObject() runtime.Object {
    87  	if c := in.DeepCopy(); c != nil {
    88  		return c
    89  	}
    90  	return nil
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *CloudFunctions2FunctionSpec) DeepCopyInto(out *CloudFunctions2FunctionSpec) {
    95  	*out = *in
    96  	if in.BuildConfig != nil {
    97  		in, out := &in.BuildConfig, &out.BuildConfig
    98  		*out = new(FunctionBuildConfig)
    99  		(*in).DeepCopyInto(*out)
   100  	}
   101  	if in.Description != nil {
   102  		in, out := &in.Description, &out.Description
   103  		*out = new(string)
   104  		**out = **in
   105  	}
   106  	if in.EventTrigger != nil {
   107  		in, out := &in.EventTrigger, &out.EventTrigger
   108  		*out = new(FunctionEventTrigger)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  	out.ProjectRef = in.ProjectRef
   112  	if in.ResourceID != nil {
   113  		in, out := &in.ResourceID, &out.ResourceID
   114  		*out = new(string)
   115  		**out = **in
   116  	}
   117  	if in.ServiceConfig != nil {
   118  		in, out := &in.ServiceConfig, &out.ServiceConfig
   119  		*out = new(FunctionServiceConfig)
   120  		(*in).DeepCopyInto(*out)
   121  	}
   122  	return
   123  }
   124  
   125  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctions2FunctionSpec.
   126  func (in *CloudFunctions2FunctionSpec) DeepCopy() *CloudFunctions2FunctionSpec {
   127  	if in == nil {
   128  		return nil
   129  	}
   130  	out := new(CloudFunctions2FunctionSpec)
   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 *CloudFunctions2FunctionStatus) DeepCopyInto(out *CloudFunctions2FunctionStatus) {
   137  	*out = *in
   138  	if in.Conditions != nil {
   139  		in, out := &in.Conditions, &out.Conditions
   140  		*out = make([]k8sv1alpha1.Condition, len(*in))
   141  		copy(*out, *in)
   142  	}
   143  	if in.Environment != nil {
   144  		in, out := &in.Environment, &out.Environment
   145  		*out = new(string)
   146  		**out = **in
   147  	}
   148  	if in.ObservedGeneration != nil {
   149  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   150  		*out = new(int)
   151  		**out = **in
   152  	}
   153  	if in.State != nil {
   154  		in, out := &in.State, &out.State
   155  		*out = new(string)
   156  		**out = **in
   157  	}
   158  	if in.UpdateTime != nil {
   159  		in, out := &in.UpdateTime, &out.UpdateTime
   160  		*out = new(string)
   161  		**out = **in
   162  	}
   163  	return
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctions2FunctionStatus.
   167  func (in *CloudFunctions2FunctionStatus) DeepCopy() *CloudFunctions2FunctionStatus {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(CloudFunctions2FunctionStatus)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   177  func (in *FunctionBuildConfig) DeepCopyInto(out *FunctionBuildConfig) {
   178  	*out = *in
   179  	if in.Build != nil {
   180  		in, out := &in.Build, &out.Build
   181  		*out = new(string)
   182  		**out = **in
   183  	}
   184  	if in.DockerRepository != nil {
   185  		in, out := &in.DockerRepository, &out.DockerRepository
   186  		*out = new(string)
   187  		**out = **in
   188  	}
   189  	if in.EntryPoint != nil {
   190  		in, out := &in.EntryPoint, &out.EntryPoint
   191  		*out = new(string)
   192  		**out = **in
   193  	}
   194  	if in.EnvironmentVariables != nil {
   195  		in, out := &in.EnvironmentVariables, &out.EnvironmentVariables
   196  		*out = make(map[string]string, len(*in))
   197  		for key, val := range *in {
   198  			(*out)[key] = val
   199  		}
   200  	}
   201  	if in.Runtime != nil {
   202  		in, out := &in.Runtime, &out.Runtime
   203  		*out = new(string)
   204  		**out = **in
   205  	}
   206  	if in.Source != nil {
   207  		in, out := &in.Source, &out.Source
   208  		*out = new(FunctionSource)
   209  		(*in).DeepCopyInto(*out)
   210  	}
   211  	if in.WorkerPool != nil {
   212  		in, out := &in.WorkerPool, &out.WorkerPool
   213  		*out = new(string)
   214  		**out = **in
   215  	}
   216  	return
   217  }
   218  
   219  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionBuildConfig.
   220  func (in *FunctionBuildConfig) DeepCopy() *FunctionBuildConfig {
   221  	if in == nil {
   222  		return nil
   223  	}
   224  	out := new(FunctionBuildConfig)
   225  	in.DeepCopyInto(out)
   226  	return out
   227  }
   228  
   229  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   230  func (in *FunctionEventFilters) DeepCopyInto(out *FunctionEventFilters) {
   231  	*out = *in
   232  	if in.Operator != nil {
   233  		in, out := &in.Operator, &out.Operator
   234  		*out = new(string)
   235  		**out = **in
   236  	}
   237  	return
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEventFilters.
   241  func (in *FunctionEventFilters) DeepCopy() *FunctionEventFilters {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(FunctionEventFilters)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   251  func (in *FunctionEventTrigger) DeepCopyInto(out *FunctionEventTrigger) {
   252  	*out = *in
   253  	if in.EventFilters != nil {
   254  		in, out := &in.EventFilters, &out.EventFilters
   255  		*out = make([]FunctionEventFilters, len(*in))
   256  		for i := range *in {
   257  			(*in)[i].DeepCopyInto(&(*out)[i])
   258  		}
   259  	}
   260  	if in.EventType != nil {
   261  		in, out := &in.EventType, &out.EventType
   262  		*out = new(string)
   263  		**out = **in
   264  	}
   265  	if in.PubsubTopic != nil {
   266  		in, out := &in.PubsubTopic, &out.PubsubTopic
   267  		*out = new(string)
   268  		**out = **in
   269  	}
   270  	if in.RetryPolicy != nil {
   271  		in, out := &in.RetryPolicy, &out.RetryPolicy
   272  		*out = new(string)
   273  		**out = **in
   274  	}
   275  	if in.ServiceAccountEmail != nil {
   276  		in, out := &in.ServiceAccountEmail, &out.ServiceAccountEmail
   277  		*out = new(string)
   278  		**out = **in
   279  	}
   280  	if in.Trigger != nil {
   281  		in, out := &in.Trigger, &out.Trigger
   282  		*out = new(string)
   283  		**out = **in
   284  	}
   285  	if in.TriggerRegion != nil {
   286  		in, out := &in.TriggerRegion, &out.TriggerRegion
   287  		*out = new(string)
   288  		**out = **in
   289  	}
   290  	return
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEventTrigger.
   294  func (in *FunctionEventTrigger) DeepCopy() *FunctionEventTrigger {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(FunctionEventTrigger)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  
   303  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   304  func (in *FunctionRepoSource) DeepCopyInto(out *FunctionRepoSource) {
   305  	*out = *in
   306  	if in.BranchName != nil {
   307  		in, out := &in.BranchName, &out.BranchName
   308  		*out = new(string)
   309  		**out = **in
   310  	}
   311  	if in.CommitSha != nil {
   312  		in, out := &in.CommitSha, &out.CommitSha
   313  		*out = new(string)
   314  		**out = **in
   315  	}
   316  	if in.Dir != nil {
   317  		in, out := &in.Dir, &out.Dir
   318  		*out = new(string)
   319  		**out = **in
   320  	}
   321  	if in.InvertRegex != nil {
   322  		in, out := &in.InvertRegex, &out.InvertRegex
   323  		*out = new(bool)
   324  		**out = **in
   325  	}
   326  	if in.ProjectId != nil {
   327  		in, out := &in.ProjectId, &out.ProjectId
   328  		*out = new(string)
   329  		**out = **in
   330  	}
   331  	if in.RepoName != nil {
   332  		in, out := &in.RepoName, &out.RepoName
   333  		*out = new(string)
   334  		**out = **in
   335  	}
   336  	if in.TagName != nil {
   337  		in, out := &in.TagName, &out.TagName
   338  		*out = new(string)
   339  		**out = **in
   340  	}
   341  	return
   342  }
   343  
   344  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionRepoSource.
   345  func (in *FunctionRepoSource) DeepCopy() *FunctionRepoSource {
   346  	if in == nil {
   347  		return nil
   348  	}
   349  	out := new(FunctionRepoSource)
   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 *FunctionSecretEnvironmentVariables) DeepCopyInto(out *FunctionSecretEnvironmentVariables) {
   356  	*out = *in
   357  	return
   358  }
   359  
   360  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSecretEnvironmentVariables.
   361  func (in *FunctionSecretEnvironmentVariables) DeepCopy() *FunctionSecretEnvironmentVariables {
   362  	if in == nil {
   363  		return nil
   364  	}
   365  	out := new(FunctionSecretEnvironmentVariables)
   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 *FunctionSecretVolumes) DeepCopyInto(out *FunctionSecretVolumes) {
   372  	*out = *in
   373  	if in.Versions != nil {
   374  		in, out := &in.Versions, &out.Versions
   375  		*out = make([]FunctionVersions, len(*in))
   376  		copy(*out, *in)
   377  	}
   378  	return
   379  }
   380  
   381  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSecretVolumes.
   382  func (in *FunctionSecretVolumes) DeepCopy() *FunctionSecretVolumes {
   383  	if in == nil {
   384  		return nil
   385  	}
   386  	out := new(FunctionSecretVolumes)
   387  	in.DeepCopyInto(out)
   388  	return out
   389  }
   390  
   391  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   392  func (in *FunctionServiceConfig) DeepCopyInto(out *FunctionServiceConfig) {
   393  	*out = *in
   394  	if in.AllTrafficOnLatestRevision != nil {
   395  		in, out := &in.AllTrafficOnLatestRevision, &out.AllTrafficOnLatestRevision
   396  		*out = new(bool)
   397  		**out = **in
   398  	}
   399  	if in.AvailableCpu != nil {
   400  		in, out := &in.AvailableCpu, &out.AvailableCpu
   401  		*out = new(string)
   402  		**out = **in
   403  	}
   404  	if in.AvailableMemory != nil {
   405  		in, out := &in.AvailableMemory, &out.AvailableMemory
   406  		*out = new(string)
   407  		**out = **in
   408  	}
   409  	if in.EnvironmentVariables != nil {
   410  		in, out := &in.EnvironmentVariables, &out.EnvironmentVariables
   411  		*out = make(map[string]string, len(*in))
   412  		for key, val := range *in {
   413  			(*out)[key] = val
   414  		}
   415  	}
   416  	if in.GcfUri != nil {
   417  		in, out := &in.GcfUri, &out.GcfUri
   418  		*out = new(string)
   419  		**out = **in
   420  	}
   421  	if in.IngressSettings != nil {
   422  		in, out := &in.IngressSettings, &out.IngressSettings
   423  		*out = new(string)
   424  		**out = **in
   425  	}
   426  	if in.MaxInstanceCount != nil {
   427  		in, out := &in.MaxInstanceCount, &out.MaxInstanceCount
   428  		*out = new(int)
   429  		**out = **in
   430  	}
   431  	if in.MaxInstanceRequestConcurrency != nil {
   432  		in, out := &in.MaxInstanceRequestConcurrency, &out.MaxInstanceRequestConcurrency
   433  		*out = new(int)
   434  		**out = **in
   435  	}
   436  	if in.MinInstanceCount != nil {
   437  		in, out := &in.MinInstanceCount, &out.MinInstanceCount
   438  		*out = new(int)
   439  		**out = **in
   440  	}
   441  	if in.SecretEnvironmentVariables != nil {
   442  		in, out := &in.SecretEnvironmentVariables, &out.SecretEnvironmentVariables
   443  		*out = make([]FunctionSecretEnvironmentVariables, len(*in))
   444  		copy(*out, *in)
   445  	}
   446  	if in.SecretVolumes != nil {
   447  		in, out := &in.SecretVolumes, &out.SecretVolumes
   448  		*out = make([]FunctionSecretVolumes, len(*in))
   449  		for i := range *in {
   450  			(*in)[i].DeepCopyInto(&(*out)[i])
   451  		}
   452  	}
   453  	if in.Service != nil {
   454  		in, out := &in.Service, &out.Service
   455  		*out = new(string)
   456  		**out = **in
   457  	}
   458  	if in.ServiceAccountEmail != nil {
   459  		in, out := &in.ServiceAccountEmail, &out.ServiceAccountEmail
   460  		*out = new(string)
   461  		**out = **in
   462  	}
   463  	if in.TimeoutSeconds != nil {
   464  		in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
   465  		*out = new(int)
   466  		**out = **in
   467  	}
   468  	if in.Uri != nil {
   469  		in, out := &in.Uri, &out.Uri
   470  		*out = new(string)
   471  		**out = **in
   472  	}
   473  	if in.VpcConnector != nil {
   474  		in, out := &in.VpcConnector, &out.VpcConnector
   475  		*out = new(string)
   476  		**out = **in
   477  	}
   478  	if in.VpcConnectorEgressSettings != nil {
   479  		in, out := &in.VpcConnectorEgressSettings, &out.VpcConnectorEgressSettings
   480  		*out = new(string)
   481  		**out = **in
   482  	}
   483  	return
   484  }
   485  
   486  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionServiceConfig.
   487  func (in *FunctionServiceConfig) DeepCopy() *FunctionServiceConfig {
   488  	if in == nil {
   489  		return nil
   490  	}
   491  	out := new(FunctionServiceConfig)
   492  	in.DeepCopyInto(out)
   493  	return out
   494  }
   495  
   496  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   497  func (in *FunctionSource) DeepCopyInto(out *FunctionSource) {
   498  	*out = *in
   499  	if in.RepoSource != nil {
   500  		in, out := &in.RepoSource, &out.RepoSource
   501  		*out = new(FunctionRepoSource)
   502  		(*in).DeepCopyInto(*out)
   503  	}
   504  	if in.StorageSource != nil {
   505  		in, out := &in.StorageSource, &out.StorageSource
   506  		*out = new(FunctionStorageSource)
   507  		(*in).DeepCopyInto(*out)
   508  	}
   509  	return
   510  }
   511  
   512  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSource.
   513  func (in *FunctionSource) DeepCopy() *FunctionSource {
   514  	if in == nil {
   515  		return nil
   516  	}
   517  	out := new(FunctionSource)
   518  	in.DeepCopyInto(out)
   519  	return out
   520  }
   521  
   522  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   523  func (in *FunctionStorageSource) DeepCopyInto(out *FunctionStorageSource) {
   524  	*out = *in
   525  	if in.Bucket != nil {
   526  		in, out := &in.Bucket, &out.Bucket
   527  		*out = new(string)
   528  		**out = **in
   529  	}
   530  	if in.Generation != nil {
   531  		in, out := &in.Generation, &out.Generation
   532  		*out = new(int)
   533  		**out = **in
   534  	}
   535  	if in.Object != nil {
   536  		in, out := &in.Object, &out.Object
   537  		*out = new(string)
   538  		**out = **in
   539  	}
   540  	return
   541  }
   542  
   543  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStorageSource.
   544  func (in *FunctionStorageSource) DeepCopy() *FunctionStorageSource {
   545  	if in == nil {
   546  		return nil
   547  	}
   548  	out := new(FunctionStorageSource)
   549  	in.DeepCopyInto(out)
   550  	return out
   551  }
   552  
   553  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   554  func (in *FunctionVersions) DeepCopyInto(out *FunctionVersions) {
   555  	*out = *in
   556  	return
   557  }
   558  
   559  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionVersions.
   560  func (in *FunctionVersions) DeepCopy() *FunctionVersions {
   561  	if in == nil {
   562  		return nil
   563  	}
   564  	out := new(FunctionVersions)
   565  	in.DeepCopyInto(out)
   566  	return out
   567  }
   568  

View as plain text