mocks

package
v0.8.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

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) Cancel

func (_m *Application) Cancel(runID *models.ID) (*models.JobRun, error)

Cancel provides a mock function with given fields: runID

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:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL