From f37e1b609f911fb9c4a5795b7b58ccc96d8ff867 Mon Sep 17 00:00:00 2001 From: Yongxuan Zhang Date: Wed, 1 Nov 2023 19:38:07 +0000 Subject: [PATCH] codegen --- docs/pipeline-api.md | 17 ++++++++++++++++- pkg/apis/pipeline/v1/zz_generated.deepcopy.go | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/pipeline-api.md b/docs/pipeline-api.md index f100fbf2561..d39aef09618 100644 --- a/docs/pipeline-api.md +++ b/docs/pipeline-api.md @@ -3300,6 +3300,21 @@ string

Name of the referenced step

+ + +ResolverRef
+ + +ResolverRef + + + + +(Optional) +

ResolverRef allows referencing a StepAction in a remote location +like a git repo.

+ +

RefSource @@ -3371,7 +3386,7 @@ requested.

ResolverRef

-(Appears on:PipelineRef, TaskRef) +(Appears on:PipelineRef, Ref, TaskRef)

ResolverRef can be used to refer to a Pipeline or Task in a remote diff --git a/pkg/apis/pipeline/v1/zz_generated.deepcopy.go b/pkg/apis/pipeline/v1/zz_generated.deepcopy.go index c59e2c4f615..e3307f4720e 100644 --- a/pkg/apis/pipeline/v1/zz_generated.deepcopy.go +++ b/pkg/apis/pipeline/v1/zz_generated.deepcopy.go @@ -1011,6 +1011,7 @@ func (in *Provenance) DeepCopy() *Provenance { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Ref) DeepCopyInto(out *Ref) { *out = *in + in.ResolverRef.DeepCopyInto(&out.ResolverRef) return } @@ -1282,7 +1283,7 @@ func (in *Step) DeepCopyInto(out *Step) { if in.Ref != nil { in, out := &in.Ref, &out.Ref *out = new(Ref) - **out = **in + (*in).DeepCopyInto(*out) } return }