mock

package
v1.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

CreateJob mocks base method.

func (*MockJobHandler) DeleteJob

func (m *MockJobHandler) DeleteJob(arg0 string) error

DeleteJob mocks base method.

func (*MockJobHandler) EXPECT

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL