Documentation ¶
Overview ¶
Package mocklocal is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiskUsage ¶
type MockDiskUsage struct {
// contains filtered or unexported fields
}
MockDiskUsage is a mock of DiskUsage interface.
func NewMockDiskUsage ¶
func NewMockDiskUsage(ctrl *gomock.Controller) *MockDiskUsage
NewMockDiskUsage creates a new mock instance.
func (*MockDiskUsage) EXPECT ¶
func (m *MockDiskUsage) EXPECT() *MockDiskUsageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiskUsage) EngineFileSizes ¶
func (m *MockDiskUsage) EngineFileSizes() []backend.EngineFileSize
EngineFileSizes mocks base method.
type MockDiskUsageMockRecorder ¶
type MockDiskUsageMockRecorder struct {
// contains filtered or unexported fields
}
MockDiskUsageMockRecorder is the mock recorder for MockDiskUsage.
func (*MockDiskUsageMockRecorder) EngineFileSizes ¶
func (mr *MockDiskUsageMockRecorder) EngineFileSizes() *gomock.Call
EngineFileSizes indicates an expected call of EngineFileSizes.
type MockTiKVModeSwitcher ¶
type MockTiKVModeSwitcher struct {
// contains filtered or unexported fields
}
MockTiKVModeSwitcher is a mock of TiKVModeSwitcher interface.
func NewMockTiKVModeSwitcher ¶
func NewMockTiKVModeSwitcher(ctrl *gomock.Controller) *MockTiKVModeSwitcher
NewMockTiKVModeSwitcher creates a new mock instance.
func (*MockTiKVModeSwitcher) EXPECT ¶
func (m *MockTiKVModeSwitcher) EXPECT() *MockTiKVModeSwitcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTiKVModeSwitcher) ToImportMode ¶
func (m *MockTiKVModeSwitcher) ToImportMode(arg0 context.Context, arg1 ...*import_sstpb.Range)
ToImportMode mocks base method.
func (*MockTiKVModeSwitcher) ToNormalMode ¶
func (m *MockTiKVModeSwitcher) ToNormalMode(arg0 context.Context, arg1 ...*import_sstpb.Range)
ToNormalMode mocks base method.
type MockTiKVModeSwitcherMockRecorder ¶
type MockTiKVModeSwitcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTiKVModeSwitcherMockRecorder is the mock recorder for MockTiKVModeSwitcher.
func (*MockTiKVModeSwitcherMockRecorder) ToImportMode ¶
func (mr *MockTiKVModeSwitcherMockRecorder) ToImportMode(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ToImportMode indicates an expected call of ToImportMode.
func (*MockTiKVModeSwitcherMockRecorder) ToNormalMode ¶
func (mr *MockTiKVModeSwitcherMockRecorder) ToNormalMode(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ToNormalMode indicates an expected call of ToNormalMode.