Documentation ¶
Overview ¶
Package mock_app is a generated GoMock package.
Index ¶
- type MockJobOnceScheduler
- func (m *MockJobOnceScheduler) Cancel(arg0 string)
- func (m *MockJobOnceScheduler) EXPECT() *MockJobOnceSchedulerMockRecorder
- func (m *MockJobOnceScheduler) ListScheduledJobs() ([]cluster.JobOnceMetadata, error)
- func (m *MockJobOnceScheduler) ScheduleOnce(arg0 string, arg1 time.Time) (*cluster.JobOnce, error)
- func (m *MockJobOnceScheduler) SetCallback(arg0 func(string)) error
- func (m *MockJobOnceScheduler) Start() error
- type MockJobOnceSchedulerMockRecorder
- func (mr *MockJobOnceSchedulerMockRecorder) Cancel(arg0 interface{}) *gomock.Call
- func (mr *MockJobOnceSchedulerMockRecorder) ListScheduledJobs() *gomock.Call
- func (mr *MockJobOnceSchedulerMockRecorder) ScheduleOnce(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockJobOnceSchedulerMockRecorder) SetCallback(arg0 interface{}) *gomock.Call
- func (mr *MockJobOnceSchedulerMockRecorder) Start() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJobOnceScheduler ¶
type MockJobOnceScheduler struct {
// contains filtered or unexported fields
}
MockJobOnceScheduler is a mock of JobOnceScheduler interface.
func NewMockJobOnceScheduler ¶
func NewMockJobOnceScheduler(ctrl *gomock.Controller) *MockJobOnceScheduler
NewMockJobOnceScheduler creates a new mock instance.
func (*MockJobOnceScheduler) Cancel ¶
func (m *MockJobOnceScheduler) Cancel(arg0 string)
Cancel mocks base method.
func (*MockJobOnceScheduler) EXPECT ¶
func (m *MockJobOnceScheduler) EXPECT() *MockJobOnceSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobOnceScheduler) ListScheduledJobs ¶
func (m *MockJobOnceScheduler) ListScheduledJobs() ([]cluster.JobOnceMetadata, error)
ListScheduledJobs mocks base method.
func (*MockJobOnceScheduler) ScheduleOnce ¶
ScheduleOnce mocks base method.
func (*MockJobOnceScheduler) SetCallback ¶
func (m *MockJobOnceScheduler) SetCallback(arg0 func(string)) error
SetCallback mocks base method.
func (*MockJobOnceScheduler) Start ¶
func (m *MockJobOnceScheduler) Start() error
Start mocks base method.
type MockJobOnceSchedulerMockRecorder ¶
type MockJobOnceSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockJobOnceSchedulerMockRecorder is the mock recorder for MockJobOnceScheduler.
func (*MockJobOnceSchedulerMockRecorder) Cancel ¶
func (mr *MockJobOnceSchedulerMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockJobOnceSchedulerMockRecorder) ListScheduledJobs ¶
func (mr *MockJobOnceSchedulerMockRecorder) ListScheduledJobs() *gomock.Call
ListScheduledJobs indicates an expected call of ListScheduledJobs.
func (*MockJobOnceSchedulerMockRecorder) ScheduleOnce ¶
func (mr *MockJobOnceSchedulerMockRecorder) ScheduleOnce(arg0, arg1 interface{}) *gomock.Call
ScheduleOnce indicates an expected call of ScheduleOnce.
func (*MockJobOnceSchedulerMockRecorder) SetCallback ¶
func (mr *MockJobOnceSchedulerMockRecorder) SetCallback(arg0 interface{}) *gomock.Call
SetCallback indicates an expected call of SetCallback.
func (*MockJobOnceSchedulerMockRecorder) Start ¶
func (mr *MockJobOnceSchedulerMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.