Documentation ¶
Index ¶
- type ClusterEvents
- type Compliance
- func (_m *Compliance) Done() <-chan struct{}
- func (_m *Compliance) OnClusterBlockProposal(proposal flow.Slashable[*messages.ClusterBlockProposal])
- func (_m *Compliance) OnSyncedClusterBlock(block flow.Slashable[*messages.ClusterBlockProposal])
- func (_m *Compliance) Ready() <-chan struct{}
- func (_m *Compliance) Start(_a0 irrecoverable.SignalerContext)
- type EngineEvents
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterEvents ¶ added in v0.31.0
ClusterEvents is an autogenerated mock type for the ClusterEvents type
func NewClusterEvents ¶ added in v0.31.0
func NewClusterEvents(t mockConstructorTestingTNewClusterEvents) *ClusterEvents
NewClusterEvents creates a new instance of ClusterEvents. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClusterEvents) ActiveClustersChanged ¶ added in v0.31.0
func (_m *ClusterEvents) ActiveClustersChanged(_a0 flow.ChainIDList)
ActiveClustersChanged provides a mock function with given fields: _a0
type Compliance ¶
Compliance is an autogenerated mock type for the Compliance type
func NewCompliance ¶
func NewCompliance(t mockConstructorTestingTNewCompliance) *Compliance
NewCompliance creates a new instance of Compliance. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Compliance) Done ¶
func (_m *Compliance) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*Compliance) OnClusterBlockProposal ¶
func (_m *Compliance) OnClusterBlockProposal(proposal flow.Slashable[*messages.ClusterBlockProposal])
OnClusterBlockProposal provides a mock function with given fields: proposal
func (*Compliance) OnSyncedClusterBlock ¶
func (_m *Compliance) OnSyncedClusterBlock(block flow.Slashable[*messages.ClusterBlockProposal])
OnSyncedClusterBlock provides a mock function with given fields: block
func (*Compliance) Ready ¶
func (_m *Compliance) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*Compliance) Start ¶
func (_m *Compliance) Start(_a0 irrecoverable.SignalerContext)
Start provides a mock function with given fields: _a0
type EngineEvents ¶ added in v0.31.0
EngineEvents is an autogenerated mock type for the EngineEvents type
func NewEngineEvents ¶ added in v0.31.0
func NewEngineEvents(t mockConstructorTestingTNewEngineEvents) *EngineEvents
NewEngineEvents creates a new instance of EngineEvents. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EngineEvents) ActiveClustersChanged ¶ added in v0.31.0
func (_m *EngineEvents) ActiveClustersChanged(_a0 flow.ChainIDList)
ActiveClustersChanged provides a mock function with given fields: _a0