Documentation
¶
Index ¶
- type ClusterEvents
- type ClusterEvents_ActiveClustersChanged_Call
- func (_c *ClusterEvents_ActiveClustersChanged_Call) Return() *ClusterEvents_ActiveClustersChanged_Call
- func (_c *ClusterEvents_ActiveClustersChanged_Call) Run(run func(chainIDList flow.ChainIDList)) *ClusterEvents_ActiveClustersChanged_Call
- func (_c *ClusterEvents_ActiveClustersChanged_Call) RunAndReturn(run func(chainIDList flow.ChainIDList)) *ClusterEvents_ActiveClustersChanged_Call
- type ClusterEvents_Expecter
- type Compliance
- func (_mock *Compliance) Done() <-chan struct{}
- func (_m *Compliance) EXPECT() *Compliance_Expecter
- func (_mock *Compliance) OnClusterBlockProposal(proposal flow.Slashable[*cluster.Proposal])
- func (_mock *Compliance) OnSyncedClusterBlock(block flow.Slashable[*cluster.Proposal])
- func (_mock *Compliance) Ready() <-chan struct{}
- func (_mock *Compliance) Start(signalerContext irrecoverable.SignalerContext)
- type Compliance_Done_Call
- type Compliance_Expecter
- func (_e *Compliance_Expecter) Done() *Compliance_Done_Call
- func (_e *Compliance_Expecter) OnClusterBlockProposal(proposal interface{}) *Compliance_OnClusterBlockProposal_Call
- func (_e *Compliance_Expecter) OnSyncedClusterBlock(block interface{}) *Compliance_OnSyncedClusterBlock_Call
- func (_e *Compliance_Expecter) Ready() *Compliance_Ready_Call
- func (_e *Compliance_Expecter) Start(signalerContext interface{}) *Compliance_Start_Call
- type Compliance_OnClusterBlockProposal_Call
- func (_c *Compliance_OnClusterBlockProposal_Call) Return() *Compliance_OnClusterBlockProposal_Call
- func (_c *Compliance_OnClusterBlockProposal_Call) Run(run func(proposal flow.Slashable[*cluster.Proposal])) *Compliance_OnClusterBlockProposal_Call
- func (_c *Compliance_OnClusterBlockProposal_Call) RunAndReturn(run func(proposal flow.Slashable[*cluster.Proposal])) *Compliance_OnClusterBlockProposal_Call
- type Compliance_OnSyncedClusterBlock_Call
- func (_c *Compliance_OnSyncedClusterBlock_Call) Return() *Compliance_OnSyncedClusterBlock_Call
- func (_c *Compliance_OnSyncedClusterBlock_Call) Run(run func(block flow.Slashable[*cluster.Proposal])) *Compliance_OnSyncedClusterBlock_Call
- func (_c *Compliance_OnSyncedClusterBlock_Call) RunAndReturn(run func(block flow.Slashable[*cluster.Proposal])) *Compliance_OnSyncedClusterBlock_Call
- type Compliance_Ready_Call
- type Compliance_Start_Call
- func (_c *Compliance_Start_Call) Return() *Compliance_Start_Call
- func (_c *Compliance_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *Compliance_Start_Call
- func (_c *Compliance_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *Compliance_Start_Call
- type EngineEvents
- type EngineEvents_ActiveClustersChanged_Call
- func (_c *EngineEvents_ActiveClustersChanged_Call) Return() *EngineEvents_ActiveClustersChanged_Call
- func (_c *EngineEvents_ActiveClustersChanged_Call) Run(run func(chainIDList flow.ChainIDList)) *EngineEvents_ActiveClustersChanged_Call
- func (_c *EngineEvents_ActiveClustersChanged_Call) RunAndReturn(run func(chainIDList flow.ChainIDList)) *EngineEvents_ActiveClustersChanged_Call
- type EngineEvents_Expecter
- type GuaranteedCollectionPublisher
- type GuaranteedCollectionPublisher_Expecter
- type GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call
- func (_c *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) Return() *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call
- func (_c *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) Run(run func(guarantee *messages.CollectionGuarantee)) *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call
- func (_c *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) RunAndReturn(run func(guarantee *messages.CollectionGuarantee)) *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call
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 interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*ClusterEvents) ActiveClustersChanged ¶ added in v0.31.0
func (_mock *ClusterEvents) ActiveClustersChanged(chainIDList flow.ChainIDList)
ActiveClustersChanged provides a mock function for the type ClusterEvents
func (*ClusterEvents) EXPECT ¶ added in v0.46.0
func (_m *ClusterEvents) EXPECT() *ClusterEvents_Expecter
type ClusterEvents_ActiveClustersChanged_Call ¶ added in v0.46.0
ClusterEvents_ActiveClustersChanged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ActiveClustersChanged'
func (*ClusterEvents_ActiveClustersChanged_Call) Return ¶ added in v0.46.0
func (_c *ClusterEvents_ActiveClustersChanged_Call) Return() *ClusterEvents_ActiveClustersChanged_Call
func (*ClusterEvents_ActiveClustersChanged_Call) Run ¶ added in v0.46.0
func (_c *ClusterEvents_ActiveClustersChanged_Call) Run(run func(chainIDList flow.ChainIDList)) *ClusterEvents_ActiveClustersChanged_Call
func (*ClusterEvents_ActiveClustersChanged_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ClusterEvents_ActiveClustersChanged_Call) RunAndReturn(run func(chainIDList flow.ChainIDList)) *ClusterEvents_ActiveClustersChanged_Call
type ClusterEvents_Expecter ¶ added in v0.46.0
type ClusterEvents_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterEvents_Expecter) ActiveClustersChanged ¶ added in v0.46.0
func (_e *ClusterEvents_Expecter) ActiveClustersChanged(chainIDList interface{}) *ClusterEvents_ActiveClustersChanged_Call
ActiveClustersChanged is a helper method to define mock.On call
- chainIDList flow.ChainIDList
type Compliance ¶
Compliance is an autogenerated mock type for the Compliance type
func NewCompliance ¶
func NewCompliance(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*Compliance) Done ¶
func (_mock *Compliance) Done() <-chan struct{}
Done provides a mock function for the type Compliance
func (*Compliance) EXPECT ¶ added in v0.46.0
func (_m *Compliance) EXPECT() *Compliance_Expecter
func (*Compliance) OnClusterBlockProposal ¶
func (_mock *Compliance) OnClusterBlockProposal(proposal flow.Slashable[*cluster.Proposal])
OnClusterBlockProposal provides a mock function for the type Compliance
func (*Compliance) OnSyncedClusterBlock ¶
func (_mock *Compliance) OnSyncedClusterBlock(block flow.Slashable[*cluster.Proposal])
OnSyncedClusterBlock provides a mock function for the type Compliance
func (*Compliance) Ready ¶
func (_mock *Compliance) Ready() <-chan struct{}
Ready provides a mock function for the type Compliance
func (*Compliance) Start ¶
func (_mock *Compliance) Start(signalerContext irrecoverable.SignalerContext)
Start provides a mock function for the type Compliance
type Compliance_Done_Call ¶ added in v0.46.0
Compliance_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*Compliance_Done_Call) Return ¶ added in v0.46.0
func (_c *Compliance_Done_Call) Return(valCh <-chan struct{}) *Compliance_Done_Call
func (*Compliance_Done_Call) Run ¶ added in v0.46.0
func (_c *Compliance_Done_Call) Run(run func()) *Compliance_Done_Call
func (*Compliance_Done_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Compliance_Done_Call) RunAndReturn(run func() <-chan struct{}) *Compliance_Done_Call
type Compliance_Expecter ¶ added in v0.46.0
type Compliance_Expecter struct {
// contains filtered or unexported fields
}
func (*Compliance_Expecter) Done ¶ added in v0.46.0
func (_e *Compliance_Expecter) Done() *Compliance_Done_Call
Done is a helper method to define mock.On call
func (*Compliance_Expecter) OnClusterBlockProposal ¶ added in v0.46.0
func (_e *Compliance_Expecter) OnClusterBlockProposal(proposal interface{}) *Compliance_OnClusterBlockProposal_Call
OnClusterBlockProposal is a helper method to define mock.On call
- proposal flow.Slashable[*cluster.Proposal]
func (*Compliance_Expecter) OnSyncedClusterBlock ¶ added in v0.46.0
func (_e *Compliance_Expecter) OnSyncedClusterBlock(block interface{}) *Compliance_OnSyncedClusterBlock_Call
OnSyncedClusterBlock is a helper method to define mock.On call
- block flow.Slashable[*cluster.Proposal]
func (*Compliance_Expecter) Ready ¶ added in v0.46.0
func (_e *Compliance_Expecter) Ready() *Compliance_Ready_Call
Ready is a helper method to define mock.On call
func (*Compliance_Expecter) Start ¶ added in v0.46.0
func (_e *Compliance_Expecter) Start(signalerContext interface{}) *Compliance_Start_Call
Start is a helper method to define mock.On call
- signalerContext irrecoverable.SignalerContext
type Compliance_OnClusterBlockProposal_Call ¶ added in v0.46.0
Compliance_OnClusterBlockProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnClusterBlockProposal'
func (*Compliance_OnClusterBlockProposal_Call) Return ¶ added in v0.46.0
func (_c *Compliance_OnClusterBlockProposal_Call) Return() *Compliance_OnClusterBlockProposal_Call
func (*Compliance_OnClusterBlockProposal_Call) Run ¶ added in v0.46.0
func (_c *Compliance_OnClusterBlockProposal_Call) Run(run func(proposal flow.Slashable[*cluster.Proposal])) *Compliance_OnClusterBlockProposal_Call
func (*Compliance_OnClusterBlockProposal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Compliance_OnClusterBlockProposal_Call) RunAndReturn(run func(proposal flow.Slashable[*cluster.Proposal])) *Compliance_OnClusterBlockProposal_Call
type Compliance_OnSyncedClusterBlock_Call ¶ added in v0.46.0
Compliance_OnSyncedClusterBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSyncedClusterBlock'
func (*Compliance_OnSyncedClusterBlock_Call) Return ¶ added in v0.46.0
func (_c *Compliance_OnSyncedClusterBlock_Call) Return() *Compliance_OnSyncedClusterBlock_Call
func (*Compliance_OnSyncedClusterBlock_Call) Run ¶ added in v0.46.0
func (_c *Compliance_OnSyncedClusterBlock_Call) Run(run func(block flow.Slashable[*cluster.Proposal])) *Compliance_OnSyncedClusterBlock_Call
func (*Compliance_OnSyncedClusterBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Compliance_OnSyncedClusterBlock_Call) RunAndReturn(run func(block flow.Slashable[*cluster.Proposal])) *Compliance_OnSyncedClusterBlock_Call
type Compliance_Ready_Call ¶ added in v0.46.0
Compliance_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*Compliance_Ready_Call) Return ¶ added in v0.46.0
func (_c *Compliance_Ready_Call) Return(valCh <-chan struct{}) *Compliance_Ready_Call
func (*Compliance_Ready_Call) Run ¶ added in v0.46.0
func (_c *Compliance_Ready_Call) Run(run func()) *Compliance_Ready_Call
func (*Compliance_Ready_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Compliance_Ready_Call) RunAndReturn(run func() <-chan struct{}) *Compliance_Ready_Call
type Compliance_Start_Call ¶ added in v0.46.0
Compliance_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Compliance_Start_Call) Return ¶ added in v0.46.0
func (_c *Compliance_Start_Call) Return() *Compliance_Start_Call
func (*Compliance_Start_Call) Run ¶ added in v0.46.0
func (_c *Compliance_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *Compliance_Start_Call
func (*Compliance_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Compliance_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *Compliance_Start_Call
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 interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*EngineEvents) ActiveClustersChanged ¶ added in v0.31.0
func (_mock *EngineEvents) ActiveClustersChanged(chainIDList flow.ChainIDList)
ActiveClustersChanged provides a mock function for the type EngineEvents
func (*EngineEvents) EXPECT ¶ added in v0.46.0
func (_m *EngineEvents) EXPECT() *EngineEvents_Expecter
type EngineEvents_ActiveClustersChanged_Call ¶ added in v0.46.0
EngineEvents_ActiveClustersChanged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ActiveClustersChanged'
func (*EngineEvents_ActiveClustersChanged_Call) Return ¶ added in v0.46.0
func (_c *EngineEvents_ActiveClustersChanged_Call) Return() *EngineEvents_ActiveClustersChanged_Call
func (*EngineEvents_ActiveClustersChanged_Call) Run ¶ added in v0.46.0
func (_c *EngineEvents_ActiveClustersChanged_Call) Run(run func(chainIDList flow.ChainIDList)) *EngineEvents_ActiveClustersChanged_Call
func (*EngineEvents_ActiveClustersChanged_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EngineEvents_ActiveClustersChanged_Call) RunAndReturn(run func(chainIDList flow.ChainIDList)) *EngineEvents_ActiveClustersChanged_Call
type EngineEvents_Expecter ¶ added in v0.46.0
type EngineEvents_Expecter struct {
// contains filtered or unexported fields
}
func (*EngineEvents_Expecter) ActiveClustersChanged ¶ added in v0.46.0
func (_e *EngineEvents_Expecter) ActiveClustersChanged(chainIDList interface{}) *EngineEvents_ActiveClustersChanged_Call
ActiveClustersChanged is a helper method to define mock.On call
- chainIDList flow.ChainIDList
type GuaranteedCollectionPublisher ¶ added in v0.38.0
GuaranteedCollectionPublisher is an autogenerated mock type for the GuaranteedCollectionPublisher type
func NewGuaranteedCollectionPublisher ¶ added in v0.38.0
func NewGuaranteedCollectionPublisher(t interface {
mock.TestingT
Cleanup(func())
}) *GuaranteedCollectionPublisher
NewGuaranteedCollectionPublisher creates a new instance of GuaranteedCollectionPublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GuaranteedCollectionPublisher) EXPECT ¶ added in v0.46.0
func (_m *GuaranteedCollectionPublisher) EXPECT() *GuaranteedCollectionPublisher_Expecter
func (*GuaranteedCollectionPublisher) SubmitCollectionGuarantee ¶ added in v0.38.0
func (_mock *GuaranteedCollectionPublisher) SubmitCollectionGuarantee(guarantee *messages.CollectionGuarantee)
SubmitCollectionGuarantee provides a mock function for the type GuaranteedCollectionPublisher
type GuaranteedCollectionPublisher_Expecter ¶ added in v0.46.0
type GuaranteedCollectionPublisher_Expecter struct {
// contains filtered or unexported fields
}
func (*GuaranteedCollectionPublisher_Expecter) SubmitCollectionGuarantee ¶ added in v0.46.0
func (_e *GuaranteedCollectionPublisher_Expecter) SubmitCollectionGuarantee(guarantee interface{}) *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call
SubmitCollectionGuarantee is a helper method to define mock.On call
- guarantee *messages.CollectionGuarantee
type GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call ¶ added in v0.46.0
GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitCollectionGuarantee'
func (*GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) Run ¶ added in v0.46.0
func (_c *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) Run(run func(guarantee *messages.CollectionGuarantee)) *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call
func (*GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call) RunAndReturn(run func(guarantee *messages.CollectionGuarantee)) *GuaranteedCollectionPublisher_SubmitCollectionGuarantee_Call