Documentation ¶
Overview ¶
Package proposermock is a generated GoMock package.
Index ¶
- type Windower
- func (m *Windower) Delay(arg0 context.Context, arg1, arg2 uint64, arg3 ids.NodeID, arg4 int) (time.Duration, error)
- func (m *Windower) EXPECT() *WindowerMockRecorder
- func (m *Windower) ExpectedProposer(arg0 context.Context, arg1, arg2, arg3 uint64) (ids.NodeID, error)
- func (m *Windower) MinDelayForProposer(arg0 context.Context, arg1, arg2 uint64, arg3 ids.NodeID, arg4 uint64) (time.Duration, error)
- func (m *Windower) Proposers(arg0 context.Context, arg1, arg2 uint64, arg3 int) ([]ids.NodeID, error)
- type WindowerMockRecorder
- func (mr *WindowerMockRecorder) Delay(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *WindowerMockRecorder) ExpectedProposer(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *WindowerMockRecorder) MinDelayForProposer(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *WindowerMockRecorder) Proposers(arg0, arg1, arg2, arg3 any) *gomock.Call
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.
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.
Click to show internal directories.
Click to hide internal directories.