mock_segfetcher

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_segfetcher is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDstProvider

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

MockDstProvider is a mock of DstProvider interface.

func NewMockDstProvider

func NewMockDstProvider(ctrl *gomock.Controller) *MockDstProvider

NewMockDstProvider creates a new mock instance.

func (*MockDstProvider) Dst

Dst mocks base method.

func (*MockDstProvider) EXPECT

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

type MockDstProviderMockRecorder

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

MockDstProviderMockRecorder is the mock recorder for MockDstProvider.

func (*MockDstProviderMockRecorder) Dst

func (mr *MockDstProviderMockRecorder) Dst(arg0, arg1 interface{}) *gomock.Call

Dst indicates an expected call of Dst.

type MockLocalInfo added in v0.6.0

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

MockLocalInfo is a mock of LocalInfo interface.

func NewMockLocalInfo added in v0.6.0

func NewMockLocalInfo(ctrl *gomock.Controller) *MockLocalInfo

NewMockLocalInfo creates a new mock instance.

func (*MockLocalInfo) EXPECT added in v0.6.0

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

func (*MockLocalInfo) IsSegLocal added in v0.6.0

func (m *MockLocalInfo) IsSegLocal(arg0 segfetcher.Request) bool

IsSegLocal mocks base method.

type MockLocalInfoMockRecorder added in v0.6.0

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

MockLocalInfoMockRecorder is the mock recorder for MockLocalInfo.

func (*MockLocalInfoMockRecorder) IsSegLocal added in v0.6.0

func (mr *MockLocalInfoMockRecorder) IsSegLocal(arg0 interface{}) *gomock.Call

IsSegLocal indicates an expected call of IsSegLocal.

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) Segments added in v0.6.0

func (m *MockRPC) Segments(arg0 context.Context, arg1 segfetcher.Request, arg2 net.Addr) (segfetcher.SegmentsReply, error)

Segments 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) Segments added in v0.6.0

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

Segments indicates an expected call of Segments.

type MockReplyHandler

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

MockReplyHandler is a mock of ReplyHandler interface.

func NewMockReplyHandler

func NewMockReplyHandler(ctrl *gomock.Controller) *MockReplyHandler

NewMockReplyHandler creates a new mock instance.

func (*MockReplyHandler) EXPECT

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

func (*MockReplyHandler) Handle

Handle mocks base method.

type MockReplyHandlerMockRecorder

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

MockReplyHandlerMockRecorder is the mock recorder for MockReplyHandler.

func (*MockReplyHandlerMockRecorder) Handle

func (mr *MockReplyHandlerMockRecorder) Handle(arg0, arg1, arg2 interface{}) *gomock.Call

Handle indicates an expected call of Handle.

type MockRequester

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

MockRequester is a mock of Requester interface.

func NewMockRequester

func NewMockRequester(ctrl *gomock.Controller) *MockRequester

NewMockRequester creates a new mock instance.

func (*MockRequester) EXPECT

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

func (*MockRequester) Request

func (m *MockRequester) Request(arg0 context.Context, arg1 segfetcher.Requests) <-chan segfetcher.ReplyOrErr

Request mocks base method.

type MockRequesterMockRecorder

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

MockRequesterMockRecorder is the mock recorder for MockRequester.

func (*MockRequesterMockRecorder) Request

func (mr *MockRequesterMockRecorder) Request(arg0, arg1 interface{}) *gomock.Call

Request indicates an expected call of Request.

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) Resolve

Resolve mocks base method.

type MockResolverMockRecorder

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

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) Resolve

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

Resolve indicates an expected call of Resolve.

type MockSplitter

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

MockSplitter is a mock of Splitter interface.

func NewMockSplitter

func NewMockSplitter(ctrl *gomock.Controller) *MockSplitter

NewMockSplitter creates a new mock instance.

func (*MockSplitter) EXPECT

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

func (*MockSplitter) Split

func (m *MockSplitter) Split(arg0 context.Context, arg1 addr.IA) (segfetcher.Requests, error)

Split mocks base method.

type MockSplitterMockRecorder

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

MockSplitterMockRecorder is the mock recorder for MockSplitter.

func (*MockSplitterMockRecorder) Split

func (mr *MockSplitterMockRecorder) Split(arg0, arg1 interface{}) *gomock.Call

Split indicates an expected call of Split.

Jump to

Keyboard shortcuts

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