Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockJobHandler
- func (m *MockJobHandler) CopyJob(ctx context.Context, jobName, deploymentName string) (*v1.JobStatus, error)
- func (m *MockJobHandler) CreateJob(ctx context.Context, jobScheduleDescription *common.JobScheduleDescription) (*v1.JobStatus, error)
- func (m *MockJobHandler) DeleteJob(ctx context.Context, jobName string) error
- func (m *MockJobHandler) EXPECT() *MockJobHandlerMockRecorder
- func (m *MockJobHandler) GetJob(ctx context.Context, jobName string) (*v1.JobStatus, error)
- func (m *MockJobHandler) GetJobs(ctx context.Context) ([]v1.JobStatus, error)
- func (m *MockJobHandler) MaintainHistoryLimit(ctx context.Context) error
- func (m *MockJobHandler) StopJob(ctx context.Context, jobName string) error
- type MockJobHandlerMockRecorder
- func (mr *MockJobHandlerMockRecorder) CopyJob(ctx, jobName, deploymentName interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) CreateJob(ctx, jobScheduleDescription interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) DeleteJob(ctx, jobName interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) GetJob(ctx, jobName interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) GetJobs(ctx interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) MaintainHistoryLimit(ctx interface{}) *gomock.Call
- func (mr *MockJobHandlerMockRecorder) StopJob(ctx, jobName 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) CopyJob ¶ added in v1.8.0
func (m *MockJobHandler) CopyJob(ctx context.Context, jobName, deploymentName string) (*v1.JobStatus, error)
CopyJob mocks base method.
func (*MockJobHandler) CreateJob ¶
func (m *MockJobHandler) CreateJob(ctx context.Context, jobScheduleDescription *common.JobScheduleDescription) (*v1.JobStatus, error)
CreateJob mocks base method.
func (*MockJobHandler) DeleteJob ¶
func (m *MockJobHandler) DeleteJob(ctx context.Context, jobName 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) MaintainHistoryLimit ¶
func (m *MockJobHandler) MaintainHistoryLimit(ctx context.Context) error
MaintainHistoryLimit mocks base method.
type MockJobHandlerMockRecorder ¶
type MockJobHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockJobHandlerMockRecorder is the mock recorder for MockJobHandler.
func (*MockJobHandlerMockRecorder) CopyJob ¶ added in v1.8.0
func (mr *MockJobHandlerMockRecorder) CopyJob(ctx, jobName, deploymentName interface{}) *gomock.Call
CopyJob indicates an expected call of CopyJob.
func (*MockJobHandlerMockRecorder) CreateJob ¶
func (mr *MockJobHandlerMockRecorder) CreateJob(ctx, jobScheduleDescription interface{}) *gomock.Call
CreateJob indicates an expected call of CreateJob.
func (*MockJobHandlerMockRecorder) DeleteJob ¶
func (mr *MockJobHandlerMockRecorder) DeleteJob(ctx, jobName interface{}) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockJobHandlerMockRecorder) GetJob ¶
func (mr *MockJobHandlerMockRecorder) GetJob(ctx, jobName interface{}) *gomock.Call
GetJob indicates an expected call of GetJob.
func (*MockJobHandlerMockRecorder) GetJobs ¶
func (mr *MockJobHandlerMockRecorder) GetJobs(ctx interface{}) *gomock.Call
GetJobs indicates an expected call of GetJobs.
func (*MockJobHandlerMockRecorder) MaintainHistoryLimit ¶
func (mr *MockJobHandlerMockRecorder) MaintainHistoryLimit(ctx interface{}) *gomock.Call
MaintainHistoryLimit indicates an expected call of MaintainHistoryLimit.
func (*MockJobHandlerMockRecorder) StopJob ¶ added in v1.7.5
func (mr *MockJobHandlerMockRecorder) StopJob(ctx, jobName interface{}) *gomock.Call
StopJob indicates an expected call of StopJob.