adding inputs output struct based on argo naming for now
This commit is contained in:
parent
fbb55e64dc
commit
ed158ffdcb
@ -1,14 +1,16 @@
|
||||
package models
|
||||
|
||||
type Artifact struct {
|
||||
Name string `json:"name" bson:"name" validate:"required"`
|
||||
Path string `json:"value,omitempty" bson:"value,omitempty"`
|
||||
From string `json:"from,omitempty" bson:"from,omitempty"`
|
||||
Name string `json:"name" bson:"name" validate:"required"`
|
||||
Path string `json:"value,omitempty" bson:"value,omitempty"`
|
||||
From string `json:"from,omitempty" bson:"from,omitempty"`
|
||||
Readonly bool `json:"readonly,omitempty" bson:"readonly,omitempty"`
|
||||
}
|
||||
|
||||
type Param struct {
|
||||
Name string `json:"name" bson:"name" validate:"required"`
|
||||
Value string `json:"value,omitempty" bson:"value,omitempty"`
|
||||
Name string `json:"name" bson:"name" validate:"required"`
|
||||
Value string `json:"value,omitempty" bson:"value,omitempty"`
|
||||
Readonly bool `json:"readonly,omitempty" bson:"readonly,omitempty"`
|
||||
}
|
||||
type InOutputs struct {
|
||||
Params []Param `json:"parameters" bson:"parameters"`
|
||||
|
Loading…
Reference in New Issue
Block a user