Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSession ¶
type DataSession interface { store.Session GetDatasetsForUserByID(ctx context.Context, userID string, filter *Filter, pagination *page.Pagination) ([]*upload.Upload, error) GetDatasetByID(ctx context.Context, datasetID string) (*upload.Upload, error) CreateDataset(ctx context.Context, dataset *upload.Upload) error UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*upload.Upload, error) DeleteDataset(ctx context.Context, dataset *upload.Upload) error CreateDatasetData(ctx context.Context, dataset *upload.Upload, datasetData []data.Datum) error ActivateDatasetData(ctx context.Context, dataset *upload.Upload) error ArchiveDeviceDataUsingHashesFromDataset(ctx context.Context, dataset *upload.Upload) error UnarchiveDeviceDataUsingHashesFromDataset(ctx context.Context, dataset *upload.Upload) error DeleteOtherDatasetData(ctx context.Context, dataset *upload.Upload) error DestroyDataForUserByID(ctx context.Context, userID string) error ListUserDataSets(ctx context.Context, userID string, filter *data.DataSetFilter, pagination *page.Pagination) (data.DataSets, error) GetDataSet(ctx context.Context, id string) (*data.DataSet, error) }
type Store ¶
type Store interface { store.Store NewDataSession() DataSession }
Click to show internal directories.
Click to hide internal directories.