...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/cloudfunctions/v1beta1

     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 v1beta1
    26  
    27  import (
    28  	v1alpha1 "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 *CloudFunctionsFunction) DeepCopyInto(out *CloudFunctionsFunction) {
    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 CloudFunctionsFunction.
    43  func (in *CloudFunctionsFunction) DeepCopy() *CloudFunctionsFunction {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(CloudFunctionsFunction)
    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 *CloudFunctionsFunction) 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 *CloudFunctionsFunctionList) DeepCopyInto(out *CloudFunctionsFunctionList) {
    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([]CloudFunctionsFunction, 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 CloudFunctionsFunctionList.
    76  func (in *CloudFunctionsFunctionList) DeepCopy() *CloudFunctionsFunctionList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(CloudFunctionsFunctionList)
    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 *CloudFunctionsFunctionList) 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 *CloudFunctionsFunctionSpec) DeepCopyInto(out *CloudFunctionsFunctionSpec) {
    95  	*out = *in
    96  	if in.AvailableMemoryMb != nil {
    97  		in, out := &in.AvailableMemoryMb, &out.AvailableMemoryMb
    98  		*out = new(int)
    99  		**out = **in
   100  	}
   101  	if in.Description != nil {
   102  		in, out := &in.Description, &out.Description
   103  		*out = new(string)
   104  		**out = **in
   105  	}
   106  	if in.EntryPoint != nil {
   107  		in, out := &in.EntryPoint, &out.EntryPoint
   108  		*out = new(string)
   109  		**out = **in
   110  	}
   111  	if in.EnvironmentVariables != nil {
   112  		in, out := &in.EnvironmentVariables, &out.EnvironmentVariables
   113  		*out = make(map[string]string, len(*in))
   114  		for key, val := range *in {
   115  			(*out)[key] = val
   116  		}
   117  	}
   118  	if in.EventTrigger != nil {
   119  		in, out := &in.EventTrigger, &out.EventTrigger
   120  		*out = new(FunctionEventTrigger)
   121  		(*in).DeepCopyInto(*out)
   122  	}
   123  	if in.HttpsTrigger != nil {
   124  		in, out := &in.HttpsTrigger, &out.HttpsTrigger
   125  		*out = new(FunctionHttpsTrigger)
   126  		(*in).DeepCopyInto(*out)
   127  	}
   128  	if in.IngressSettings != nil {
   129  		in, out := &in.IngressSettings, &out.IngressSettings
   130  		*out = new(string)
   131  		**out = **in
   132  	}
   133  	if in.MaxInstances != nil {
   134  		in, out := &in.MaxInstances, &out.MaxInstances
   135  		*out = new(int)
   136  		**out = **in
   137  	}
   138  	out.ProjectRef = in.ProjectRef
   139  	if in.ResourceID != nil {
   140  		in, out := &in.ResourceID, &out.ResourceID
   141  		*out = new(string)
   142  		**out = **in
   143  	}
   144  	if in.ServiceAccountRef != nil {
   145  		in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
   146  		*out = new(v1alpha1.ResourceRef)
   147  		**out = **in
   148  	}
   149  	if in.SourceArchiveUrl != nil {
   150  		in, out := &in.SourceArchiveUrl, &out.SourceArchiveUrl
   151  		*out = new(string)
   152  		**out = **in
   153  	}
   154  	if in.SourceRepository != nil {
   155  		in, out := &in.SourceRepository, &out.SourceRepository
   156  		*out = new(FunctionSourceRepository)
   157  		**out = **in
   158  	}
   159  	if in.Timeout != nil {
   160  		in, out := &in.Timeout, &out.Timeout
   161  		*out = new(string)
   162  		**out = **in
   163  	}
   164  	if in.VpcConnectorEgressSettings != nil {
   165  		in, out := &in.VpcConnectorEgressSettings, &out.VpcConnectorEgressSettings
   166  		*out = new(string)
   167  		**out = **in
   168  	}
   169  	if in.VpcConnectorRef != nil {
   170  		in, out := &in.VpcConnectorRef, &out.VpcConnectorRef
   171  		*out = new(v1alpha1.ResourceRef)
   172  		**out = **in
   173  	}
   174  	return
   175  }
   176  
   177  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctionsFunctionSpec.
   178  func (in *CloudFunctionsFunctionSpec) DeepCopy() *CloudFunctionsFunctionSpec {
   179  	if in == nil {
   180  		return nil
   181  	}
   182  	out := new(CloudFunctionsFunctionSpec)
   183  	in.DeepCopyInto(out)
   184  	return out
   185  }
   186  
   187  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   188  func (in *CloudFunctionsFunctionStatus) DeepCopyInto(out *CloudFunctionsFunctionStatus) {
   189  	*out = *in
   190  	if in.Conditions != nil {
   191  		in, out := &in.Conditions, &out.Conditions
   192  		*out = make([]v1alpha1.Condition, len(*in))
   193  		copy(*out, *in)
   194  	}
   195  	if in.HttpsTrigger != nil {
   196  		in, out := &in.HttpsTrigger, &out.HttpsTrigger
   197  		*out = new(FunctionHttpsTriggerStatus)
   198  		(*in).DeepCopyInto(*out)
   199  	}
   200  	if in.ObservedGeneration != nil {
   201  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   202  		*out = new(int)
   203  		**out = **in
   204  	}
   205  	if in.SourceRepository != nil {
   206  		in, out := &in.SourceRepository, &out.SourceRepository
   207  		*out = new(FunctionSourceRepositoryStatus)
   208  		(*in).DeepCopyInto(*out)
   209  	}
   210  	if in.Status != nil {
   211  		in, out := &in.Status, &out.Status
   212  		*out = new(string)
   213  		**out = **in
   214  	}
   215  	if in.UpdateTime != nil {
   216  		in, out := &in.UpdateTime, &out.UpdateTime
   217  		*out = new(string)
   218  		**out = **in
   219  	}
   220  	if in.VersionId != nil {
   221  		in, out := &in.VersionId, &out.VersionId
   222  		*out = new(int)
   223  		**out = **in
   224  	}
   225  	return
   226  }
   227  
   228  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudFunctionsFunctionStatus.
   229  func (in *CloudFunctionsFunctionStatus) DeepCopy() *CloudFunctionsFunctionStatus {
   230  	if in == nil {
   231  		return nil
   232  	}
   233  	out := new(CloudFunctionsFunctionStatus)
   234  	in.DeepCopyInto(out)
   235  	return out
   236  }
   237  
   238  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   239  func (in *FunctionEventTrigger) DeepCopyInto(out *FunctionEventTrigger) {
   240  	*out = *in
   241  	if in.FailurePolicy != nil {
   242  		in, out := &in.FailurePolicy, &out.FailurePolicy
   243  		*out = new(bool)
   244  		**out = **in
   245  	}
   246  	out.ResourceRef = in.ResourceRef
   247  	if in.Service != nil {
   248  		in, out := &in.Service, &out.Service
   249  		*out = new(string)
   250  		**out = **in
   251  	}
   252  	return
   253  }
   254  
   255  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEventTrigger.
   256  func (in *FunctionEventTrigger) DeepCopy() *FunctionEventTrigger {
   257  	if in == nil {
   258  		return nil
   259  	}
   260  	out := new(FunctionEventTrigger)
   261  	in.DeepCopyInto(out)
   262  	return out
   263  }
   264  
   265  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   266  func (in *FunctionHttpsTrigger) DeepCopyInto(out *FunctionHttpsTrigger) {
   267  	*out = *in
   268  	if in.SecurityLevel != nil {
   269  		in, out := &in.SecurityLevel, &out.SecurityLevel
   270  		*out = new(string)
   271  		**out = **in
   272  	}
   273  	return
   274  }
   275  
   276  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionHttpsTrigger.
   277  func (in *FunctionHttpsTrigger) DeepCopy() *FunctionHttpsTrigger {
   278  	if in == nil {
   279  		return nil
   280  	}
   281  	out := new(FunctionHttpsTrigger)
   282  	in.DeepCopyInto(out)
   283  	return out
   284  }
   285  
   286  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   287  func (in *FunctionHttpsTriggerStatus) DeepCopyInto(out *FunctionHttpsTriggerStatus) {
   288  	*out = *in
   289  	if in.Url != nil {
   290  		in, out := &in.Url, &out.Url
   291  		*out = new(string)
   292  		**out = **in
   293  	}
   294  	return
   295  }
   296  
   297  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionHttpsTriggerStatus.
   298  func (in *FunctionHttpsTriggerStatus) DeepCopy() *FunctionHttpsTriggerStatus {
   299  	if in == nil {
   300  		return nil
   301  	}
   302  	out := new(FunctionHttpsTriggerStatus)
   303  	in.DeepCopyInto(out)
   304  	return out
   305  }
   306  
   307  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   308  func (in *FunctionSourceRepository) DeepCopyInto(out *FunctionSourceRepository) {
   309  	*out = *in
   310  	return
   311  }
   312  
   313  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSourceRepository.
   314  func (in *FunctionSourceRepository) DeepCopy() *FunctionSourceRepository {
   315  	if in == nil {
   316  		return nil
   317  	}
   318  	out := new(FunctionSourceRepository)
   319  	in.DeepCopyInto(out)
   320  	return out
   321  }
   322  
   323  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   324  func (in *FunctionSourceRepositoryStatus) DeepCopyInto(out *FunctionSourceRepositoryStatus) {
   325  	*out = *in
   326  	if in.DeployedUrl != nil {
   327  		in, out := &in.DeployedUrl, &out.DeployedUrl
   328  		*out = new(string)
   329  		**out = **in
   330  	}
   331  	return
   332  }
   333  
   334  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSourceRepositoryStatus.
   335  func (in *FunctionSourceRepositoryStatus) DeepCopy() *FunctionSourceRepositoryStatus {
   336  	if in == nil {
   337  		return nil
   338  	}
   339  	out := new(FunctionSourceRepositoryStatus)
   340  	in.DeepCopyInto(out)
   341  	return out
   342  }
   343  

View as plain text