From b6bd25df411f568d811b7e8933390f9005cc30f3 Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Mon, 2 Dec 2024 11:23:24 +0100 Subject: [PATCH] add Inputs to pipeline step golang type Signed-off-by: Gerd Oberlechner --- tooling/templatize/pkg/pipeline/types.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tooling/templatize/pkg/pipeline/types.go b/tooling/templatize/pkg/pipeline/types.go index 6f8bf2b61..ec66d83bf 100644 --- a/tooling/templatize/pkg/pipeline/types.go +++ b/tooling/templatize/pkg/pipeline/types.go @@ -29,6 +29,7 @@ type Step struct { Parameters string `yaml:"parameters,omitempty"` DependsOn []string `yaml:"dependsOn,omitempty"` DryRun DryRun `yaml:"dryRun,omitempty"` + Inputs []Input `yaml:"inputs,omitempty"` outputFunc outPutHandler } @@ -42,3 +43,9 @@ type EnvVar struct { ConfigRef string `yaml:"configRef,omitempty"` Value string `yaml:"value,omitempty"` } + +type Input struct { + Name string `yaml:"name"` + Step string `yaml:"step"` + Output string `yaml:"output"` +}