mock

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 5 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) 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockJobHandler) GetJob

func (m *MockJobHandler) GetJob(ctx context.Context, jobName string) (*v1.JobStatus, error)

GetJob mocks base method.

func (*MockJobHandler) GetJobs

func (m *MockJobHandler) GetJobs(ctx context.Context) ([]v1.JobStatus, error)

GetJobs mocks base method.

func (*MockJobHandler) MaintainHistoryLimit

func (m *MockJobHandler) MaintainHistoryLimit(ctx context.Context) error

MaintainHistoryLimit mocks base method.

func (*MockJobHandler) StopJob added in v1.7.5

func (m *MockJobHandler) StopJob(ctx context.Context, jobName 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) 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.

Jump to

Keyboard shortcuts

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