Documentation ¶
Index ¶
- type Application
- func (_m *Application) AddJob(job models.JobSpec) error
- func (_m *Application) AddServiceAgreement(_a0 *models.ServiceAgreement) error
- func (_m *Application) ArchiveJob(_a0 *models.ID) error
- func (_m *Application) Cancel(runID *models.ID) (*models.JobRun, error)
- func (_m *Application) Create(jobSpecID *models.ID, initiator *models.Initiator, creationHeight *big.Int, ...) (*models.JobRun, error)
- func (_m *Application) CreateErrored(jobSpecID *models.ID, initiator models.Initiator, err error) (*models.JobRun, error)
- func (_m *Application) GetStatsPusher() synchronization.StatsPusher
- func (_m *Application) GetStore() *store.Store
- func (_m *Application) NewBox() packr.Box
- func (_m *Application) ResumeAllInProgress() error
- func (_m *Application) ResumeAllPendingConnection() error
- func (_m *Application) ResumeAllPendingNextBlock(currentBlockHeight *big.Int) error
- func (_m *Application) ResumePendingBridge(runID *models.ID, input models.BridgeRunResult) error
- func (_m *Application) Start() error
- func (_m *Application) Stop() error
- func (_m *Application) WakeSessionReaper()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is an autogenerated mock type for the Application type
func (*Application) AddJob ¶
func (_m *Application) AddJob(job models.JobSpec) error
AddJob provides a mock function with given fields: job
func (*Application) AddServiceAgreement ¶
func (_m *Application) AddServiceAgreement(_a0 *models.ServiceAgreement) error
AddServiceAgreement provides a mock function with given fields: _a0
func (*Application) ArchiveJob ¶
func (_m *Application) ArchiveJob(_a0 *models.ID) error
ArchiveJob provides a mock function with given fields: _a0
func (*Application) Create ¶
func (_m *Application) Create(jobSpecID *models.ID, initiator *models.Initiator, creationHeight *big.Int, runRequest *models.RunRequest) (*models.JobRun, error)
Create provides a mock function with given fields: jobSpecID, initiator, creationHeight, runRequest
func (*Application) CreateErrored ¶
func (_m *Application) CreateErrored(jobSpecID *models.ID, initiator models.Initiator, err error) (*models.JobRun, error)
CreateErrored provides a mock function with given fields: jobSpecID, initiator, err
func (*Application) GetStatsPusher ¶
func (_m *Application) GetStatsPusher() synchronization.StatsPusher
GetStatsPusher provides a mock function with given fields:
func (*Application) GetStore ¶
func (_m *Application) GetStore() *store.Store
GetStore provides a mock function with given fields:
func (*Application) NewBox ¶
func (_m *Application) NewBox() packr.Box
NewBox provides a mock function with given fields:
func (*Application) ResumeAllInProgress ¶
func (_m *Application) ResumeAllInProgress() error
ResumeAllInProgress provides a mock function with given fields:
func (*Application) ResumeAllPendingConnection ¶ added in v0.8.4
func (_m *Application) ResumeAllPendingConnection() error
ResumeAllPendingConnection provides a mock function with given fields:
func (*Application) ResumeAllPendingNextBlock ¶ added in v0.8.4
func (_m *Application) ResumeAllPendingNextBlock(currentBlockHeight *big.Int) error
ResumeAllPendingNextBlock provides a mock function with given fields: currentBlockHeight
func (*Application) ResumePendingBridge ¶ added in v0.8.4
func (_m *Application) ResumePendingBridge(runID *models.ID, input models.BridgeRunResult) error
ResumePendingBridge provides a mock function with given fields: runID, input
func (*Application) Start ¶
func (_m *Application) Start() error
Start provides a mock function with given fields:
func (*Application) Stop ¶
func (_m *Application) Stop() error
Stop provides a mock function with given fields:
func (*Application) WakeSessionReaper ¶
func (_m *Application) WakeSessionReaper()
WakeSessionReaper provides a mock function with given fields: