kompose/vendor/github.com/openshift/api/build/v1/zz_generated.deepcopy.go
Hang Yan 525b68f027
Go mod (#1305)
* Use go mod instead of glide
* Add `--with-kompose-annotation` flag to allow us to switch it off for tests
* Remove hostpid support (since the newest sdk does not support it)
* Create new test script and fixtures
* Remove replicationcontroller support
2020-08-07 17:25:52 +08:00

1481 lines
40 KiB
Go

// +build !ignore_autogenerated
// Code generated by deepcopy-gen. DO NOT EDIT.
package v1
import (
corev1 "k8s.io/api/core/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BinaryBuildRequestOptions) DeepCopyInto(out *BinaryBuildRequestOptions) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryBuildRequestOptions.
func (in *BinaryBuildRequestOptions) DeepCopy() *BinaryBuildRequestOptions {
if in == nil {
return nil
}
out := new(BinaryBuildRequestOptions)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BinaryBuildRequestOptions) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BinaryBuildSource) DeepCopyInto(out *BinaryBuildSource) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryBuildSource.
func (in *BinaryBuildSource) DeepCopy() *BinaryBuildSource {
if in == nil {
return nil
}
out := new(BinaryBuildSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BitbucketWebHookCause) DeepCopyInto(out *BitbucketWebHookCause) {
*out = *in
in.CommonWebHookCause.DeepCopyInto(&out.CommonWebHookCause)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketWebHookCause.
func (in *BitbucketWebHookCause) DeepCopy() *BitbucketWebHookCause {
if in == nil {
return nil
}
out := new(BitbucketWebHookCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Build) DeepCopyInto(out *Build) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (in *Build) DeepCopy() *Build {
if in == nil {
return nil
}
out := new(Build)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *Build) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildCondition) DeepCopyInto(out *BuildCondition) {
*out = *in
in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildCondition.
func (in *BuildCondition) DeepCopy() *BuildCondition {
if in == nil {
return nil
}
out := new(BuildCondition)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildConfig) DeepCopyInto(out *BuildConfig) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
out.Status = in.Status
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfig.
func (in *BuildConfig) DeepCopy() *BuildConfig {
if in == nil {
return nil
}
out := new(BuildConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildConfig) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildConfigList) DeepCopyInto(out *BuildConfigList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]BuildConfig, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfigList.
func (in *BuildConfigList) DeepCopy() *BuildConfigList {
if in == nil {
return nil
}
out := new(BuildConfigList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildConfigList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildConfigSpec) DeepCopyInto(out *BuildConfigSpec) {
*out = *in
if in.Triggers != nil {
in, out := &in.Triggers, &out.Triggers
*out = make([]BuildTriggerPolicy, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
in.CommonSpec.DeepCopyInto(&out.CommonSpec)
if in.SuccessfulBuildsHistoryLimit != nil {
in, out := &in.SuccessfulBuildsHistoryLimit, &out.SuccessfulBuildsHistoryLimit
*out = new(int32)
**out = **in
}
if in.FailedBuildsHistoryLimit != nil {
in, out := &in.FailedBuildsHistoryLimit, &out.FailedBuildsHistoryLimit
*out = new(int32)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfigSpec.
func (in *BuildConfigSpec) DeepCopy() *BuildConfigSpec {
if in == nil {
return nil
}
out := new(BuildConfigSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildConfigStatus) DeepCopyInto(out *BuildConfigStatus) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfigStatus.
func (in *BuildConfigStatus) DeepCopy() *BuildConfigStatus {
if in == nil {
return nil
}
out := new(BuildConfigStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildList) DeepCopyInto(out *BuildList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]Build, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.
func (in *BuildList) DeepCopy() *BuildList {
if in == nil {
return nil
}
out := new(BuildList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildLog) DeepCopyInto(out *BuildLog) {
*out = *in
out.TypeMeta = in.TypeMeta
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildLog.
func (in *BuildLog) DeepCopy() *BuildLog {
if in == nil {
return nil
}
out := new(BuildLog)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildLog) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildLogOptions) DeepCopyInto(out *BuildLogOptions) {
*out = *in
out.TypeMeta = in.TypeMeta
if in.SinceSeconds != nil {
in, out := &in.SinceSeconds, &out.SinceSeconds
*out = new(int64)
**out = **in
}
if in.SinceTime != nil {
in, out := &in.SinceTime, &out.SinceTime
*out = (*in).DeepCopy()
}
if in.TailLines != nil {
in, out := &in.TailLines, &out.TailLines
*out = new(int64)
**out = **in
}
if in.LimitBytes != nil {
in, out := &in.LimitBytes, &out.LimitBytes
*out = new(int64)
**out = **in
}
if in.Version != nil {
in, out := &in.Version, &out.Version
*out = new(int64)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildLogOptions.
func (in *BuildLogOptions) DeepCopy() *BuildLogOptions {
if in == nil {
return nil
}
out := new(BuildLogOptions)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildLogOptions) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildOutput) DeepCopyInto(out *BuildOutput) {
*out = *in
if in.To != nil {
in, out := &in.To, &out.To
*out = new(corev1.ObjectReference)
**out = **in
}
if in.PushSecret != nil {
in, out := &in.PushSecret, &out.PushSecret
*out = new(corev1.LocalObjectReference)
**out = **in
}
if in.ImageLabels != nil {
in, out := &in.ImageLabels, &out.ImageLabels
*out = make([]ImageLabel, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildOutput.
func (in *BuildOutput) DeepCopy() *BuildOutput {
if in == nil {
return nil
}
out := new(BuildOutput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildPostCommitSpec) DeepCopyInto(out *BuildPostCommitSpec) {
*out = *in
if in.Command != nil {
in, out := &in.Command, &out.Command
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Args != nil {
in, out := &in.Args, &out.Args
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPostCommitSpec.
func (in *BuildPostCommitSpec) DeepCopy() *BuildPostCommitSpec {
if in == nil {
return nil
}
out := new(BuildPostCommitSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildRequest) DeepCopyInto(out *BuildRequest) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
if in.Revision != nil {
in, out := &in.Revision, &out.Revision
*out = new(SourceRevision)
(*in).DeepCopyInto(*out)
}
if in.TriggeredByImage != nil {
in, out := &in.TriggeredByImage, &out.TriggeredByImage
*out = new(corev1.ObjectReference)
**out = **in
}
if in.From != nil {
in, out := &in.From, &out.From
*out = new(corev1.ObjectReference)
**out = **in
}
if in.Binary != nil {
in, out := &in.Binary, &out.Binary
*out = new(BinaryBuildSource)
**out = **in
}
if in.LastVersion != nil {
in, out := &in.LastVersion, &out.LastVersion
*out = new(int64)
**out = **in
}
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.TriggeredBy != nil {
in, out := &in.TriggeredBy, &out.TriggeredBy
*out = make([]BuildTriggerCause, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.DockerStrategyOptions != nil {
in, out := &in.DockerStrategyOptions, &out.DockerStrategyOptions
*out = new(DockerStrategyOptions)
(*in).DeepCopyInto(*out)
}
if in.SourceStrategyOptions != nil {
in, out := &in.SourceStrategyOptions, &out.SourceStrategyOptions
*out = new(SourceStrategyOptions)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildRequest.
func (in *BuildRequest) DeepCopy() *BuildRequest {
if in == nil {
return nil
}
out := new(BuildRequest)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *BuildRequest) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildSource) DeepCopyInto(out *BuildSource) {
*out = *in
if in.Binary != nil {
in, out := &in.Binary, &out.Binary
*out = new(BinaryBuildSource)
**out = **in
}
if in.Dockerfile != nil {
in, out := &in.Dockerfile, &out.Dockerfile
*out = new(string)
**out = **in
}
if in.Git != nil {
in, out := &in.Git, &out.Git
*out = new(GitBuildSource)
(*in).DeepCopyInto(*out)
}
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]ImageSource, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.SourceSecret != nil {
in, out := &in.SourceSecret, &out.SourceSecret
*out = new(corev1.LocalObjectReference)
**out = **in
}
if in.Secrets != nil {
in, out := &in.Secrets, &out.Secrets
*out = make([]SecretBuildSource, len(*in))
copy(*out, *in)
}
if in.ConfigMaps != nil {
in, out := &in.ConfigMaps, &out.ConfigMaps
*out = make([]ConfigMapBuildSource, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSource.
func (in *BuildSource) DeepCopy() *BuildSource {
if in == nil {
return nil
}
out := new(BuildSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildSpec) DeepCopyInto(out *BuildSpec) {
*out = *in
in.CommonSpec.DeepCopyInto(&out.CommonSpec)
if in.TriggeredBy != nil {
in, out := &in.TriggeredBy, &out.TriggeredBy
*out = make([]BuildTriggerCause, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.
func (in *BuildSpec) DeepCopy() *BuildSpec {
if in == nil {
return nil
}
out := new(BuildSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildStatus) DeepCopyInto(out *BuildStatus) {
*out = *in
if in.StartTimestamp != nil {
in, out := &in.StartTimestamp, &out.StartTimestamp
*out = (*in).DeepCopy()
}
if in.CompletionTimestamp != nil {
in, out := &in.CompletionTimestamp, &out.CompletionTimestamp
*out = (*in).DeepCopy()
}
if in.Config != nil {
in, out := &in.Config, &out.Config
*out = new(corev1.ObjectReference)
**out = **in
}
in.Output.DeepCopyInto(&out.Output)
if in.Stages != nil {
in, out := &in.Stages, &out.Stages
*out = make([]StageInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]BuildCondition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatus.
func (in *BuildStatus) DeepCopy() *BuildStatus {
if in == nil {
return nil
}
out := new(BuildStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildStatusOutput) DeepCopyInto(out *BuildStatusOutput) {
*out = *in
if in.To != nil {
in, out := &in.To, &out.To
*out = new(BuildStatusOutputTo)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatusOutput.
func (in *BuildStatusOutput) DeepCopy() *BuildStatusOutput {
if in == nil {
return nil
}
out := new(BuildStatusOutput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildStatusOutputTo) DeepCopyInto(out *BuildStatusOutputTo) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatusOutputTo.
func (in *BuildStatusOutputTo) DeepCopy() *BuildStatusOutputTo {
if in == nil {
return nil
}
out := new(BuildStatusOutputTo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildStrategy) DeepCopyInto(out *BuildStrategy) {
*out = *in
if in.DockerStrategy != nil {
in, out := &in.DockerStrategy, &out.DockerStrategy
*out = new(DockerBuildStrategy)
(*in).DeepCopyInto(*out)
}
if in.SourceStrategy != nil {
in, out := &in.SourceStrategy, &out.SourceStrategy
*out = new(SourceBuildStrategy)
(*in).DeepCopyInto(*out)
}
if in.CustomStrategy != nil {
in, out := &in.CustomStrategy, &out.CustomStrategy
*out = new(CustomBuildStrategy)
(*in).DeepCopyInto(*out)
}
if in.JenkinsPipelineStrategy != nil {
in, out := &in.JenkinsPipelineStrategy, &out.JenkinsPipelineStrategy
*out = new(JenkinsPipelineBuildStrategy)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStrategy.
func (in *BuildStrategy) DeepCopy() *BuildStrategy {
if in == nil {
return nil
}
out := new(BuildStrategy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildTriggerCause) DeepCopyInto(out *BuildTriggerCause) {
*out = *in
if in.GenericWebHook != nil {
in, out := &in.GenericWebHook, &out.GenericWebHook
*out = new(GenericWebHookCause)
(*in).DeepCopyInto(*out)
}
if in.GitHubWebHook != nil {
in, out := &in.GitHubWebHook, &out.GitHubWebHook
*out = new(GitHubWebHookCause)
(*in).DeepCopyInto(*out)
}
if in.ImageChangeBuild != nil {
in, out := &in.ImageChangeBuild, &out.ImageChangeBuild
*out = new(ImageChangeCause)
(*in).DeepCopyInto(*out)
}
if in.GitLabWebHook != nil {
in, out := &in.GitLabWebHook, &out.GitLabWebHook
*out = new(GitLabWebHookCause)
(*in).DeepCopyInto(*out)
}
if in.BitbucketWebHook != nil {
in, out := &in.BitbucketWebHook, &out.BitbucketWebHook
*out = new(BitbucketWebHookCause)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildTriggerCause.
func (in *BuildTriggerCause) DeepCopy() *BuildTriggerCause {
if in == nil {
return nil
}
out := new(BuildTriggerCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BuildTriggerPolicy) DeepCopyInto(out *BuildTriggerPolicy) {
*out = *in
if in.GitHubWebHook != nil {
in, out := &in.GitHubWebHook, &out.GitHubWebHook
*out = new(WebHookTrigger)
(*in).DeepCopyInto(*out)
}
if in.GenericWebHook != nil {
in, out := &in.GenericWebHook, &out.GenericWebHook
*out = new(WebHookTrigger)
(*in).DeepCopyInto(*out)
}
if in.ImageChange != nil {
in, out := &in.ImageChange, &out.ImageChange
*out = new(ImageChangeTrigger)
(*in).DeepCopyInto(*out)
}
if in.GitLabWebHook != nil {
in, out := &in.GitLabWebHook, &out.GitLabWebHook
*out = new(WebHookTrigger)
(*in).DeepCopyInto(*out)
}
if in.BitbucketWebHook != nil {
in, out := &in.BitbucketWebHook, &out.BitbucketWebHook
*out = new(WebHookTrigger)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildTriggerPolicy.
func (in *BuildTriggerPolicy) DeepCopy() *BuildTriggerPolicy {
if in == nil {
return nil
}
out := new(BuildTriggerPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CommonSpec) DeepCopyInto(out *CommonSpec) {
*out = *in
in.Source.DeepCopyInto(&out.Source)
if in.Revision != nil {
in, out := &in.Revision, &out.Revision
*out = new(SourceRevision)
(*in).DeepCopyInto(*out)
}
in.Strategy.DeepCopyInto(&out.Strategy)
in.Output.DeepCopyInto(&out.Output)
in.Resources.DeepCopyInto(&out.Resources)
in.PostCommit.DeepCopyInto(&out.PostCommit)
if in.CompletionDeadlineSeconds != nil {
in, out := &in.CompletionDeadlineSeconds, &out.CompletionDeadlineSeconds
*out = new(int64)
**out = **in
}
if in.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector
*out = make(OptionalNodeSelector, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonSpec.
func (in *CommonSpec) DeepCopy() *CommonSpec {
if in == nil {
return nil
}
out := new(CommonSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CommonWebHookCause) DeepCopyInto(out *CommonWebHookCause) {
*out = *in
if in.Revision != nil {
in, out := &in.Revision, &out.Revision
*out = new(SourceRevision)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebHookCause.
func (in *CommonWebHookCause) DeepCopy() *CommonWebHookCause {
if in == nil {
return nil
}
out := new(CommonWebHookCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ConfigMapBuildSource) DeepCopyInto(out *ConfigMapBuildSource) {
*out = *in
out.ConfigMap = in.ConfigMap
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapBuildSource.
func (in *ConfigMapBuildSource) DeepCopy() *ConfigMapBuildSource {
if in == nil {
return nil
}
out := new(ConfigMapBuildSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CustomBuildStrategy) DeepCopyInto(out *CustomBuildStrategy) {
*out = *in
out.From = in.From
if in.PullSecret != nil {
in, out := &in.PullSecret, &out.PullSecret
*out = new(corev1.LocalObjectReference)
**out = **in
}
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Secrets != nil {
in, out := &in.Secrets, &out.Secrets
*out = make([]SecretSpec, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomBuildStrategy.
func (in *CustomBuildStrategy) DeepCopy() *CustomBuildStrategy {
if in == nil {
return nil
}
out := new(CustomBuildStrategy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DockerBuildStrategy) DeepCopyInto(out *DockerBuildStrategy) {
*out = *in
if in.From != nil {
in, out := &in.From, &out.From
*out = new(corev1.ObjectReference)
**out = **in
}
if in.PullSecret != nil {
in, out := &in.PullSecret, &out.PullSecret
*out = new(corev1.LocalObjectReference)
**out = **in
}
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.BuildArgs != nil {
in, out := &in.BuildArgs, &out.BuildArgs
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ImageOptimizationPolicy != nil {
in, out := &in.ImageOptimizationPolicy, &out.ImageOptimizationPolicy
*out = new(ImageOptimizationPolicy)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerBuildStrategy.
func (in *DockerBuildStrategy) DeepCopy() *DockerBuildStrategy {
if in == nil {
return nil
}
out := new(DockerBuildStrategy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DockerStrategyOptions) DeepCopyInto(out *DockerStrategyOptions) {
*out = *in
if in.BuildArgs != nil {
in, out := &in.BuildArgs, &out.BuildArgs
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.NoCache != nil {
in, out := &in.NoCache, &out.NoCache
*out = new(bool)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerStrategyOptions.
func (in *DockerStrategyOptions) DeepCopy() *DockerStrategyOptions {
if in == nil {
return nil
}
out := new(DockerStrategyOptions)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GenericWebHookCause) DeepCopyInto(out *GenericWebHookCause) {
*out = *in
if in.Revision != nil {
in, out := &in.Revision, &out.Revision
*out = new(SourceRevision)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebHookCause.
func (in *GenericWebHookCause) DeepCopy() *GenericWebHookCause {
if in == nil {
return nil
}
out := new(GenericWebHookCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GenericWebHookEvent) DeepCopyInto(out *GenericWebHookEvent) {
*out = *in
if in.Git != nil {
in, out := &in.Git, &out.Git
*out = new(GitInfo)
(*in).DeepCopyInto(*out)
}
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.DockerStrategyOptions != nil {
in, out := &in.DockerStrategyOptions, &out.DockerStrategyOptions
*out = new(DockerStrategyOptions)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebHookEvent.
func (in *GenericWebHookEvent) DeepCopy() *GenericWebHookEvent {
if in == nil {
return nil
}
out := new(GenericWebHookEvent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitBuildSource) DeepCopyInto(out *GitBuildSource) {
*out = *in
in.ProxyConfig.DeepCopyInto(&out.ProxyConfig)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitBuildSource.
func (in *GitBuildSource) DeepCopy() *GitBuildSource {
if in == nil {
return nil
}
out := new(GitBuildSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitHubWebHookCause) DeepCopyInto(out *GitHubWebHookCause) {
*out = *in
if in.Revision != nil {
in, out := &in.Revision, &out.Revision
*out = new(SourceRevision)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubWebHookCause.
func (in *GitHubWebHookCause) DeepCopy() *GitHubWebHookCause {
if in == nil {
return nil
}
out := new(GitHubWebHookCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitInfo) DeepCopyInto(out *GitInfo) {
*out = *in
in.GitBuildSource.DeepCopyInto(&out.GitBuildSource)
out.GitSourceRevision = in.GitSourceRevision
if in.Refs != nil {
in, out := &in.Refs, &out.Refs
*out = make([]GitRefInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitInfo.
func (in *GitInfo) DeepCopy() *GitInfo {
if in == nil {
return nil
}
out := new(GitInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitLabWebHookCause) DeepCopyInto(out *GitLabWebHookCause) {
*out = *in
in.CommonWebHookCause.DeepCopyInto(&out.CommonWebHookCause)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabWebHookCause.
func (in *GitLabWebHookCause) DeepCopy() *GitLabWebHookCause {
if in == nil {
return nil
}
out := new(GitLabWebHookCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitRefInfo) DeepCopyInto(out *GitRefInfo) {
*out = *in
in.GitBuildSource.DeepCopyInto(&out.GitBuildSource)
out.GitSourceRevision = in.GitSourceRevision
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRefInfo.
func (in *GitRefInfo) DeepCopy() *GitRefInfo {
if in == nil {
return nil
}
out := new(GitRefInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GitSourceRevision) DeepCopyInto(out *GitSourceRevision) {
*out = *in
out.Author = in.Author
out.Committer = in.Committer
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitSourceRevision.
func (in *GitSourceRevision) DeepCopy() *GitSourceRevision {
if in == nil {
return nil
}
out := new(GitSourceRevision)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageChangeCause) DeepCopyInto(out *ImageChangeCause) {
*out = *in
if in.FromRef != nil {
in, out := &in.FromRef, &out.FromRef
*out = new(corev1.ObjectReference)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageChangeCause.
func (in *ImageChangeCause) DeepCopy() *ImageChangeCause {
if in == nil {
return nil
}
out := new(ImageChangeCause)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageChangeTrigger) DeepCopyInto(out *ImageChangeTrigger) {
*out = *in
if in.From != nil {
in, out := &in.From, &out.From
*out = new(corev1.ObjectReference)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageChangeTrigger.
func (in *ImageChangeTrigger) DeepCopy() *ImageChangeTrigger {
if in == nil {
return nil
}
out := new(ImageChangeTrigger)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageLabel) DeepCopyInto(out *ImageLabel) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageLabel.
func (in *ImageLabel) DeepCopy() *ImageLabel {
if in == nil {
return nil
}
out := new(ImageLabel)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageSource) DeepCopyInto(out *ImageSource) {
*out = *in
out.From = in.From
if in.As != nil {
in, out := &in.As, &out.As
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Paths != nil {
in, out := &in.Paths, &out.Paths
*out = make([]ImageSourcePath, len(*in))
copy(*out, *in)
}
if in.PullSecret != nil {
in, out := &in.PullSecret, &out.PullSecret
*out = new(corev1.LocalObjectReference)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSource.
func (in *ImageSource) DeepCopy() *ImageSource {
if in == nil {
return nil
}
out := new(ImageSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ImageSourcePath) DeepCopyInto(out *ImageSourcePath) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSourcePath.
func (in *ImageSourcePath) DeepCopy() *ImageSourcePath {
if in == nil {
return nil
}
out := new(ImageSourcePath)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *JenkinsPipelineBuildStrategy) DeepCopyInto(out *JenkinsPipelineBuildStrategy) {
*out = *in
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsPipelineBuildStrategy.
func (in *JenkinsPipelineBuildStrategy) DeepCopy() *JenkinsPipelineBuildStrategy {
if in == nil {
return nil
}
out := new(JenkinsPipelineBuildStrategy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in OptionalNodeSelector) DeepCopyInto(out *OptionalNodeSelector) {
{
in := &in
*out = make(OptionalNodeSelector, len(*in))
for key, val := range *in {
(*out)[key] = val
}
return
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalNodeSelector.
func (in OptionalNodeSelector) DeepCopy() OptionalNodeSelector {
if in == nil {
return nil
}
out := new(OptionalNodeSelector)
in.DeepCopyInto(out)
return *out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig) {
*out = *in
if in.HTTPProxy != nil {
in, out := &in.HTTPProxy, &out.HTTPProxy
*out = new(string)
**out = **in
}
if in.HTTPSProxy != nil {
in, out := &in.HTTPSProxy, &out.HTTPSProxy
*out = new(string)
**out = **in
}
if in.NoProxy != nil {
in, out := &in.NoProxy, &out.NoProxy
*out = new(string)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig.
func (in *ProxyConfig) DeepCopy() *ProxyConfig {
if in == nil {
return nil
}
out := new(ProxyConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SecretBuildSource) DeepCopyInto(out *SecretBuildSource) {
*out = *in
out.Secret = in.Secret
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBuildSource.
func (in *SecretBuildSource) DeepCopy() *SecretBuildSource {
if in == nil {
return nil
}
out := new(SecretBuildSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SecretLocalReference) DeepCopyInto(out *SecretLocalReference) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretLocalReference.
func (in *SecretLocalReference) DeepCopy() *SecretLocalReference {
if in == nil {
return nil
}
out := new(SecretLocalReference)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SecretSpec) DeepCopyInto(out *SecretSpec) {
*out = *in
out.SecretSource = in.SecretSource
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (in *SecretSpec) DeepCopy() *SecretSpec {
if in == nil {
return nil
}
out := new(SecretSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SourceBuildStrategy) DeepCopyInto(out *SourceBuildStrategy) {
*out = *in
out.From = in.From
if in.PullSecret != nil {
in, out := &in.PullSecret, &out.PullSecret
*out = new(corev1.LocalObjectReference)
**out = **in
}
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Incremental != nil {
in, out := &in.Incremental, &out.Incremental
*out = new(bool)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceBuildStrategy.
func (in *SourceBuildStrategy) DeepCopy() *SourceBuildStrategy {
if in == nil {
return nil
}
out := new(SourceBuildStrategy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SourceControlUser) DeepCopyInto(out *SourceControlUser) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceControlUser.
func (in *SourceControlUser) DeepCopy() *SourceControlUser {
if in == nil {
return nil
}
out := new(SourceControlUser)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SourceRevision) DeepCopyInto(out *SourceRevision) {
*out = *in
if in.Git != nil {
in, out := &in.Git, &out.Git
*out = new(GitSourceRevision)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRevision.
func (in *SourceRevision) DeepCopy() *SourceRevision {
if in == nil {
return nil
}
out := new(SourceRevision)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SourceStrategyOptions) DeepCopyInto(out *SourceStrategyOptions) {
*out = *in
if in.Incremental != nil {
in, out := &in.Incremental, &out.Incremental
*out = new(bool)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceStrategyOptions.
func (in *SourceStrategyOptions) DeepCopy() *SourceStrategyOptions {
if in == nil {
return nil
}
out := new(SourceStrategyOptions)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StageInfo) DeepCopyInto(out *StageInfo) {
*out = *in
in.StartTime.DeepCopyInto(&out.StartTime)
if in.Steps != nil {
in, out := &in.Steps, &out.Steps
*out = make([]StepInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageInfo.
func (in *StageInfo) DeepCopy() *StageInfo {
if in == nil {
return nil
}
out := new(StageInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StepInfo) DeepCopyInto(out *StepInfo) {
*out = *in
in.StartTime.DeepCopyInto(&out.StartTime)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepInfo.
func (in *StepInfo) DeepCopy() *StepInfo {
if in == nil {
return nil
}
out := new(StepInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WebHookTrigger) DeepCopyInto(out *WebHookTrigger) {
*out = *in
if in.SecretReference != nil {
in, out := &in.SecretReference, &out.SecretReference
*out = new(SecretLocalReference)
**out = **in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebHookTrigger.
func (in *WebHookTrigger) DeepCopy() *WebHookTrigger {
if in == nil {
return nil
}
out := new(WebHookTrigger)
in.DeepCopyInto(out)
return out
}