mock_shardingsphere

package
v0.0.0-...-f5de34e Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_shardingsphere is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIServer

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

MockIServer is a mock of IServer interface.

func NewMockIServer

func NewMockIServer(ctrl *gomock.Controller) *MockIServer

NewMockIServer creates a new mock instance.

func (*MockIServer) Close

func (m *MockIServer) Close() error

Close mocks base method.

func (*MockIServer) CreateDatabase

func (m *MockIServer) CreateDatabase(dbName string) error

CreateDatabase mocks base method.

func (*MockIServer) EXPECT

func (m *MockIServer) EXPECT() *MockIServerMockRecorder

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

func (*MockIServer) RegisterStorageUnit

func (m *MockIServer) RegisterStorageUnit(logicDBName, dsName, dsHost string, dsPort uint, dsDBName, dsUser, dsPassword string) error

RegisterStorageUnit mocks base method.

func (*MockIServer) UnRegisterStorageUnit

func (m *MockIServer) UnRegisterStorageUnit(logicDBName, dsName string) error

UnRegisterStorageUnit mocks base method.

type MockIServerMockRecorder

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

MockIServerMockRecorder is the mock recorder for MockIServer.

func (*MockIServerMockRecorder) Close

func (mr *MockIServerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIServerMockRecorder) CreateDatabase

func (mr *MockIServerMockRecorder) CreateDatabase(dbName interface{}) *gomock.Call

CreateDatabase indicates an expected call of CreateDatabase.

func (*MockIServerMockRecorder) RegisterStorageUnit

func (mr *MockIServerMockRecorder) RegisterStorageUnit(logicDBName, dsName, dsHost, dsPort, dsDBName, dsUser, dsPassword interface{}) *gomock.Call

RegisterStorageUnit indicates an expected call of RegisterStorageUnit.

func (*MockIServerMockRecorder) UnRegisterStorageUnit

func (mr *MockIServerMockRecorder) UnRegisterStorageUnit(logicDBName, dsName interface{}) *gomock.Call

UnRegisterStorageUnit indicates an expected call of UnRegisterStorageUnit.

Jump to

Keyboard shortcuts

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