Documentation
¶
Index ¶
- type SandboxRunsModel
- func (m *SandboxRunsModel) AppsaceSums(ownerID domain.UserID, appspaceID domain.AppspaceID, from time.Time, ...) (domain.SandboxRunData, error)
- func (m *SandboxRunsModel) Create(run domain.SandboxRunIDs, start time.Time) (int, error)
- func (m *SandboxRunsModel) End(sandboxID int, end time.Time, data domain.SandboxRunData) error
- func (m *SandboxRunsModel) GetApp(ownerID domain.UserID, appID domain.AppID) ([]domain.SandboxRun, error)
- func (m *SandboxRunsModel) GetAppspace(ownerID domain.UserID, appspaceID domain.AppspaceID) ([]domain.SandboxRun, error)
- func (m *SandboxRunsModel) PrepareStatements()
- func (m *SandboxRunsModel) Update(sandboxID int, data domain.SandboxRunData) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SandboxRunsModel ¶
CookieModel stores and retrives cookies for you
func (*SandboxRunsModel) AppsaceSums ¶
func (m *SandboxRunsModel) AppsaceSums(ownerID domain.UserID, appspaceID domain.AppspaceID, from time.Time, to time.Time) (domain.SandboxRunData, error)
func (*SandboxRunsModel) Create ¶
func (m *SandboxRunsModel) Create(run domain.SandboxRunIDs, start time.Time) (int, error)
func (*SandboxRunsModel) End ¶
func (m *SandboxRunsModel) End(sandboxID int, end time.Time, data domain.SandboxRunData) error
func (*SandboxRunsModel) GetApp ¶
func (m *SandboxRunsModel) GetApp(ownerID domain.UserID, appID domain.AppID) ([]domain.SandboxRun, error)
func (*SandboxRunsModel) GetAppspace ¶
func (m *SandboxRunsModel) GetAppspace(ownerID domain.UserID, appspaceID domain.AppspaceID) ([]domain.SandboxRun, error)
TODO this is far too open-ended. Need a time range.
func (*SandboxRunsModel) PrepareStatements ¶
func (m *SandboxRunsModel) PrepareStatements()
PrepareStatements for appspace model
func (*SandboxRunsModel) Update ¶
func (m *SandboxRunsModel) Update(sandboxID int, data domain.SandboxRunData) error
Click to show internal directories.
Click to hide internal directories.