...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/cloudbuild/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 *CloudBuildTrigger) DeepCopyInto(out *CloudBuildTrigger) {
    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 CloudBuildTrigger.
    43  func (in *CloudBuildTrigger) DeepCopy() *CloudBuildTrigger {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(CloudBuildTrigger)
    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 *CloudBuildTrigger) 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 *CloudBuildTriggerList) DeepCopyInto(out *CloudBuildTriggerList) {
    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([]CloudBuildTrigger, 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 CloudBuildTriggerList.
    76  func (in *CloudBuildTriggerList) DeepCopy() *CloudBuildTriggerList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(CloudBuildTriggerList)
    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 *CloudBuildTriggerList) 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 *CloudBuildTriggerSpec) DeepCopyInto(out *CloudBuildTriggerSpec) {
    95  	*out = *in
    96  	if in.ApprovalConfig != nil {
    97  		in, out := &in.ApprovalConfig, &out.ApprovalConfig
    98  		*out = new(TriggerApprovalConfig)
    99  		(*in).DeepCopyInto(*out)
   100  	}
   101  	if in.BitbucketServerTriggerConfig != nil {
   102  		in, out := &in.BitbucketServerTriggerConfig, &out.BitbucketServerTriggerConfig
   103  		*out = new(TriggerBitbucketServerTriggerConfig)
   104  		(*in).DeepCopyInto(*out)
   105  	}
   106  	if in.Build != nil {
   107  		in, out := &in.Build, &out.Build
   108  		*out = new(TriggerBuild)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  	if in.Description != nil {
   112  		in, out := &in.Description, &out.Description
   113  		*out = new(string)
   114  		**out = **in
   115  	}
   116  	if in.Disabled != nil {
   117  		in, out := &in.Disabled, &out.Disabled
   118  		*out = new(bool)
   119  		**out = **in
   120  	}
   121  	if in.Filename != nil {
   122  		in, out := &in.Filename, &out.Filename
   123  		*out = new(string)
   124  		**out = **in
   125  	}
   126  	if in.Filter != nil {
   127  		in, out := &in.Filter, &out.Filter
   128  		*out = new(string)
   129  		**out = **in
   130  	}
   131  	if in.GitFileSource != nil {
   132  		in, out := &in.GitFileSource, &out.GitFileSource
   133  		*out = new(TriggerGitFileSource)
   134  		(*in).DeepCopyInto(*out)
   135  	}
   136  	if in.Github != nil {
   137  		in, out := &in.Github, &out.Github
   138  		*out = new(TriggerGithub)
   139  		(*in).DeepCopyInto(*out)
   140  	}
   141  	if in.IgnoredFiles != nil {
   142  		in, out := &in.IgnoredFiles, &out.IgnoredFiles
   143  		*out = make([]string, len(*in))
   144  		copy(*out, *in)
   145  	}
   146  	if in.IncludeBuildLogs != nil {
   147  		in, out := &in.IncludeBuildLogs, &out.IncludeBuildLogs
   148  		*out = new(string)
   149  		**out = **in
   150  	}
   151  	if in.IncludedFiles != nil {
   152  		in, out := &in.IncludedFiles, &out.IncludedFiles
   153  		*out = make([]string, len(*in))
   154  		copy(*out, *in)
   155  	}
   156  	if in.Location != nil {
   157  		in, out := &in.Location, &out.Location
   158  		*out = new(string)
   159  		**out = **in
   160  	}
   161  	if in.PubsubConfig != nil {
   162  		in, out := &in.PubsubConfig, &out.PubsubConfig
   163  		*out = new(TriggerPubsubConfig)
   164  		(*in).DeepCopyInto(*out)
   165  	}
   166  	if in.RepositoryEventConfig != nil {
   167  		in, out := &in.RepositoryEventConfig, &out.RepositoryEventConfig
   168  		*out = new(TriggerRepositoryEventConfig)
   169  		(*in).DeepCopyInto(*out)
   170  	}
   171  	if in.ServiceAccountRef != nil {
   172  		in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
   173  		*out = new(v1alpha1.ResourceRef)
   174  		**out = **in
   175  	}
   176  	if in.SourceToBuild != nil {
   177  		in, out := &in.SourceToBuild, &out.SourceToBuild
   178  		*out = new(TriggerSourceToBuild)
   179  		(*in).DeepCopyInto(*out)
   180  	}
   181  	if in.Substitutions != nil {
   182  		in, out := &in.Substitutions, &out.Substitutions
   183  		*out = make(map[string]string, len(*in))
   184  		for key, val := range *in {
   185  			(*out)[key] = val
   186  		}
   187  	}
   188  	if in.Tags != nil {
   189  		in, out := &in.Tags, &out.Tags
   190  		*out = make([]string, len(*in))
   191  		copy(*out, *in)
   192  	}
   193  	if in.TriggerTemplate != nil {
   194  		in, out := &in.TriggerTemplate, &out.TriggerTemplate
   195  		*out = new(TriggerTriggerTemplate)
   196  		(*in).DeepCopyInto(*out)
   197  	}
   198  	if in.WebhookConfig != nil {
   199  		in, out := &in.WebhookConfig, &out.WebhookConfig
   200  		*out = new(TriggerWebhookConfig)
   201  		(*in).DeepCopyInto(*out)
   202  	}
   203  	return
   204  }
   205  
   206  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildTriggerSpec.
   207  func (in *CloudBuildTriggerSpec) DeepCopy() *CloudBuildTriggerSpec {
   208  	if in == nil {
   209  		return nil
   210  	}
   211  	out := new(CloudBuildTriggerSpec)
   212  	in.DeepCopyInto(out)
   213  	return out
   214  }
   215  
   216  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   217  func (in *CloudBuildTriggerStatus) DeepCopyInto(out *CloudBuildTriggerStatus) {
   218  	*out = *in
   219  	if in.Conditions != nil {
   220  		in, out := &in.Conditions, &out.Conditions
   221  		*out = make([]v1alpha1.Condition, len(*in))
   222  		copy(*out, *in)
   223  	}
   224  	if in.CreateTime != nil {
   225  		in, out := &in.CreateTime, &out.CreateTime
   226  		*out = new(string)
   227  		**out = **in
   228  	}
   229  	if in.ObservedGeneration != nil {
   230  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   231  		*out = new(int)
   232  		**out = **in
   233  	}
   234  	if in.TriggerId != nil {
   235  		in, out := &in.TriggerId, &out.TriggerId
   236  		*out = new(string)
   237  		**out = **in
   238  	}
   239  	return
   240  }
   241  
   242  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildTriggerStatus.
   243  func (in *CloudBuildTriggerStatus) DeepCopy() *CloudBuildTriggerStatus {
   244  	if in == nil {
   245  		return nil
   246  	}
   247  	out := new(CloudBuildTriggerStatus)
   248  	in.DeepCopyInto(out)
   249  	return out
   250  }
   251  
   252  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   253  func (in *TriggerApprovalConfig) DeepCopyInto(out *TriggerApprovalConfig) {
   254  	*out = *in
   255  	if in.ApprovalRequired != nil {
   256  		in, out := &in.ApprovalRequired, &out.ApprovalRequired
   257  		*out = new(bool)
   258  		**out = **in
   259  	}
   260  	return
   261  }
   262  
   263  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerApprovalConfig.
   264  func (in *TriggerApprovalConfig) DeepCopy() *TriggerApprovalConfig {
   265  	if in == nil {
   266  		return nil
   267  	}
   268  	out := new(TriggerApprovalConfig)
   269  	in.DeepCopyInto(out)
   270  	return out
   271  }
   272  
   273  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   274  func (in *TriggerArtifacts) DeepCopyInto(out *TriggerArtifacts) {
   275  	*out = *in
   276  	if in.Images != nil {
   277  		in, out := &in.Images, &out.Images
   278  		*out = make([]string, len(*in))
   279  		copy(*out, *in)
   280  	}
   281  	if in.Objects != nil {
   282  		in, out := &in.Objects, &out.Objects
   283  		*out = new(TriggerObjects)
   284  		(*in).DeepCopyInto(*out)
   285  	}
   286  	return
   287  }
   288  
   289  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerArtifacts.
   290  func (in *TriggerArtifacts) DeepCopy() *TriggerArtifacts {
   291  	if in == nil {
   292  		return nil
   293  	}
   294  	out := new(TriggerArtifacts)
   295  	in.DeepCopyInto(out)
   296  	return out
   297  }
   298  
   299  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   300  func (in *TriggerAvailableSecrets) DeepCopyInto(out *TriggerAvailableSecrets) {
   301  	*out = *in
   302  	if in.SecretManager != nil {
   303  		in, out := &in.SecretManager, &out.SecretManager
   304  		*out = make([]TriggerSecretManager, len(*in))
   305  		copy(*out, *in)
   306  	}
   307  	return
   308  }
   309  
   310  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerAvailableSecrets.
   311  func (in *TriggerAvailableSecrets) DeepCopy() *TriggerAvailableSecrets {
   312  	if in == nil {
   313  		return nil
   314  	}
   315  	out := new(TriggerAvailableSecrets)
   316  	in.DeepCopyInto(out)
   317  	return out
   318  }
   319  
   320  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   321  func (in *TriggerBitbucketServerTriggerConfig) DeepCopyInto(out *TriggerBitbucketServerTriggerConfig) {
   322  	*out = *in
   323  	out.BitbucketServerConfigResourceRef = in.BitbucketServerConfigResourceRef
   324  	if in.PullRequest != nil {
   325  		in, out := &in.PullRequest, &out.PullRequest
   326  		*out = new(TriggerPullRequest)
   327  		(*in).DeepCopyInto(*out)
   328  	}
   329  	if in.Push != nil {
   330  		in, out := &in.Push, &out.Push
   331  		*out = new(TriggerPush)
   332  		(*in).DeepCopyInto(*out)
   333  	}
   334  	return
   335  }
   336  
   337  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerBitbucketServerTriggerConfig.
   338  func (in *TriggerBitbucketServerTriggerConfig) DeepCopy() *TriggerBitbucketServerTriggerConfig {
   339  	if in == nil {
   340  		return nil
   341  	}
   342  	out := new(TriggerBitbucketServerTriggerConfig)
   343  	in.DeepCopyInto(out)
   344  	return out
   345  }
   346  
   347  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   348  func (in *TriggerBuild) DeepCopyInto(out *TriggerBuild) {
   349  	*out = *in
   350  	if in.Artifacts != nil {
   351  		in, out := &in.Artifacts, &out.Artifacts
   352  		*out = new(TriggerArtifacts)
   353  		(*in).DeepCopyInto(*out)
   354  	}
   355  	if in.AvailableSecrets != nil {
   356  		in, out := &in.AvailableSecrets, &out.AvailableSecrets
   357  		*out = new(TriggerAvailableSecrets)
   358  		(*in).DeepCopyInto(*out)
   359  	}
   360  	if in.Images != nil {
   361  		in, out := &in.Images, &out.Images
   362  		*out = make([]string, len(*in))
   363  		copy(*out, *in)
   364  	}
   365  	if in.LogsBucketRef != nil {
   366  		in, out := &in.LogsBucketRef, &out.LogsBucketRef
   367  		*out = new(v1alpha1.ResourceRef)
   368  		**out = **in
   369  	}
   370  	if in.Options != nil {
   371  		in, out := &in.Options, &out.Options
   372  		*out = new(TriggerOptions)
   373  		(*in).DeepCopyInto(*out)
   374  	}
   375  	if in.QueueTtl != nil {
   376  		in, out := &in.QueueTtl, &out.QueueTtl
   377  		*out = new(string)
   378  		**out = **in
   379  	}
   380  	if in.Secret != nil {
   381  		in, out := &in.Secret, &out.Secret
   382  		*out = make([]TriggerSecret, len(*in))
   383  		for i := range *in {
   384  			(*in)[i].DeepCopyInto(&(*out)[i])
   385  		}
   386  	}
   387  	if in.Source != nil {
   388  		in, out := &in.Source, &out.Source
   389  		*out = new(TriggerSource)
   390  		(*in).DeepCopyInto(*out)
   391  	}
   392  	if in.Step != nil {
   393  		in, out := &in.Step, &out.Step
   394  		*out = make([]TriggerStep, len(*in))
   395  		for i := range *in {
   396  			(*in)[i].DeepCopyInto(&(*out)[i])
   397  		}
   398  	}
   399  	if in.Substitutions != nil {
   400  		in, out := &in.Substitutions, &out.Substitutions
   401  		*out = make(map[string]string, len(*in))
   402  		for key, val := range *in {
   403  			(*out)[key] = val
   404  		}
   405  	}
   406  	if in.Tags != nil {
   407  		in, out := &in.Tags, &out.Tags
   408  		*out = make([]string, len(*in))
   409  		copy(*out, *in)
   410  	}
   411  	if in.Timeout != nil {
   412  		in, out := &in.Timeout, &out.Timeout
   413  		*out = new(string)
   414  		**out = **in
   415  	}
   416  	return
   417  }
   418  
   419  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerBuild.
   420  func (in *TriggerBuild) DeepCopy() *TriggerBuild {
   421  	if in == nil {
   422  		return nil
   423  	}
   424  	out := new(TriggerBuild)
   425  	in.DeepCopyInto(out)
   426  	return out
   427  }
   428  
   429  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   430  func (in *TriggerGitFileSource) DeepCopyInto(out *TriggerGitFileSource) {
   431  	*out = *in
   432  	if in.GithubEnterpriseConfigRef != nil {
   433  		in, out := &in.GithubEnterpriseConfigRef, &out.GithubEnterpriseConfigRef
   434  		*out = new(v1alpha1.ResourceRef)
   435  		**out = **in
   436  	}
   437  	if in.RepositoryRef != nil {
   438  		in, out := &in.RepositoryRef, &out.RepositoryRef
   439  		*out = new(v1alpha1.ResourceRef)
   440  		**out = **in
   441  	}
   442  	if in.Revision != nil {
   443  		in, out := &in.Revision, &out.Revision
   444  		*out = new(string)
   445  		**out = **in
   446  	}
   447  	if in.Uri != nil {
   448  		in, out := &in.Uri, &out.Uri
   449  		*out = new(string)
   450  		**out = **in
   451  	}
   452  	return
   453  }
   454  
   455  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerGitFileSource.
   456  func (in *TriggerGitFileSource) DeepCopy() *TriggerGitFileSource {
   457  	if in == nil {
   458  		return nil
   459  	}
   460  	out := new(TriggerGitFileSource)
   461  	in.DeepCopyInto(out)
   462  	return out
   463  }
   464  
   465  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   466  func (in *TriggerGithub) DeepCopyInto(out *TriggerGithub) {
   467  	*out = *in
   468  	if in.EnterpriseConfigResourceNameRef != nil {
   469  		in, out := &in.EnterpriseConfigResourceNameRef, &out.EnterpriseConfigResourceNameRef
   470  		*out = new(v1alpha1.ResourceRef)
   471  		**out = **in
   472  	}
   473  	if in.Name != nil {
   474  		in, out := &in.Name, &out.Name
   475  		*out = new(string)
   476  		**out = **in
   477  	}
   478  	if in.Owner != nil {
   479  		in, out := &in.Owner, &out.Owner
   480  		*out = new(string)
   481  		**out = **in
   482  	}
   483  	if in.PullRequest != nil {
   484  		in, out := &in.PullRequest, &out.PullRequest
   485  		*out = new(TriggerPullRequest)
   486  		(*in).DeepCopyInto(*out)
   487  	}
   488  	if in.Push != nil {
   489  		in, out := &in.Push, &out.Push
   490  		*out = new(TriggerPush)
   491  		(*in).DeepCopyInto(*out)
   492  	}
   493  	return
   494  }
   495  
   496  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerGithub.
   497  func (in *TriggerGithub) DeepCopy() *TriggerGithub {
   498  	if in == nil {
   499  		return nil
   500  	}
   501  	out := new(TriggerGithub)
   502  	in.DeepCopyInto(out)
   503  	return out
   504  }
   505  
   506  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   507  func (in *TriggerObjects) DeepCopyInto(out *TriggerObjects) {
   508  	*out = *in
   509  	if in.Location != nil {
   510  		in, out := &in.Location, &out.Location
   511  		*out = new(string)
   512  		**out = **in
   513  	}
   514  	if in.Paths != nil {
   515  		in, out := &in.Paths, &out.Paths
   516  		*out = make([]string, len(*in))
   517  		copy(*out, *in)
   518  	}
   519  	if in.Timing != nil {
   520  		in, out := &in.Timing, &out.Timing
   521  		*out = make([]TriggerTiming, len(*in))
   522  		for i := range *in {
   523  			(*in)[i].DeepCopyInto(&(*out)[i])
   524  		}
   525  	}
   526  	return
   527  }
   528  
   529  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerObjects.
   530  func (in *TriggerObjects) DeepCopy() *TriggerObjects {
   531  	if in == nil {
   532  		return nil
   533  	}
   534  	out := new(TriggerObjects)
   535  	in.DeepCopyInto(out)
   536  	return out
   537  }
   538  
   539  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   540  func (in *TriggerOptions) DeepCopyInto(out *TriggerOptions) {
   541  	*out = *in
   542  	if in.DiskSizeGb != nil {
   543  		in, out := &in.DiskSizeGb, &out.DiskSizeGb
   544  		*out = new(int)
   545  		**out = **in
   546  	}
   547  	if in.DynamicSubstitutions != nil {
   548  		in, out := &in.DynamicSubstitutions, &out.DynamicSubstitutions
   549  		*out = new(bool)
   550  		**out = **in
   551  	}
   552  	if in.Env != nil {
   553  		in, out := &in.Env, &out.Env
   554  		*out = make([]string, len(*in))
   555  		copy(*out, *in)
   556  	}
   557  	if in.LogStreamingOption != nil {
   558  		in, out := &in.LogStreamingOption, &out.LogStreamingOption
   559  		*out = new(string)
   560  		**out = **in
   561  	}
   562  	if in.Logging != nil {
   563  		in, out := &in.Logging, &out.Logging
   564  		*out = new(string)
   565  		**out = **in
   566  	}
   567  	if in.MachineType != nil {
   568  		in, out := &in.MachineType, &out.MachineType
   569  		*out = new(string)
   570  		**out = **in
   571  	}
   572  	if in.RequestedVerifyOption != nil {
   573  		in, out := &in.RequestedVerifyOption, &out.RequestedVerifyOption
   574  		*out = new(string)
   575  		**out = **in
   576  	}
   577  	if in.SecretEnv != nil {
   578  		in, out := &in.SecretEnv, &out.SecretEnv
   579  		*out = make([]string, len(*in))
   580  		copy(*out, *in)
   581  	}
   582  	if in.SourceProvenanceHash != nil {
   583  		in, out := &in.SourceProvenanceHash, &out.SourceProvenanceHash
   584  		*out = make([]string, len(*in))
   585  		copy(*out, *in)
   586  	}
   587  	if in.SubstitutionOption != nil {
   588  		in, out := &in.SubstitutionOption, &out.SubstitutionOption
   589  		*out = new(string)
   590  		**out = **in
   591  	}
   592  	if in.Volumes != nil {
   593  		in, out := &in.Volumes, &out.Volumes
   594  		*out = make([]TriggerVolumes, len(*in))
   595  		copy(*out, *in)
   596  	}
   597  	if in.WorkerPool != nil {
   598  		in, out := &in.WorkerPool, &out.WorkerPool
   599  		*out = new(string)
   600  		**out = **in
   601  	}
   602  	return
   603  }
   604  
   605  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerOptions.
   606  func (in *TriggerOptions) DeepCopy() *TriggerOptions {
   607  	if in == nil {
   608  		return nil
   609  	}
   610  	out := new(TriggerOptions)
   611  	in.DeepCopyInto(out)
   612  	return out
   613  }
   614  
   615  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   616  func (in *TriggerPubsubConfig) DeepCopyInto(out *TriggerPubsubConfig) {
   617  	*out = *in
   618  	if in.ServiceAccountRef != nil {
   619  		in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
   620  		*out = new(v1alpha1.ResourceRef)
   621  		**out = **in
   622  	}
   623  	if in.State != nil {
   624  		in, out := &in.State, &out.State
   625  		*out = new(string)
   626  		**out = **in
   627  	}
   628  	if in.Subscription != nil {
   629  		in, out := &in.Subscription, &out.Subscription
   630  		*out = new(string)
   631  		**out = **in
   632  	}
   633  	out.TopicRef = in.TopicRef
   634  	return
   635  }
   636  
   637  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPubsubConfig.
   638  func (in *TriggerPubsubConfig) DeepCopy() *TriggerPubsubConfig {
   639  	if in == nil {
   640  		return nil
   641  	}
   642  	out := new(TriggerPubsubConfig)
   643  	in.DeepCopyInto(out)
   644  	return out
   645  }
   646  
   647  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   648  func (in *TriggerPullRequest) DeepCopyInto(out *TriggerPullRequest) {
   649  	*out = *in
   650  	if in.Branch != nil {
   651  		in, out := &in.Branch, &out.Branch
   652  		*out = new(string)
   653  		**out = **in
   654  	}
   655  	if in.CommentControl != nil {
   656  		in, out := &in.CommentControl, &out.CommentControl
   657  		*out = new(string)
   658  		**out = **in
   659  	}
   660  	if in.InvertRegex != nil {
   661  		in, out := &in.InvertRegex, &out.InvertRegex
   662  		*out = new(bool)
   663  		**out = **in
   664  	}
   665  	return
   666  }
   667  
   668  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPullRequest.
   669  func (in *TriggerPullRequest) DeepCopy() *TriggerPullRequest {
   670  	if in == nil {
   671  		return nil
   672  	}
   673  	out := new(TriggerPullRequest)
   674  	in.DeepCopyInto(out)
   675  	return out
   676  }
   677  
   678  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   679  func (in *TriggerPush) DeepCopyInto(out *TriggerPush) {
   680  	*out = *in
   681  	if in.Branch != nil {
   682  		in, out := &in.Branch, &out.Branch
   683  		*out = new(string)
   684  		**out = **in
   685  	}
   686  	if in.InvertRegex != nil {
   687  		in, out := &in.InvertRegex, &out.InvertRegex
   688  		*out = new(bool)
   689  		**out = **in
   690  	}
   691  	if in.Tag != nil {
   692  		in, out := &in.Tag, &out.Tag
   693  		*out = new(string)
   694  		**out = **in
   695  	}
   696  	return
   697  }
   698  
   699  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPush.
   700  func (in *TriggerPush) DeepCopy() *TriggerPush {
   701  	if in == nil {
   702  		return nil
   703  	}
   704  	out := new(TriggerPush)
   705  	in.DeepCopyInto(out)
   706  	return out
   707  }
   708  
   709  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   710  func (in *TriggerRepoSource) DeepCopyInto(out *TriggerRepoSource) {
   711  	*out = *in
   712  	if in.BranchName != nil {
   713  		in, out := &in.BranchName, &out.BranchName
   714  		*out = new(string)
   715  		**out = **in
   716  	}
   717  	if in.CommitSha != nil {
   718  		in, out := &in.CommitSha, &out.CommitSha
   719  		*out = new(string)
   720  		**out = **in
   721  	}
   722  	if in.Dir != nil {
   723  		in, out := &in.Dir, &out.Dir
   724  		*out = new(string)
   725  		**out = **in
   726  	}
   727  	if in.InvertRegex != nil {
   728  		in, out := &in.InvertRegex, &out.InvertRegex
   729  		*out = new(bool)
   730  		**out = **in
   731  	}
   732  	if in.ProjectId != nil {
   733  		in, out := &in.ProjectId, &out.ProjectId
   734  		*out = new(string)
   735  		**out = **in
   736  	}
   737  	out.RepoRef = in.RepoRef
   738  	if in.Substitutions != nil {
   739  		in, out := &in.Substitutions, &out.Substitutions
   740  		*out = make(map[string]string, len(*in))
   741  		for key, val := range *in {
   742  			(*out)[key] = val
   743  		}
   744  	}
   745  	if in.TagName != nil {
   746  		in, out := &in.TagName, &out.TagName
   747  		*out = new(string)
   748  		**out = **in
   749  	}
   750  	return
   751  }
   752  
   753  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerRepoSource.
   754  func (in *TriggerRepoSource) DeepCopy() *TriggerRepoSource {
   755  	if in == nil {
   756  		return nil
   757  	}
   758  	out := new(TriggerRepoSource)
   759  	in.DeepCopyInto(out)
   760  	return out
   761  }
   762  
   763  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   764  func (in *TriggerRepositoryEventConfig) DeepCopyInto(out *TriggerRepositoryEventConfig) {
   765  	*out = *in
   766  	if in.PullRequest != nil {
   767  		in, out := &in.PullRequest, &out.PullRequest
   768  		*out = new(TriggerPullRequest)
   769  		(*in).DeepCopyInto(*out)
   770  	}
   771  	if in.Push != nil {
   772  		in, out := &in.Push, &out.Push
   773  		*out = new(TriggerPush)
   774  		(*in).DeepCopyInto(*out)
   775  	}
   776  	if in.Repository != nil {
   777  		in, out := &in.Repository, &out.Repository
   778  		*out = new(string)
   779  		**out = **in
   780  	}
   781  	return
   782  }
   783  
   784  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerRepositoryEventConfig.
   785  func (in *TriggerRepositoryEventConfig) DeepCopy() *TriggerRepositoryEventConfig {
   786  	if in == nil {
   787  		return nil
   788  	}
   789  	out := new(TriggerRepositoryEventConfig)
   790  	in.DeepCopyInto(out)
   791  	return out
   792  }
   793  
   794  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   795  func (in *TriggerSecret) DeepCopyInto(out *TriggerSecret) {
   796  	*out = *in
   797  	out.KmsKeyRef = in.KmsKeyRef
   798  	if in.SecretEnv != nil {
   799  		in, out := &in.SecretEnv, &out.SecretEnv
   800  		*out = make(map[string]string, len(*in))
   801  		for key, val := range *in {
   802  			(*out)[key] = val
   803  		}
   804  	}
   805  	return
   806  }
   807  
   808  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSecret.
   809  func (in *TriggerSecret) DeepCopy() *TriggerSecret {
   810  	if in == nil {
   811  		return nil
   812  	}
   813  	out := new(TriggerSecret)
   814  	in.DeepCopyInto(out)
   815  	return out
   816  }
   817  
   818  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   819  func (in *TriggerSecretManager) DeepCopyInto(out *TriggerSecretManager) {
   820  	*out = *in
   821  	out.VersionRef = in.VersionRef
   822  	return
   823  }
   824  
   825  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSecretManager.
   826  func (in *TriggerSecretManager) DeepCopy() *TriggerSecretManager {
   827  	if in == nil {
   828  		return nil
   829  	}
   830  	out := new(TriggerSecretManager)
   831  	in.DeepCopyInto(out)
   832  	return out
   833  }
   834  
   835  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   836  func (in *TriggerSource) DeepCopyInto(out *TriggerSource) {
   837  	*out = *in
   838  	if in.RepoSource != nil {
   839  		in, out := &in.RepoSource, &out.RepoSource
   840  		*out = new(TriggerRepoSource)
   841  		(*in).DeepCopyInto(*out)
   842  	}
   843  	if in.StorageSource != nil {
   844  		in, out := &in.StorageSource, &out.StorageSource
   845  		*out = new(TriggerStorageSource)
   846  		(*in).DeepCopyInto(*out)
   847  	}
   848  	return
   849  }
   850  
   851  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSource.
   852  func (in *TriggerSource) DeepCopy() *TriggerSource {
   853  	if in == nil {
   854  		return nil
   855  	}
   856  	out := new(TriggerSource)
   857  	in.DeepCopyInto(out)
   858  	return out
   859  }
   860  
   861  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   862  func (in *TriggerSourceToBuild) DeepCopyInto(out *TriggerSourceToBuild) {
   863  	*out = *in
   864  	if in.GithubEnterpriseConfigRef != nil {
   865  		in, out := &in.GithubEnterpriseConfigRef, &out.GithubEnterpriseConfigRef
   866  		*out = new(v1alpha1.ResourceRef)
   867  		**out = **in
   868  	}
   869  	if in.RepositoryRef != nil {
   870  		in, out := &in.RepositoryRef, &out.RepositoryRef
   871  		*out = new(v1alpha1.ResourceRef)
   872  		**out = **in
   873  	}
   874  	if in.Uri != nil {
   875  		in, out := &in.Uri, &out.Uri
   876  		*out = new(string)
   877  		**out = **in
   878  	}
   879  	return
   880  }
   881  
   882  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSourceToBuild.
   883  func (in *TriggerSourceToBuild) DeepCopy() *TriggerSourceToBuild {
   884  	if in == nil {
   885  		return nil
   886  	}
   887  	out := new(TriggerSourceToBuild)
   888  	in.DeepCopyInto(out)
   889  	return out
   890  }
   891  
   892  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   893  func (in *TriggerStep) DeepCopyInto(out *TriggerStep) {
   894  	*out = *in
   895  	if in.AllowExitCodes != nil {
   896  		in, out := &in.AllowExitCodes, &out.AllowExitCodes
   897  		*out = make([]int, len(*in))
   898  		copy(*out, *in)
   899  	}
   900  	if in.AllowFailure != nil {
   901  		in, out := &in.AllowFailure, &out.AllowFailure
   902  		*out = new(bool)
   903  		**out = **in
   904  	}
   905  	if in.Args != nil {
   906  		in, out := &in.Args, &out.Args
   907  		*out = make([]string, len(*in))
   908  		copy(*out, *in)
   909  	}
   910  	if in.Dir != nil {
   911  		in, out := &in.Dir, &out.Dir
   912  		*out = new(string)
   913  		**out = **in
   914  	}
   915  	if in.Entrypoint != nil {
   916  		in, out := &in.Entrypoint, &out.Entrypoint
   917  		*out = new(string)
   918  		**out = **in
   919  	}
   920  	if in.Env != nil {
   921  		in, out := &in.Env, &out.Env
   922  		*out = make([]string, len(*in))
   923  		copy(*out, *in)
   924  	}
   925  	if in.Id != nil {
   926  		in, out := &in.Id, &out.Id
   927  		*out = new(string)
   928  		**out = **in
   929  	}
   930  	if in.Script != nil {
   931  		in, out := &in.Script, &out.Script
   932  		*out = new(string)
   933  		**out = **in
   934  	}
   935  	if in.SecretEnv != nil {
   936  		in, out := &in.SecretEnv, &out.SecretEnv
   937  		*out = make([]string, len(*in))
   938  		copy(*out, *in)
   939  	}
   940  	if in.Timeout != nil {
   941  		in, out := &in.Timeout, &out.Timeout
   942  		*out = new(string)
   943  		**out = **in
   944  	}
   945  	if in.Timing != nil {
   946  		in, out := &in.Timing, &out.Timing
   947  		*out = new(string)
   948  		**out = **in
   949  	}
   950  	if in.Volumes != nil {
   951  		in, out := &in.Volumes, &out.Volumes
   952  		*out = make([]TriggerVolumes, len(*in))
   953  		copy(*out, *in)
   954  	}
   955  	if in.WaitFor != nil {
   956  		in, out := &in.WaitFor, &out.WaitFor
   957  		*out = make([]string, len(*in))
   958  		copy(*out, *in)
   959  	}
   960  	return
   961  }
   962  
   963  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStep.
   964  func (in *TriggerStep) DeepCopy() *TriggerStep {
   965  	if in == nil {
   966  		return nil
   967  	}
   968  	out := new(TriggerStep)
   969  	in.DeepCopyInto(out)
   970  	return out
   971  }
   972  
   973  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   974  func (in *TriggerStorageSource) DeepCopyInto(out *TriggerStorageSource) {
   975  	*out = *in
   976  	out.BucketRef = in.BucketRef
   977  	if in.Generation != nil {
   978  		in, out := &in.Generation, &out.Generation
   979  		*out = new(string)
   980  		**out = **in
   981  	}
   982  	return
   983  }
   984  
   985  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStorageSource.
   986  func (in *TriggerStorageSource) DeepCopy() *TriggerStorageSource {
   987  	if in == nil {
   988  		return nil
   989  	}
   990  	out := new(TriggerStorageSource)
   991  	in.DeepCopyInto(out)
   992  	return out
   993  }
   994  
   995  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   996  func (in *TriggerTiming) DeepCopyInto(out *TriggerTiming) {
   997  	*out = *in
   998  	if in.EndTime != nil {
   999  		in, out := &in.EndTime, &out.EndTime
  1000  		*out = new(string)
  1001  		**out = **in
  1002  	}
  1003  	if in.StartTime != nil {
  1004  		in, out := &in.StartTime, &out.StartTime
  1005  		*out = new(string)
  1006  		**out = **in
  1007  	}
  1008  	return
  1009  }
  1010  
  1011  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTiming.
  1012  func (in *TriggerTiming) DeepCopy() *TriggerTiming {
  1013  	if in == nil {
  1014  		return nil
  1015  	}
  1016  	out := new(TriggerTiming)
  1017  	in.DeepCopyInto(out)
  1018  	return out
  1019  }
  1020  
  1021  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1022  func (in *TriggerTriggerTemplate) DeepCopyInto(out *TriggerTriggerTemplate) {
  1023  	*out = *in
  1024  	if in.BranchName != nil {
  1025  		in, out := &in.BranchName, &out.BranchName
  1026  		*out = new(string)
  1027  		**out = **in
  1028  	}
  1029  	if in.CommitSha != nil {
  1030  		in, out := &in.CommitSha, &out.CommitSha
  1031  		*out = new(string)
  1032  		**out = **in
  1033  	}
  1034  	if in.Dir != nil {
  1035  		in, out := &in.Dir, &out.Dir
  1036  		*out = new(string)
  1037  		**out = **in
  1038  	}
  1039  	if in.InvertRegex != nil {
  1040  		in, out := &in.InvertRegex, &out.InvertRegex
  1041  		*out = new(bool)
  1042  		**out = **in
  1043  	}
  1044  	if in.RepoRef != nil {
  1045  		in, out := &in.RepoRef, &out.RepoRef
  1046  		*out = new(v1alpha1.ResourceRef)
  1047  		**out = **in
  1048  	}
  1049  	if in.TagName != nil {
  1050  		in, out := &in.TagName, &out.TagName
  1051  		*out = new(string)
  1052  		**out = **in
  1053  	}
  1054  	return
  1055  }
  1056  
  1057  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTriggerTemplate.
  1058  func (in *TriggerTriggerTemplate) DeepCopy() *TriggerTriggerTemplate {
  1059  	if in == nil {
  1060  		return nil
  1061  	}
  1062  	out := new(TriggerTriggerTemplate)
  1063  	in.DeepCopyInto(out)
  1064  	return out
  1065  }
  1066  
  1067  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1068  func (in *TriggerVolumes) DeepCopyInto(out *TriggerVolumes) {
  1069  	*out = *in
  1070  	return
  1071  }
  1072  
  1073  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerVolumes.
  1074  func (in *TriggerVolumes) DeepCopy() *TriggerVolumes {
  1075  	if in == nil {
  1076  		return nil
  1077  	}
  1078  	out := new(TriggerVolumes)
  1079  	in.DeepCopyInto(out)
  1080  	return out
  1081  }
  1082  
  1083  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1084  func (in *TriggerWebhookConfig) DeepCopyInto(out *TriggerWebhookConfig) {
  1085  	*out = *in
  1086  	out.SecretRef = in.SecretRef
  1087  	if in.State != nil {
  1088  		in, out := &in.State, &out.State
  1089  		*out = new(string)
  1090  		**out = **in
  1091  	}
  1092  	return
  1093  }
  1094  
  1095  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerWebhookConfig.
  1096  func (in *TriggerWebhookConfig) DeepCopy() *TriggerWebhookConfig {
  1097  	if in == nil {
  1098  		return nil
  1099  	}
  1100  	out := new(TriggerWebhookConfig)
  1101  	in.DeepCopyInto(out)
  1102  	return out
  1103  }
  1104  

View as plain text