Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGitFetcher
- type MockGitFetcherMockRecorder
- type MockScheduledJob
- type MockScheduler
- func (m *MockScheduler) Clear() error
- func (m *MockScheduler) DeleteJob(arg0 *quartz.JobKey) error
- func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
- func (m *MockScheduler) GetJobKeys(arg0 ...quartz.Matcher[quartz.ScheduledJob]) []*quartz.JobKey
- func (m *MockScheduler) GetScheduledJob(arg0 *quartz.JobKey) (quartz.ScheduledJob, error)
- func (m *MockScheduler) IsStarted() bool
- func (m *MockScheduler) PauseJob(arg0 *quartz.JobKey) error
- func (m *MockScheduler) ResumeJob(arg0 *quartz.JobKey) error
- func (m *MockScheduler) ScheduleJob(arg0 *quartz.JobDetail, arg1 quartz.Trigger) error
- func (m *MockScheduler) Start(arg0 context.Context)
- func (m *MockScheduler) Stop()
- func (m *MockScheduler) Wait(arg0 context.Context)
- type MockSchedulerMockRecorder
- func (mr *MockSchedulerMockRecorder) Clear() *gomock.Call
- func (mr *MockSchedulerMockRecorder) DeleteJob(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) GetJobKeys(arg0 ...interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) GetScheduledJob(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) IsStarted() *gomock.Call
- func (mr *MockSchedulerMockRecorder) PauseJob(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) ResumeJob(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) ScheduleJob(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Stop() *gomock.Call
- func (mr *MockSchedulerMockRecorder) Wait(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitFetcher ¶
type MockGitFetcher struct {
// contains filtered or unexported fields
}
MockGitFetcher is a mock of GitFetcher interface.
func NewMockGitFetcher ¶
func NewMockGitFetcher(ctrl *gomock.Controller) *MockGitFetcher
NewMockGitFetcher creates a new mock instance.
func (*MockGitFetcher) EXPECT ¶
func (m *MockGitFetcher) EXPECT() *MockGitFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGitFetcherMockRecorder ¶
type MockGitFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockGitFetcherMockRecorder is the mock recorder for MockGitFetcher.
func (*MockGitFetcherMockRecorder) LatestCommit ¶
func (mr *MockGitFetcherMockRecorder) LatestCommit(arg0, arg1, arg2 any) *gomock.Call
LatestCommit indicates an expected call of LatestCommit.
type MockScheduledJob ¶
func (*MockScheduledJob) JobDetail ¶
func (m *MockScheduledJob) JobDetail() *quartz.JobDetail
func (*MockScheduledJob) NextRunTime ¶
func (m *MockScheduledJob) NextRunTime() int64
func (*MockScheduledJob) Trigger ¶
func (m *MockScheduledJob) Trigger() quartz.Trigger
type MockScheduler ¶
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface.
func NewMockScheduler ¶
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance.
func (*MockScheduler) DeleteJob ¶
func (m *MockScheduler) DeleteJob(arg0 *quartz.JobKey) error
DeleteJob mocks base method.
func (*MockScheduler) EXPECT ¶
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler) GetJobKeys ¶
func (m *MockScheduler) GetJobKeys(arg0 ...quartz.Matcher[quartz.ScheduledJob]) []*quartz.JobKey
GetJobKeys mocks base method.
func (*MockScheduler) GetScheduledJob ¶
func (m *MockScheduler) GetScheduledJob(arg0 *quartz.JobKey) (quartz.ScheduledJob, error)
GetScheduledJob mocks base method.
func (*MockScheduler) IsStarted ¶
func (m *MockScheduler) IsStarted() bool
IsStarted mocks base method.
func (*MockScheduler) PauseJob ¶
func (m *MockScheduler) PauseJob(arg0 *quartz.JobKey) error
PauseJob mocks base method.
func (*MockScheduler) ResumeJob ¶
func (m *MockScheduler) ResumeJob(arg0 *quartz.JobKey) error
ResumeJob mocks base method.
func (*MockScheduler) ScheduleJob ¶
ScheduleJob mocks base method.
func (*MockScheduler) Start ¶
func (m *MockScheduler) Start(arg0 context.Context)
Start mocks base method.
func (*MockScheduler) Wait ¶
func (m *MockScheduler) Wait(arg0 context.Context)
Wait mocks base method.
type MockSchedulerMockRecorder ¶
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler.
func (*MockSchedulerMockRecorder) Clear ¶
func (mr *MockSchedulerMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockSchedulerMockRecorder) DeleteJob ¶
func (mr *MockSchedulerMockRecorder) DeleteJob(arg0 interface{}) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockSchedulerMockRecorder) GetJobKeys ¶
func (mr *MockSchedulerMockRecorder) GetJobKeys(arg0 ...interface{}) *gomock.Call
GetJobKeys indicates an expected call of GetJobKeys.
func (*MockSchedulerMockRecorder) GetScheduledJob ¶
func (mr *MockSchedulerMockRecorder) GetScheduledJob(arg0 interface{}) *gomock.Call
GetScheduledJob indicates an expected call of GetScheduledJob.
func (*MockSchedulerMockRecorder) IsStarted ¶
func (mr *MockSchedulerMockRecorder) IsStarted() *gomock.Call
IsStarted indicates an expected call of IsStarted.
func (*MockSchedulerMockRecorder) PauseJob ¶
func (mr *MockSchedulerMockRecorder) PauseJob(arg0 interface{}) *gomock.Call
PauseJob indicates an expected call of PauseJob.
func (*MockSchedulerMockRecorder) ResumeJob ¶
func (mr *MockSchedulerMockRecorder) ResumeJob(arg0 interface{}) *gomock.Call
ResumeJob indicates an expected call of ResumeJob.
func (*MockSchedulerMockRecorder) ScheduleJob ¶
func (mr *MockSchedulerMockRecorder) ScheduleJob(arg0, arg1 interface{}) *gomock.Call
ScheduleJob indicates an expected call of ScheduleJob.
func (*MockSchedulerMockRecorder) Start ¶
func (mr *MockSchedulerMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockSchedulerMockRecorder) Stop ¶
func (mr *MockSchedulerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSchedulerMockRecorder) Wait ¶
func (mr *MockSchedulerMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.