last demo import - cleaned
This commit is contained in:
11
models/workflow/executionschedule.go
Normal file
11
models/workflow/executionschedule.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
// ExecutionSchedule an execution unit or a set of steps
|
||||
type ExecutionSchedule struct {
|
||||
Name string `json:"name"`
|
||||
Start time.Time `json:"start"`
|
||||
Stop time.Time `json:"stop"`
|
||||
Reccurence string `json:"reccurence"`
|
||||
}
|
||||
8
models/workflow/workflow.go
Normal file
8
models/workflow/workflow.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package models
|
||||
|
||||
// Coordinates represents WGS84 geographical coordiantes
|
||||
type Workflow struct {
|
||||
Name string `json:"name"`
|
||||
PlannedSchedule ExecutionSchedule `json:"plannedschedule`
|
||||
Steps []WorkflowStep `json:"steps"`
|
||||
}
|
||||
10
models/workflow/workflowstep.go
Normal file
10
models/workflow/workflowstep.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
// WorkflowStep an execution unit or a set of steps
|
||||
type WorkflowStep struct {
|
||||
Name string `json:"name"`
|
||||
Container string `json:"container"`
|
||||
Input string `json:"input"`
|
||||
Output string `json:"output"`
|
||||
Location string `json:"location"`
|
||||
}
|
||||
Reference in New Issue
Block a user