Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector concern is - register in Consul the task (/tasks/) - register in Consul the workflow if task is workflow (/workflows/) - register in Consul the executions for initial steps if task is workflow (/executions/) - register in Consul the execution for task if non workflow task
func NewCollector ¶
NewCollector creates a Collector
func (*Collector) RegisterTask ¶
RegisterTask register a new Task of a given type.
The task id is returned. Basically this is a shorthand for RegisterTaskWithData(targetID, taskType, nil)
Click to show internal directories.
Click to hide internal directories.