mock

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 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 MockBatchHandler

type MockBatchHandler struct {
	// contains filtered or unexported fields
}

MockBatchHandler is a mock of BatchHandler interface.

func NewMockBatchHandler

func NewMockBatchHandler(ctrl *gomock.Controller) *MockBatchHandler

NewMockBatchHandler creates a new mock instance.

func (*MockBatchHandler) CopyBatch added in v1.8.0

func (m *MockBatchHandler) CopyBatch(ctx context.Context, batchName, deploymentName string) (*v1.BatchStatus, error)

CopyBatch mocks base method.

func (*MockBatchHandler) CreateBatch

func (m *MockBatchHandler) CreateBatch(ctx context.Context, batchScheduleDescription *common.BatchScheduleDescription) (*v1.BatchStatus, error)

CreateBatch mocks base method.

func (*MockBatchHandler) DeleteBatch

func (m *MockBatchHandler) DeleteBatch(ctx context.Context, batchName string) error

DeleteBatch mocks base method.

func (*MockBatchHandler) EXPECT

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

func (*MockBatchHandler) GetBatch

func (m *MockBatchHandler) GetBatch(ctx context.Context, batchName string) (*v1.BatchStatus, error)

GetBatch mocks base method.

func (*MockBatchHandler) GetBatchJob added in v1.7.6

func (m *MockBatchHandler) GetBatchJob(ctx context.Context, batchName, jobName string) (*v1.JobStatus, error)

GetBatchJob mocks base method.

func (*MockBatchHandler) GetBatches

func (m *MockBatchHandler) GetBatches(ctx context.Context) ([]v1.BatchStatus, error)

GetBatches mocks base method.

func (*MockBatchHandler) MaintainHistoryLimit

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

MaintainHistoryLimit mocks base method.

func (*MockBatchHandler) StopBatch added in v1.7.5

func (m *MockBatchHandler) StopBatch(ctx context.Context, batchName string) error

StopBatch mocks base method.

func (*MockBatchHandler) StopBatchJob added in v1.7.5

func (m *MockBatchHandler) StopBatchJob(ctx context.Context, batchName, jobName string) error

StopBatchJob mocks base method.

type MockBatchHandlerMockRecorder

type MockBatchHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockBatchHandlerMockRecorder is the mock recorder for MockBatchHandler.

func (*MockBatchHandlerMockRecorder) CopyBatch added in v1.8.0

func (mr *MockBatchHandlerMockRecorder) CopyBatch(ctx, batchName, deploymentName interface{}) *gomock.Call

CopyBatch indicates an expected call of CopyBatch.

func (*MockBatchHandlerMockRecorder) CreateBatch

func (mr *MockBatchHandlerMockRecorder) CreateBatch(ctx, batchScheduleDescription interface{}) *gomock.Call

CreateBatch indicates an expected call of CreateBatch.

func (*MockBatchHandlerMockRecorder) DeleteBatch

func (mr *MockBatchHandlerMockRecorder) DeleteBatch(ctx, batchName interface{}) *gomock.Call

DeleteBatch indicates an expected call of DeleteBatch.

func (*MockBatchHandlerMockRecorder) GetBatch

func (mr *MockBatchHandlerMockRecorder) GetBatch(ctx, batchName interface{}) *gomock.Call

GetBatch indicates an expected call of GetBatch.

func (*MockBatchHandlerMockRecorder) GetBatchJob added in v1.7.6

func (mr *MockBatchHandlerMockRecorder) GetBatchJob(ctx, batchName, jobName interface{}) *gomock.Call

GetBatchJob indicates an expected call of GetBatchJob.

func (*MockBatchHandlerMockRecorder) GetBatches

func (mr *MockBatchHandlerMockRecorder) GetBatches(ctx interface{}) *gomock.Call

GetBatches indicates an expected call of GetBatches.

func (*MockBatchHandlerMockRecorder) MaintainHistoryLimit

func (mr *MockBatchHandlerMockRecorder) MaintainHistoryLimit(ctx interface{}) *gomock.Call

MaintainHistoryLimit indicates an expected call of MaintainHistoryLimit.

func (*MockBatchHandlerMockRecorder) StopBatch added in v1.7.5

func (mr *MockBatchHandlerMockRecorder) StopBatch(ctx, batchName interface{}) *gomock.Call

StopBatch indicates an expected call of StopBatch.

func (*MockBatchHandlerMockRecorder) StopBatchJob added in v1.7.5

func (mr *MockBatchHandlerMockRecorder) StopBatchJob(ctx, batchName, jobName interface{}) *gomock.Call

StopBatchJob indicates an expected call of StopBatchJob.

Jump to

Keyboard shortcuts

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