Documentation ¶
Index ¶
- type ActivateDatasetDataInput
- type ArchiveDeviceDataUsingHashesFromDatasetInput
- type CreateDatasetDataInput
- type CreateDatasetInput
- type DataSession
- func (d *DataSession) ActivateDatasetData(ctx context.Context, dataset *upload.Upload) error
- func (d *DataSession) ArchiveDeviceDataUsingHashesFromDataset(ctx context.Context, dataset *upload.Upload) error
- func (d *DataSession) Close()
- 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) DeleteDataset(ctx context.Context, dataset *upload.Upload) 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) EnsureIndexes() error
- func (d *DataSession) Expectations()
- 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 *dataStoreDEPRECATED.Filter, ...) ([]*upload.Upload, error)
- func (d *DataSession) IsClosed() bool
- 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 DeleteDatasetInput
- type DeleteOtherDatasetDataInput
- type DestroyDataForUserByIDInput
- type GetDataSetInput
- type GetDataSetOutput
- type GetDatasetByIDInput
- type GetDatasetByIDOutput
- type GetDatasetsForUserByIDInput
- type GetDatasetsForUserByIDOutput
- type UnarchiveDeviceDataUsingHashesFromDatasetInput
- type UpdateDataSetInput
- type UpdateDataSetOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDatasetDataInput ¶
type CreateDatasetInput ¶
type DataSession ¶
type DataSession struct { *test.Mock IsClosedInvocations int IsClosedOutputs []bool EnsureIndexesInvocations int EnsureIndexesOutputs []error CloseInvocations int GetDatasetsForUserByIDInvocations int GetDatasetsForUserByIDInputs []GetDatasetsForUserByIDInput GetDatasetsForUserByIDOutputs []GetDatasetsForUserByIDOutput GetDatasetByIDInvocations int GetDatasetByIDInputs []GetDatasetByIDInput GetDatasetByIDOutputs []GetDatasetByIDOutput CreateDatasetInvocations int CreateDatasetInputs []CreateDatasetInput CreateDatasetOutputs []error UpdateDataSetInvocations int UpdateDataSetInputs []UpdateDataSetInput UpdateDataSetOutputs []UpdateDataSetOutput DeleteDatasetInvocations int DeleteDatasetInputs []DeleteDatasetInput DeleteDatasetOutputs []error CreateDatasetDataInvocations int CreateDatasetDataInputs []CreateDatasetDataInput CreateDatasetDataOutputs []error ActivateDatasetDataInvocations int ActivateDatasetDataInputs []ActivateDatasetDataInput ActivateDatasetDataOutputs []error ArchiveDeviceDataUsingHashesFromDatasetInvocations int ArchiveDeviceDataUsingHashesFromDatasetInputs []ArchiveDeviceDataUsingHashesFromDatasetInput ArchiveDeviceDataUsingHashesFromDatasetOutputs []error UnarchiveDeviceDataUsingHashesFromDatasetInvocations int UnarchiveDeviceDataUsingHashesFromDatasetInputs []UnarchiveDeviceDataUsingHashesFromDatasetInput UnarchiveDeviceDataUsingHashesFromDatasetOutputs []error DeleteOtherDatasetDataInvocations int DeleteOtherDatasetDataInputs []DeleteOtherDatasetDataInput DeleteOtherDatasetDataOutputs []error DestroyDataForUserByIDInvocations int DestroyDataForUserByIDInputs []DestroyDataForUserByIDInput DestroyDataForUserByIDOutputs []error GetDataSetInvocations int GetDataSetInputs []GetDataSetInput GetDataSetOutputs []GetDataSetOutput }
func NewDataSession ¶
func NewDataSession() *DataSession
func (*DataSession) ActivateDatasetData ¶
func (*DataSession) ArchiveDeviceDataUsingHashesFromDataset ¶
func (*DataSession) Close ¶
func (d *DataSession) Close()
func (*DataSession) CreateDataset ¶
func (*DataSession) CreateDatasetData ¶
func (*DataSession) DeleteDataset ¶
func (*DataSession) DeleteOtherDatasetData ¶
func (*DataSession) DestroyDataForUserByID ¶
func (d *DataSession) DestroyDataForUserByID(ctx context.Context, userID string) error
func (*DataSession) EnsureIndexes ¶
func (d *DataSession) EnsureIndexes() error
func (*DataSession) Expectations ¶
func (d *DataSession) Expectations()
func (*DataSession) GetDataSet ¶
func (*DataSession) GetDatasetByID ¶
func (*DataSession) GetDatasetsForUserByID ¶
func (d *DataSession) GetDatasetsForUserByID(ctx context.Context, userID string, filter *dataStoreDEPRECATED.Filter, pagination *page.Pagination) ([]*upload.Upload, error)
func (*DataSession) IsClosed ¶
func (d *DataSession) IsClosed() bool
func (*DataSession) UnarchiveDeviceDataUsingHashesFromDataset ¶
func (*DataSession) UpdateDataSet ¶
func (d *DataSession) UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*upload.Upload, error)
type DeleteDatasetInput ¶
type GetDataSetInput ¶
type GetDataSetOutput ¶
type GetDatasetByIDInput ¶
type GetDatasetByIDOutput ¶
type GetDatasetsForUserByIDInput ¶
type GetDatasetsForUserByIDInput struct { Context context.Context UserID string Filter *dataStoreDEPRECATED.Filter Pagination *page.Pagination }
type UpdateDataSetInput ¶
type UpdateDataSetInput struct { Context context.Context ID string Update *data.DataSetUpdate }
type UpdateDataSetOutput ¶
Click to show internal directories.
Click to hide internal directories.