Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBConnector ¶
DBConnector provides an interface for working with the underlying DB implementations
type State ¶
type State interface { AssignTask(ctx context.Context, req client.UpdateTaskRequest) (*tasks.Task, error) Get(ctx context.Context, uuid string) (*tasks.Task, error) GetAll(ctx context.Context) ([]*tasks.Task, error) Update(ctx context.Context, uuid string, req client.UpdateTaskRequest) (*tasks.Task, error) NewStorageTask(ctx context.Context, storageTask *tasks.StorageTask) (*tasks.Task, error) NewRetrievalTask(ctx context.Context, retrievalTask *tasks.RetrievalTask) (*tasks.Task, error) }
State provides an interface for presistence.
Click to show internal directories.
Click to hide internal directories.