Skip to content

Commit

Permalink
add Inputs to pipeline step golang type
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Dec 2, 2024
1 parent 7147ec5 commit b6bd25d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tooling/templatize/pkg/pipeline/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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"`
}

0 comments on commit b6bd25d

Please sign in to comment.