mock

package
v0.0.0-...-8429761 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: PostgreSQL Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnectionKeeper

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

MockConnectionKeeper is a mock of ConnectionKeeper interface.

func NewMockConnectionKeeper

func NewMockConnectionKeeper(ctrl *gomock.Controller) *MockConnectionKeeper

NewMockConnectionKeeper creates a new mock instance.

func (*MockConnectionKeeper) ActiveShards

func (m *MockConnectionKeeper) ActiveShards() []kr.ShardKey

ActiveShards mocks base method.

func (*MockConnectionKeeper) ActiveShardsReset

func (m *MockConnectionKeeper) ActiveShardsReset()

ActiveShardsReset mocks base method.

func (*MockConnectionKeeper) Client

Client mocks base method.

func (*MockConnectionKeeper) EXPECT

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

func (*MockConnectionKeeper) SetTxStatus

func (m *MockConnectionKeeper) SetTxStatus(status txstatus.TXStatus)

SetTxStatus mocks base method.

func (*MockConnectionKeeper) TxStatus

func (m *MockConnectionKeeper) TxStatus() txstatus.TXStatus

TxStatus mocks base method.

type MockConnectionKeeperMockRecorder

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

MockConnectionKeeperMockRecorder is the mock recorder for MockConnectionKeeper.

func (*MockConnectionKeeperMockRecorder) ActiveShards

func (mr *MockConnectionKeeperMockRecorder) ActiveShards() *gomock.Call

ActiveShards indicates an expected call of ActiveShards.

func (*MockConnectionKeeperMockRecorder) ActiveShardsReset

func (mr *MockConnectionKeeperMockRecorder) ActiveShardsReset() *gomock.Call

ActiveShardsReset indicates an expected call of ActiveShardsReset.

func (*MockConnectionKeeperMockRecorder) Client

Client indicates an expected call of Client.

func (*MockConnectionKeeperMockRecorder) SetTxStatus

func (mr *MockConnectionKeeperMockRecorder) SetTxStatus(status interface{}) *gomock.Call

SetTxStatus indicates an expected call of SetTxStatus.

func (*MockConnectionKeeperMockRecorder) TxStatus

TxStatus indicates an expected call of TxStatus.

type MockPoolMgr

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

MockPoolMgr is a mock of PoolMgr interface.

func NewMockPoolMgr

func NewMockPoolMgr(ctrl *gomock.Controller) *MockPoolMgr

NewMockPoolMgr creates a new mock instance.

func (*MockPoolMgr) ConnectionActive

func (m *MockPoolMgr) ConnectionActive(rst poolmgr.ConnectionKeeper) bool

ConnectionActive mocks base method.

func (*MockPoolMgr) EXPECT

func (m *MockPoolMgr) EXPECT() *MockPoolMgrMockRecorder

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

func (*MockPoolMgr) RouteCB

func (m *MockPoolMgr) RouteCB(client client.RouterClient, sh []kr.ShardKey) error

RouteCB mocks base method.

func (*MockPoolMgr) TXBeginCB

func (m *MockPoolMgr) TXBeginCB(rst poolmgr.ConnectionKeeper) error

TXBeginCB mocks base method.

func (*MockPoolMgr) TXEndCB

func (m *MockPoolMgr) TXEndCB(rst poolmgr.ConnectionKeeper) error

TXEndCB mocks base method.

func (*MockPoolMgr) UnRouteCB

func (m *MockPoolMgr) UnRouteCB(client client.RouterClient, sh []kr.ShardKey) error

UnRouteCB mocks base method.

func (*MockPoolMgr) UnRouteWithError

func (m *MockPoolMgr) UnRouteWithError(client client.RouterClient, sh []kr.ShardKey, errmsg error) error

UnRouteWithError mocks base method.

func (*MockPoolMgr) ValidateReRoute

func (m *MockPoolMgr) ValidateReRoute(rst poolmgr.ConnectionKeeper) bool

ValidateReRoute mocks base method.

type MockPoolMgrMockRecorder

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

MockPoolMgrMockRecorder is the mock recorder for MockPoolMgr.

func (*MockPoolMgrMockRecorder) ConnectionActive

func (mr *MockPoolMgrMockRecorder) ConnectionActive(rst interface{}) *gomock.Call

ConnectionActive indicates an expected call of ConnectionActive.

func (*MockPoolMgrMockRecorder) RouteCB

func (mr *MockPoolMgrMockRecorder) RouteCB(client, sh interface{}) *gomock.Call

RouteCB indicates an expected call of RouteCB.

func (*MockPoolMgrMockRecorder) TXBeginCB

func (mr *MockPoolMgrMockRecorder) TXBeginCB(rst interface{}) *gomock.Call

TXBeginCB indicates an expected call of TXBeginCB.

func (*MockPoolMgrMockRecorder) TXEndCB

func (mr *MockPoolMgrMockRecorder) TXEndCB(rst interface{}) *gomock.Call

TXEndCB indicates an expected call of TXEndCB.

func (*MockPoolMgrMockRecorder) UnRouteCB

func (mr *MockPoolMgrMockRecorder) UnRouteCB(client, sh interface{}) *gomock.Call

UnRouteCB indicates an expected call of UnRouteCB.

func (*MockPoolMgrMockRecorder) UnRouteWithError

func (mr *MockPoolMgrMockRecorder) UnRouteWithError(client, sh, errmsg interface{}) *gomock.Call

UnRouteWithError indicates an expected call of UnRouteWithError.

func (*MockPoolMgrMockRecorder) ValidateReRoute

func (mr *MockPoolMgrMockRecorder) ValidateReRoute(rst interface{}) *gomock.Call

ValidateReRoute indicates an expected call of ValidateReRoute.

Jump to

Keyboard shortcuts

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