Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Execution ¶
type Execution struct { ID string Service *service.Service Task string CreatedAt time.Time ExecutedAt time.Time ExecutionDuration time.Duration Inputs interface{} Output string OutputData interface{} }
Execution is a type that store all informations about executions
func Create ¶
func Create(service *service.Service, task string, inputs interface{}) (execution *Execution, err error)
Create an execution with a unique ID and put it in the pending list
func InProgress ¶
InProgress returns the matching in progress execution if exists
Click to show internal directories.
Click to hide internal directories.