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 { Get(ctx context.Context, uuid string) (*tasks.AuthenticatedTask, error) GetAll(ctx context.Context) ([]*tasks.AuthenticatedTask, error) Update(ctx context.Context, uuid string, req *client.UpdateTaskRequest, recorder metrics.MetricsRecorder) (*tasks.AuthenticatedTask, error) NewStorageTask(ctx context.Context, storageTask *tasks.StorageTask) (*tasks.AuthenticatedTask, error) NewRetrievalTask(ctx context.Context, retrievalTask *tasks.RetrievalTask) (*tasks.AuthenticatedTask, error) }
State provides an interface for presistence.
Click to show internal directories.
Click to hide internal directories.