Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRegionClient
- func (m *MockRegionClient) Addr() string
- func (m *MockRegionClient) Close()
- func (m *MockRegionClient) Dial(arg0 context.Context) error
- func (m *MockRegionClient) EXPECT() *MockRegionClientMockRecorder
- func (m *MockRegionClient) QueueBatch(arg0 context.Context, arg1 []hrpc.Call)
- func (m *MockRegionClient) QueueRPC(arg0 hrpc.Call)
- func (m *MockRegionClient) String() string
- type MockRegionClientMockRecorder
- func (mr *MockRegionClientMockRecorder) Addr() *gomock.Call
- func (mr *MockRegionClientMockRecorder) Close() *gomock.Call
- func (mr *MockRegionClientMockRecorder) Dial(arg0 any) *gomock.Call
- func (mr *MockRegionClientMockRecorder) QueueBatch(arg0, arg1 any) *gomock.Call
- func (mr *MockRegionClientMockRecorder) QueueRPC(arg0 any) *gomock.Call
- func (mr *MockRegionClientMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRegionClient ¶
type MockRegionClient struct {
// contains filtered or unexported fields
}
MockRegionClient is a mock of RegionClient interface.
func NewMockRegionClient ¶
func NewMockRegionClient(ctrl *gomock.Controller) *MockRegionClient
NewMockRegionClient creates a new mock instance.
func (*MockRegionClient) Dial ¶
func (m *MockRegionClient) Dial(arg0 context.Context) error
Dial mocks base method.
func (*MockRegionClient) EXPECT ¶
func (m *MockRegionClient) EXPECT() *MockRegionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegionClient) QueueBatch ¶
func (m *MockRegionClient) QueueBatch(arg0 context.Context, arg1 []hrpc.Call)
QueueBatch mocks base method.
func (*MockRegionClient) QueueRPC ¶
func (m *MockRegionClient) QueueRPC(arg0 hrpc.Call)
QueueRPC mocks base method.
func (*MockRegionClient) String ¶
func (m *MockRegionClient) String() string
String mocks base method.
type MockRegionClientMockRecorder ¶
type MockRegionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRegionClientMockRecorder is the mock recorder for MockRegionClient.
func (*MockRegionClientMockRecorder) Addr ¶
func (mr *MockRegionClientMockRecorder) Addr() *gomock.Call
Addr indicates an expected call of Addr.
func (*MockRegionClientMockRecorder) Close ¶
func (mr *MockRegionClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRegionClientMockRecorder) Dial ¶
func (mr *MockRegionClientMockRecorder) Dial(arg0 any) *gomock.Call
Dial indicates an expected call of Dial.
func (*MockRegionClientMockRecorder) QueueBatch ¶
func (mr *MockRegionClientMockRecorder) QueueBatch(arg0, arg1 any) *gomock.Call
QueueBatch indicates an expected call of QueueBatch.
func (*MockRegionClientMockRecorder) QueueRPC ¶
func (mr *MockRegionClientMockRecorder) QueueRPC(arg0 any) *gomock.Call
QueueRPC indicates an expected call of QueueRPC.
func (*MockRegionClientMockRecorder) String ¶
func (mr *MockRegionClientMockRecorder) String() *gomock.Call
String indicates an expected call of String.