Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockJobHandler
- func (m *MockJobHandler) CreateJob(arg0 *common.JobScheduleDescription) (*v1.JobStatus, error)
- func (m *MockJobHandler) DeleteJob(arg0 string) error
- func (m *MockJobHandler) EXPECT() *MockJobHandlerMockRecorder
- func (m *MockJobHandler) GetJob(arg0 string) (*v1.JobStatus, error)
- func (m *MockJobHandler) GetJobs() ([]v1.JobStatus, error)
- func (m *MockJobHandler) MaintainHistoryLimit() error
- func (m *MockJobHandler) StopJob(arg0 string) error
- type MockJobHandlerMockRecorder
- func (mr *MockJobHandlerMockRecorder) CreateJob(arg0 interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) DeleteJob(arg0 interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) GetJob(arg0 interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) GetJobs() *gomock.Call
- func (mr *MockJobHandlerMockRecorder) MaintainHistoryLimit() *gomock.Call
- func (mr *MockJobHandlerMockRecorder) StopJob(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJobHandler ¶
type MockJobHandler struct {
// contains filtered or unexported fields
}
MockJobHandler is a mock of JobHandler interface.
func NewMockJobHandler ¶
func NewMockJobHandler(ctrl *gomock.Controller) *MockJobHandler
NewMockJobHandler creates a new mock instance.
func (*MockJobHandler) CreateJob ¶
func (m *MockJobHandler) CreateJob(arg0 *common.JobScheduleDescription) (*v1.JobStatus, error)
CreateJob mocks base method.
func (*MockJobHandler) DeleteJob ¶
func (m *MockJobHandler) DeleteJob(arg0 string) error
DeleteJob mocks base method.
func (*MockJobHandler) EXPECT ¶
func (m *MockJobHandler) EXPECT() *MockJobHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobHandler) GetJob ¶
func (m *MockJobHandler) GetJob(arg0 string) (*v1.JobStatus, error)
GetJob mocks base method.
func (*MockJobHandler) GetJobs ¶
func (m *MockJobHandler) GetJobs() ([]v1.JobStatus, error)
GetJobs mocks base method.
func (*MockJobHandler) MaintainHistoryLimit ¶
func (m *MockJobHandler) MaintainHistoryLimit() error
MaintainHistoryLimit mocks base method.
func (*MockJobHandler) StopJob ¶ added in v1.7.5
func (m *MockJobHandler) StopJob(arg0 string) error
StopJob mocks base method.
type MockJobHandlerMockRecorder ¶
type MockJobHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockJobHandlerMockRecorder is the mock recorder for MockJobHandler.
func (*MockJobHandlerMockRecorder) CreateJob ¶
func (mr *MockJobHandlerMockRecorder) CreateJob(arg0 interface{}) *gomock.Call
CreateJob indicates an expected call of CreateJob.
func (*MockJobHandlerMockRecorder) DeleteJob ¶
func (mr *MockJobHandlerMockRecorder) DeleteJob(arg0 interface{}) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockJobHandlerMockRecorder) GetJob ¶
func (mr *MockJobHandlerMockRecorder) GetJob(arg0 interface{}) *gomock.Call
GetJob indicates an expected call of GetJob.
func (*MockJobHandlerMockRecorder) GetJobs ¶
func (mr *MockJobHandlerMockRecorder) GetJobs() *gomock.Call
GetJobs indicates an expected call of GetJobs.
func (*MockJobHandlerMockRecorder) MaintainHistoryLimit ¶
func (mr *MockJobHandlerMockRecorder) MaintainHistoryLimit() *gomock.Call
MaintainHistoryLimit indicates an expected call of MaintainHistoryLimit.
func (*MockJobHandlerMockRecorder) StopJob ¶ added in v1.7.5
func (mr *MockJobHandlerMockRecorder) StopJob(arg0 interface{}) *gomock.Call
StopJob indicates an expected call of StopJob.