mock_hiddenpath

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_hiddenpath is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAddressResolver

type MockAddressResolver struct {
	// contains filtered or unexported fields
}

MockAddressResolver is a mock of AddressResolver interface.

func NewMockAddressResolver

func NewMockAddressResolver(ctrl *gomock.Controller) *MockAddressResolver

NewMockAddressResolver creates a new mock instance.

func (*MockAddressResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAddressResolver) Resolve

func (m *MockAddressResolver) Resolve(arg0 context.Context, arg1 addr.IA) (net.Addr, error)

Resolve mocks base method.

type MockAddressResolverMockRecorder

type MockAddressResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockAddressResolverMockRecorder is the mock recorder for MockAddressResolver.

func (*MockAddressResolverMockRecorder) Resolve

func (mr *MockAddressResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

type MockDiscoverer

type MockDiscoverer struct {
	// contains filtered or unexported fields
}

MockDiscoverer is a mock of Discoverer interface.

func NewMockDiscoverer

func NewMockDiscoverer(ctrl *gomock.Controller) *MockDiscoverer

NewMockDiscoverer creates a new mock instance.

func (*MockDiscoverer) Discover

func (m *MockDiscoverer) Discover(arg0 context.Context, arg1 net.Addr) (hiddenpath.Servers, error)

Discover mocks base method.

func (*MockDiscoverer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockDiscovererMockRecorder

type MockDiscovererMockRecorder struct {
	// contains filtered or unexported fields
}

MockDiscovererMockRecorder is the mock recorder for MockDiscoverer.

func (*MockDiscovererMockRecorder) Discover

func (mr *MockDiscovererMockRecorder) Discover(arg0, arg1 interface{}) *gomock.Call

Discover indicates an expected call of Discover.

type MockLookuper

type MockLookuper struct {
	// contains filtered or unexported fields
}

MockLookuper is a mock of Lookuper interface.

func NewMockLookuper

func NewMockLookuper(ctrl *gomock.Controller) *MockLookuper

NewMockLookuper creates a new mock instance.

func (*MockLookuper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLookuper) Segments

func (m *MockLookuper) Segments(arg0 context.Context, arg1 hiddenpath.SegmentRequest) ([]*seg.Meta, error)

Segments mocks base method.

type MockLookuperMockRecorder

type MockLookuperMockRecorder struct {
	// contains filtered or unexported fields
}

MockLookuperMockRecorder is the mock recorder for MockLookuper.

func (*MockLookuperMockRecorder) Segments

func (mr *MockLookuperMockRecorder) Segments(arg0, arg1 interface{}) *gomock.Call

Segments indicates an expected call of Segments.

type MockRPC

type MockRPC struct {
	// contains filtered or unexported fields
}

MockRPC is a mock of RPC interface.

func NewMockRPC

func NewMockRPC(ctrl *gomock.Controller) *MockRPC

NewMockRPC creates a new mock instance.

func (*MockRPC) EXPECT

func (m *MockRPC) EXPECT() *MockRPCMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRPC) HiddenSegments

func (m *MockRPC) HiddenSegments(arg0 context.Context, arg1 hiddenpath.SegmentRequest, arg2 net.Addr) ([]*seg.Meta, error)

HiddenSegments mocks base method.

type MockRPCMockRecorder

type MockRPCMockRecorder struct {
	// contains filtered or unexported fields
}

MockRPCMockRecorder is the mock recorder for MockRPC.

func (*MockRPCMockRecorder) HiddenSegments

func (mr *MockRPCMockRecorder) HiddenSegments(arg0, arg1, arg2 interface{}) *gomock.Call

HiddenSegments indicates an expected call of HiddenSegments.

type MockRegister

type MockRegister struct {
	// contains filtered or unexported fields
}

MockRegister is a mock of Register interface.

func NewMockRegister

func NewMockRegister(ctrl *gomock.Controller) *MockRegister

NewMockRegister creates a new mock instance.

func (*MockRegister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegister) RegisterSegment

func (m *MockRegister) RegisterSegment(arg0 context.Context, arg1 hiddenpath.SegmentRegistration, arg2 net.Addr) error

RegisterSegment mocks base method.

type MockRegisterMockRecorder

type MockRegisterMockRecorder struct {
	// contains filtered or unexported fields
}

MockRegisterMockRecorder is the mock recorder for MockRegister.

func (*MockRegisterMockRecorder) RegisterSegment

func (mr *MockRegisterMockRecorder) RegisterSegment(arg0, arg1, arg2 interface{}) *gomock.Call

RegisterSegment indicates an expected call of RegisterSegment.

type MockRegistry

type MockRegistry struct {
	// contains filtered or unexported fields
}

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegistry) Register

func (m *MockRegistry) Register(arg0 context.Context, arg1 hiddenpath.Registration) error

Register mocks base method.

type MockRegistryMockRecorder

type MockRegistryMockRecorder struct {
	// contains filtered or unexported fields
}

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Register

func (mr *MockRegistryMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register.

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) Get

func (m *MockStore) Get(arg0 context.Context, arg1 addr.IA, arg2 []hiddenpath.GroupID) ([]*seg.Meta, error)

Get mocks base method.

func (*MockStore) Put

func (m *MockStore) Put(arg0 context.Context, arg1 []*seg.Meta, arg2 hiddenpath.GroupID) error

Put mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Put

func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockVerifier

type MockVerifier struct {
	// contains filtered or unexported fields
}

MockVerifier is a mock of Verifier interface.

func NewMockVerifier

func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier

NewMockVerifier creates a new mock instance.

func (*MockVerifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVerifier) Verify

func (m *MockVerifier) Verify(arg0 context.Context, arg1 []*seg.Meta, arg2 net.Addr) error

Verify mocks base method.

type MockVerifierMockRecorder

type MockVerifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockVerifierMockRecorder is the mock recorder for MockVerifier.

func (*MockVerifierMockRecorder) Verify

func (mr *MockVerifierMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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