Documentation ¶
Overview ¶
Package mock_moserver is a generated GoMock package.
Index ¶
- type MockBaseService
- func (m *MockBaseService) CheckTenantUpgrade(ctx context.Context, tenantID int64) error
- func (m *MockBaseService) EXPECT() *MockBaseServiceMockRecorder
- func (m *MockBaseService) GetFinalVersion() string
- func (m *MockBaseService) ID() string
- func (m *MockBaseService) SQLAddress() string
- func (m *MockBaseService) SessionMgr() *queryservice.SessionManager
- func (m *MockBaseService) UpgradeTenant(ctx context.Context, tenantName string, retryCount uint32, isALLAccount bool) error
- type MockBaseServiceMockRecorder
- func (mr *MockBaseServiceMockRecorder) CheckTenantUpgrade(ctx, tenantID any) *gomock.Call
- func (mr *MockBaseServiceMockRecorder) GetFinalVersion() *gomock.Call
- func (mr *MockBaseServiceMockRecorder) ID() *gomock.Call
- func (mr *MockBaseServiceMockRecorder) SQLAddress() *gomock.Call
- func (mr *MockBaseServiceMockRecorder) SessionMgr() *gomock.Call
- func (mr *MockBaseServiceMockRecorder) UpgradeTenant(ctx, tenantName, retryCount, isALLAccount any) *gomock.Call
- type MockServer
- type MockServerMockRecorder
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 ¶
func (m *MockBaseService) EXPECT() *MockBaseServiceMockRecorder
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) 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 ¶
func (mr *MockBaseServiceMockRecorder) ID() *gomock.Call
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.
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.