Documentation
¶
Index ¶
- type AssignmentCollector
- func (_mock *AssignmentCollector) Block() *flow.Header
- func (_mock *AssignmentCollector) BlockID() flow.Identifier
- func (_mock *AssignmentCollector) ChangeProcessingStatus(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus) error
- func (_mock *AssignmentCollector) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
- func (_m *AssignmentCollector) EXPECT() *AssignmentCollector_Expecter
- func (_mock *AssignmentCollector) ProcessApproval(approval *flow.ResultApproval) error
- func (_mock *AssignmentCollector) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
- func (_mock *AssignmentCollector) ProcessingStatus() approvals.ProcessingStatus
- func (_mock *AssignmentCollector) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
- func (_mock *AssignmentCollector) Result() *flow.ExecutionResult
- func (_mock *AssignmentCollector) ResultID() flow.Identifier
- type AssignmentCollectorState
- func (_mock *AssignmentCollectorState) Block() *flow.Header
- func (_mock *AssignmentCollectorState) BlockID() flow.Identifier
- func (_mock *AssignmentCollectorState) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
- func (_m *AssignmentCollectorState) EXPECT() *AssignmentCollectorState_Expecter
- func (_mock *AssignmentCollectorState) ProcessApproval(approval *flow.ResultApproval) error
- func (_mock *AssignmentCollectorState) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
- func (_mock *AssignmentCollectorState) ProcessingStatus() approvals.ProcessingStatus
- func (_mock *AssignmentCollectorState) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
- func (_mock *AssignmentCollectorState) Result() *flow.ExecutionResult
- func (_mock *AssignmentCollectorState) ResultID() flow.Identifier
- type AssignmentCollectorState_BlockID_Call
- func (_c *AssignmentCollectorState_BlockID_Call) Return(identifier flow.Identifier) *AssignmentCollectorState_BlockID_Call
- func (_c *AssignmentCollectorState_BlockID_Call) Run(run func()) *AssignmentCollectorState_BlockID_Call
- func (_c *AssignmentCollectorState_BlockID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollectorState_BlockID_Call
- type AssignmentCollectorState_Block_Call
- func (_c *AssignmentCollectorState_Block_Call) Return(header *flow.Header) *AssignmentCollectorState_Block_Call
- func (_c *AssignmentCollectorState_Block_Call) Run(run func()) *AssignmentCollectorState_Block_Call
- func (_c *AssignmentCollectorState_Block_Call) RunAndReturn(run func() *flow.Header) *AssignmentCollectorState_Block_Call
- type AssignmentCollectorState_CheckEmergencySealing_Call
- func (_c *AssignmentCollectorState_CheckEmergencySealing_Call) Return(err error) *AssignmentCollectorState_CheckEmergencySealing_Call
- func (_c *AssignmentCollectorState_CheckEmergencySealing_Call) Run(run func(observer consensus.SealingObservation, finalizedBlockHeight uint64)) *AssignmentCollectorState_CheckEmergencySealing_Call
- func (_c *AssignmentCollectorState_CheckEmergencySealing_Call) RunAndReturn(...) *AssignmentCollectorState_CheckEmergencySealing_Call
- type AssignmentCollectorState_Expecter
- func (_e *AssignmentCollectorState_Expecter) Block() *AssignmentCollectorState_Block_Call
- func (_e *AssignmentCollectorState_Expecter) BlockID() *AssignmentCollectorState_BlockID_Call
- func (_e *AssignmentCollectorState_Expecter) CheckEmergencySealing(observer interface{}, finalizedBlockHeight interface{}) *AssignmentCollectorState_CheckEmergencySealing_Call
- func (_e *AssignmentCollectorState_Expecter) ProcessApproval(approval interface{}) *AssignmentCollectorState_ProcessApproval_Call
- func (_e *AssignmentCollectorState_Expecter) ProcessIncorporatedResult(incorporatedResult interface{}) *AssignmentCollectorState_ProcessIncorporatedResult_Call
- func (_e *AssignmentCollectorState_Expecter) ProcessingStatus() *AssignmentCollectorState_ProcessingStatus_Call
- func (_e *AssignmentCollectorState_Expecter) RequestMissingApprovals(observer interface{}, maxHeightForRequesting interface{}) *AssignmentCollectorState_RequestMissingApprovals_Call
- func (_e *AssignmentCollectorState_Expecter) Result() *AssignmentCollectorState_Result_Call
- func (_e *AssignmentCollectorState_Expecter) ResultID() *AssignmentCollectorState_ResultID_Call
- type AssignmentCollectorState_ProcessApproval_Call
- func (_c *AssignmentCollectorState_ProcessApproval_Call) Return(err error) *AssignmentCollectorState_ProcessApproval_Call
- func (_c *AssignmentCollectorState_ProcessApproval_Call) Run(run func(approval *flow.ResultApproval)) *AssignmentCollectorState_ProcessApproval_Call
- func (_c *AssignmentCollectorState_ProcessApproval_Call) RunAndReturn(run func(approval *flow.ResultApproval) error) *AssignmentCollectorState_ProcessApproval_Call
- type AssignmentCollectorState_ProcessIncorporatedResult_Call
- func (_c *AssignmentCollectorState_ProcessIncorporatedResult_Call) Return(err error) *AssignmentCollectorState_ProcessIncorporatedResult_Call
- func (_c *AssignmentCollectorState_ProcessIncorporatedResult_Call) Run(run func(incorporatedResult *flow.IncorporatedResult)) *AssignmentCollectorState_ProcessIncorporatedResult_Call
- func (_c *AssignmentCollectorState_ProcessIncorporatedResult_Call) RunAndReturn(run func(incorporatedResult *flow.IncorporatedResult) error) *AssignmentCollectorState_ProcessIncorporatedResult_Call
- type AssignmentCollectorState_ProcessingStatus_Call
- func (_c *AssignmentCollectorState_ProcessingStatus_Call) Return(processingStatus approvals.ProcessingStatus) *AssignmentCollectorState_ProcessingStatus_Call
- func (_c *AssignmentCollectorState_ProcessingStatus_Call) Run(run func()) *AssignmentCollectorState_ProcessingStatus_Call
- func (_c *AssignmentCollectorState_ProcessingStatus_Call) RunAndReturn(run func() approvals.ProcessingStatus) *AssignmentCollectorState_ProcessingStatus_Call
- type AssignmentCollectorState_RequestMissingApprovals_Call
- func (_c *AssignmentCollectorState_RequestMissingApprovals_Call) Return(v uint, err error) *AssignmentCollectorState_RequestMissingApprovals_Call
- func (_c *AssignmentCollectorState_RequestMissingApprovals_Call) Run(run func(observer consensus.SealingObservation, maxHeightForRequesting uint64)) *AssignmentCollectorState_RequestMissingApprovals_Call
- func (_c *AssignmentCollectorState_RequestMissingApprovals_Call) RunAndReturn(...) *AssignmentCollectorState_RequestMissingApprovals_Call
- type AssignmentCollectorState_ResultID_Call
- func (_c *AssignmentCollectorState_ResultID_Call) Return(identifier flow.Identifier) *AssignmentCollectorState_ResultID_Call
- func (_c *AssignmentCollectorState_ResultID_Call) Run(run func()) *AssignmentCollectorState_ResultID_Call
- func (_c *AssignmentCollectorState_ResultID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollectorState_ResultID_Call
- type AssignmentCollectorState_Result_Call
- func (_c *AssignmentCollectorState_Result_Call) Return(executionResult *flow.ExecutionResult) *AssignmentCollectorState_Result_Call
- func (_c *AssignmentCollectorState_Result_Call) Run(run func()) *AssignmentCollectorState_Result_Call
- func (_c *AssignmentCollectorState_Result_Call) RunAndReturn(run func() *flow.ExecutionResult) *AssignmentCollectorState_Result_Call
- type AssignmentCollector_BlockID_Call
- func (_c *AssignmentCollector_BlockID_Call) Return(identifier flow.Identifier) *AssignmentCollector_BlockID_Call
- func (_c *AssignmentCollector_BlockID_Call) Run(run func()) *AssignmentCollector_BlockID_Call
- func (_c *AssignmentCollector_BlockID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollector_BlockID_Call
- type AssignmentCollector_Block_Call
- func (_c *AssignmentCollector_Block_Call) Return(header *flow.Header) *AssignmentCollector_Block_Call
- func (_c *AssignmentCollector_Block_Call) Run(run func()) *AssignmentCollector_Block_Call
- func (_c *AssignmentCollector_Block_Call) RunAndReturn(run func() *flow.Header) *AssignmentCollector_Block_Call
- type AssignmentCollector_ChangeProcessingStatus_Call
- func (_c *AssignmentCollector_ChangeProcessingStatus_Call) Return(err error) *AssignmentCollector_ChangeProcessingStatus_Call
- func (_c *AssignmentCollector_ChangeProcessingStatus_Call) Run(...) *AssignmentCollector_ChangeProcessingStatus_Call
- func (_c *AssignmentCollector_ChangeProcessingStatus_Call) RunAndReturn(...) *AssignmentCollector_ChangeProcessingStatus_Call
- type AssignmentCollector_CheckEmergencySealing_Call
- func (_c *AssignmentCollector_CheckEmergencySealing_Call) Return(err error) *AssignmentCollector_CheckEmergencySealing_Call
- func (_c *AssignmentCollector_CheckEmergencySealing_Call) Run(run func(observer consensus.SealingObservation, finalizedBlockHeight uint64)) *AssignmentCollector_CheckEmergencySealing_Call
- func (_c *AssignmentCollector_CheckEmergencySealing_Call) RunAndReturn(...) *AssignmentCollector_CheckEmergencySealing_Call
- type AssignmentCollector_Expecter
- func (_e *AssignmentCollector_Expecter) Block() *AssignmentCollector_Block_Call
- func (_e *AssignmentCollector_Expecter) BlockID() *AssignmentCollector_BlockID_Call
- func (_e *AssignmentCollector_Expecter) ChangeProcessingStatus(expectedValue interface{}, newValue interface{}) *AssignmentCollector_ChangeProcessingStatus_Call
- func (_e *AssignmentCollector_Expecter) CheckEmergencySealing(observer interface{}, finalizedBlockHeight interface{}) *AssignmentCollector_CheckEmergencySealing_Call
- func (_e *AssignmentCollector_Expecter) ProcessApproval(approval interface{}) *AssignmentCollector_ProcessApproval_Call
- func (_e *AssignmentCollector_Expecter) ProcessIncorporatedResult(incorporatedResult interface{}) *AssignmentCollector_ProcessIncorporatedResult_Call
- func (_e *AssignmentCollector_Expecter) ProcessingStatus() *AssignmentCollector_ProcessingStatus_Call
- func (_e *AssignmentCollector_Expecter) RequestMissingApprovals(observer interface{}, maxHeightForRequesting interface{}) *AssignmentCollector_RequestMissingApprovals_Call
- func (_e *AssignmentCollector_Expecter) Result() *AssignmentCollector_Result_Call
- func (_e *AssignmentCollector_Expecter) ResultID() *AssignmentCollector_ResultID_Call
- type AssignmentCollector_ProcessApproval_Call
- func (_c *AssignmentCollector_ProcessApproval_Call) Return(err error) *AssignmentCollector_ProcessApproval_Call
- func (_c *AssignmentCollector_ProcessApproval_Call) Run(run func(approval *flow.ResultApproval)) *AssignmentCollector_ProcessApproval_Call
- func (_c *AssignmentCollector_ProcessApproval_Call) RunAndReturn(run func(approval *flow.ResultApproval) error) *AssignmentCollector_ProcessApproval_Call
- type AssignmentCollector_ProcessIncorporatedResult_Call
- func (_c *AssignmentCollector_ProcessIncorporatedResult_Call) Return(err error) *AssignmentCollector_ProcessIncorporatedResult_Call
- func (_c *AssignmentCollector_ProcessIncorporatedResult_Call) Run(run func(incorporatedResult *flow.IncorporatedResult)) *AssignmentCollector_ProcessIncorporatedResult_Call
- func (_c *AssignmentCollector_ProcessIncorporatedResult_Call) RunAndReturn(run func(incorporatedResult *flow.IncorporatedResult) error) *AssignmentCollector_ProcessIncorporatedResult_Call
- type AssignmentCollector_ProcessingStatus_Call
- func (_c *AssignmentCollector_ProcessingStatus_Call) Return(processingStatus approvals.ProcessingStatus) *AssignmentCollector_ProcessingStatus_Call
- func (_c *AssignmentCollector_ProcessingStatus_Call) Run(run func()) *AssignmentCollector_ProcessingStatus_Call
- func (_c *AssignmentCollector_ProcessingStatus_Call) RunAndReturn(run func() approvals.ProcessingStatus) *AssignmentCollector_ProcessingStatus_Call
- type AssignmentCollector_RequestMissingApprovals_Call
- func (_c *AssignmentCollector_RequestMissingApprovals_Call) Return(v uint, err error) *AssignmentCollector_RequestMissingApprovals_Call
- func (_c *AssignmentCollector_RequestMissingApprovals_Call) Run(run func(observer consensus.SealingObservation, maxHeightForRequesting uint64)) *AssignmentCollector_RequestMissingApprovals_Call
- func (_c *AssignmentCollector_RequestMissingApprovals_Call) RunAndReturn(...) *AssignmentCollector_RequestMissingApprovals_Call
- type AssignmentCollector_ResultID_Call
- func (_c *AssignmentCollector_ResultID_Call) Return(identifier flow.Identifier) *AssignmentCollector_ResultID_Call
- func (_c *AssignmentCollector_ResultID_Call) Run(run func()) *AssignmentCollector_ResultID_Call
- func (_c *AssignmentCollector_ResultID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollector_ResultID_Call
- type AssignmentCollector_Result_Call
- func (_c *AssignmentCollector_Result_Call) Return(executionResult *flow.ExecutionResult) *AssignmentCollector_Result_Call
- func (_c *AssignmentCollector_Result_Call) Run(run func()) *AssignmentCollector_Result_Call
- func (_c *AssignmentCollector_Result_Call) RunAndReturn(run func() *flow.ExecutionResult) *AssignmentCollector_Result_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentCollector ¶
AssignmentCollector is an autogenerated mock type for the AssignmentCollector type
func NewAssignmentCollector ¶ added in v0.26.1
func NewAssignmentCollector(t interface {
mock.TestingT
Cleanup(func())
}) *AssignmentCollector
NewAssignmentCollector creates a new instance of AssignmentCollector. 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 (*AssignmentCollector) Block ¶
func (_mock *AssignmentCollector) Block() *flow.Header
Block provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) BlockID ¶
func (_mock *AssignmentCollector) BlockID() flow.Identifier
BlockID provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) ChangeProcessingStatus ¶
func (_mock *AssignmentCollector) ChangeProcessingStatus(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus) error
ChangeProcessingStatus provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) CheckEmergencySealing ¶
func (_mock *AssignmentCollector) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
CheckEmergencySealing provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) EXPECT ¶ added in v0.46.0
func (_m *AssignmentCollector) EXPECT() *AssignmentCollector_Expecter
func (*AssignmentCollector) ProcessApproval ¶
func (_mock *AssignmentCollector) ProcessApproval(approval *flow.ResultApproval) error
ProcessApproval provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) ProcessIncorporatedResult ¶
func (_mock *AssignmentCollector) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
ProcessIncorporatedResult provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) ProcessingStatus ¶
func (_mock *AssignmentCollector) ProcessingStatus() approvals.ProcessingStatus
ProcessingStatus provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) RequestMissingApprovals ¶
func (_mock *AssignmentCollector) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
RequestMissingApprovals provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) Result ¶
func (_mock *AssignmentCollector) Result() *flow.ExecutionResult
Result provides a mock function for the type AssignmentCollector
func (*AssignmentCollector) ResultID ¶
func (_mock *AssignmentCollector) ResultID() flow.Identifier
ResultID provides a mock function for the type AssignmentCollector
type AssignmentCollectorState ¶
AssignmentCollectorState is an autogenerated mock type for the AssignmentCollectorState type
func NewAssignmentCollectorState ¶ added in v0.26.1
func NewAssignmentCollectorState(t interface {
mock.TestingT
Cleanup(func())
}) *AssignmentCollectorState
NewAssignmentCollectorState creates a new instance of AssignmentCollectorState. 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 (*AssignmentCollectorState) Block ¶
func (_mock *AssignmentCollectorState) Block() *flow.Header
Block provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) BlockID ¶
func (_mock *AssignmentCollectorState) BlockID() flow.Identifier
BlockID provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) CheckEmergencySealing ¶
func (_mock *AssignmentCollectorState) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
CheckEmergencySealing provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) EXPECT ¶ added in v0.46.0
func (_m *AssignmentCollectorState) EXPECT() *AssignmentCollectorState_Expecter
func (*AssignmentCollectorState) ProcessApproval ¶
func (_mock *AssignmentCollectorState) ProcessApproval(approval *flow.ResultApproval) error
ProcessApproval provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) ProcessIncorporatedResult ¶
func (_mock *AssignmentCollectorState) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
ProcessIncorporatedResult provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) ProcessingStatus ¶
func (_mock *AssignmentCollectorState) ProcessingStatus() approvals.ProcessingStatus
ProcessingStatus provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) RequestMissingApprovals ¶
func (_mock *AssignmentCollectorState) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
RequestMissingApprovals provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) Result ¶
func (_mock *AssignmentCollectorState) Result() *flow.ExecutionResult
Result provides a mock function for the type AssignmentCollectorState
func (*AssignmentCollectorState) ResultID ¶
func (_mock *AssignmentCollectorState) ResultID() flow.Identifier
ResultID provides a mock function for the type AssignmentCollectorState
type AssignmentCollectorState_BlockID_Call ¶ added in v0.46.0
AssignmentCollectorState_BlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockID'
func (*AssignmentCollectorState_BlockID_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_BlockID_Call) Return(identifier flow.Identifier) *AssignmentCollectorState_BlockID_Call
func (*AssignmentCollectorState_BlockID_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_BlockID_Call) Run(run func()) *AssignmentCollectorState_BlockID_Call
func (*AssignmentCollectorState_BlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_BlockID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollectorState_BlockID_Call
type AssignmentCollectorState_Block_Call ¶ added in v0.46.0
AssignmentCollectorState_Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Block'
func (*AssignmentCollectorState_Block_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_Block_Call) Return(header *flow.Header) *AssignmentCollectorState_Block_Call
func (*AssignmentCollectorState_Block_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_Block_Call) Run(run func()) *AssignmentCollectorState_Block_Call
func (*AssignmentCollectorState_Block_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_Block_Call) RunAndReturn(run func() *flow.Header) *AssignmentCollectorState_Block_Call
type AssignmentCollectorState_CheckEmergencySealing_Call ¶ added in v0.46.0
AssignmentCollectorState_CheckEmergencySealing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEmergencySealing'
func (*AssignmentCollectorState_CheckEmergencySealing_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_CheckEmergencySealing_Call) Run(run func(observer consensus.SealingObservation, finalizedBlockHeight uint64)) *AssignmentCollectorState_CheckEmergencySealing_Call
func (*AssignmentCollectorState_CheckEmergencySealing_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_CheckEmergencySealing_Call) RunAndReturn(run func(observer consensus.SealingObservation, finalizedBlockHeight uint64) error) *AssignmentCollectorState_CheckEmergencySealing_Call
type AssignmentCollectorState_Expecter ¶ added in v0.46.0
type AssignmentCollectorState_Expecter struct {
// contains filtered or unexported fields
}
func (*AssignmentCollectorState_Expecter) Block ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) Block() *AssignmentCollectorState_Block_Call
Block is a helper method to define mock.On call
func (*AssignmentCollectorState_Expecter) BlockID ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) BlockID() *AssignmentCollectorState_BlockID_Call
BlockID is a helper method to define mock.On call
func (*AssignmentCollectorState_Expecter) CheckEmergencySealing ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) CheckEmergencySealing(observer interface{}, finalizedBlockHeight interface{}) *AssignmentCollectorState_CheckEmergencySealing_Call
CheckEmergencySealing is a helper method to define mock.On call
- observer consensus.SealingObservation
- finalizedBlockHeight uint64
func (*AssignmentCollectorState_Expecter) ProcessApproval ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) ProcessApproval(approval interface{}) *AssignmentCollectorState_ProcessApproval_Call
ProcessApproval is a helper method to define mock.On call
- approval *flow.ResultApproval
func (*AssignmentCollectorState_Expecter) ProcessIncorporatedResult ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) ProcessIncorporatedResult(incorporatedResult interface{}) *AssignmentCollectorState_ProcessIncorporatedResult_Call
ProcessIncorporatedResult is a helper method to define mock.On call
- incorporatedResult *flow.IncorporatedResult
func (*AssignmentCollectorState_Expecter) ProcessingStatus ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) ProcessingStatus() *AssignmentCollectorState_ProcessingStatus_Call
ProcessingStatus is a helper method to define mock.On call
func (*AssignmentCollectorState_Expecter) RequestMissingApprovals ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) RequestMissingApprovals(observer interface{}, maxHeightForRequesting interface{}) *AssignmentCollectorState_RequestMissingApprovals_Call
RequestMissingApprovals is a helper method to define mock.On call
- observer consensus.SealingObservation
- maxHeightForRequesting uint64
func (*AssignmentCollectorState_Expecter) Result ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) Result() *AssignmentCollectorState_Result_Call
Result is a helper method to define mock.On call
func (*AssignmentCollectorState_Expecter) ResultID ¶ added in v0.46.0
func (_e *AssignmentCollectorState_Expecter) ResultID() *AssignmentCollectorState_ResultID_Call
ResultID is a helper method to define mock.On call
type AssignmentCollectorState_ProcessApproval_Call ¶ added in v0.46.0
AssignmentCollectorState_ProcessApproval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessApproval'
func (*AssignmentCollectorState_ProcessApproval_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessApproval_Call) Return(err error) *AssignmentCollectorState_ProcessApproval_Call
func (*AssignmentCollectorState_ProcessApproval_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessApproval_Call) Run(run func(approval *flow.ResultApproval)) *AssignmentCollectorState_ProcessApproval_Call
func (*AssignmentCollectorState_ProcessApproval_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessApproval_Call) RunAndReturn(run func(approval *flow.ResultApproval) error) *AssignmentCollectorState_ProcessApproval_Call
type AssignmentCollectorState_ProcessIncorporatedResult_Call ¶ added in v0.46.0
AssignmentCollectorState_ProcessIncorporatedResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessIncorporatedResult'
func (*AssignmentCollectorState_ProcessIncorporatedResult_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessIncorporatedResult_Call) Run(run func(incorporatedResult *flow.IncorporatedResult)) *AssignmentCollectorState_ProcessIncorporatedResult_Call
func (*AssignmentCollectorState_ProcessIncorporatedResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessIncorporatedResult_Call) RunAndReturn(run func(incorporatedResult *flow.IncorporatedResult) error) *AssignmentCollectorState_ProcessIncorporatedResult_Call
type AssignmentCollectorState_ProcessingStatus_Call ¶ added in v0.46.0
AssignmentCollectorState_ProcessingStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessingStatus'
func (*AssignmentCollectorState_ProcessingStatus_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessingStatus_Call) Return(processingStatus approvals.ProcessingStatus) *AssignmentCollectorState_ProcessingStatus_Call
func (*AssignmentCollectorState_ProcessingStatus_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessingStatus_Call) Run(run func()) *AssignmentCollectorState_ProcessingStatus_Call
func (*AssignmentCollectorState_ProcessingStatus_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ProcessingStatus_Call) RunAndReturn(run func() approvals.ProcessingStatus) *AssignmentCollectorState_ProcessingStatus_Call
type AssignmentCollectorState_RequestMissingApprovals_Call ¶ added in v0.46.0
AssignmentCollectorState_RequestMissingApprovals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestMissingApprovals'
func (*AssignmentCollectorState_RequestMissingApprovals_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_RequestMissingApprovals_Call) Return(v uint, err error) *AssignmentCollectorState_RequestMissingApprovals_Call
func (*AssignmentCollectorState_RequestMissingApprovals_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_RequestMissingApprovals_Call) Run(run func(observer consensus.SealingObservation, maxHeightForRequesting uint64)) *AssignmentCollectorState_RequestMissingApprovals_Call
func (*AssignmentCollectorState_RequestMissingApprovals_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_RequestMissingApprovals_Call) RunAndReturn(run func(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)) *AssignmentCollectorState_RequestMissingApprovals_Call
type AssignmentCollectorState_ResultID_Call ¶ added in v0.46.0
AssignmentCollectorState_ResultID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResultID'
func (*AssignmentCollectorState_ResultID_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ResultID_Call) Return(identifier flow.Identifier) *AssignmentCollectorState_ResultID_Call
func (*AssignmentCollectorState_ResultID_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ResultID_Call) Run(run func()) *AssignmentCollectorState_ResultID_Call
func (*AssignmentCollectorState_ResultID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_ResultID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollectorState_ResultID_Call
type AssignmentCollectorState_Result_Call ¶ added in v0.46.0
AssignmentCollectorState_Result_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Result'
func (*AssignmentCollectorState_Result_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollectorState_Result_Call) Return(executionResult *flow.ExecutionResult) *AssignmentCollectorState_Result_Call
func (*AssignmentCollectorState_Result_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollectorState_Result_Call) Run(run func()) *AssignmentCollectorState_Result_Call
func (*AssignmentCollectorState_Result_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollectorState_Result_Call) RunAndReturn(run func() *flow.ExecutionResult) *AssignmentCollectorState_Result_Call
type AssignmentCollector_BlockID_Call ¶ added in v0.46.0
AssignmentCollector_BlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockID'
func (*AssignmentCollector_BlockID_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_BlockID_Call) Return(identifier flow.Identifier) *AssignmentCollector_BlockID_Call
func (*AssignmentCollector_BlockID_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_BlockID_Call) Run(run func()) *AssignmentCollector_BlockID_Call
func (*AssignmentCollector_BlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_BlockID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollector_BlockID_Call
type AssignmentCollector_Block_Call ¶ added in v0.46.0
AssignmentCollector_Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Block'
func (*AssignmentCollector_Block_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_Block_Call) Return(header *flow.Header) *AssignmentCollector_Block_Call
func (*AssignmentCollector_Block_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_Block_Call) Run(run func()) *AssignmentCollector_Block_Call
func (*AssignmentCollector_Block_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_Block_Call) RunAndReturn(run func() *flow.Header) *AssignmentCollector_Block_Call
type AssignmentCollector_ChangeProcessingStatus_Call ¶ added in v0.46.0
AssignmentCollector_ChangeProcessingStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangeProcessingStatus'
func (*AssignmentCollector_ChangeProcessingStatus_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_ChangeProcessingStatus_Call) Return(err error) *AssignmentCollector_ChangeProcessingStatus_Call
func (*AssignmentCollector_ChangeProcessingStatus_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_ChangeProcessingStatus_Call) Run(run func(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus)) *AssignmentCollector_ChangeProcessingStatus_Call
func (*AssignmentCollector_ChangeProcessingStatus_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_ChangeProcessingStatus_Call) RunAndReturn(run func(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus) error) *AssignmentCollector_ChangeProcessingStatus_Call
type AssignmentCollector_CheckEmergencySealing_Call ¶ added in v0.46.0
AssignmentCollector_CheckEmergencySealing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEmergencySealing'
func (*AssignmentCollector_CheckEmergencySealing_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_CheckEmergencySealing_Call) Return(err error) *AssignmentCollector_CheckEmergencySealing_Call
func (*AssignmentCollector_CheckEmergencySealing_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_CheckEmergencySealing_Call) Run(run func(observer consensus.SealingObservation, finalizedBlockHeight uint64)) *AssignmentCollector_CheckEmergencySealing_Call
func (*AssignmentCollector_CheckEmergencySealing_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_CheckEmergencySealing_Call) RunAndReturn(run func(observer consensus.SealingObservation, finalizedBlockHeight uint64) error) *AssignmentCollector_CheckEmergencySealing_Call
type AssignmentCollector_Expecter ¶ added in v0.46.0
type AssignmentCollector_Expecter struct {
// contains filtered or unexported fields
}
func (*AssignmentCollector_Expecter) Block ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) Block() *AssignmentCollector_Block_Call
Block is a helper method to define mock.On call
func (*AssignmentCollector_Expecter) BlockID ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) BlockID() *AssignmentCollector_BlockID_Call
BlockID is a helper method to define mock.On call
func (*AssignmentCollector_Expecter) ChangeProcessingStatus ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) ChangeProcessingStatus(expectedValue interface{}, newValue interface{}) *AssignmentCollector_ChangeProcessingStatus_Call
ChangeProcessingStatus is a helper method to define mock.On call
- expectedValue approvals.ProcessingStatus
- newValue approvals.ProcessingStatus
func (*AssignmentCollector_Expecter) CheckEmergencySealing ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) CheckEmergencySealing(observer interface{}, finalizedBlockHeight interface{}) *AssignmentCollector_CheckEmergencySealing_Call
CheckEmergencySealing is a helper method to define mock.On call
- observer consensus.SealingObservation
- finalizedBlockHeight uint64
func (*AssignmentCollector_Expecter) ProcessApproval ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) ProcessApproval(approval interface{}) *AssignmentCollector_ProcessApproval_Call
ProcessApproval is a helper method to define mock.On call
- approval *flow.ResultApproval
func (*AssignmentCollector_Expecter) ProcessIncorporatedResult ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) ProcessIncorporatedResult(incorporatedResult interface{}) *AssignmentCollector_ProcessIncorporatedResult_Call
ProcessIncorporatedResult is a helper method to define mock.On call
- incorporatedResult *flow.IncorporatedResult
func (*AssignmentCollector_Expecter) ProcessingStatus ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) ProcessingStatus() *AssignmentCollector_ProcessingStatus_Call
ProcessingStatus is a helper method to define mock.On call
func (*AssignmentCollector_Expecter) RequestMissingApprovals ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) RequestMissingApprovals(observer interface{}, maxHeightForRequesting interface{}) *AssignmentCollector_RequestMissingApprovals_Call
RequestMissingApprovals is a helper method to define mock.On call
- observer consensus.SealingObservation
- maxHeightForRequesting uint64
func (*AssignmentCollector_Expecter) Result ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) Result() *AssignmentCollector_Result_Call
Result is a helper method to define mock.On call
func (*AssignmentCollector_Expecter) ResultID ¶ added in v0.46.0
func (_e *AssignmentCollector_Expecter) ResultID() *AssignmentCollector_ResultID_Call
ResultID is a helper method to define mock.On call
type AssignmentCollector_ProcessApproval_Call ¶ added in v0.46.0
AssignmentCollector_ProcessApproval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessApproval'
func (*AssignmentCollector_ProcessApproval_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessApproval_Call) Return(err error) *AssignmentCollector_ProcessApproval_Call
func (*AssignmentCollector_ProcessApproval_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessApproval_Call) Run(run func(approval *flow.ResultApproval)) *AssignmentCollector_ProcessApproval_Call
func (*AssignmentCollector_ProcessApproval_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessApproval_Call) RunAndReturn(run func(approval *flow.ResultApproval) error) *AssignmentCollector_ProcessApproval_Call
type AssignmentCollector_ProcessIncorporatedResult_Call ¶ added in v0.46.0
AssignmentCollector_ProcessIncorporatedResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessIncorporatedResult'
func (*AssignmentCollector_ProcessIncorporatedResult_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessIncorporatedResult_Call) Run(run func(incorporatedResult *flow.IncorporatedResult)) *AssignmentCollector_ProcessIncorporatedResult_Call
func (*AssignmentCollector_ProcessIncorporatedResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessIncorporatedResult_Call) RunAndReturn(run func(incorporatedResult *flow.IncorporatedResult) error) *AssignmentCollector_ProcessIncorporatedResult_Call
type AssignmentCollector_ProcessingStatus_Call ¶ added in v0.46.0
AssignmentCollector_ProcessingStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessingStatus'
func (*AssignmentCollector_ProcessingStatus_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessingStatus_Call) Return(processingStatus approvals.ProcessingStatus) *AssignmentCollector_ProcessingStatus_Call
func (*AssignmentCollector_ProcessingStatus_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessingStatus_Call) Run(run func()) *AssignmentCollector_ProcessingStatus_Call
func (*AssignmentCollector_ProcessingStatus_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_ProcessingStatus_Call) RunAndReturn(run func() approvals.ProcessingStatus) *AssignmentCollector_ProcessingStatus_Call
type AssignmentCollector_RequestMissingApprovals_Call ¶ added in v0.46.0
AssignmentCollector_RequestMissingApprovals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestMissingApprovals'
func (*AssignmentCollector_RequestMissingApprovals_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_RequestMissingApprovals_Call) Return(v uint, err error) *AssignmentCollector_RequestMissingApprovals_Call
func (*AssignmentCollector_RequestMissingApprovals_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_RequestMissingApprovals_Call) Run(run func(observer consensus.SealingObservation, maxHeightForRequesting uint64)) *AssignmentCollector_RequestMissingApprovals_Call
func (*AssignmentCollector_RequestMissingApprovals_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_RequestMissingApprovals_Call) RunAndReturn(run func(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)) *AssignmentCollector_RequestMissingApprovals_Call
type AssignmentCollector_ResultID_Call ¶ added in v0.46.0
AssignmentCollector_ResultID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResultID'
func (*AssignmentCollector_ResultID_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_ResultID_Call) Return(identifier flow.Identifier) *AssignmentCollector_ResultID_Call
func (*AssignmentCollector_ResultID_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_ResultID_Call) Run(run func()) *AssignmentCollector_ResultID_Call
func (*AssignmentCollector_ResultID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_ResultID_Call) RunAndReturn(run func() flow.Identifier) *AssignmentCollector_ResultID_Call
type AssignmentCollector_Result_Call ¶ added in v0.46.0
AssignmentCollector_Result_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Result'
func (*AssignmentCollector_Result_Call) Return ¶ added in v0.46.0
func (_c *AssignmentCollector_Result_Call) Return(executionResult *flow.ExecutionResult) *AssignmentCollector_Result_Call
func (*AssignmentCollector_Result_Call) Run ¶ added in v0.46.0
func (_c *AssignmentCollector_Result_Call) Run(run func()) *AssignmentCollector_Result_Call
func (*AssignmentCollector_Result_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AssignmentCollector_Result_Call) RunAndReturn(run func() *flow.ExecutionResult) *AssignmentCollector_Result_Call