mock_hpsegreq

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_hpsegreq is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFetcher

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

MockFetcher is a mock of Fetcher interface

func NewMockFetcher

func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher

NewMockFetcher creates a new mock instance

func (*MockFetcher) EXPECT

func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder

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

func (*MockFetcher) Fetch

func (m *MockFetcher) Fetch(arg0 context.Context, arg1 *path_mgmt.HPSegReq, arg2 *snet.UDPAddr) ([]*path_mgmt.HPSegRecs, error)

Fetch mocks base method

type MockFetcherMockRecorder

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

MockFetcherMockRecorder is the mock recorder for MockFetcher

func (*MockFetcherMockRecorder) Fetch

func (mr *MockFetcherMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

type MockRPC added in v0.6.0

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

MockRPC is a mock of RPC interface

func NewMockRPC added in v0.6.0

func NewMockRPC(ctrl *gomock.Controller) *MockRPC

NewMockRPC creates a new mock instance

func (*MockRPC) EXPECT added in v0.6.0

func (m *MockRPC) EXPECT() *MockRPCMockRecorder

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

func (*MockRPC) GetHPSegs added in v0.6.0

func (m *MockRPC) GetHPSegs(arg0 context.Context, arg1 *path_mgmt.HPSegReq, arg2 net.Addr) (*path_mgmt.HPSegReply, error)

GetHPSegs mocks base method

type MockRPCMockRecorder added in v0.6.0

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

MockRPCMockRecorder is the mock recorder for MockRPC

func (*MockRPCMockRecorder) GetHPSegs added in v0.6.0

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

GetHPSegs indicates an expected call of GetHPSegs

Jump to

Keyboard shortcuts

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