Documentation ¶
Index ¶
- func New(cnf *config.Config) iface.Backend
- type Backend
- func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error)
- func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int) (bool, error)
- func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int) ([]*tasks.TaskState, error)
- func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error
- func (b *Backend) PurgeGroupMeta(groupUUID string) error
- func (b *Backend) PurgeState(taskUUID string) error
- func (b *Backend) SetStateFailure(signature *tasks.Signature, err string) error
- func (b *Backend) SetStatePending(signature *tasks.Signature) error
- func (b *Backend) SetStateReceived(signature *tasks.Signature) error
- func (b *Backend) SetStateRetry(signature *tasks.Signature) error
- func (b *Backend) SetStateStarted(signature *tasks.Signature) error
- func (b *Backend) SetStateSuccess(signature *tasks.Signature, results []*tasks.TaskResult) error
- func (b *Backend) TriggerChord(groupUUID string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
Backend ...
func (*Backend) GroupCompleted ¶
GroupCompleted ...
func (*Backend) GroupTaskStates ¶
GroupTaskStates ...
func (*Backend) PurgeGroupMeta ¶
PurgeGroupMeta ...
func (*Backend) SetStateFailure ¶
SetStateFailure ...
func (*Backend) SetStatePending ¶
SetStatePending ...
func (*Backend) SetStateReceived ¶
SetStateReceived ...
func (*Backend) SetStateRetry ¶
SetStateRetry ...
func (*Backend) SetStateStarted ¶
SetStateStarted ...
func (*Backend) SetStateSuccess ¶
SetStateSuccess ...
Click to show internal directories.
Click to hide internal directories.