Documentation ¶
Overview ¶
Package mock_pool is a generated GoMock package.
Index ¶
- type MockPool
- func (m *MockPool) AddPeer(arg0 context.Context, arg1 peer.Peer) error
- func (m *MockPool) EXPECT() *MockPoolMockRecorder
- func (m *MockPool) Get(arg0 context.Context, arg1 string) (peer.Peer, error)
- func (m *MockPool) GetOneOf(arg0 context.Context, arg1 []string) (peer.Peer, error)
- func (m *MockPool) Pick(arg0 context.Context, arg1 string) (peer.Peer, error)
- type MockPoolMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPool ¶
type MockPool struct {
// contains filtered or unexported fields
}
MockPool is a mock of Pool interface.
func NewMockPool ¶
func NewMockPool(ctrl *gomock.Controller) *MockPool
NewMockPool creates a new mock instance.
func (*MockPool) EXPECT ¶
func (m *MockPool) EXPECT() *MockPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPoolMockRecorder ¶
type MockPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolMockRecorder is the mock recorder for MockPool.
func (*MockPoolMockRecorder) AddPeer ¶
func (mr *MockPoolMockRecorder) AddPeer(arg0, arg1 any) *gomock.Call
AddPeer indicates an expected call of AddPeer.
func (*MockPoolMockRecorder) Get ¶
func (mr *MockPoolMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
Click to show internal directories.
Click to hide internal directories.