Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockConnectionKeeper
- func (m *MockConnectionKeeper) ActiveShards() []kr.ShardKey
- func (m *MockConnectionKeeper) ActiveShardsReset()
- func (m *MockConnectionKeeper) Client() client.RouterClient
- func (m *MockConnectionKeeper) DataPending() bool
- func (m *MockConnectionKeeper) EXPECT() *MockConnectionKeeperMockRecorder
- func (m *MockConnectionKeeper) RequestData()
- func (m *MockConnectionKeeper) SetTxStatus(status txstatus.TXStatus)
- func (m *MockConnectionKeeper) SyncCount() int64
- func (m *MockConnectionKeeper) TxStatus() txstatus.TXStatus
- type MockConnectionKeeperMockRecorder
- func (mr *MockConnectionKeeperMockRecorder) ActiveShards() *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) ActiveShardsReset() *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) Client() *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) DataPending() *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) RequestData() *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) SetTxStatus(status interface{}) *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) SyncCount() *gomock.Call
- func (mr *MockConnectionKeeperMockRecorder) TxStatus() *gomock.Call
- type MockPoolMgr
- func (m *MockPoolMgr) ConnectionActive(rst poolmgr.ConnectionKeeper) bool
- func (m *MockPoolMgr) EXPECT() *MockPoolMgrMockRecorder
- func (m *MockPoolMgr) RouteCB(client client.RouterClient, sh []kr.ShardKey) error
- func (m *MockPoolMgr) TXBeginCB(rst poolmgr.ConnectionKeeper) error
- func (m *MockPoolMgr) TXEndCB(rst poolmgr.ConnectionKeeper) error
- func (m *MockPoolMgr) UnRouteCB(client client.RouterClient, sh []kr.ShardKey) error
- func (m *MockPoolMgr) UnRouteWithError(client client.RouterClient, sh []kr.ShardKey, errmsg error) error
- func (m *MockPoolMgr) ValidateReRoute(rst poolmgr.ConnectionKeeper) bool
- type MockPoolMgrMockRecorder
- func (mr *MockPoolMgrMockRecorder) ConnectionActive(rst interface{}) *gomock.Call
- func (mr *MockPoolMgrMockRecorder) RouteCB(client, sh interface{}) *gomock.Call
- func (mr *MockPoolMgrMockRecorder) TXBeginCB(rst interface{}) *gomock.Call
- func (mr *MockPoolMgrMockRecorder) TXEndCB(rst interface{}) *gomock.Call
- func (mr *MockPoolMgrMockRecorder) UnRouteCB(client, sh interface{}) *gomock.Call
- func (mr *MockPoolMgrMockRecorder) UnRouteWithError(client, sh, errmsg interface{}) *gomock.Call
- func (mr *MockPoolMgrMockRecorder) ValidateReRoute(rst interface{}) *gomock.Call
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 ¶
func (m *MockConnectionKeeper) Client() client.RouterClient
Client mocks base method.
func (*MockConnectionKeeper) DataPending ¶
func (m *MockConnectionKeeper) DataPending() bool
DataPending mocks base method.
func (*MockConnectionKeeper) EXPECT ¶
func (m *MockConnectionKeeper) EXPECT() *MockConnectionKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnectionKeeper) RequestData ¶
func (m *MockConnectionKeeper) RequestData()
RequestData mocks base method.
func (*MockConnectionKeeper) SetTxStatus ¶
func (m *MockConnectionKeeper) SetTxStatus(status txstatus.TXStatus)
SetTxStatus mocks base method.
func (*MockConnectionKeeper) SyncCount ¶
func (m *MockConnectionKeeper) SyncCount() int64
SyncCount 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 ¶
func (mr *MockConnectionKeeperMockRecorder) Client() *gomock.Call
Client indicates an expected call of Client.
func (*MockConnectionKeeperMockRecorder) DataPending ¶
func (mr *MockConnectionKeeperMockRecorder) DataPending() *gomock.Call
DataPending indicates an expected call of DataPending.
func (*MockConnectionKeeperMockRecorder) RequestData ¶
func (mr *MockConnectionKeeperMockRecorder) RequestData() *gomock.Call
RequestData indicates an expected call of RequestData.
func (*MockConnectionKeeperMockRecorder) SetTxStatus ¶
func (mr *MockConnectionKeeperMockRecorder) SetTxStatus(status interface{}) *gomock.Call
SetTxStatus indicates an expected call of SetTxStatus.
func (*MockConnectionKeeperMockRecorder) SyncCount ¶
func (mr *MockConnectionKeeperMockRecorder) SyncCount() *gomock.Call
SyncCount indicates an expected call of SyncCount.
func (*MockConnectionKeeperMockRecorder) TxStatus ¶
func (mr *MockConnectionKeeperMockRecorder) TxStatus() *gomock.Call
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.