mock_segfetcher

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 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 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

func (m *MockReplyHandler) Handle(arg0 context.Context, arg1 seghandler.Segments, arg2 net.Addr, arg3 <-chan struct{}) *seghandler.ProcessedResult

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, arg3 interface{}) *gomock.Call

Handle indicates an expected call of Handle

type MockRequestAPI

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

MockRequestAPI is a mock of RequestAPI interface

func NewMockRequestAPI

func NewMockRequestAPI(ctrl *gomock.Controller) *MockRequestAPI

NewMockRequestAPI creates a new mock instance

func (*MockRequestAPI) EXPECT

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

func (*MockRequestAPI) GetSegs

func (m *MockRequestAPI) GetSegs(arg0 context.Context, arg1 *path_mgmt.SegReq, arg2 net.Addr, arg3 uint64) (*path_mgmt.SegReply, error)

GetSegs mocks base method

type MockRequestAPIMockRecorder

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

MockRequestAPIMockRecorder is the mock recorder for MockRequestAPI

func (*MockRequestAPIMockRecorder) GetSegs

func (mr *MockRequestAPIMockRecorder) GetSegs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetSegs indicates an expected call of GetSegs

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.RequestSet) <-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

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

type MockValidator

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

MockValidator is a mock of Validator interface

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance

func (*MockValidator) EXPECT

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

func (*MockValidator) Validate

func (m *MockValidator) Validate(arg0 context.Context, arg1 segfetcher.Request) error

Validate mocks base method

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator

func (*MockValidatorMockRecorder) Validate

func (mr *MockValidatorMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate

Jump to

Keyboard shortcuts

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