Documentation ¶
Index ¶
- type DataSession
- func (d *DataSession) ActivateDataSetData(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) ArchiveDataSetDataUsingOriginIDs(ctx context.Context, dataSet *upload.Upload, originIDs []string) error
- func (d *DataSession) ArchiveDeviceDataUsingHashesFromDataSet(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) CreateDataSet(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) CreateDataSetData(ctx context.Context, dataSet *upload.Upload, dataSetData []data.Datum) error
- func (d *DataSession) DeleteArchivedDataSetData(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) DeleteDataSet(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) DeleteDataSetData(ctx context.Context, dataSet *upload.Upload, deletes *data.Deletes) error
- func (d *DataSession) DeleteOtherDataSetData(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) DestroyDataForUserByID(ctx context.Context, userID string) error
- func (d *DataSession) GetDataSet(ctx context.Context, id string) (*data.DataSet, error)
- func (d *DataSession) GetDataSetByID(ctx context.Context, dataSetID string) (*upload.Upload, error)
- func (d *DataSession) GetDataSetsForUserByID(ctx context.Context, userID string, filter *storeDEPRECATED.Filter, ...) ([]*upload.Upload, error)
- func (d *DataSession) ListUserDataSets(ctx context.Context, userID string, filter *data.DataSetFilter, ...) (data.DataSets, error)
- func (d *DataSession) UnarchiveDeviceDataUsingHashesFromDataSet(ctx context.Context, dataSet *upload.Upload) error
- func (d *DataSession) UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*upload.Upload, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSession ¶
type DataSession struct {
*storeStructuredMongo.Session
}
func (*DataSession) ActivateDataSetData ¶ added in v1.28.0
func (*DataSession) ArchiveDataSetDataUsingOriginIDs ¶ added in v1.29.0
func (*DataSession) ArchiveDeviceDataUsingHashesFromDataSet ¶ added in v1.28.0
func (*DataSession) CreateDataSet ¶ added in v1.28.0
func (*DataSession) CreateDataSetData ¶ added in v1.28.0
func (*DataSession) DeleteArchivedDataSetData ¶
func (*DataSession) DeleteDataSet ¶ added in v1.28.0
func (*DataSession) DeleteDataSetData ¶ added in v1.29.0
func (*DataSession) DeleteOtherDataSetData ¶ added in v1.28.0
func (*DataSession) DestroyDataForUserByID ¶
func (d *DataSession) DestroyDataForUserByID(ctx context.Context, userID string) error
func (*DataSession) GetDataSet ¶
func (*DataSession) GetDataSetByID ¶ added in v1.28.0
func (*DataSession) GetDataSetsForUserByID ¶ added in v1.28.0
func (d *DataSession) GetDataSetsForUserByID(ctx context.Context, userID string, filter *storeDEPRECATED.Filter, pagination *page.Pagination) ([]*upload.Upload, error)
func (*DataSession) ListUserDataSets ¶ added in v1.21.0
func (d *DataSession) ListUserDataSets(ctx context.Context, userID string, filter *data.DataSetFilter, pagination *page.Pagination) (data.DataSets, error)
func (*DataSession) UnarchiveDeviceDataUsingHashesFromDataSet ¶ added in v1.28.0
func (*DataSession) UpdateDataSet ¶
func (d *DataSession) UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*upload.Upload, error)
type Store ¶
type Store struct {
*storeStructuredMongo.Store
}
func (*Store) NewDataSession ¶
func (s *Store) NewDataSession() storeDEPRECATED.DataSession
Click to show internal directories.
Click to hide internal directories.