Documentation ¶
Index ¶
- type CreateDatasetDataInput
- type FindPreviousActiveDatasetForDeviceOutput
- type GetDatasetByIDOutput
- type GetDatasetDataDeduplicatorHashesInput
- type GetDatasetDataDeduplicatorHashesOutput
- type GetDatasetsForUserByIDInput
- type GetDatasetsForUserByIDOutput
- type Session
- func (s *Session) ActivateDatasetData(dataset *upload.Upload) error
- func (s *Session) Close()
- func (s *Session) CreateDataset(dataset *upload.Upload) error
- func (s *Session) CreateDatasetData(dataset *upload.Upload, datasetData []data.Datum) error
- func (s *Session) DeleteDataset(dataset *upload.Upload) error
- func (s *Session) DeleteOtherDatasetData(dataset *upload.Upload) error
- func (s *Session) DestroyDataForUserByID(userID string) error
- func (s *Session) FindPreviousActiveDatasetForDevice(dataset *upload.Upload) (*upload.Upload, error)
- func (s *Session) GetDatasetByID(datasetID string) (*upload.Upload, error)
- func (s *Session) GetDatasetDataDeduplicatorHashes(dataset *upload.Upload, active bool) ([]string, error)
- func (s *Session) GetDatasetsForUserByID(userID string, filter *store.Filter, pagination *store.Pagination) ([]*upload.Upload, error)
- func (s *Session) IsClosed() bool
- func (s *Session) SetAgent(agent commonStore.Agent)
- func (s *Session) SetDatasetDataActiveUsingHashes(dataset *upload.Upload, queryHashes []string, active bool) error
- func (s *Session) SetDeviceDataActiveUsingHashes(dataset *upload.Upload, queryHashes []string, active bool) error
- func (s *Session) UnusedOutputsCount() int
- func (s *Session) UpdateDataset(dataset *upload.Upload) error
- type SetDatasetDataActiveUsingHashesInput
- type SetDeviceDataActiveUsingHashesInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDatasetDataInput ¶
type FindPreviousActiveDatasetForDeviceOutput ¶ added in v1.5.0
type GetDatasetByIDOutput ¶
type GetDatasetDataDeduplicatorHashesInput ¶ added in v1.5.0
type GetDatasetDataDeduplicatorHashesOutput ¶ added in v1.5.0
type GetDatasetsForUserByIDInput ¶
type GetDatasetsForUserByIDInput struct { UserID string Filter *store.Filter Pagination *store.Pagination }
type Session ¶
type Session struct { ID string IsClosedInvocations int IsClosedOutputs []bool CloseInvocations int SetAgentInvocations int SetAgentInputs []commonStore.Agent GetDatasetsForUserByIDInvocations int GetDatasetsForUserByIDInputs []GetDatasetsForUserByIDInput GetDatasetsForUserByIDOutputs []GetDatasetsForUserByIDOutput GetDatasetByIDInvocations int GetDatasetByIDInputs []string GetDatasetByIDOutputs []GetDatasetByIDOutput FindPreviousActiveDatasetForDeviceInvocations int FindPreviousActiveDatasetForDeviceInputs []*upload.Upload FindPreviousActiveDatasetForDeviceOutputs []FindPreviousActiveDatasetForDeviceOutput CreateDatasetInvocations int CreateDatasetInputs []*upload.Upload CreateDatasetOutputs []error UpdateDatasetInvocations int UpdateDatasetInputs []*upload.Upload UpdateDatasetOutputs []error DeleteDatasetInvocations int DeleteDatasetInputs []*upload.Upload DeleteDatasetOutputs []error GetDatasetDataDeduplicatorHashesInvocations int GetDatasetDataDeduplicatorHashesInputs []GetDatasetDataDeduplicatorHashesInput GetDatasetDataDeduplicatorHashesOutputs []GetDatasetDataDeduplicatorHashesOutput CreateDatasetDataInvocations int CreateDatasetDataInputs []CreateDatasetDataInput CreateDatasetDataOutputs []error ActivateDatasetDataInvocations int ActivateDatasetDataInputs []*upload.Upload ActivateDatasetDataOutputs []error SetDatasetDataActiveUsingHashesInvocations int SetDatasetDataActiveUsingHashesInputs []SetDatasetDataActiveUsingHashesInput SetDatasetDataActiveUsingHashesOutputs []error SetDeviceDataActiveUsingHashesInvocations int SetDeviceDataActiveUsingHashesInputs []SetDeviceDataActiveUsingHashesInput SetDeviceDataActiveUsingHashesOutputs []error DeleteOtherDatasetDataInvocations int DeleteOtherDatasetDataInputs []*upload.Upload DeleteOtherDatasetDataOutputs []error DestroyDataForUserByIDInvocations int DestroyDataForUserByIDInputs []string DestroyDataForUserByIDOutputs []error }
func NewSession ¶
func NewSession() *Session
func (*Session) ActivateDatasetData ¶
func (*Session) CreateDatasetData ¶
func (*Session) DeleteOtherDatasetData ¶
func (*Session) DestroyDataForUserByID ¶
func (*Session) FindPreviousActiveDatasetForDevice ¶ added in v1.5.0
func (*Session) GetDatasetByID ¶
func (*Session) GetDatasetDataDeduplicatorHashes ¶ added in v1.5.0
func (*Session) GetDatasetsForUserByID ¶
func (*Session) SetAgent ¶
func (s *Session) SetAgent(agent commonStore.Agent)
func (*Session) SetDatasetDataActiveUsingHashes ¶ added in v1.5.0
func (*Session) SetDeviceDataActiveUsingHashes ¶ added in v1.7.0
func (*Session) UnusedOutputsCount ¶
type SetDatasetDataActiveUsingHashesInput ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.