Documentation ¶
Index ¶
- type Job
- type MockJob
- func (m MockJob) AutoDetection() bool
- func (m MockJob) AutoDetectionEvery() int
- func (m MockJob) FullName() string
- func (m MockJob) ModuleName() string
- func (m MockJob) Name() string
- func (m MockJob) RetryAutoDetection() bool
- func (m MockJob) Start()
- func (m MockJob) Stop()
- func (m MockJob) Tick(clock int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJob ¶
type MockJob struct { FullNameFunc func() string ModuleNameFunc func() string NameFunc func() string AutoDetectionFunc func() bool AutoDetectionEveryFunc func() int RetryAutoDetectionFunc func() bool TickFunc func(int) StartFunc func() StopFunc func() }
func (MockJob) AutoDetection ¶
AutoDetection returns mock job AutoDetection.
func (MockJob) AutoDetectionEvery ¶
AutoDetectionEvery returns mock job AutoDetectionEvery.
func (MockJob) ModuleName ¶
ModuleName returns mock job module name.
func (MockJob) RetryAutoDetection ¶
RetryAutoDetection invokes mock job RetryAutoDetection.
Click to show internal directories.
Click to hide internal directories.