Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericTask ¶
func (*GenericTask) Describe ¶
func (t *GenericTask) Describe() string
func (*GenericTask) Do ¶
func (t *GenericTask) Do(errCh chan error) error
type SynchronousTask ¶ added in v0.39.0
type SynchronousTask struct {
SynchronousTaskIface
}
func (SynchronousTask) Do ¶ added in v0.39.0
func (t SynchronousTask) Do(errCh chan error) error
type SynchronousTaskIface ¶ added in v0.39.0
type TaskTree ¶
TaskTree wraps a set of tasks
func (*TaskTree) Describe ¶
Describe collects all tasks which have been added to the task tree. This is a lazy tree which does not track its nodes in any form. This function is recursively called from the rest of the task Describes and eventually returns a collection of all the tasks' `Info` value.
func (*TaskTree) Do ¶
Do will run through the set in the background, it may return an error immediately, or eventually write to the errs channel; it will close the channel once all tasks are completed
type TaskWithNameParam ¶
func (*TaskWithNameParam) Describe ¶
func (t *TaskWithNameParam) Describe() string
func (*TaskWithNameParam) Do ¶
func (t *TaskWithNameParam) Do(errs chan error) error
type TaskWithoutParams ¶
func (*TaskWithoutParams) Describe ¶
func (t *TaskWithoutParams) Describe() string
func (*TaskWithoutParams) Do ¶
func (t *TaskWithoutParams) Do(errs chan error) error
Click to show internal directories.
Click to hide internal directories.