array missing
This commit is contained in:
@@ -47,11 +47,11 @@ type Workflow struct {
|
|||||||
// Schedule *WorkflowSchedule `bson:"schedule,omitempty" json:"schedule,omitempty"` // Schedule is the schedule of the workflow
|
// Schedule *WorkflowSchedule `bson:"schedule,omitempty" json:"schedule,omitempty"` // Schedule is the schedule of the workflow
|
||||||
Shared []string `json:"shared,omitempty" bson:"shared,omitempty"` // Shared is the ID of the shared workflow // AbstractWorkflow contains the basic fields of a workflow
|
Shared []string `json:"shared,omitempty" bson:"shared,omitempty"` // Shared is the ID of the shared workflow // AbstractWorkflow contains the basic fields of a workflow
|
||||||
|
|
||||||
Env map[string]models.Param `json:"env,omitempty" bson:"env,omitempty"`
|
Env map[string][]models.Param `json:"env,omitempty" bson:"env,omitempty"`
|
||||||
Inputs map[string]models.Param `json:"inputs,omitempty" bson:"inputs,omitempty"`
|
Inputs map[string][]models.Param `json:"inputs,omitempty" bson:"inputs,omitempty"`
|
||||||
Outputs map[string]models.Param `json:"outputs,omitempty" bson:"outputs,omitempty"`
|
Outputs map[string][]models.Param `json:"outputs,omitempty" bson:"outputs,omitempty"`
|
||||||
Args map[string]string `json:"args,omitempty" bson:"args,omitempty"`
|
Args map[string][]string `json:"args,omitempty" bson:"args,omitempty"`
|
||||||
Exposes map[string]models.Expose `bson:"exposes,omitempty" json:"exposes,omitempty"` // Expose is the execution
|
Exposes map[string][]models.Expose `bson:"exposes,omitempty" json:"exposes,omitempty"` // Expose is the execution
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Workflow) GetAccessor(request *tools.APIRequest) utils.Accessor {
|
func (d *Workflow) GetAccessor(request *tools.APIRequest) utils.Accessor {
|
||||||
|
|||||||
Reference in New Issue
Block a user