mock

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 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 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) CreateBatch

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

CreateBatch mocks base method.

func (*MockBatchHandler) DeleteBatch

func (m *MockBatchHandler) DeleteBatch(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(batchName string) (*v1.BatchStatus, error)

GetBatch mocks base method.

func (*MockBatchHandler) GetBatches

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

GetBatches mocks base method.

func (*MockBatchHandler) MaintainHistoryLimit

func (m *MockBatchHandler) MaintainHistoryLimit() error

MaintainHistoryLimit mocks base method.

type MockBatchHandlerMockRecorder

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

MockBatchHandlerMockRecorder is the mock recorder for MockBatchHandler.

func (*MockBatchHandlerMockRecorder) CreateBatch

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

CreateBatch indicates an expected call of CreateBatch.

func (*MockBatchHandlerMockRecorder) DeleteBatch

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

DeleteBatch indicates an expected call of DeleteBatch.

func (*MockBatchHandlerMockRecorder) GetBatch

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

GetBatch indicates an expected call of GetBatch.

func (*MockBatchHandlerMockRecorder) GetBatches

func (mr *MockBatchHandlerMockRecorder) GetBatches() *gomock.Call

GetBatches indicates an expected call of GetBatches.

func (*MockBatchHandlerMockRecorder) MaintainHistoryLimit

func (mr *MockBatchHandlerMockRecorder) MaintainHistoryLimit() *gomock.Call

MaintainHistoryLimit indicates an expected call of MaintainHistoryLimit.

Jump to

Keyboard shortcuts

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