Documentation ¶
Overview ¶
Package timeoutmock is a generated GoMock package.
Index ¶
- type Manager
- func (m *Manager) Dispatch()
- func (m *Manager) EXPECT() *ManagerMockRecorder
- func (m *Manager) IsBenched(arg0 ids.NodeID, arg1 ids.ID) bool
- func (m *Manager) RegisterChain(arg0 *snow.ConsensusContext) error
- func (m *Manager) RegisterRequest(arg0 ids.NodeID, arg1 ids.ID, arg2 bool, arg3 ids.RequestID, arg4 func())
- func (m *Manager) RegisterRequestToUnreachableValidator()
- func (m *Manager) RegisterResponse(arg0 ids.NodeID, arg1 ids.ID, arg2 ids.RequestID, arg3 message.Op, ...)
- func (m *Manager) RemoveRequest(arg0 ids.RequestID)
- func (m *Manager) Stop()
- func (m *Manager) TimeoutDuration() time.Duration
- type ManagerMockRecorder
- func (mr *ManagerMockRecorder) Dispatch() *gomock.Call
- func (mr *ManagerMockRecorder) IsBenched(arg0, arg1 any) *gomock.Call
- func (mr *ManagerMockRecorder) RegisterChain(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) RegisterRequest(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *ManagerMockRecorder) RegisterRequestToUnreachableValidator() *gomock.Call
- func (mr *ManagerMockRecorder) RegisterResponse(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *ManagerMockRecorder) RemoveRequest(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) Stop() *gomock.Call
- func (mr *ManagerMockRecorder) TimeoutDuration() *gomock.Call
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) EXPECT ¶
func (m *Manager) EXPECT() *ManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
RemoveRequest mocks base method.
func (*Manager) TimeoutDuration ¶
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.