Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockcertifier ¶
type Mockcertifier struct {
// contains filtered or unexported fields
}
Mockcertifier is a mock of certifier interface.
func NewMockcertifier ¶
func NewMockcertifier(ctrl *gomock.Controller) *Mockcertifier
NewMockcertifier creates a new mock instance.
func (*Mockcertifier) CertifyIfEligible ¶
func (m *Mockcertifier) CertifyIfEligible(arg0 context.Context, arg1 log.Log, arg2 types.LayerID, arg3 types.BlockID) error
CertifyIfEligible mocks base method.
func (*Mockcertifier) EXPECT ¶
func (m *Mockcertifier) EXPECT() *MockcertifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockcertifier) RegisterForCert ¶
func (m *Mockcertifier) RegisterForCert(arg0 context.Context, arg1 types.LayerID, arg2 types.BlockID) error
RegisterForCert mocks base method.
type MockcertifierMockRecorder ¶
type MockcertifierMockRecorder struct {
// contains filtered or unexported fields
}
MockcertifierMockRecorder is the mock recorder for Mockcertifier.
func (*MockcertifierMockRecorder) CertifyIfEligible ¶
func (mr *MockcertifierMockRecorder) CertifyIfEligible(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CertifyIfEligible indicates an expected call of CertifyIfEligible.
func (*MockcertifierMockRecorder) RegisterForCert ¶
func (mr *MockcertifierMockRecorder) RegisterForCert(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterForCert indicates an expected call of RegisterForCert.
type Mockexecutor ¶
type Mockexecutor struct {
// contains filtered or unexported fields
}
Mockexecutor is a mock of executor interface.
func NewMockexecutor ¶
func NewMockexecutor(ctrl *gomock.Controller) *Mockexecutor
NewMockexecutor creates a new mock instance.
func (*Mockexecutor) EXPECT ¶
func (m *Mockexecutor) EXPECT() *MockexecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockexecutor) ExecuteOptimistic ¶
func (m *Mockexecutor) ExecuteOptimistic(arg0 context.Context, arg1 types.LayerID, arg2 uint64, arg3 []types.AnyReward, arg4 []types.TransactionID) (*types.Block, error)
ExecuteOptimistic mocks base method.
type MockexecutorMockRecorder ¶
type MockexecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockexecutorMockRecorder is the mock recorder for Mockexecutor.
func (*MockexecutorMockRecorder) ExecuteOptimistic ¶
func (mr *MockexecutorMockRecorder) ExecuteOptimistic(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ExecuteOptimistic indicates an expected call of ExecuteOptimistic.
type MocklayerClock ¶
type MocklayerClock struct {
// contains filtered or unexported fields
}
MocklayerClock is a mock of layerClock interface.
func NewMocklayerClock ¶
func NewMocklayerClock(ctrl *gomock.Controller) *MocklayerClock
NewMocklayerClock creates a new mock instance.
func (*MocklayerClock) AwaitLayer ¶
func (m *MocklayerClock) AwaitLayer(layerID types.LayerID) <-chan struct{}
AwaitLayer mocks base method.
func (*MocklayerClock) CurrentLayer ¶
func (m *MocklayerClock) CurrentLayer() types.LayerID
CurrentLayer mocks base method.
func (*MocklayerClock) EXPECT ¶
func (m *MocklayerClock) EXPECT() *MocklayerClockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MocklayerClockMockRecorder ¶
type MocklayerClockMockRecorder struct {
// contains filtered or unexported fields
}
MocklayerClockMockRecorder is the mock recorder for MocklayerClock.
func (*MocklayerClockMockRecorder) AwaitLayer ¶
func (mr *MocklayerClockMockRecorder) AwaitLayer(layerID interface{}) *gomock.Call
AwaitLayer indicates an expected call of AwaitLayer.
func (*MocklayerClockMockRecorder) CurrentLayer ¶
func (mr *MocklayerClockMockRecorder) CurrentLayer() *gomock.Call
CurrentLayer indicates an expected call of CurrentLayer.
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.
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.
type MockmeshProvider ¶
type MockmeshProvider struct {
// contains filtered or unexported fields
}
MockmeshProvider is a mock of meshProvider interface.
func NewMockmeshProvider ¶
func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider
NewMockmeshProvider creates a new mock instance.
func (*MockmeshProvider) AddBlockWithTXs ¶
AddBlockWithTXs mocks base method.
func (*MockmeshProvider) EXPECT ¶
func (m *MockmeshProvider) EXPECT() *MockmeshProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockmeshProviderMockRecorder ¶
type MockmeshProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.
func (*MockmeshProviderMockRecorder) AddBlockWithTXs ¶
func (mr *MockmeshProviderMockRecorder) AddBlockWithTXs(arg0, arg1 interface{}) *gomock.Call
AddBlockWithTXs indicates an expected call of AddBlockWithTXs.
func (*MockmeshProviderMockRecorder) ProcessLayerPerHareOutput ¶
func (mr *MockmeshProviderMockRecorder) ProcessLayerPerHareOutput(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ProcessLayerPerHareOutput indicates an expected call of ProcessLayerPerHareOutput.