Documentation ¶
Overview ¶
Package resolvermock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver) Lookup ¶
func (m *MockResolver) Lookup(ctx context.Context, opts ...resolver.LookupOption) ([]*peer.ConnectionInfo, error)
Lookup mocks base method
func (*MockResolver) LookupPeer ¶ added in v0.15.5
func (m *MockResolver) LookupPeer(ctx context.Context, publicKey crypto.PublicKey) (*peer.ConnectionInfo, error)
LookupPeer mocks base method
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver
func (*MockResolverMockRecorder) Lookup ¶
func (mr *MockResolverMockRecorder) Lookup(ctx interface{}, opts ...interface{}) *gomock.Call
Lookup indicates an expected call of Lookup
func (*MockResolverMockRecorder) LookupPeer ¶ added in v0.15.5
func (mr *MockResolverMockRecorder) LookupPeer(ctx, publicKey interface{}) *gomock.Call
LookupPeer indicates an expected call of LookupPeer
Click to show internal directories.
Click to hide internal directories.