proposermock

package
v1.11.11 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package proposermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Windower

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

Windower is a mock of Windower interface.

func NewWindower

func NewWindower(ctrl *gomock.Controller) *Windower

NewWindower creates a new mock instance.

func (*Windower) Delay

func (m *Windower) Delay(arg0 context.Context, arg1, arg2 uint64, arg3 ids.NodeID, arg4 int) (time.Duration, error)

Delay mocks base method.

func (*Windower) EXPECT

func (m *Windower) EXPECT() *WindowerMockRecorder

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

func (*Windower) ExpectedProposer

func (m *Windower) ExpectedProposer(arg0 context.Context, arg1, arg2, arg3 uint64) (ids.NodeID, error)

ExpectedProposer mocks base method.

func (*Windower) MinDelayForProposer

func (m *Windower) MinDelayForProposer(arg0 context.Context, arg1, arg2 uint64, arg3 ids.NodeID, arg4 uint64) (time.Duration, error)

MinDelayForProposer mocks base method.

func (*Windower) Proposers

func (m *Windower) Proposers(arg0 context.Context, arg1, arg2 uint64, arg3 int) ([]ids.NodeID, error)

Proposers mocks base method.

type WindowerMockRecorder

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

WindowerMockRecorder is the mock recorder for Windower.

func (*WindowerMockRecorder) Delay

func (mr *WindowerMockRecorder) Delay(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

Delay indicates an expected call of Delay.

func (*WindowerMockRecorder) ExpectedProposer

func (mr *WindowerMockRecorder) ExpectedProposer(arg0, arg1, arg2, arg3 any) *gomock.Call

ExpectedProposer indicates an expected call of ExpectedProposer.

func (*WindowerMockRecorder) MinDelayForProposer

func (mr *WindowerMockRecorder) MinDelayForProposer(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

MinDelayForProposer indicates an expected call of MinDelayForProposer.

func (*WindowerMockRecorder) Proposers

func (mr *WindowerMockRecorder) Proposers(arg0, arg1, arg2, arg3 any) *gomock.Call

Proposers indicates an expected call of Proposers.

Jump to

Keyboard shortcuts

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