timeoutmock

package
v1.11.12-rc.13 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package timeoutmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager is a mock of Manager interface.

func NewManager

func NewManager(ctrl *gomock.Controller) *Manager

NewManager creates a new mock instance.

func (*Manager) Dispatch

func (m *Manager) Dispatch()

Dispatch mocks base method.

func (*Manager) EXPECT

func (m *Manager) EXPECT() *ManagerMockRecorder

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

func (*Manager) IsBenched

func (m *Manager) IsBenched(arg0 ids.NodeID, arg1 ids.ID) bool

IsBenched mocks base method.

func (*Manager) RegisterChain

func (m *Manager) RegisterChain(arg0 *snow.ConsensusContext) error

RegisterChain mocks base method.

func (*Manager) RegisterRequest

func (m *Manager) RegisterRequest(arg0 ids.NodeID, arg1 ids.ID, arg2 bool, arg3 ids.RequestID, arg4 func())

RegisterRequest mocks base method.

func (*Manager) RegisterRequestToUnreachableValidator

func (m *Manager) RegisterRequestToUnreachableValidator()

RegisterRequestToUnreachableValidator mocks base method.

func (*Manager) RegisterResponse

func (m *Manager) RegisterResponse(arg0 ids.NodeID, arg1 ids.ID, arg2 ids.RequestID, arg3 message.Op, arg4 time.Duration)

RegisterResponse mocks base method.

func (*Manager) RemoveRequest

func (m *Manager) RemoveRequest(arg0 ids.RequestID)

RemoveRequest mocks base method.

func (*Manager) Stop

func (m *Manager) Stop()

Stop mocks base method.

func (*Manager) TimeoutDuration

func (m *Manager) TimeoutDuration() time.Duration

TimeoutDuration mocks base method.

type ManagerMockRecorder

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

ManagerMockRecorder is the mock recorder for Manager.

func (*ManagerMockRecorder) Dispatch

func (mr *ManagerMockRecorder) Dispatch() *gomock.Call

Dispatch indicates an expected call of Dispatch.

func (*ManagerMockRecorder) IsBenched

func (mr *ManagerMockRecorder) IsBenched(arg0, arg1 any) *gomock.Call

IsBenched indicates an expected call of IsBenched.

func (*ManagerMockRecorder) RegisterChain

func (mr *ManagerMockRecorder) RegisterChain(arg0 any) *gomock.Call

RegisterChain indicates an expected call of RegisterChain.

func (*ManagerMockRecorder) RegisterRequest

func (mr *ManagerMockRecorder) RegisterRequest(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

RegisterRequest indicates an expected call of RegisterRequest.

func (*ManagerMockRecorder) RegisterRequestToUnreachableValidator

func (mr *ManagerMockRecorder) RegisterRequestToUnreachableValidator() *gomock.Call

RegisterRequestToUnreachableValidator indicates an expected call of RegisterRequestToUnreachableValidator.

func (*ManagerMockRecorder) RegisterResponse

func (mr *ManagerMockRecorder) RegisterResponse(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

RegisterResponse indicates an expected call of RegisterResponse.

func (*ManagerMockRecorder) RemoveRequest

func (mr *ManagerMockRecorder) RemoveRequest(arg0 any) *gomock.Call

RemoveRequest indicates an expected call of RemoveRequest.

func (*ManagerMockRecorder) Stop

func (mr *ManagerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*ManagerMockRecorder) TimeoutDuration

func (mr *ManagerMockRecorder) TimeoutDuration() *gomock.Call

TimeoutDuration indicates an expected call of TimeoutDuration.

Jump to

Keyboard shortcuts

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