mock

package
v1.1.0-beta.0...-cc83417 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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 MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetJobByID

func (m *MockManager) GetJobByID(arg0 context.Context, arg1 int64) (*model.Job, error)

GetJobByID mocks base method.

func (*MockManager) GetMDLVer

func (m *MockManager) GetMDLVer(arg0 context.Context, arg1 int64) (int64, error)

GetMDLVer mocks base method.

func (*MockManager) GetMinJobID

func (m *MockManager) GetMinJobID(arg0 context.Context, arg1 int64) (int64, error)

GetMinJobID mocks base method.

func (*MockManager) HasFlashbackClusterJob

func (m *MockManager) HasFlashbackClusterJob(arg0 context.Context, arg1 int64) (bool, error)

HasFlashbackClusterJob mocks base method.

func (*MockManager) ISGOMOCK

func (m *MockManager) ISGOMOCK() struct{}

ISGOMOCK indicates that this struct is a gomock mock.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) GetJobByID

func (mr *MockManagerMockRecorder) GetJobByID(arg0, arg1 any) *gomock.Call

GetJobByID indicates an expected call of GetJobByID.

func (*MockManagerMockRecorder) GetMDLVer

func (mr *MockManagerMockRecorder) GetMDLVer(arg0, arg1 any) *gomock.Call

GetMDLVer indicates an expected call of GetMDLVer.

func (*MockManagerMockRecorder) GetMinJobID

func (mr *MockManagerMockRecorder) GetMinJobID(arg0, arg1 any) *gomock.Call

GetMinJobID indicates an expected call of GetMinJobID.

func (*MockManagerMockRecorder) HasFlashbackClusterJob

func (mr *MockManagerMockRecorder) HasFlashbackClusterJob(arg0, arg1 any) *gomock.Call

HasFlashbackClusterJob indicates an expected call of HasFlashbackClusterJob.

type MockSchemaLoader

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

MockSchemaLoader is a mock of SchemaLoader interface.

func NewMockSchemaLoader

func NewMockSchemaLoader(ctrl *gomock.Controller) *MockSchemaLoader

NewMockSchemaLoader creates a new mock instance.

func (*MockSchemaLoader) EXPECT

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

func (*MockSchemaLoader) ISGOMOCK

func (m *MockSchemaLoader) ISGOMOCK() struct{}

ISGOMOCK indicates that this struct is a gomock mock.

func (*MockSchemaLoader) Reload

func (m *MockSchemaLoader) Reload() error

Reload mocks base method.

type MockSchemaLoaderMockRecorder

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

MockSchemaLoaderMockRecorder is the mock recorder for MockSchemaLoader.

func (*MockSchemaLoaderMockRecorder) Reload

Reload indicates an expected call of Reload.

Jump to

Keyboard shortcuts

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