Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRolacle
- func (m *MockRolacle) CalcEligibility(arg0 context.Context, arg1 types.LayerID, arg2 uint32, arg3 int, ...) (uint16, error)
- func (m *MockRolacle) EXPECT() *MockRolacleMockRecorder
- func (m *MockRolacle) IsIdentityActiveOnConsensusView(arg0 context.Context, arg1 types.NodeID, arg2 types.LayerID) (bool, error)
- func (m *MockRolacle) Proof(arg0 context.Context, arg1 types.LayerID, arg2 uint32) ([]byte, error)
- func (m *MockRolacle) Validate(arg0 context.Context, arg1 types.LayerID, arg2 uint32, arg3 int, ...) (bool, error)
- type MockRolacleMockRecorder
- func (mr *MockRolacleMockRecorder) CalcEligibility(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockRolacleMockRecorder) IsIdentityActiveOnConsensusView(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRolacleMockRecorder) Proof(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRolacleMockRecorder) Validate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- type MocklayerPatrol
- type MocklayerPatrolMockRecorder
- type MockstateQuerier
- type MockstateQuerierMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRolacle ¶
type MockRolacle struct {
// contains filtered or unexported fields
}
MockRolacle is a mock of Rolacle interface.
func NewMockRolacle ¶
func NewMockRolacle(ctrl *gomock.Controller) *MockRolacle
NewMockRolacle creates a new mock instance.
func (*MockRolacle) CalcEligibility ¶
func (m *MockRolacle) CalcEligibility(arg0 context.Context, arg1 types.LayerID, arg2 uint32, arg3 int, arg4 types.NodeID, arg5 []byte) (uint16, error)
CalcEligibility mocks base method.
func (*MockRolacle) EXPECT ¶
func (m *MockRolacle) EXPECT() *MockRolacleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRolacle) IsIdentityActiveOnConsensusView ¶
func (m *MockRolacle) IsIdentityActiveOnConsensusView(arg0 context.Context, arg1 types.NodeID, arg2 types.LayerID) (bool, error)
IsIdentityActiveOnConsensusView mocks base method.
type MockRolacleMockRecorder ¶
type MockRolacleMockRecorder struct {
// contains filtered or unexported fields
}
MockRolacleMockRecorder is the mock recorder for MockRolacle.
func (*MockRolacleMockRecorder) CalcEligibility ¶
func (mr *MockRolacleMockRecorder) CalcEligibility(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CalcEligibility indicates an expected call of CalcEligibility.
func (*MockRolacleMockRecorder) IsIdentityActiveOnConsensusView ¶
func (mr *MockRolacleMockRecorder) IsIdentityActiveOnConsensusView(arg0, arg1, arg2 interface{}) *gomock.Call
IsIdentityActiveOnConsensusView indicates an expected call of IsIdentityActiveOnConsensusView.
func (*MockRolacleMockRecorder) Proof ¶
func (mr *MockRolacleMockRecorder) Proof(arg0, arg1, arg2 interface{}) *gomock.Call
Proof indicates an expected call of Proof.
func (*MockRolacleMockRecorder) Validate ¶
func (mr *MockRolacleMockRecorder) Validate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
Validate indicates an expected call of Validate.
type MocklayerPatrol ¶
type MocklayerPatrol struct {
// contains filtered or unexported fields
}
MocklayerPatrol is a mock of layerPatrol interface.
func NewMocklayerPatrol ¶
func NewMocklayerPatrol(ctrl *gomock.Controller) *MocklayerPatrol
NewMocklayerPatrol creates a new mock instance.
func (*MocklayerPatrol) CompleteHare ¶
func (m *MocklayerPatrol) CompleteHare(arg0 types.LayerID)
CompleteHare mocks base method.
func (*MocklayerPatrol) EXPECT ¶
func (m *MocklayerPatrol) EXPECT() *MocklayerPatrolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocklayerPatrol) SetHareInCharge ¶
func (m *MocklayerPatrol) SetHareInCharge(arg0 types.LayerID)
SetHareInCharge mocks base method.
type MocklayerPatrolMockRecorder ¶
type MocklayerPatrolMockRecorder struct {
// contains filtered or unexported fields
}
MocklayerPatrolMockRecorder is the mock recorder for MocklayerPatrol.
func (*MocklayerPatrolMockRecorder) CompleteHare ¶
func (mr *MocklayerPatrolMockRecorder) CompleteHare(arg0 interface{}) *gomock.Call
CompleteHare indicates an expected call of CompleteHare.
func (*MocklayerPatrolMockRecorder) SetHareInCharge ¶
func (mr *MocklayerPatrolMockRecorder) SetHareInCharge(arg0 interface{}) *gomock.Call
SetHareInCharge indicates an expected call of SetHareInCharge.
type MockstateQuerier ¶
type MockstateQuerier struct {
// contains filtered or unexported fields
}
MockstateQuerier is a mock of stateQuerier interface.
func NewMockstateQuerier ¶
func NewMockstateQuerier(ctrl *gomock.Controller) *MockstateQuerier
NewMockstateQuerier creates a new mock instance.
func (*MockstateQuerier) EXPECT ¶
func (m *MockstateQuerier) EXPECT() *MockstateQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockstateQuerierMockRecorder ¶
type MockstateQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockstateQuerierMockRecorder is the mock recorder for MockstateQuerier.
func (*MockstateQuerierMockRecorder) IsIdentityActiveOnConsensusView ¶
func (mr *MockstateQuerierMockRecorder) IsIdentityActiveOnConsensusView(arg0, arg1, arg2 interface{}) *gomock.Call
IsIdentityActiveOnConsensusView indicates an expected call of IsIdentityActiveOnConsensusView.