routermock

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package routermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExternalRouter

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

MockExternalRouter is a mock of ExternalRouter interface.

func NewMockExternalRouter

func NewMockExternalRouter(ctrl *gomock.Controller) *MockExternalRouter

NewMockExternalRouter creates a new mock instance.

func (*MockExternalRouter) Benched

func (m *MockExternalRouter) Benched(chainID ids.ID, nodeID ids.NodeID)

Benched mocks base method.

func (*MockExternalRouter) Connected

func (m *MockExternalRouter) Connected(nodeID ids.NodeID)

Connected mocks base method.

func (*MockExternalRouter) Disconnected

func (m *MockExternalRouter) Disconnected(nodeID ids.NodeID)

Disconnected mocks base method.

func (*MockExternalRouter) EXPECT

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

func (*MockExternalRouter) RegisterRequest

func (m *MockExternalRouter) RegisterRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, op interface{})

RegisterRequest mocks base method.

func (*MockExternalRouter) RegisterTimeout

func (m *MockExternalRouter) RegisterTimeout(duration time.Duration)

RegisterTimeout mocks base method.

func (*MockExternalRouter) Unbenched

func (m *MockExternalRouter) Unbenched(chainID ids.ID, nodeID ids.NodeID)

Unbenched mocks base method.

type MockExternalRouterMockRecorder

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

MockExternalRouterMockRecorder is the mock recorder for MockExternalRouter.

func (*MockExternalRouterMockRecorder) Benched

func (mr *MockExternalRouterMockRecorder) Benched(chainID, nodeID interface{}) *gomock.Call

Benched indicates an expected call of Benched.

func (*MockExternalRouterMockRecorder) Connected

func (mr *MockExternalRouterMockRecorder) Connected(nodeID interface{}) *gomock.Call

Connected indicates an expected call of Connected.

func (*MockExternalRouterMockRecorder) Disconnected

func (mr *MockExternalRouterMockRecorder) Disconnected(nodeID interface{}) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*MockExternalRouterMockRecorder) RegisterRequest

func (mr *MockExternalRouterMockRecorder) RegisterRequest(ctx, nodeID, requestID, op interface{}) *gomock.Call

RegisterRequest indicates an expected call of RegisterRequest.

func (*MockExternalRouterMockRecorder) RegisterTimeout

func (mr *MockExternalRouterMockRecorder) RegisterTimeout(duration interface{}) *gomock.Call

RegisterTimeout indicates an expected call of RegisterTimeout.

func (*MockExternalRouterMockRecorder) Unbenched

func (mr *MockExternalRouterMockRecorder) Unbenched(chainID, nodeID interface{}) *gomock.Call

Unbenched indicates an expected call of Unbenched.

Jump to

Keyboard shortcuts

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