Documentation ¶
Index ¶
- type ActivateDataSetDataInput
- type ArchiveDataSetDataUsingOriginIDsInput
- type ArchiveDeviceDataUsingHashesFromDataSetInput
- type CreateDataSetDataInput
- type CreateDataSetInput
- 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) 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) 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 DeleteArchivedDataSetDataInput
- type DeleteDataSetDataInput
- type DeleteDataSetInput
- type DeleteOtherDataSetDataInput
- type DestroyDataForUserByIDInput
- type GetDataSetByIDInput
- type GetDataSetByIDOutput
- type GetDataSetInput
- type GetDataSetOutput
- type GetDataSetsForUserByIDInput
- type GetDataSetsForUserByIDOutput
- type ListUserDataSetsInput
- type ListUserDataSetsOutput
- type UnarchiveDeviceDataUsingHashesFromDataSetInput
- type UpdateDataSetInput
- type UpdateDataSetOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateDataSetDataInput ¶ added in v1.28.0
type ArchiveDataSetDataUsingOriginIDsInput ¶ added in v1.29.0
type ArchiveDeviceDataUsingHashesFromDataSetInput ¶ added in v1.28.0
type CreateDataSetDataInput ¶ added in v1.28.0
type CreateDataSetInput ¶ added in v1.28.0
type DataSession ¶
type DataSession struct { *test.Mock *test.Closer IsClosedInvocations int IsClosedOutputs []bool EnsureIndexesInvocations int EnsureIndexesOutputs []error 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 DeleteDataSetDataInvocations int DeleteDataSetDataInputs []DeleteDataSetDataInput DeleteDataSetDataOutputs []error ActivateDataSetDataInvocations int ActivateDataSetDataInputs []ActivateDataSetDataInput ActivateDataSetDataOutputs []error ArchiveDeviceDataUsingHashesFromDataSetInvocations int ArchiveDeviceDataUsingHashesFromDataSetInputs []ArchiveDeviceDataUsingHashesFromDataSetInput ArchiveDeviceDataUsingHashesFromDataSetOutputs []error UnarchiveDeviceDataUsingHashesFromDataSetInvocations int UnarchiveDeviceDataUsingHashesFromDataSetInputs []UnarchiveDeviceDataUsingHashesFromDataSetInput UnarchiveDeviceDataUsingHashesFromDataSetOutputs []error ArchiveDataSetDataUsingOriginIDsInvocations int ArchiveDataSetDataUsingOriginIDsInputs []ArchiveDataSetDataUsingOriginIDsInput ArchiveDataSetDataUsingOriginIDsOutputs []error DeleteArchivedDataSetDataInvocations int DeleteArchivedDataSetDataInputs []DeleteArchivedDataSetDataInput DeleteArchivedDataSetDataOutputs []error DeleteOtherDataSetDataInvocations int DeleteOtherDataSetDataInputs []DeleteOtherDataSetDataInput DeleteOtherDataSetDataOutputs []error DestroyDataForUserByIDInvocations int DestroyDataForUserByIDInputs []DestroyDataForUserByIDInput DestroyDataForUserByIDOutputs []error ListUserDataSetsInvocations int ListUserDataSetsInputs []ListUserDataSetsInput ListUserDataSetsOutputs []ListUserDataSetsOutput GetDataSetInvocations int GetDataSetInputs []GetDataSetInput GetDataSetOutputs []GetDataSetOutput }
func NewDataSession ¶
func NewDataSession() *DataSession
func (*DataSession) ActivateDataSetData ¶ added in v1.28.0
func (*DataSession) ArchiveDataSetDataUsingOriginIDs ¶
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) EnsureIndexes ¶
func (d *DataSession) EnsureIndexes() error
func (*DataSession) Expectations ¶
func (d *DataSession) Expectations()
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 *dataStoreDEPRECATED.Filter, pagination *page.Pagination) ([]*upload.Upload, error)
func (*DataSession) IsClosed ¶
func (d *DataSession) IsClosed() bool
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 DeleteDataSetDataInput ¶ added in v1.29.0
type DeleteDataSetInput ¶ added in v1.28.0
type DeleteOtherDataSetDataInput ¶ added in v1.28.0
type GetDataSetByIDInput ¶ added in v1.28.0
type GetDataSetByIDOutput ¶ added in v1.28.0
type GetDataSetInput ¶
type GetDataSetOutput ¶
type GetDataSetsForUserByIDInput ¶ added in v1.28.0
type GetDataSetsForUserByIDInput struct { Context context.Context UserID string Filter *dataStoreDEPRECATED.Filter Pagination *page.Pagination }
type GetDataSetsForUserByIDOutput ¶ added in v1.28.0
type ListUserDataSetsInput ¶ added in v1.21.0
type ListUserDataSetsInput struct { Context context.Context UserID string Filter *data.DataSetFilter Pagination *page.Pagination }
type ListUserDataSetsOutput ¶ added in v1.21.0
type UnarchiveDeviceDataUsingHashesFromDataSetInput ¶ added in v1.28.0
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.