Documentation ¶
Index ¶
- type CreateDatasetDataInput
- type GetDatasetByIDOutput
- type GetDatasetsForUserByIDInput
- type GetDatasetsForUserByIDOutput
- type Session
- func (s *Session) ActivateDatasetData(dataset *upload.Upload) error
- func (s *Session) ArchiveDeviceDataUsingHashesFromDataset(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) GetDatasetByID(datasetID string) (*upload.Upload, error)
- func (s *Session) GetDatasetsForUserByID(userID string, filter *store.Filter, pagination *store.Pagination) ([]*upload.Upload, error)
- func (s *Session) IsClosed() bool
- func (s *Session) Logger() log.Logger
- func (s *Session) SetAgent(agent commonStore.Agent)
- func (s *Session) UnarchiveDeviceDataUsingHashesFromDataset(dataset *upload.Upload) error
- func (s *Session) UnusedOutputsCount() int
- func (s *Session) UpdateDataset(dataset *upload.Upload) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDatasetDataInput ¶
type GetDatasetByIDOutput ¶
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 LoggerInvocations int LoggerImpl log.Logger SetAgentInvocations int SetAgentInputs []commonStore.Agent GetDatasetsForUserByIDInvocations int GetDatasetsForUserByIDInputs []GetDatasetsForUserByIDInput GetDatasetsForUserByIDOutputs []GetDatasetsForUserByIDOutput GetDatasetByIDInvocations int GetDatasetByIDInputs []string GetDatasetByIDOutputs []GetDatasetByIDOutput CreateDatasetInvocations int CreateDatasetInputs []*upload.Upload CreateDatasetOutputs []error UpdateDatasetInvocations int UpdateDatasetInputs []*upload.Upload UpdateDatasetOutputs []error DeleteDatasetInvocations int DeleteDatasetInputs []*upload.Upload DeleteDatasetOutputs []error CreateDatasetDataInvocations int CreateDatasetDataInputs []CreateDatasetDataInput CreateDatasetDataOutputs []error ActivateDatasetDataInvocations int ActivateDatasetDataInputs []*upload.Upload ActivateDatasetDataOutputs []error ArchiveDeviceDataUsingHashesFromDatasetInvocations int ArchiveDeviceDataUsingHashesFromDatasetInputs []*upload.Upload ArchiveDeviceDataUsingHashesFromDatasetOutputs []error UnarchiveDeviceDataUsingHashesFromDatasetInvocations int UnarchiveDeviceDataUsingHashesFromDatasetInputs []*upload.Upload UnarchiveDeviceDataUsingHashesFromDatasetOutputs []error DeleteOtherDatasetDataInvocations int DeleteOtherDatasetDataInputs []*upload.Upload DeleteOtherDatasetDataOutputs []error DestroyDataForUserByIDInvocations int DestroyDataForUserByIDInputs []string DestroyDataForUserByIDOutputs []error }
func NewSession ¶
func NewSession() *Session
func (*Session) ActivateDatasetData ¶
func (*Session) ArchiveDeviceDataUsingHashesFromDataset ¶ added in v1.9.0
func (*Session) CreateDatasetData ¶
func (*Session) DeleteOtherDatasetData ¶
func (*Session) DestroyDataForUserByID ¶
func (*Session) GetDatasetByID ¶
func (*Session) GetDatasetsForUserByID ¶
func (*Session) SetAgent ¶
func (s *Session) SetAgent(agent commonStore.Agent)
func (*Session) UnarchiveDeviceDataUsingHashesFromDataset ¶ added in v1.9.0
func (*Session) UnusedOutputsCount ¶
Click to show internal directories.
Click to hide internal directories.