Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetJobByID(arg0 context.Context, arg1 int64) (*model.Job, error)
- func (m *MockManager) GetMDLVer(arg0 context.Context, arg1 int64) (int64, error)
- func (m *MockManager) GetMinJobID(arg0 context.Context, arg1 int64) (int64, error)
- func (m *MockManager) HasFlashbackClusterJob(arg0 context.Context, arg1 int64) (bool, error)
- func (m *MockManager) ISGOMOCK() struct{}
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) GetJobByID(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetMDLVer(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetMinJobID(arg0, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) HasFlashbackClusterJob(arg0, arg1 any) *gomock.Call
- type MockSchemaLoader
- type MockSchemaLoaderMockRecorder
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 ¶
GetJobByID mocks base method.
func (*MockManager) GetMinJobID ¶
GetMinJobID mocks base method.
func (*MockManager) HasFlashbackClusterJob ¶
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 ¶
func (m *MockSchemaLoader) EXPECT() *MockSchemaLoaderMockRecorder
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 ¶
func (mr *MockSchemaLoaderMockRecorder) Reload() *gomock.Call
Reload indicates an expected call of Reload.