resolvermock

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 6 Imported by: 0

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

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

Jump to

Keyboard shortcuts

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