Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSession ¶
type DataSession interface { io.Closer 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 Filter ¶
type Filter struct {
Deleted bool
}
func (*Filter) Parse ¶ added in v1.26.0
func (f *Filter) Parse(parser structure.ObjectParser)
type Store ¶
type Store interface { Status() interface{} NewDataSession() DataSession }
Click to show internal directories.
Click to hide internal directories.