mock_infraenv

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_infraenv 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) LookupSVC

func (m *MockResolver) LookupSVC(arg0 context.Context, arg1 snet.Path, arg2 addr.HostSVC) (*svc.Reply, error)

LookupSVC mocks base method.

type MockResolverMockRecorder

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

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) LookupSVC

func (mr *MockResolverMockRecorder) LookupSVC(arg0, arg1, arg2 interface{}) *gomock.Call

LookupSVC indicates an expected call of LookupSVC.

type MockSVCResolver

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

MockSVCResolver is a mock of SVCResolver interface.

func NewMockSVCResolver

func NewMockSVCResolver(ctrl *gomock.Controller) *MockSVCResolver

NewMockSVCResolver creates a new mock instance.

func (*MockSVCResolver) EXPECT

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

func (*MockSVCResolver) GetUnderlay

func (m *MockSVCResolver) GetUnderlay(arg0 addr.HostSVC) (*net.UDPAddr, error)

GetUnderlay mocks base method.

type MockSVCResolverMockRecorder

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

MockSVCResolverMockRecorder is the mock recorder for MockSVCResolver.

func (*MockSVCResolverMockRecorder) GetUnderlay

func (mr *MockSVCResolverMockRecorder) GetUnderlay(arg0 interface{}) *gomock.Call

GetUnderlay indicates an expected call of GetUnderlay.

Jump to

Keyboard shortcuts

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