adding inputs output struct based on argo naming for now
This commit is contained in:
@@ -8,14 +8,10 @@ type Artifact struct {
|
||||
|
||||
type Param struct {
|
||||
Attr string `json:"attr" bson:"attr" validate:"required"`
|
||||
Value string `json:"value,omitempty" bson:"value,omitempty"`
|
||||
Readonly bool `json:"readonly" bson:"readonly" default:"true"`
|
||||
}
|
||||
|
||||
type ParamValue struct {
|
||||
Param
|
||||
Value string `json:"value" bson:"value" validate:"required"`
|
||||
}
|
||||
|
||||
type InOutputs struct {
|
||||
Params []Param `json:"parameters" bson:"parameters"`
|
||||
Artifacts []Artifact `json:"artifacts" bson:"artifacts"`
|
||||
|
Reference in New Issue
Block a user