mock_moserver

package
v1.2.3-hotfix-20240916 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_moserver is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBaseService

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

MockBaseService is a mock of BaseService interface.

func NewMockBaseService

func NewMockBaseService(ctrl *gomock.Controller) *MockBaseService

NewMockBaseService creates a new mock instance.

func (*MockBaseService) CheckTenantUpgrade

func (m *MockBaseService) CheckTenantUpgrade(ctx context.Context, tenantID int64) error

CheckTenantUpgrade mocks base method.

func (*MockBaseService) EXPECT

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

func (*MockBaseService) GetFinalVersion

func (m *MockBaseService) GetFinalVersion() string

GetFinalVersion mocks base method.

func (*MockBaseService) ID

func (m *MockBaseService) ID() string

ID mocks base method.

func (*MockBaseService) SQLAddress

func (m *MockBaseService) SQLAddress() string

SQLAddress mocks base method.

func (*MockBaseService) SessionMgr

func (m *MockBaseService) SessionMgr() *queryservice.SessionManager

SessionMgr mocks base method.

func (*MockBaseService) UpgradeTenant

func (m *MockBaseService) UpgradeTenant(ctx context.Context, tenantName string, retryCount uint32, isALLAccount bool) error

UpgradeTenant mocks base method.

type MockBaseServiceMockRecorder

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

MockBaseServiceMockRecorder is the mock recorder for MockBaseService.

func (*MockBaseServiceMockRecorder) CheckTenantUpgrade

func (mr *MockBaseServiceMockRecorder) CheckTenantUpgrade(ctx, tenantID any) *gomock.Call

CheckTenantUpgrade indicates an expected call of CheckTenantUpgrade.

func (*MockBaseServiceMockRecorder) GetFinalVersion

func (mr *MockBaseServiceMockRecorder) GetFinalVersion() *gomock.Call

GetFinalVersion indicates an expected call of GetFinalVersion.

func (*MockBaseServiceMockRecorder) ID

ID indicates an expected call of ID.

func (*MockBaseServiceMockRecorder) SQLAddress

func (mr *MockBaseServiceMockRecorder) SQLAddress() *gomock.Call

SQLAddress indicates an expected call of SQLAddress.

func (*MockBaseServiceMockRecorder) SessionMgr

func (mr *MockBaseServiceMockRecorder) SessionMgr() *gomock.Call

SessionMgr indicates an expected call of SessionMgr.

func (*MockBaseServiceMockRecorder) UpgradeTenant

func (mr *MockBaseServiceMockRecorder) UpgradeTenant(ctx, tenantName, retryCount, isALLAccount any) *gomock.Call

UpgradeTenant indicates an expected call of UpgradeTenant.

type MockServer

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

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) GetRoutineManager

func (m *MockServer) GetRoutineManager() *frontend.RoutineManager

GetRoutineManager mocks base method.

func (*MockServer) Start

func (m *MockServer) Start() error

Start mocks base method.

func (*MockServer) Stop

func (m *MockServer) Stop() error

Stop mocks base method.

type MockServerMockRecorder

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) GetRoutineManager

func (mr *MockServerMockRecorder) GetRoutineManager() *gomock.Call

GetRoutineManager indicates an expected call of GetRoutineManager.

func (*MockServerMockRecorder) Start

func (mr *MockServerMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockServerMockRecorder) Stop

func (mr *MockServerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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