Documentation
¶
Index ¶
- type AccessMetrics
- func (_mock *AccessMetrics) AddInflightRequests(ctx context.Context, props metrics.HTTPProperties, quantity int)
- func (_mock *AccessMetrics) AddTotalRequests(ctx context.Context, method string, routeName string)
- func (_mock *AccessMetrics) ConnectionAddedToPool()
- func (_mock *AccessMetrics) ConnectionFromPoolEvicted()
- func (_mock *AccessMetrics) ConnectionFromPoolInvalidated()
- func (_mock *AccessMetrics) ConnectionFromPoolReused()
- func (_mock *AccessMetrics) ConnectionFromPoolUpdated()
- func (_m *AccessMetrics) EXPECT() *AccessMetrics_Expecter
- func (_mock *AccessMetrics) NewConnectionEstablished()
- func (_mock *AccessMetrics) ObserveHTTPRequestDuration(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)
- func (_mock *AccessMetrics) ObserveHTTPResponseSize(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)
- func (_mock *AccessMetrics) ScriptExecuted(dur time.Duration, size int)
- func (_mock *AccessMetrics) ScriptExecutionErrorLocal()
- func (_mock *AccessMetrics) ScriptExecutionErrorMatch()
- func (_mock *AccessMetrics) ScriptExecutionErrorMismatch()
- func (_mock *AccessMetrics) ScriptExecutionErrorOnExecutionNode()
- func (_mock *AccessMetrics) ScriptExecutionNotIndexed()
- func (_mock *AccessMetrics) ScriptExecutionResultMatch()
- func (_mock *AccessMetrics) ScriptExecutionResultMismatch()
- func (_mock *AccessMetrics) TotalConnectionsInPool(connectionCount uint, connectionPoolSize uint)
- func (_mock *AccessMetrics) TransactionExecuted(txID flow.Identifier, when time.Time)
- func (_mock *AccessMetrics) TransactionExpired(txID flow.Identifier)
- func (_mock *AccessMetrics) TransactionFinalized(txID flow.Identifier, when time.Time)
- func (_mock *AccessMetrics) TransactionReceived(txID flow.Identifier, when time.Time)
- func (_mock *AccessMetrics) TransactionResultFetched(dur time.Duration, size int)
- func (_mock *AccessMetrics) TransactionSealed(txID flow.Identifier, when time.Time)
- func (_mock *AccessMetrics) TransactionSubmissionFailed()
- func (_mock *AccessMetrics) TransactionValidated()
- func (_mock *AccessMetrics) TransactionValidationFailed(reason string)
- func (_mock *AccessMetrics) TransactionValidationSkipped()
- func (_mock *AccessMetrics) UpdateExecutionReceiptMaxHeight(height uint64)
- func (_mock *AccessMetrics) UpdateIngestionFinalizedBlockHeight(height uint64)
- func (_mock *AccessMetrics) UpdateLastFullBlockHeight(height uint64)
- type AccessMetrics_AddInflightRequests_Call
- func (_c *AccessMetrics_AddInflightRequests_Call) Return() *AccessMetrics_AddInflightRequests_Call
- func (_c *AccessMetrics_AddInflightRequests_Call) Run(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *AccessMetrics_AddInflightRequests_Call
- func (_c *AccessMetrics_AddInflightRequests_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *AccessMetrics_AddInflightRequests_Call
- type AccessMetrics_AddTotalRequests_Call
- func (_c *AccessMetrics_AddTotalRequests_Call) Return() *AccessMetrics_AddTotalRequests_Call
- func (_c *AccessMetrics_AddTotalRequests_Call) Run(run func(ctx context.Context, method string, routeName string)) *AccessMetrics_AddTotalRequests_Call
- func (_c *AccessMetrics_AddTotalRequests_Call) RunAndReturn(run func(ctx context.Context, method string, routeName string)) *AccessMetrics_AddTotalRequests_Call
- type AccessMetrics_ConnectionAddedToPool_Call
- func (_c *AccessMetrics_ConnectionAddedToPool_Call) Return() *AccessMetrics_ConnectionAddedToPool_Call
- func (_c *AccessMetrics_ConnectionAddedToPool_Call) Run(run func()) *AccessMetrics_ConnectionAddedToPool_Call
- func (_c *AccessMetrics_ConnectionAddedToPool_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionAddedToPool_Call
- type AccessMetrics_ConnectionFromPoolEvicted_Call
- func (_c *AccessMetrics_ConnectionFromPoolEvicted_Call) Return() *AccessMetrics_ConnectionFromPoolEvicted_Call
- func (_c *AccessMetrics_ConnectionFromPoolEvicted_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolEvicted_Call
- func (_c *AccessMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolEvicted_Call
- type AccessMetrics_ConnectionFromPoolInvalidated_Call
- func (_c *AccessMetrics_ConnectionFromPoolInvalidated_Call) Return() *AccessMetrics_ConnectionFromPoolInvalidated_Call
- func (_c *AccessMetrics_ConnectionFromPoolInvalidated_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolInvalidated_Call
- func (_c *AccessMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolInvalidated_Call
- type AccessMetrics_ConnectionFromPoolReused_Call
- func (_c *AccessMetrics_ConnectionFromPoolReused_Call) Return() *AccessMetrics_ConnectionFromPoolReused_Call
- func (_c *AccessMetrics_ConnectionFromPoolReused_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolReused_Call
- func (_c *AccessMetrics_ConnectionFromPoolReused_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolReused_Call
- type AccessMetrics_ConnectionFromPoolUpdated_Call
- func (_c *AccessMetrics_ConnectionFromPoolUpdated_Call) Return() *AccessMetrics_ConnectionFromPoolUpdated_Call
- func (_c *AccessMetrics_ConnectionFromPoolUpdated_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolUpdated_Call
- func (_c *AccessMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolUpdated_Call
- type AccessMetrics_Expecter
- func (_e *AccessMetrics_Expecter) AddInflightRequests(ctx interface{}, props interface{}, quantity interface{}) *AccessMetrics_AddInflightRequests_Call
- func (_e *AccessMetrics_Expecter) AddTotalRequests(ctx interface{}, method interface{}, routeName interface{}) *AccessMetrics_AddTotalRequests_Call
- func (_e *AccessMetrics_Expecter) ConnectionAddedToPool() *AccessMetrics_ConnectionAddedToPool_Call
- func (_e *AccessMetrics_Expecter) ConnectionFromPoolEvicted() *AccessMetrics_ConnectionFromPoolEvicted_Call
- func (_e *AccessMetrics_Expecter) ConnectionFromPoolInvalidated() *AccessMetrics_ConnectionFromPoolInvalidated_Call
- func (_e *AccessMetrics_Expecter) ConnectionFromPoolReused() *AccessMetrics_ConnectionFromPoolReused_Call
- func (_e *AccessMetrics_Expecter) ConnectionFromPoolUpdated() *AccessMetrics_ConnectionFromPoolUpdated_Call
- func (_e *AccessMetrics_Expecter) NewConnectionEstablished() *AccessMetrics_NewConnectionEstablished_Call
- func (_e *AccessMetrics_Expecter) ObserveHTTPRequestDuration(ctx interface{}, props interface{}, duration interface{}) *AccessMetrics_ObserveHTTPRequestDuration_Call
- func (_e *AccessMetrics_Expecter) ObserveHTTPResponseSize(ctx interface{}, props interface{}, sizeBytes interface{}) *AccessMetrics_ObserveHTTPResponseSize_Call
- func (_e *AccessMetrics_Expecter) ScriptExecuted(dur interface{}, size interface{}) *AccessMetrics_ScriptExecuted_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionErrorLocal() *AccessMetrics_ScriptExecutionErrorLocal_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionErrorMatch() *AccessMetrics_ScriptExecutionErrorMatch_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionErrorMismatch() *AccessMetrics_ScriptExecutionErrorMismatch_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionErrorOnExecutionNode() *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionNotIndexed() *AccessMetrics_ScriptExecutionNotIndexed_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionResultMatch() *AccessMetrics_ScriptExecutionResultMatch_Call
- func (_e *AccessMetrics_Expecter) ScriptExecutionResultMismatch() *AccessMetrics_ScriptExecutionResultMismatch_Call
- func (_e *AccessMetrics_Expecter) TotalConnectionsInPool(connectionCount interface{}, connectionPoolSize interface{}) *AccessMetrics_TotalConnectionsInPool_Call
- func (_e *AccessMetrics_Expecter) TransactionExecuted(txID interface{}, when interface{}) *AccessMetrics_TransactionExecuted_Call
- func (_e *AccessMetrics_Expecter) TransactionExpired(txID interface{}) *AccessMetrics_TransactionExpired_Call
- func (_e *AccessMetrics_Expecter) TransactionFinalized(txID interface{}, when interface{}) *AccessMetrics_TransactionFinalized_Call
- func (_e *AccessMetrics_Expecter) TransactionReceived(txID interface{}, when interface{}) *AccessMetrics_TransactionReceived_Call
- func (_e *AccessMetrics_Expecter) TransactionResultFetched(dur interface{}, size interface{}) *AccessMetrics_TransactionResultFetched_Call
- func (_e *AccessMetrics_Expecter) TransactionSealed(txID interface{}, when interface{}) *AccessMetrics_TransactionSealed_Call
- func (_e *AccessMetrics_Expecter) TransactionSubmissionFailed() *AccessMetrics_TransactionSubmissionFailed_Call
- func (_e *AccessMetrics_Expecter) TransactionValidated() *AccessMetrics_TransactionValidated_Call
- func (_e *AccessMetrics_Expecter) TransactionValidationFailed(reason interface{}) *AccessMetrics_TransactionValidationFailed_Call
- func (_e *AccessMetrics_Expecter) TransactionValidationSkipped() *AccessMetrics_TransactionValidationSkipped_Call
- func (_e *AccessMetrics_Expecter) UpdateExecutionReceiptMaxHeight(height interface{}) *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
- func (_e *AccessMetrics_Expecter) UpdateIngestionFinalizedBlockHeight(height interface{}) *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
- func (_e *AccessMetrics_Expecter) UpdateLastFullBlockHeight(height interface{}) *AccessMetrics_UpdateLastFullBlockHeight_Call
- type AccessMetrics_NewConnectionEstablished_Call
- func (_c *AccessMetrics_NewConnectionEstablished_Call) Return() *AccessMetrics_NewConnectionEstablished_Call
- func (_c *AccessMetrics_NewConnectionEstablished_Call) Run(run func()) *AccessMetrics_NewConnectionEstablished_Call
- func (_c *AccessMetrics_NewConnectionEstablished_Call) RunAndReturn(run func()) *AccessMetrics_NewConnectionEstablished_Call
- type AccessMetrics_ObserveHTTPRequestDuration_Call
- func (_c *AccessMetrics_ObserveHTTPRequestDuration_Call) Return() *AccessMetrics_ObserveHTTPRequestDuration_Call
- func (_c *AccessMetrics_ObserveHTTPRequestDuration_Call) Run(...) *AccessMetrics_ObserveHTTPRequestDuration_Call
- func (_c *AccessMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn(...) *AccessMetrics_ObserveHTTPRequestDuration_Call
- type AccessMetrics_ObserveHTTPResponseSize_Call
- func (_c *AccessMetrics_ObserveHTTPResponseSize_Call) Return() *AccessMetrics_ObserveHTTPResponseSize_Call
- func (_c *AccessMetrics_ObserveHTTPResponseSize_Call) Run(...) *AccessMetrics_ObserveHTTPResponseSize_Call
- func (_c *AccessMetrics_ObserveHTTPResponseSize_Call) RunAndReturn(...) *AccessMetrics_ObserveHTTPResponseSize_Call
- type AccessMetrics_ScriptExecuted_Call
- func (_c *AccessMetrics_ScriptExecuted_Call) Return() *AccessMetrics_ScriptExecuted_Call
- func (_c *AccessMetrics_ScriptExecuted_Call) Run(run func(dur time.Duration, size int)) *AccessMetrics_ScriptExecuted_Call
- func (_c *AccessMetrics_ScriptExecuted_Call) RunAndReturn(run func(dur time.Duration, size int)) *AccessMetrics_ScriptExecuted_Call
- type AccessMetrics_ScriptExecutionErrorLocal_Call
- func (_c *AccessMetrics_ScriptExecutionErrorLocal_Call) Return() *AccessMetrics_ScriptExecutionErrorLocal_Call
- func (_c *AccessMetrics_ScriptExecutionErrorLocal_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorLocal_Call
- func (_c *AccessMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorLocal_Call
- type AccessMetrics_ScriptExecutionErrorMatch_Call
- func (_c *AccessMetrics_ScriptExecutionErrorMatch_Call) Return() *AccessMetrics_ScriptExecutionErrorMatch_Call
- func (_c *AccessMetrics_ScriptExecutionErrorMatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorMatch_Call
- func (_c *AccessMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorMatch_Call
- type AccessMetrics_ScriptExecutionErrorMismatch_Call
- func (_c *AccessMetrics_ScriptExecutionErrorMismatch_Call) Return() *AccessMetrics_ScriptExecutionErrorMismatch_Call
- func (_c *AccessMetrics_ScriptExecutionErrorMismatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorMismatch_Call
- func (_c *AccessMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorMismatch_Call
- type AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_c *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) Return() *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_c *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_c *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
- type AccessMetrics_ScriptExecutionNotIndexed_Call
- func (_c *AccessMetrics_ScriptExecutionNotIndexed_Call) Return() *AccessMetrics_ScriptExecutionNotIndexed_Call
- func (_c *AccessMetrics_ScriptExecutionNotIndexed_Call) Run(run func()) *AccessMetrics_ScriptExecutionNotIndexed_Call
- func (_c *AccessMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionNotIndexed_Call
- type AccessMetrics_ScriptExecutionResultMatch_Call
- func (_c *AccessMetrics_ScriptExecutionResultMatch_Call) Return() *AccessMetrics_ScriptExecutionResultMatch_Call
- func (_c *AccessMetrics_ScriptExecutionResultMatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionResultMatch_Call
- func (_c *AccessMetrics_ScriptExecutionResultMatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionResultMatch_Call
- type AccessMetrics_ScriptExecutionResultMismatch_Call
- func (_c *AccessMetrics_ScriptExecutionResultMismatch_Call) Return() *AccessMetrics_ScriptExecutionResultMismatch_Call
- func (_c *AccessMetrics_ScriptExecutionResultMismatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionResultMismatch_Call
- func (_c *AccessMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionResultMismatch_Call
- type AccessMetrics_TotalConnectionsInPool_Call
- func (_c *AccessMetrics_TotalConnectionsInPool_Call) Return() *AccessMetrics_TotalConnectionsInPool_Call
- func (_c *AccessMetrics_TotalConnectionsInPool_Call) Run(run func(connectionCount uint, connectionPoolSize uint)) *AccessMetrics_TotalConnectionsInPool_Call
- func (_c *AccessMetrics_TotalConnectionsInPool_Call) RunAndReturn(run func(connectionCount uint, connectionPoolSize uint)) *AccessMetrics_TotalConnectionsInPool_Call
- type AccessMetrics_TransactionExecuted_Call
- func (_c *AccessMetrics_TransactionExecuted_Call) Return() *AccessMetrics_TransactionExecuted_Call
- func (_c *AccessMetrics_TransactionExecuted_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionExecuted_Call
- func (_c *AccessMetrics_TransactionExecuted_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionExecuted_Call
- type AccessMetrics_TransactionExpired_Call
- func (_c *AccessMetrics_TransactionExpired_Call) Return() *AccessMetrics_TransactionExpired_Call
- func (_c *AccessMetrics_TransactionExpired_Call) Run(run func(txID flow.Identifier)) *AccessMetrics_TransactionExpired_Call
- func (_c *AccessMetrics_TransactionExpired_Call) RunAndReturn(run func(txID flow.Identifier)) *AccessMetrics_TransactionExpired_Call
- type AccessMetrics_TransactionFinalized_Call
- func (_c *AccessMetrics_TransactionFinalized_Call) Return() *AccessMetrics_TransactionFinalized_Call
- func (_c *AccessMetrics_TransactionFinalized_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionFinalized_Call
- func (_c *AccessMetrics_TransactionFinalized_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionFinalized_Call
- type AccessMetrics_TransactionReceived_Call
- func (_c *AccessMetrics_TransactionReceived_Call) Return() *AccessMetrics_TransactionReceived_Call
- func (_c *AccessMetrics_TransactionReceived_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionReceived_Call
- func (_c *AccessMetrics_TransactionReceived_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionReceived_Call
- type AccessMetrics_TransactionResultFetched_Call
- func (_c *AccessMetrics_TransactionResultFetched_Call) Return() *AccessMetrics_TransactionResultFetched_Call
- func (_c *AccessMetrics_TransactionResultFetched_Call) Run(run func(dur time.Duration, size int)) *AccessMetrics_TransactionResultFetched_Call
- func (_c *AccessMetrics_TransactionResultFetched_Call) RunAndReturn(run func(dur time.Duration, size int)) *AccessMetrics_TransactionResultFetched_Call
- type AccessMetrics_TransactionSealed_Call
- func (_c *AccessMetrics_TransactionSealed_Call) Return() *AccessMetrics_TransactionSealed_Call
- func (_c *AccessMetrics_TransactionSealed_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionSealed_Call
- func (_c *AccessMetrics_TransactionSealed_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionSealed_Call
- type AccessMetrics_TransactionSubmissionFailed_Call
- func (_c *AccessMetrics_TransactionSubmissionFailed_Call) Return() *AccessMetrics_TransactionSubmissionFailed_Call
- func (_c *AccessMetrics_TransactionSubmissionFailed_Call) Run(run func()) *AccessMetrics_TransactionSubmissionFailed_Call
- func (_c *AccessMetrics_TransactionSubmissionFailed_Call) RunAndReturn(run func()) *AccessMetrics_TransactionSubmissionFailed_Call
- type AccessMetrics_TransactionValidated_Call
- func (_c *AccessMetrics_TransactionValidated_Call) Return() *AccessMetrics_TransactionValidated_Call
- func (_c *AccessMetrics_TransactionValidated_Call) Run(run func()) *AccessMetrics_TransactionValidated_Call
- func (_c *AccessMetrics_TransactionValidated_Call) RunAndReturn(run func()) *AccessMetrics_TransactionValidated_Call
- type AccessMetrics_TransactionValidationFailed_Call
- func (_c *AccessMetrics_TransactionValidationFailed_Call) Return() *AccessMetrics_TransactionValidationFailed_Call
- func (_c *AccessMetrics_TransactionValidationFailed_Call) Run(run func(reason string)) *AccessMetrics_TransactionValidationFailed_Call
- func (_c *AccessMetrics_TransactionValidationFailed_Call) RunAndReturn(run func(reason string)) *AccessMetrics_TransactionValidationFailed_Call
- type AccessMetrics_TransactionValidationSkipped_Call
- func (_c *AccessMetrics_TransactionValidationSkipped_Call) Return() *AccessMetrics_TransactionValidationSkipped_Call
- func (_c *AccessMetrics_TransactionValidationSkipped_Call) Run(run func()) *AccessMetrics_TransactionValidationSkipped_Call
- func (_c *AccessMetrics_TransactionValidationSkipped_Call) RunAndReturn(run func()) *AccessMetrics_TransactionValidationSkipped_Call
- type AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
- func (_c *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) Return() *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
- func (_c *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) Run(run func(height uint64)) *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
- func (_c *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) RunAndReturn(run func(height uint64)) *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
- type AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
- func (_c *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) Return() *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
- func (_c *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) Run(run func(height uint64)) *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
- func (_c *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) RunAndReturn(run func(height uint64)) *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
- type AccessMetrics_UpdateLastFullBlockHeight_Call
- func (_c *AccessMetrics_UpdateLastFullBlockHeight_Call) Return() *AccessMetrics_UpdateLastFullBlockHeight_Call
- func (_c *AccessMetrics_UpdateLastFullBlockHeight_Call) Run(run func(height uint64)) *AccessMetrics_UpdateLastFullBlockHeight_Call
- func (_c *AccessMetrics_UpdateLastFullBlockHeight_Call) RunAndReturn(run func(height uint64)) *AccessMetrics_UpdateLastFullBlockHeight_Call
- type AlspMetrics
- type AlspMetrics_Expecter
- type AlspMetrics_OnMisbehaviorReported_Call
- func (_c *AlspMetrics_OnMisbehaviorReported_Call) Return() *AlspMetrics_OnMisbehaviorReported_Call
- func (_c *AlspMetrics_OnMisbehaviorReported_Call) Run(run func(channel string, misbehaviorType string)) *AlspMetrics_OnMisbehaviorReported_Call
- func (_c *AlspMetrics_OnMisbehaviorReported_Call) RunAndReturn(run func(channel string, misbehaviorType string)) *AlspMetrics_OnMisbehaviorReported_Call
- type BackendScriptsMetrics
- func (_m *BackendScriptsMetrics) EXPECT() *BackendScriptsMetrics_Expecter
- func (_mock *BackendScriptsMetrics) ScriptExecuted(dur time.Duration, size int)
- func (_mock *BackendScriptsMetrics) ScriptExecutionErrorLocal()
- func (_mock *BackendScriptsMetrics) ScriptExecutionErrorMatch()
- func (_mock *BackendScriptsMetrics) ScriptExecutionErrorMismatch()
- func (_mock *BackendScriptsMetrics) ScriptExecutionErrorOnExecutionNode()
- func (_mock *BackendScriptsMetrics) ScriptExecutionNotIndexed()
- func (_mock *BackendScriptsMetrics) ScriptExecutionResultMatch()
- func (_mock *BackendScriptsMetrics) ScriptExecutionResultMismatch()
- type BackendScriptsMetrics_Expecter
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecuted(dur interface{}, size interface{}) *BackendScriptsMetrics_ScriptExecuted_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorLocal() *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorMatch() *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorMismatch() *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorOnExecutionNode() *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionNotIndexed() *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionResultMatch() *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
- func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionResultMismatch() *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
- type BackendScriptsMetrics_ScriptExecuted_Call
- func (_c *BackendScriptsMetrics_ScriptExecuted_Call) Return() *BackendScriptsMetrics_ScriptExecuted_Call
- func (_c *BackendScriptsMetrics_ScriptExecuted_Call) Run(run func(dur time.Duration, size int)) *BackendScriptsMetrics_ScriptExecuted_Call
- func (_c *BackendScriptsMetrics_ScriptExecuted_Call) RunAndReturn(run func(dur time.Duration, size int)) *BackendScriptsMetrics_ScriptExecuted_Call
- type BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) Return() *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
- type BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) Return() *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
- type BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) Return() *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
- type BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) Return() *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
- type BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) Return() *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
- type BackendScriptsMetrics_ScriptExecutionResultMatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionResultMatch_Call) Return() *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionResultMatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionResultMatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
- type BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) Return() *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
- func (_c *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
- type BitswapMetrics
- func (_mock *BitswapMetrics) BlobsReceived(prefix string, n uint64)
- func (_mock *BitswapMetrics) BlobsSent(prefix string, n uint64)
- func (_mock *BitswapMetrics) DataReceived(prefix string, n uint64)
- func (_mock *BitswapMetrics) DataSent(prefix string, n uint64)
- func (_mock *BitswapMetrics) DupBlobsReceived(prefix string, n uint64)
- func (_mock *BitswapMetrics) DupDataReceived(prefix string, n uint64)
- func (_m *BitswapMetrics) EXPECT() *BitswapMetrics_Expecter
- func (_mock *BitswapMetrics) MessagesReceived(prefix string, n uint64)
- func (_mock *BitswapMetrics) Peers(prefix string, n int)
- func (_mock *BitswapMetrics) Wantlist(prefix string, n int)
- type BitswapMetrics_BlobsReceived_Call
- func (_c *BitswapMetrics_BlobsReceived_Call) Return() *BitswapMetrics_BlobsReceived_Call
- func (_c *BitswapMetrics_BlobsReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_BlobsReceived_Call
- func (_c *BitswapMetrics_BlobsReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_BlobsReceived_Call
- type BitswapMetrics_BlobsSent_Call
- func (_c *BitswapMetrics_BlobsSent_Call) Return() *BitswapMetrics_BlobsSent_Call
- func (_c *BitswapMetrics_BlobsSent_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_BlobsSent_Call
- func (_c *BitswapMetrics_BlobsSent_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_BlobsSent_Call
- type BitswapMetrics_DataReceived_Call
- func (_c *BitswapMetrics_DataReceived_Call) Return() *BitswapMetrics_DataReceived_Call
- func (_c *BitswapMetrics_DataReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DataReceived_Call
- func (_c *BitswapMetrics_DataReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DataReceived_Call
- type BitswapMetrics_DataSent_Call
- func (_c *BitswapMetrics_DataSent_Call) Return() *BitswapMetrics_DataSent_Call
- func (_c *BitswapMetrics_DataSent_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DataSent_Call
- func (_c *BitswapMetrics_DataSent_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DataSent_Call
- type BitswapMetrics_DupBlobsReceived_Call
- func (_c *BitswapMetrics_DupBlobsReceived_Call) Return() *BitswapMetrics_DupBlobsReceived_Call
- func (_c *BitswapMetrics_DupBlobsReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DupBlobsReceived_Call
- func (_c *BitswapMetrics_DupBlobsReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DupBlobsReceived_Call
- type BitswapMetrics_DupDataReceived_Call
- func (_c *BitswapMetrics_DupDataReceived_Call) Return() *BitswapMetrics_DupDataReceived_Call
- func (_c *BitswapMetrics_DupDataReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DupDataReceived_Call
- func (_c *BitswapMetrics_DupDataReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DupDataReceived_Call
- type BitswapMetrics_Expecter
- func (_e *BitswapMetrics_Expecter) BlobsReceived(prefix interface{}, n interface{}) *BitswapMetrics_BlobsReceived_Call
- func (_e *BitswapMetrics_Expecter) BlobsSent(prefix interface{}, n interface{}) *BitswapMetrics_BlobsSent_Call
- func (_e *BitswapMetrics_Expecter) DataReceived(prefix interface{}, n interface{}) *BitswapMetrics_DataReceived_Call
- func (_e *BitswapMetrics_Expecter) DataSent(prefix interface{}, n interface{}) *BitswapMetrics_DataSent_Call
- func (_e *BitswapMetrics_Expecter) DupBlobsReceived(prefix interface{}, n interface{}) *BitswapMetrics_DupBlobsReceived_Call
- func (_e *BitswapMetrics_Expecter) DupDataReceived(prefix interface{}, n interface{}) *BitswapMetrics_DupDataReceived_Call
- func (_e *BitswapMetrics_Expecter) MessagesReceived(prefix interface{}, n interface{}) *BitswapMetrics_MessagesReceived_Call
- func (_e *BitswapMetrics_Expecter) Peers(prefix interface{}, n interface{}) *BitswapMetrics_Peers_Call
- func (_e *BitswapMetrics_Expecter) Wantlist(prefix interface{}, n interface{}) *BitswapMetrics_Wantlist_Call
- type BitswapMetrics_MessagesReceived_Call
- func (_c *BitswapMetrics_MessagesReceived_Call) Return() *BitswapMetrics_MessagesReceived_Call
- func (_c *BitswapMetrics_MessagesReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_MessagesReceived_Call
- func (_c *BitswapMetrics_MessagesReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_MessagesReceived_Call
- type BitswapMetrics_Peers_Call
- type BitswapMetrics_Wantlist_Call
- type BlockIterator
- type BlockIterator_Checkpoint_Call
- func (_c *BlockIterator_Checkpoint_Call) Return(savedIndex uint64, exception error) *BlockIterator_Checkpoint_Call
- func (_c *BlockIterator_Checkpoint_Call) Run(run func()) *BlockIterator_Checkpoint_Call
- func (_c *BlockIterator_Checkpoint_Call) RunAndReturn(run func() (uint64, error)) *BlockIterator_Checkpoint_Call
- type BlockIterator_Expecter
- type BlockIterator_Next_Call
- func (_c *BlockIterator_Next_Call) Return(blockID flow.Identifier, hasNext bool, exception error) *BlockIterator_Next_Call
- func (_c *BlockIterator_Next_Call) Run(run func()) *BlockIterator_Next_Call
- func (_c *BlockIterator_Next_Call) RunAndReturn(run func() (flow.Identifier, bool, error)) *BlockIterator_Next_Call
- type BlockIterator_Progress_Call
- func (_c *BlockIterator_Progress_Call) Return(start uint64, end uint64, next uint64) *BlockIterator_Progress_Call
- func (_c *BlockIterator_Progress_Call) Run(run func()) *BlockIterator_Progress_Call
- func (_c *BlockIterator_Progress_Call) RunAndReturn(run func() (uint64, uint64, uint64)) *BlockIterator_Progress_Call
- type BlockRequester
- type BlockRequester_Expecter
- func (_e *BlockRequester_Expecter) Prune(final interface{}) *BlockRequester_Prune_Call
- func (_e *BlockRequester_Expecter) RequestBlock(blockID interface{}, height interface{}) *BlockRequester_RequestBlock_Call
- func (_e *BlockRequester_Expecter) RequestHeight(height interface{}) *BlockRequester_RequestHeight_Call
- type BlockRequester_Prune_Call
- type BlockRequester_RequestBlock_Call
- func (_c *BlockRequester_RequestBlock_Call) Return() *BlockRequester_RequestBlock_Call
- func (_c *BlockRequester_RequestBlock_Call) Run(run func(blockID flow.Identifier, height uint64)) *BlockRequester_RequestBlock_Call
- func (_c *BlockRequester_RequestBlock_Call) RunAndReturn(run func(blockID flow.Identifier, height uint64)) *BlockRequester_RequestBlock_Call
- type BlockRequester_RequestHeight_Call
- func (_c *BlockRequester_RequestHeight_Call) Return() *BlockRequester_RequestHeight_Call
- func (_c *BlockRequester_RequestHeight_Call) Run(run func(height uint64)) *BlockRequester_RequestHeight_Call
- func (_c *BlockRequester_RequestHeight_Call) RunAndReturn(run func(height uint64)) *BlockRequester_RequestHeight_Call
- type Builder
- type Builder_BuildOn_Call
- type Builder_Expecter
- type CacheMetrics
- type CacheMetrics_CacheEntries_Call
- func (_c *CacheMetrics_CacheEntries_Call) Return() *CacheMetrics_CacheEntries_Call
- func (_c *CacheMetrics_CacheEntries_Call) Run(run func(resource string, entries uint)) *CacheMetrics_CacheEntries_Call
- func (_c *CacheMetrics_CacheEntries_Call) RunAndReturn(run func(resource string, entries uint)) *CacheMetrics_CacheEntries_Call
- type CacheMetrics_CacheHit_Call
- type CacheMetrics_CacheMiss_Call
- type CacheMetrics_CacheNotFound_Call
- func (_c *CacheMetrics_CacheNotFound_Call) Return() *CacheMetrics_CacheNotFound_Call
- func (_c *CacheMetrics_CacheNotFound_Call) Run(run func(resource string)) *CacheMetrics_CacheNotFound_Call
- func (_c *CacheMetrics_CacheNotFound_Call) RunAndReturn(run func(resource string)) *CacheMetrics_CacheNotFound_Call
- type CacheMetrics_Expecter
- func (_e *CacheMetrics_Expecter) CacheEntries(resource interface{}, entries interface{}) *CacheMetrics_CacheEntries_Call
- func (_e *CacheMetrics_Expecter) CacheHit(resource interface{}) *CacheMetrics_CacheHit_Call
- func (_e *CacheMetrics_Expecter) CacheMiss(resource interface{}) *CacheMetrics_CacheMiss_Call
- func (_e *CacheMetrics_Expecter) CacheNotFound(resource interface{}) *CacheMetrics_CacheNotFound_Call
- type ChainSyncMetrics
- func (_mock *ChainSyncMetrics) BatchRequested(batch chainsync.Batch)
- func (_m *ChainSyncMetrics) EXPECT() *ChainSyncMetrics_Expecter
- func (_mock *ChainSyncMetrics) PrunedBlockByHeight(status *chainsync.Status)
- func (_mock *ChainSyncMetrics) PrunedBlockById(status *chainsync.Status)
- func (_mock *ChainSyncMetrics) PrunedBlocks(totalByHeight int, totalById int, storedByHeight int, storedById int)
- func (_mock *ChainSyncMetrics) RangeRequested(ran chainsync.Range)
- type ChainSyncMetrics_BatchRequested_Call
- func (_c *ChainSyncMetrics_BatchRequested_Call) Return() *ChainSyncMetrics_BatchRequested_Call
- func (_c *ChainSyncMetrics_BatchRequested_Call) Run(run func(batch chainsync.Batch)) *ChainSyncMetrics_BatchRequested_Call
- func (_c *ChainSyncMetrics_BatchRequested_Call) RunAndReturn(run func(batch chainsync.Batch)) *ChainSyncMetrics_BatchRequested_Call
- type ChainSyncMetrics_Expecter
- func (_e *ChainSyncMetrics_Expecter) BatchRequested(batch interface{}) *ChainSyncMetrics_BatchRequested_Call
- func (_e *ChainSyncMetrics_Expecter) PrunedBlockByHeight(status interface{}) *ChainSyncMetrics_PrunedBlockByHeight_Call
- func (_e *ChainSyncMetrics_Expecter) PrunedBlockById(status interface{}) *ChainSyncMetrics_PrunedBlockById_Call
- func (_e *ChainSyncMetrics_Expecter) PrunedBlocks(totalByHeight interface{}, totalById interface{}, storedByHeight interface{}, ...) *ChainSyncMetrics_PrunedBlocks_Call
- func (_e *ChainSyncMetrics_Expecter) RangeRequested(ran interface{}) *ChainSyncMetrics_RangeRequested_Call
- type ChainSyncMetrics_PrunedBlockByHeight_Call
- func (_c *ChainSyncMetrics_PrunedBlockByHeight_Call) Return() *ChainSyncMetrics_PrunedBlockByHeight_Call
- func (_c *ChainSyncMetrics_PrunedBlockByHeight_Call) Run(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockByHeight_Call
- func (_c *ChainSyncMetrics_PrunedBlockByHeight_Call) RunAndReturn(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockByHeight_Call
- type ChainSyncMetrics_PrunedBlockById_Call
- func (_c *ChainSyncMetrics_PrunedBlockById_Call) Return() *ChainSyncMetrics_PrunedBlockById_Call
- func (_c *ChainSyncMetrics_PrunedBlockById_Call) Run(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockById_Call
- func (_c *ChainSyncMetrics_PrunedBlockById_Call) RunAndReturn(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockById_Call
- type ChainSyncMetrics_PrunedBlocks_Call
- func (_c *ChainSyncMetrics_PrunedBlocks_Call) Return() *ChainSyncMetrics_PrunedBlocks_Call
- func (_c *ChainSyncMetrics_PrunedBlocks_Call) Run(run func(totalByHeight int, totalById int, storedByHeight int, storedById int)) *ChainSyncMetrics_PrunedBlocks_Call
- func (_c *ChainSyncMetrics_PrunedBlocks_Call) RunAndReturn(run func(totalByHeight int, totalById int, storedByHeight int, storedById int)) *ChainSyncMetrics_PrunedBlocks_Call
- type ChainSyncMetrics_RangeRequested_Call
- func (_c *ChainSyncMetrics_RangeRequested_Call) Return() *ChainSyncMetrics_RangeRequested_Call
- func (_c *ChainSyncMetrics_RangeRequested_Call) Run(run func(ran chainsync.Range)) *ChainSyncMetrics_RangeRequested_Call
- func (_c *ChainSyncMetrics_RangeRequested_Call) RunAndReturn(run func(ran chainsync.Range)) *ChainSyncMetrics_RangeRequested_Call
- type ChunkAssigner
- type ChunkAssigner_Assign_Call
- func (_c *ChunkAssigner_Assign_Call) Return(assignment *chunks.Assignment, err error) *ChunkAssigner_Assign_Call
- func (_c *ChunkAssigner_Assign_Call) Run(run func(result *flow.ExecutionResult, blockID flow.Identifier)) *ChunkAssigner_Assign_Call
- func (_c *ChunkAssigner_Assign_Call) RunAndReturn(...) *ChunkAssigner_Assign_Call
- type ChunkAssigner_Expecter
- type ChunkVerifier
- type ChunkVerifier_Expecter
- type ChunkVerifier_Verify_Call
- func (_c *ChunkVerifier_Verify_Call) Return(bytes []byte, err error) *ChunkVerifier_Verify_Call
- func (_c *ChunkVerifier_Verify_Call) Run(run func(ch *verification.VerifiableChunkData)) *ChunkVerifier_Verify_Call
- func (_c *ChunkVerifier_Verify_Call) RunAndReturn(run func(ch *verification.VerifiableChunkData) ([]byte, error)) *ChunkVerifier_Verify_Call
- type CleanerMetrics
- type CleanerMetrics_Expecter
- type CleanerMetrics_RanGC_Call
- type ClusterRootQCVoter
- type ClusterRootQCVoter_Expecter
- type ClusterRootQCVoter_Vote_Call
- func (_c *ClusterRootQCVoter_Vote_Call) Return(err error) *ClusterRootQCVoter_Vote_Call
- func (_c *ClusterRootQCVoter_Vote_Call) Run(run func(context1 context.Context, tentativeEpoch protocol.TentativeEpoch)) *ClusterRootQCVoter_Vote_Call
- func (_c *ClusterRootQCVoter_Vote_Call) RunAndReturn(...) *ClusterRootQCVoter_Vote_Call
- type CollectionExecutedMetric
- func (_mock *CollectionExecutedMetric) BlockFinalized(block *flow.Block)
- func (_mock *CollectionExecutedMetric) CollectionExecuted(light *flow.LightCollection)
- func (_mock *CollectionExecutedMetric) CollectionFinalized(light *flow.LightCollection)
- func (_m *CollectionExecutedMetric) EXPECT() *CollectionExecutedMetric_Expecter
- func (_mock *CollectionExecutedMetric) ExecutionReceiptReceived(r *flow.ExecutionReceipt)
- func (_mock *CollectionExecutedMetric) UpdateLastFullBlockHeight(height uint64)
- type CollectionExecutedMetric_BlockFinalized_Call
- func (_c *CollectionExecutedMetric_BlockFinalized_Call) Return() *CollectionExecutedMetric_BlockFinalized_Call
- func (_c *CollectionExecutedMetric_BlockFinalized_Call) Run(run func(block *flow.Block)) *CollectionExecutedMetric_BlockFinalized_Call
- func (_c *CollectionExecutedMetric_BlockFinalized_Call) RunAndReturn(run func(block *flow.Block)) *CollectionExecutedMetric_BlockFinalized_Call
- type CollectionExecutedMetric_CollectionExecuted_Call
- func (_c *CollectionExecutedMetric_CollectionExecuted_Call) Return() *CollectionExecutedMetric_CollectionExecuted_Call
- func (_c *CollectionExecutedMetric_CollectionExecuted_Call) Run(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionExecuted_Call
- func (_c *CollectionExecutedMetric_CollectionExecuted_Call) RunAndReturn(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionExecuted_Call
- type CollectionExecutedMetric_CollectionFinalized_Call
- func (_c *CollectionExecutedMetric_CollectionFinalized_Call) Return() *CollectionExecutedMetric_CollectionFinalized_Call
- func (_c *CollectionExecutedMetric_CollectionFinalized_Call) Run(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionFinalized_Call
- func (_c *CollectionExecutedMetric_CollectionFinalized_Call) RunAndReturn(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionFinalized_Call
- type CollectionExecutedMetric_ExecutionReceiptReceived_Call
- func (_c *CollectionExecutedMetric_ExecutionReceiptReceived_Call) Return() *CollectionExecutedMetric_ExecutionReceiptReceived_Call
- func (_c *CollectionExecutedMetric_ExecutionReceiptReceived_Call) Run(run func(r *flow.ExecutionReceipt)) *CollectionExecutedMetric_ExecutionReceiptReceived_Call
- func (_c *CollectionExecutedMetric_ExecutionReceiptReceived_Call) RunAndReturn(run func(r *flow.ExecutionReceipt)) *CollectionExecutedMetric_ExecutionReceiptReceived_Call
- type CollectionExecutedMetric_Expecter
- func (_e *CollectionExecutedMetric_Expecter) BlockFinalized(block interface{}) *CollectionExecutedMetric_BlockFinalized_Call
- func (_e *CollectionExecutedMetric_Expecter) CollectionExecuted(light interface{}) *CollectionExecutedMetric_CollectionExecuted_Call
- func (_e *CollectionExecutedMetric_Expecter) CollectionFinalized(light interface{}) *CollectionExecutedMetric_CollectionFinalized_Call
- func (_e *CollectionExecutedMetric_Expecter) ExecutionReceiptReceived(r interface{}) *CollectionExecutedMetric_ExecutionReceiptReceived_Call
- func (_e *CollectionExecutedMetric_Expecter) UpdateLastFullBlockHeight(height interface{}) *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
- type CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
- func (_c *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) Return() *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
- func (_c *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) Run(run func(height uint64)) *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
- func (_c *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) RunAndReturn(run func(height uint64)) *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
- type CollectionMetrics
- func (_mock *CollectionMetrics) ClusterBlockCreated(block *cluster.Block, priorityTxnsCount uint)
- func (_mock *CollectionMetrics) ClusterBlockFinalized(block *cluster.Block)
- func (_mock *CollectionMetrics) CollectionMaxSize(size uint)
- func (_m *CollectionMetrics) EXPECT() *CollectionMetrics_Expecter
- func (_mock *CollectionMetrics) TransactionIngested(txID flow.Identifier)
- func (_mock *CollectionMetrics) TransactionValidated()
- func (_mock *CollectionMetrics) TransactionValidationFailed(reason string)
- func (_mock *CollectionMetrics) TransactionValidationSkipped()
- type CollectionMetrics_ClusterBlockCreated_Call
- func (_c *CollectionMetrics_ClusterBlockCreated_Call) Return() *CollectionMetrics_ClusterBlockCreated_Call
- func (_c *CollectionMetrics_ClusterBlockCreated_Call) Run(run func(block *cluster.Block, priorityTxnsCount uint)) *CollectionMetrics_ClusterBlockCreated_Call
- func (_c *CollectionMetrics_ClusterBlockCreated_Call) RunAndReturn(run func(block *cluster.Block, priorityTxnsCount uint)) *CollectionMetrics_ClusterBlockCreated_Call
- type CollectionMetrics_ClusterBlockFinalized_Call
- func (_c *CollectionMetrics_ClusterBlockFinalized_Call) Return() *CollectionMetrics_ClusterBlockFinalized_Call
- func (_c *CollectionMetrics_ClusterBlockFinalized_Call) Run(run func(block *cluster.Block)) *CollectionMetrics_ClusterBlockFinalized_Call
- func (_c *CollectionMetrics_ClusterBlockFinalized_Call) RunAndReturn(run func(block *cluster.Block)) *CollectionMetrics_ClusterBlockFinalized_Call
- type CollectionMetrics_CollectionMaxSize_Call
- func (_c *CollectionMetrics_CollectionMaxSize_Call) Return() *CollectionMetrics_CollectionMaxSize_Call
- func (_c *CollectionMetrics_CollectionMaxSize_Call) Run(run func(size uint)) *CollectionMetrics_CollectionMaxSize_Call
- func (_c *CollectionMetrics_CollectionMaxSize_Call) RunAndReturn(run func(size uint)) *CollectionMetrics_CollectionMaxSize_Call
- type CollectionMetrics_Expecter
- func (_e *CollectionMetrics_Expecter) ClusterBlockCreated(block interface{}, priorityTxnsCount interface{}) *CollectionMetrics_ClusterBlockCreated_Call
- func (_e *CollectionMetrics_Expecter) ClusterBlockFinalized(block interface{}) *CollectionMetrics_ClusterBlockFinalized_Call
- func (_e *CollectionMetrics_Expecter) CollectionMaxSize(size interface{}) *CollectionMetrics_CollectionMaxSize_Call
- func (_e *CollectionMetrics_Expecter) TransactionIngested(txID interface{}) *CollectionMetrics_TransactionIngested_Call
- func (_e *CollectionMetrics_Expecter) TransactionValidated() *CollectionMetrics_TransactionValidated_Call
- func (_e *CollectionMetrics_Expecter) TransactionValidationFailed(reason interface{}) *CollectionMetrics_TransactionValidationFailed_Call
- func (_e *CollectionMetrics_Expecter) TransactionValidationSkipped() *CollectionMetrics_TransactionValidationSkipped_Call
- type CollectionMetrics_TransactionIngested_Call
- func (_c *CollectionMetrics_TransactionIngested_Call) Return() *CollectionMetrics_TransactionIngested_Call
- func (_c *CollectionMetrics_TransactionIngested_Call) Run(run func(txID flow.Identifier)) *CollectionMetrics_TransactionIngested_Call
- func (_c *CollectionMetrics_TransactionIngested_Call) RunAndReturn(run func(txID flow.Identifier)) *CollectionMetrics_TransactionIngested_Call
- type CollectionMetrics_TransactionValidated_Call
- func (_c *CollectionMetrics_TransactionValidated_Call) Return() *CollectionMetrics_TransactionValidated_Call
- func (_c *CollectionMetrics_TransactionValidated_Call) Run(run func()) *CollectionMetrics_TransactionValidated_Call
- func (_c *CollectionMetrics_TransactionValidated_Call) RunAndReturn(run func()) *CollectionMetrics_TransactionValidated_Call
- type CollectionMetrics_TransactionValidationFailed_Call
- func (_c *CollectionMetrics_TransactionValidationFailed_Call) Return() *CollectionMetrics_TransactionValidationFailed_Call
- func (_c *CollectionMetrics_TransactionValidationFailed_Call) Run(run func(reason string)) *CollectionMetrics_TransactionValidationFailed_Call
- func (_c *CollectionMetrics_TransactionValidationFailed_Call) RunAndReturn(run func(reason string)) *CollectionMetrics_TransactionValidationFailed_Call
- type CollectionMetrics_TransactionValidationSkipped_Call
- func (_c *CollectionMetrics_TransactionValidationSkipped_Call) Return() *CollectionMetrics_TransactionValidationSkipped_Call
- func (_c *CollectionMetrics_TransactionValidationSkipped_Call) Run(run func()) *CollectionMetrics_TransactionValidationSkipped_Call
- func (_c *CollectionMetrics_TransactionValidationSkipped_Call) RunAndReturn(run func()) *CollectionMetrics_TransactionValidationSkipped_Call
- type ComplianceMetrics
- func (_mock *ComplianceMetrics) BlockFinalized(v *flow.Block)
- func (_mock *ComplianceMetrics) BlockSealed(v *flow.Block)
- func (_mock *ComplianceMetrics) CurrentDKGPhaseViews(phase1FinalView uint64, phase2FinalView uint64, phase3FinalView uint64)
- func (_mock *ComplianceMetrics) CurrentEpochCounter(counter uint64)
- func (_mock *ComplianceMetrics) CurrentEpochFinalView(view uint64)
- func (_mock *ComplianceMetrics) CurrentEpochPhase(phase flow.EpochPhase)
- func (_m *ComplianceMetrics) EXPECT() *ComplianceMetrics_Expecter
- func (_mock *ComplianceMetrics) EpochFallbackModeExited()
- func (_mock *ComplianceMetrics) EpochFallbackModeTriggered()
- func (_mock *ComplianceMetrics) EpochTransitionHeight(height uint64)
- func (_mock *ComplianceMetrics) FinalizedHeight(height uint64)
- func (_mock *ComplianceMetrics) ProtocolStateVersion(version uint64)
- func (_mock *ComplianceMetrics) SealedHeight(height uint64)
- type ComplianceMetrics_BlockFinalized_Call
- func (_c *ComplianceMetrics_BlockFinalized_Call) Return() *ComplianceMetrics_BlockFinalized_Call
- func (_c *ComplianceMetrics_BlockFinalized_Call) Run(run func(v *flow.Block)) *ComplianceMetrics_BlockFinalized_Call
- func (_c *ComplianceMetrics_BlockFinalized_Call) RunAndReturn(run func(v *flow.Block)) *ComplianceMetrics_BlockFinalized_Call
- type ComplianceMetrics_BlockSealed_Call
- func (_c *ComplianceMetrics_BlockSealed_Call) Return() *ComplianceMetrics_BlockSealed_Call
- func (_c *ComplianceMetrics_BlockSealed_Call) Run(run func(v *flow.Block)) *ComplianceMetrics_BlockSealed_Call
- func (_c *ComplianceMetrics_BlockSealed_Call) RunAndReturn(run func(v *flow.Block)) *ComplianceMetrics_BlockSealed_Call
- type ComplianceMetrics_CurrentDKGPhaseViews_Call
- func (_c *ComplianceMetrics_CurrentDKGPhaseViews_Call) Return() *ComplianceMetrics_CurrentDKGPhaseViews_Call
- func (_c *ComplianceMetrics_CurrentDKGPhaseViews_Call) Run(...) *ComplianceMetrics_CurrentDKGPhaseViews_Call
- func (_c *ComplianceMetrics_CurrentDKGPhaseViews_Call) RunAndReturn(...) *ComplianceMetrics_CurrentDKGPhaseViews_Call
- type ComplianceMetrics_CurrentEpochCounter_Call
- func (_c *ComplianceMetrics_CurrentEpochCounter_Call) Return() *ComplianceMetrics_CurrentEpochCounter_Call
- func (_c *ComplianceMetrics_CurrentEpochCounter_Call) Run(run func(counter uint64)) *ComplianceMetrics_CurrentEpochCounter_Call
- func (_c *ComplianceMetrics_CurrentEpochCounter_Call) RunAndReturn(run func(counter uint64)) *ComplianceMetrics_CurrentEpochCounter_Call
- type ComplianceMetrics_CurrentEpochFinalView_Call
- func (_c *ComplianceMetrics_CurrentEpochFinalView_Call) Return() *ComplianceMetrics_CurrentEpochFinalView_Call
- func (_c *ComplianceMetrics_CurrentEpochFinalView_Call) Run(run func(view uint64)) *ComplianceMetrics_CurrentEpochFinalView_Call
- func (_c *ComplianceMetrics_CurrentEpochFinalView_Call) RunAndReturn(run func(view uint64)) *ComplianceMetrics_CurrentEpochFinalView_Call
- type ComplianceMetrics_CurrentEpochPhase_Call
- func (_c *ComplianceMetrics_CurrentEpochPhase_Call) Return() *ComplianceMetrics_CurrentEpochPhase_Call
- func (_c *ComplianceMetrics_CurrentEpochPhase_Call) Run(run func(phase flow.EpochPhase)) *ComplianceMetrics_CurrentEpochPhase_Call
- func (_c *ComplianceMetrics_CurrentEpochPhase_Call) RunAndReturn(run func(phase flow.EpochPhase)) *ComplianceMetrics_CurrentEpochPhase_Call
- type ComplianceMetrics_EpochFallbackModeExited_Call
- func (_c *ComplianceMetrics_EpochFallbackModeExited_Call) Return() *ComplianceMetrics_EpochFallbackModeExited_Call
- func (_c *ComplianceMetrics_EpochFallbackModeExited_Call) Run(run func()) *ComplianceMetrics_EpochFallbackModeExited_Call
- func (_c *ComplianceMetrics_EpochFallbackModeExited_Call) RunAndReturn(run func()) *ComplianceMetrics_EpochFallbackModeExited_Call
- type ComplianceMetrics_EpochFallbackModeTriggered_Call
- func (_c *ComplianceMetrics_EpochFallbackModeTriggered_Call) Return() *ComplianceMetrics_EpochFallbackModeTriggered_Call
- func (_c *ComplianceMetrics_EpochFallbackModeTriggered_Call) Run(run func()) *ComplianceMetrics_EpochFallbackModeTriggered_Call
- func (_c *ComplianceMetrics_EpochFallbackModeTriggered_Call) RunAndReturn(run func()) *ComplianceMetrics_EpochFallbackModeTriggered_Call
- type ComplianceMetrics_EpochTransitionHeight_Call
- func (_c *ComplianceMetrics_EpochTransitionHeight_Call) Return() *ComplianceMetrics_EpochTransitionHeight_Call
- func (_c *ComplianceMetrics_EpochTransitionHeight_Call) Run(run func(height uint64)) *ComplianceMetrics_EpochTransitionHeight_Call
- func (_c *ComplianceMetrics_EpochTransitionHeight_Call) RunAndReturn(run func(height uint64)) *ComplianceMetrics_EpochTransitionHeight_Call
- type ComplianceMetrics_Expecter
- func (_e *ComplianceMetrics_Expecter) BlockFinalized(v interface{}) *ComplianceMetrics_BlockFinalized_Call
- func (_e *ComplianceMetrics_Expecter) BlockSealed(v interface{}) *ComplianceMetrics_BlockSealed_Call
- func (_e *ComplianceMetrics_Expecter) CurrentDKGPhaseViews(phase1FinalView interface{}, phase2FinalView interface{}, ...) *ComplianceMetrics_CurrentDKGPhaseViews_Call
- func (_e *ComplianceMetrics_Expecter) CurrentEpochCounter(counter interface{}) *ComplianceMetrics_CurrentEpochCounter_Call
- func (_e *ComplianceMetrics_Expecter) CurrentEpochFinalView(view interface{}) *ComplianceMetrics_CurrentEpochFinalView_Call
- func (_e *ComplianceMetrics_Expecter) CurrentEpochPhase(phase interface{}) *ComplianceMetrics_CurrentEpochPhase_Call
- func (_e *ComplianceMetrics_Expecter) EpochFallbackModeExited() *ComplianceMetrics_EpochFallbackModeExited_Call
- func (_e *ComplianceMetrics_Expecter) EpochFallbackModeTriggered() *ComplianceMetrics_EpochFallbackModeTriggered_Call
- func (_e *ComplianceMetrics_Expecter) EpochTransitionHeight(height interface{}) *ComplianceMetrics_EpochTransitionHeight_Call
- func (_e *ComplianceMetrics_Expecter) FinalizedHeight(height interface{}) *ComplianceMetrics_FinalizedHeight_Call
- func (_e *ComplianceMetrics_Expecter) ProtocolStateVersion(version interface{}) *ComplianceMetrics_ProtocolStateVersion_Call
- func (_e *ComplianceMetrics_Expecter) SealedHeight(height interface{}) *ComplianceMetrics_SealedHeight_Call
- type ComplianceMetrics_FinalizedHeight_Call
- func (_c *ComplianceMetrics_FinalizedHeight_Call) Return() *ComplianceMetrics_FinalizedHeight_Call
- func (_c *ComplianceMetrics_FinalizedHeight_Call) Run(run func(height uint64)) *ComplianceMetrics_FinalizedHeight_Call
- func (_c *ComplianceMetrics_FinalizedHeight_Call) RunAndReturn(run func(height uint64)) *ComplianceMetrics_FinalizedHeight_Call
- type ComplianceMetrics_ProtocolStateVersion_Call
- func (_c *ComplianceMetrics_ProtocolStateVersion_Call) Return() *ComplianceMetrics_ProtocolStateVersion_Call
- func (_c *ComplianceMetrics_ProtocolStateVersion_Call) Run(run func(version uint64)) *ComplianceMetrics_ProtocolStateVersion_Call
- func (_c *ComplianceMetrics_ProtocolStateVersion_Call) RunAndReturn(run func(version uint64)) *ComplianceMetrics_ProtocolStateVersion_Call
- type ComplianceMetrics_SealedHeight_Call
- func (_c *ComplianceMetrics_SealedHeight_Call) Return() *ComplianceMetrics_SealedHeight_Call
- func (_c *ComplianceMetrics_SealedHeight_Call) Run(run func(height uint64)) *ComplianceMetrics_SealedHeight_Call
- func (_c *ComplianceMetrics_SealedHeight_Call) RunAndReturn(run func(height uint64)) *ComplianceMetrics_SealedHeight_Call
- type ConsensusMetrics
- func (_mock *ConsensusMetrics) CheckSealingDuration(duration time.Duration)
- func (_m *ConsensusMetrics) EXPECT() *ConsensusMetrics_Expecter
- func (_mock *ConsensusMetrics) EmergencySeal()
- func (_mock *ConsensusMetrics) FinishBlockToSeal(blockID flow.Identifier)
- func (_mock *ConsensusMetrics) FinishCollectionToFinalized(collectionID flow.Identifier)
- func (_mock *ConsensusMetrics) OnApprovalProcessingDuration(duration time.Duration)
- func (_mock *ConsensusMetrics) OnReceiptProcessingDuration(duration time.Duration)
- func (_mock *ConsensusMetrics) StartBlockToSeal(blockID flow.Identifier)
- func (_mock *ConsensusMetrics) StartCollectionToFinalized(collectionID flow.Identifier)
- type ConsensusMetrics_CheckSealingDuration_Call
- func (_c *ConsensusMetrics_CheckSealingDuration_Call) Return() *ConsensusMetrics_CheckSealingDuration_Call
- func (_c *ConsensusMetrics_CheckSealingDuration_Call) Run(run func(duration time.Duration)) *ConsensusMetrics_CheckSealingDuration_Call
- func (_c *ConsensusMetrics_CheckSealingDuration_Call) RunAndReturn(run func(duration time.Duration)) *ConsensusMetrics_CheckSealingDuration_Call
- type ConsensusMetrics_EmergencySeal_Call
- func (_c *ConsensusMetrics_EmergencySeal_Call) Return() *ConsensusMetrics_EmergencySeal_Call
- func (_c *ConsensusMetrics_EmergencySeal_Call) Run(run func()) *ConsensusMetrics_EmergencySeal_Call
- func (_c *ConsensusMetrics_EmergencySeal_Call) RunAndReturn(run func()) *ConsensusMetrics_EmergencySeal_Call
- type ConsensusMetrics_Expecter
- func (_e *ConsensusMetrics_Expecter) CheckSealingDuration(duration interface{}) *ConsensusMetrics_CheckSealingDuration_Call
- func (_e *ConsensusMetrics_Expecter) EmergencySeal() *ConsensusMetrics_EmergencySeal_Call
- func (_e *ConsensusMetrics_Expecter) FinishBlockToSeal(blockID interface{}) *ConsensusMetrics_FinishBlockToSeal_Call
- func (_e *ConsensusMetrics_Expecter) FinishCollectionToFinalized(collectionID interface{}) *ConsensusMetrics_FinishCollectionToFinalized_Call
- func (_e *ConsensusMetrics_Expecter) OnApprovalProcessingDuration(duration interface{}) *ConsensusMetrics_OnApprovalProcessingDuration_Call
- func (_e *ConsensusMetrics_Expecter) OnReceiptProcessingDuration(duration interface{}) *ConsensusMetrics_OnReceiptProcessingDuration_Call
- func (_e *ConsensusMetrics_Expecter) StartBlockToSeal(blockID interface{}) *ConsensusMetrics_StartBlockToSeal_Call
- func (_e *ConsensusMetrics_Expecter) StartCollectionToFinalized(collectionID interface{}) *ConsensusMetrics_StartCollectionToFinalized_Call
- type ConsensusMetrics_FinishBlockToSeal_Call
- func (_c *ConsensusMetrics_FinishBlockToSeal_Call) Return() *ConsensusMetrics_FinishBlockToSeal_Call
- func (_c *ConsensusMetrics_FinishBlockToSeal_Call) Run(run func(blockID flow.Identifier)) *ConsensusMetrics_FinishBlockToSeal_Call
- func (_c *ConsensusMetrics_FinishBlockToSeal_Call) RunAndReturn(run func(blockID flow.Identifier)) *ConsensusMetrics_FinishBlockToSeal_Call
- type ConsensusMetrics_FinishCollectionToFinalized_Call
- func (_c *ConsensusMetrics_FinishCollectionToFinalized_Call) Return() *ConsensusMetrics_FinishCollectionToFinalized_Call
- func (_c *ConsensusMetrics_FinishCollectionToFinalized_Call) Run(run func(collectionID flow.Identifier)) *ConsensusMetrics_FinishCollectionToFinalized_Call
- func (_c *ConsensusMetrics_FinishCollectionToFinalized_Call) RunAndReturn(run func(collectionID flow.Identifier)) *ConsensusMetrics_FinishCollectionToFinalized_Call
- type ConsensusMetrics_OnApprovalProcessingDuration_Call
- func (_c *ConsensusMetrics_OnApprovalProcessingDuration_Call) Return() *ConsensusMetrics_OnApprovalProcessingDuration_Call
- func (_c *ConsensusMetrics_OnApprovalProcessingDuration_Call) Run(run func(duration time.Duration)) *ConsensusMetrics_OnApprovalProcessingDuration_Call
- func (_c *ConsensusMetrics_OnApprovalProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *ConsensusMetrics_OnApprovalProcessingDuration_Call
- type ConsensusMetrics_OnReceiptProcessingDuration_Call
- func (_c *ConsensusMetrics_OnReceiptProcessingDuration_Call) Return() *ConsensusMetrics_OnReceiptProcessingDuration_Call
- func (_c *ConsensusMetrics_OnReceiptProcessingDuration_Call) Run(run func(duration time.Duration)) *ConsensusMetrics_OnReceiptProcessingDuration_Call
- func (_c *ConsensusMetrics_OnReceiptProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *ConsensusMetrics_OnReceiptProcessingDuration_Call
- type ConsensusMetrics_StartBlockToSeal_Call
- func (_c *ConsensusMetrics_StartBlockToSeal_Call) Return() *ConsensusMetrics_StartBlockToSeal_Call
- func (_c *ConsensusMetrics_StartBlockToSeal_Call) Run(run func(blockID flow.Identifier)) *ConsensusMetrics_StartBlockToSeal_Call
- func (_c *ConsensusMetrics_StartBlockToSeal_Call) RunAndReturn(run func(blockID flow.Identifier)) *ConsensusMetrics_StartBlockToSeal_Call
- type ConsensusMetrics_StartCollectionToFinalized_Call
- func (_c *ConsensusMetrics_StartCollectionToFinalized_Call) Return() *ConsensusMetrics_StartCollectionToFinalized_Call
- func (_c *ConsensusMetrics_StartCollectionToFinalized_Call) Run(run func(collectionID flow.Identifier)) *ConsensusMetrics_StartCollectionToFinalized_Call
- func (_c *ConsensusMetrics_StartCollectionToFinalized_Call) RunAndReturn(run func(collectionID flow.Identifier)) *ConsensusMetrics_StartCollectionToFinalized_Call
- type CruiseCtlMetrics
- func (_mock *CruiseCtlMetrics) ControllerOutput(duration time.Duration)
- func (_m *CruiseCtlMetrics) EXPECT() *CruiseCtlMetrics_Expecter
- func (_mock *CruiseCtlMetrics) PIDError(p float64, i float64, d float64)
- func (_mock *CruiseCtlMetrics) ProposalPublicationDelay(duration time.Duration)
- func (_mock *CruiseCtlMetrics) TargetProposalDuration(duration time.Duration)
- type CruiseCtlMetrics_ControllerOutput_Call
- func (_c *CruiseCtlMetrics_ControllerOutput_Call) Return() *CruiseCtlMetrics_ControllerOutput_Call
- func (_c *CruiseCtlMetrics_ControllerOutput_Call) Run(run func(duration time.Duration)) *CruiseCtlMetrics_ControllerOutput_Call
- func (_c *CruiseCtlMetrics_ControllerOutput_Call) RunAndReturn(run func(duration time.Duration)) *CruiseCtlMetrics_ControllerOutput_Call
- type CruiseCtlMetrics_Expecter
- func (_e *CruiseCtlMetrics_Expecter) ControllerOutput(duration interface{}) *CruiseCtlMetrics_ControllerOutput_Call
- func (_e *CruiseCtlMetrics_Expecter) PIDError(p interface{}, i interface{}, d interface{}) *CruiseCtlMetrics_PIDError_Call
- func (_e *CruiseCtlMetrics_Expecter) ProposalPublicationDelay(duration interface{}) *CruiseCtlMetrics_ProposalPublicationDelay_Call
- func (_e *CruiseCtlMetrics_Expecter) TargetProposalDuration(duration interface{}) *CruiseCtlMetrics_TargetProposalDuration_Call
- type CruiseCtlMetrics_PIDError_Call
- func (_c *CruiseCtlMetrics_PIDError_Call) Return() *CruiseCtlMetrics_PIDError_Call
- func (_c *CruiseCtlMetrics_PIDError_Call) Run(run func(p float64, i float64, d float64)) *CruiseCtlMetrics_PIDError_Call
- func (_c *CruiseCtlMetrics_PIDError_Call) RunAndReturn(run func(p float64, i float64, d float64)) *CruiseCtlMetrics_PIDError_Call
- type CruiseCtlMetrics_ProposalPublicationDelay_Call
- func (_c *CruiseCtlMetrics_ProposalPublicationDelay_Call) Return() *CruiseCtlMetrics_ProposalPublicationDelay_Call
- func (_c *CruiseCtlMetrics_ProposalPublicationDelay_Call) Run(run func(duration time.Duration)) *CruiseCtlMetrics_ProposalPublicationDelay_Call
- func (_c *CruiseCtlMetrics_ProposalPublicationDelay_Call) RunAndReturn(run func(duration time.Duration)) *CruiseCtlMetrics_ProposalPublicationDelay_Call
- type CruiseCtlMetrics_TargetProposalDuration_Call
- func (_c *CruiseCtlMetrics_TargetProposalDuration_Call) Return() *CruiseCtlMetrics_TargetProposalDuration_Call
- func (_c *CruiseCtlMetrics_TargetProposalDuration_Call) Run(run func(duration time.Duration)) *CruiseCtlMetrics_TargetProposalDuration_Call
- func (_c *CruiseCtlMetrics_TargetProposalDuration_Call) RunAndReturn(run func(duration time.Duration)) *CruiseCtlMetrics_TargetProposalDuration_Call
- type DHTMetrics
- type DHTMetrics_Expecter
- type DHTMetrics_RoutingTablePeerAdded_Call
- func (_c *DHTMetrics_RoutingTablePeerAdded_Call) Return() *DHTMetrics_RoutingTablePeerAdded_Call
- func (_c *DHTMetrics_RoutingTablePeerAdded_Call) Run(run func()) *DHTMetrics_RoutingTablePeerAdded_Call
- func (_c *DHTMetrics_RoutingTablePeerAdded_Call) RunAndReturn(run func()) *DHTMetrics_RoutingTablePeerAdded_Call
- type DHTMetrics_RoutingTablePeerRemoved_Call
- func (_c *DHTMetrics_RoutingTablePeerRemoved_Call) Return() *DHTMetrics_RoutingTablePeerRemoved_Call
- func (_c *DHTMetrics_RoutingTablePeerRemoved_Call) Run(run func()) *DHTMetrics_RoutingTablePeerRemoved_Call
- func (_c *DHTMetrics_RoutingTablePeerRemoved_Call) RunAndReturn(run func()) *DHTMetrics_RoutingTablePeerRemoved_Call
- type DKGBroker
- func (_mock *DKGBroker) Broadcast(data []byte)
- func (_mock *DKGBroker) Disqualify(index int, log string)
- func (_m *DKGBroker) EXPECT() *DKGBroker_Expecter
- func (_mock *DKGBroker) FlagMisbehavior(index int, log string)
- func (_mock *DKGBroker) GetBroadcastMsgCh() <-chan messages.BroadcastDKGMessage
- func (_mock *DKGBroker) GetIndex() int
- func (_mock *DKGBroker) GetPrivateMsgCh() <-chan messages.PrivDKGMessageIn
- func (_mock *DKGBroker) Poll(referenceBlock flow.Identifier) error
- func (_mock *DKGBroker) PrivateSend(dest int, data []byte)
- func (_mock *DKGBroker) Shutdown()
- func (_mock *DKGBroker) SubmitResult(publicKey crypto.PublicKey, publicKeys []crypto.PublicKey) error
- type DKGBroker_Broadcast_Call
- type DKGBroker_Disqualify_Call
- type DKGBroker_Expecter
- func (_e *DKGBroker_Expecter) Broadcast(data interface{}) *DKGBroker_Broadcast_Call
- func (_e *DKGBroker_Expecter) Disqualify(index interface{}, log interface{}) *DKGBroker_Disqualify_Call
- func (_e *DKGBroker_Expecter) FlagMisbehavior(index interface{}, log interface{}) *DKGBroker_FlagMisbehavior_Call
- func (_e *DKGBroker_Expecter) GetBroadcastMsgCh() *DKGBroker_GetBroadcastMsgCh_Call
- func (_e *DKGBroker_Expecter) GetIndex() *DKGBroker_GetIndex_Call
- func (_e *DKGBroker_Expecter) GetPrivateMsgCh() *DKGBroker_GetPrivateMsgCh_Call
- func (_e *DKGBroker_Expecter) Poll(referenceBlock interface{}) *DKGBroker_Poll_Call
- func (_e *DKGBroker_Expecter) PrivateSend(dest interface{}, data interface{}) *DKGBroker_PrivateSend_Call
- func (_e *DKGBroker_Expecter) Shutdown() *DKGBroker_Shutdown_Call
- func (_e *DKGBroker_Expecter) SubmitResult(publicKey interface{}, publicKeys interface{}) *DKGBroker_SubmitResult_Call
- type DKGBroker_FlagMisbehavior_Call
- func (_c *DKGBroker_FlagMisbehavior_Call) Return() *DKGBroker_FlagMisbehavior_Call
- func (_c *DKGBroker_FlagMisbehavior_Call) Run(run func(index int, log string)) *DKGBroker_FlagMisbehavior_Call
- func (_c *DKGBroker_FlagMisbehavior_Call) RunAndReturn(run func(index int, log string)) *DKGBroker_FlagMisbehavior_Call
- type DKGBroker_GetBroadcastMsgCh_Call
- func (_c *DKGBroker_GetBroadcastMsgCh_Call) Return(broadcastDKGMessageCh <-chan messages.BroadcastDKGMessage) *DKGBroker_GetBroadcastMsgCh_Call
- func (_c *DKGBroker_GetBroadcastMsgCh_Call) Run(run func()) *DKGBroker_GetBroadcastMsgCh_Call
- func (_c *DKGBroker_GetBroadcastMsgCh_Call) RunAndReturn(run func() <-chan messages.BroadcastDKGMessage) *DKGBroker_GetBroadcastMsgCh_Call
- type DKGBroker_GetIndex_Call
- type DKGBroker_GetPrivateMsgCh_Call
- func (_c *DKGBroker_GetPrivateMsgCh_Call) Return(privDKGMessageInCh <-chan messages.PrivDKGMessageIn) *DKGBroker_GetPrivateMsgCh_Call
- func (_c *DKGBroker_GetPrivateMsgCh_Call) Run(run func()) *DKGBroker_GetPrivateMsgCh_Call
- func (_c *DKGBroker_GetPrivateMsgCh_Call) RunAndReturn(run func() <-chan messages.PrivDKGMessageIn) *DKGBroker_GetPrivateMsgCh_Call
- type DKGBroker_Poll_Call
- type DKGBroker_PrivateSend_Call
- type DKGBroker_Shutdown_Call
- type DKGBroker_SubmitResult_Call
- func (_c *DKGBroker_SubmitResult_Call) Return(err error) *DKGBroker_SubmitResult_Call
- func (_c *DKGBroker_SubmitResult_Call) Run(run func(publicKey crypto.PublicKey, publicKeys []crypto.PublicKey)) *DKGBroker_SubmitResult_Call
- func (_c *DKGBroker_SubmitResult_Call) RunAndReturn(run func(publicKey crypto.PublicKey, publicKeys []crypto.PublicKey) error) *DKGBroker_SubmitResult_Call
- type DKGContractClient
- func (_mock *DKGContractClient) Broadcast(msg messages.BroadcastDKGMessage) error
- func (_m *DKGContractClient) EXPECT() *DKGContractClient_Expecter
- func (_mock *DKGContractClient) ReadBroadcast(fromIndex uint, referenceBlock flow.Identifier) ([]messages.BroadcastDKGMessage, error)
- func (_mock *DKGContractClient) SubmitEmptyResult() error
- func (_mock *DKGContractClient) SubmitParametersAndResult(indexMap flow.DKGIndexMap, groupPublicKey crypto.PublicKey, ...) error
- type DKGContractClient_Broadcast_Call
- func (_c *DKGContractClient_Broadcast_Call) Return(err error) *DKGContractClient_Broadcast_Call
- func (_c *DKGContractClient_Broadcast_Call) Run(run func(msg messages.BroadcastDKGMessage)) *DKGContractClient_Broadcast_Call
- func (_c *DKGContractClient_Broadcast_Call) RunAndReturn(run func(msg messages.BroadcastDKGMessage) error) *DKGContractClient_Broadcast_Call
- type DKGContractClient_Expecter
- func (_e *DKGContractClient_Expecter) Broadcast(msg interface{}) *DKGContractClient_Broadcast_Call
- func (_e *DKGContractClient_Expecter) ReadBroadcast(fromIndex interface{}, referenceBlock interface{}) *DKGContractClient_ReadBroadcast_Call
- func (_e *DKGContractClient_Expecter) SubmitEmptyResult() *DKGContractClient_SubmitEmptyResult_Call
- func (_e *DKGContractClient_Expecter) SubmitParametersAndResult(indexMap interface{}, groupPublicKey interface{}, publicKeys interface{}) *DKGContractClient_SubmitParametersAndResult_Call
- type DKGContractClient_ReadBroadcast_Call
- func (_c *DKGContractClient_ReadBroadcast_Call) Return(broadcastDKGMessages []messages.BroadcastDKGMessage, err error) *DKGContractClient_ReadBroadcast_Call
- func (_c *DKGContractClient_ReadBroadcast_Call) Run(run func(fromIndex uint, referenceBlock flow.Identifier)) *DKGContractClient_ReadBroadcast_Call
- func (_c *DKGContractClient_ReadBroadcast_Call) RunAndReturn(...) *DKGContractClient_ReadBroadcast_Call
- type DKGContractClient_SubmitEmptyResult_Call
- func (_c *DKGContractClient_SubmitEmptyResult_Call) Return(err error) *DKGContractClient_SubmitEmptyResult_Call
- func (_c *DKGContractClient_SubmitEmptyResult_Call) Run(run func()) *DKGContractClient_SubmitEmptyResult_Call
- func (_c *DKGContractClient_SubmitEmptyResult_Call) RunAndReturn(run func() error) *DKGContractClient_SubmitEmptyResult_Call
- type DKGContractClient_SubmitParametersAndResult_Call
- func (_c *DKGContractClient_SubmitParametersAndResult_Call) Return(err error) *DKGContractClient_SubmitParametersAndResult_Call
- func (_c *DKGContractClient_SubmitParametersAndResult_Call) Run(run func(indexMap flow.DKGIndexMap, groupPublicKey crypto.PublicKey, ...)) *DKGContractClient_SubmitParametersAndResult_Call
- func (_c *DKGContractClient_SubmitParametersAndResult_Call) RunAndReturn(...) *DKGContractClient_SubmitParametersAndResult_Call
- type DKGController
- func (_m *DKGController) EXPECT() *DKGController_Expecter
- func (_mock *DKGController) End() error
- func (_mock *DKGController) EndPhase1() error
- func (_mock *DKGController) EndPhase2() error
- func (_mock *DKGController) GetArtifacts() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey)
- func (_mock *DKGController) GetIndex() int
- func (_mock *DKGController) Poll(blockReference flow.Identifier) error
- func (_mock *DKGController) Run() error
- func (_mock *DKGController) Shutdown()
- func (_mock *DKGController) SubmitResult() error
- type DKGControllerFactory
- type DKGControllerFactory_Create_Call
- func (_c *DKGControllerFactory_Create_Call) Return(dKGController module.DKGController, err error) *DKGControllerFactory_Create_Call
- func (_c *DKGControllerFactory_Create_Call) Run(...) *DKGControllerFactory_Create_Call
- func (_c *DKGControllerFactory_Create_Call) RunAndReturn(...) *DKGControllerFactory_Create_Call
- type DKGControllerFactory_Expecter
- type DKGController_EndPhase1_Call
- type DKGController_EndPhase2_Call
- type DKGController_End_Call
- type DKGController_Expecter
- func (_e *DKGController_Expecter) End() *DKGController_End_Call
- func (_e *DKGController_Expecter) EndPhase1() *DKGController_EndPhase1_Call
- func (_e *DKGController_Expecter) EndPhase2() *DKGController_EndPhase2_Call
- func (_e *DKGController_Expecter) GetArtifacts() *DKGController_GetArtifacts_Call
- func (_e *DKGController_Expecter) GetIndex() *DKGController_GetIndex_Call
- func (_e *DKGController_Expecter) Poll(blockReference interface{}) *DKGController_Poll_Call
- func (_e *DKGController_Expecter) Run() *DKGController_Run_Call
- func (_e *DKGController_Expecter) Shutdown() *DKGController_Shutdown_Call
- func (_e *DKGController_Expecter) SubmitResult() *DKGController_SubmitResult_Call
- type DKGController_GetArtifacts_Call
- func (_c *DKGController_GetArtifacts_Call) Return(privateKey crypto.PrivateKey, publicKey crypto.PublicKey, ...) *DKGController_GetArtifacts_Call
- func (_c *DKGController_GetArtifacts_Call) Run(run func()) *DKGController_GetArtifacts_Call
- func (_c *DKGController_GetArtifacts_Call) RunAndReturn(run func() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey)) *DKGController_GetArtifacts_Call
- type DKGController_GetIndex_Call
- type DKGController_Poll_Call
- func (_c *DKGController_Poll_Call) Return(err error) *DKGController_Poll_Call
- func (_c *DKGController_Poll_Call) Run(run func(blockReference flow.Identifier)) *DKGController_Poll_Call
- func (_c *DKGController_Poll_Call) RunAndReturn(run func(blockReference flow.Identifier) error) *DKGController_Poll_Call
- type DKGController_Run_Call
- type DKGController_Shutdown_Call
- type DKGController_SubmitResult_Call
- type DKGProcessor
- type DKGProcessor_Broadcast_Call
- type DKGProcessor_Disqualify_Call
- func (_c *DKGProcessor_Disqualify_Call) Return() *DKGProcessor_Disqualify_Call
- func (_c *DKGProcessor_Disqualify_Call) Run(run func(index int, log string)) *DKGProcessor_Disqualify_Call
- func (_c *DKGProcessor_Disqualify_Call) RunAndReturn(run func(index int, log string)) *DKGProcessor_Disqualify_Call
- type DKGProcessor_Expecter
- func (_e *DKGProcessor_Expecter) Broadcast(data interface{}) *DKGProcessor_Broadcast_Call
- func (_e *DKGProcessor_Expecter) Disqualify(index interface{}, log interface{}) *DKGProcessor_Disqualify_Call
- func (_e *DKGProcessor_Expecter) FlagMisbehavior(index interface{}, log interface{}) *DKGProcessor_FlagMisbehavior_Call
- func (_e *DKGProcessor_Expecter) PrivateSend(dest interface{}, data interface{}) *DKGProcessor_PrivateSend_Call
- type DKGProcessor_FlagMisbehavior_Call
- func (_c *DKGProcessor_FlagMisbehavior_Call) Return() *DKGProcessor_FlagMisbehavior_Call
- func (_c *DKGProcessor_FlagMisbehavior_Call) Run(run func(index int, log string)) *DKGProcessor_FlagMisbehavior_Call
- func (_c *DKGProcessor_FlagMisbehavior_Call) RunAndReturn(run func(index int, log string)) *DKGProcessor_FlagMisbehavior_Call
- type DKGProcessor_PrivateSend_Call
- func (_c *DKGProcessor_PrivateSend_Call) Return() *DKGProcessor_PrivateSend_Call
- func (_c *DKGProcessor_PrivateSend_Call) Run(run func(dest int, data []byte)) *DKGProcessor_PrivateSend_Call
- func (_c *DKGProcessor_PrivateSend_Call) RunAndReturn(run func(dest int, data []byte)) *DKGProcessor_PrivateSend_Call
- type DKGState
- func (_m *DKGState) EXPECT() *DKGState_Expecter
- func (_mock *DKGState) End() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey, error)
- func (_mock *DKGState) ForceDisqualify(participant int) error
- func (_mock *DKGState) HandleBroadcastMsg(orig int, msg []byte) error
- func (_mock *DKGState) HandlePrivateMsg(orig int, msg []byte) error
- func (_mock *DKGState) NextTimeout() error
- func (_mock *DKGState) Running() bool
- func (_mock *DKGState) Size() int
- func (_mock *DKGState) Start(seed []byte) error
- func (_mock *DKGState) Threshold() int
- type DKGState_End_Call
- func (_c *DKGState_End_Call) Return(privateKey crypto.PrivateKey, publicKey crypto.PublicKey, ...) *DKGState_End_Call
- func (_c *DKGState_End_Call) Run(run func()) *DKGState_End_Call
- func (_c *DKGState_End_Call) RunAndReturn(run func() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey, error)) *DKGState_End_Call
- type DKGState_Expecter
- func (_e *DKGState_Expecter) End() *DKGState_End_Call
- func (_e *DKGState_Expecter) ForceDisqualify(participant interface{}) *DKGState_ForceDisqualify_Call
- func (_e *DKGState_Expecter) HandleBroadcastMsg(orig interface{}, msg interface{}) *DKGState_HandleBroadcastMsg_Call
- func (_e *DKGState_Expecter) HandlePrivateMsg(orig interface{}, msg interface{}) *DKGState_HandlePrivateMsg_Call
- func (_e *DKGState_Expecter) NextTimeout() *DKGState_NextTimeout_Call
- func (_e *DKGState_Expecter) Running() *DKGState_Running_Call
- func (_e *DKGState_Expecter) Size() *DKGState_Size_Call
- func (_e *DKGState_Expecter) Start(seed interface{}) *DKGState_Start_Call
- func (_e *DKGState_Expecter) Threshold() *DKGState_Threshold_Call
- type DKGState_ForceDisqualify_Call
- func (_c *DKGState_ForceDisqualify_Call) Return(err error) *DKGState_ForceDisqualify_Call
- func (_c *DKGState_ForceDisqualify_Call) Run(run func(participant int)) *DKGState_ForceDisqualify_Call
- func (_c *DKGState_ForceDisqualify_Call) RunAndReturn(run func(participant int) error) *DKGState_ForceDisqualify_Call
- type DKGState_HandleBroadcastMsg_Call
- func (_c *DKGState_HandleBroadcastMsg_Call) Return(err error) *DKGState_HandleBroadcastMsg_Call
- func (_c *DKGState_HandleBroadcastMsg_Call) Run(run func(orig int, msg []byte)) *DKGState_HandleBroadcastMsg_Call
- func (_c *DKGState_HandleBroadcastMsg_Call) RunAndReturn(run func(orig int, msg []byte) error) *DKGState_HandleBroadcastMsg_Call
- type DKGState_HandlePrivateMsg_Call
- func (_c *DKGState_HandlePrivateMsg_Call) Return(err error) *DKGState_HandlePrivateMsg_Call
- func (_c *DKGState_HandlePrivateMsg_Call) Run(run func(orig int, msg []byte)) *DKGState_HandlePrivateMsg_Call
- func (_c *DKGState_HandlePrivateMsg_Call) RunAndReturn(run func(orig int, msg []byte) error) *DKGState_HandlePrivateMsg_Call
- type DKGState_NextTimeout_Call
- type DKGState_Running_Call
- type DKGState_Size_Call
- type DKGState_Start_Call
- type DKGState_Threshold_Call
- type EVMMetrics
- func (_mock *EVMMetrics) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
- func (_mock *EVMMetrics) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
- func (_m *EVMMetrics) EXPECT() *EVMMetrics_Expecter
- func (_mock *EVMMetrics) SetNumberOfDeployedCOAs(count uint64)
- type EVMMetrics_EVMBlockExecuted_Call
- func (_c *EVMMetrics_EVMBlockExecuted_Call) Return() *EVMMetrics_EVMBlockExecuted_Call
- func (_c *EVMMetrics_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetrics_EVMBlockExecuted_Call
- func (_c *EVMMetrics_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetrics_EVMBlockExecuted_Call
- type EVMMetrics_EVMTransactionExecuted_Call
- func (_c *EVMMetrics_EVMTransactionExecuted_Call) Return() *EVMMetrics_EVMTransactionExecuted_Call
- func (_c *EVMMetrics_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetrics_EVMTransactionExecuted_Call
- func (_c *EVMMetrics_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetrics_EVMTransactionExecuted_Call
- type EVMMetrics_Expecter
- func (_e *EVMMetrics_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *EVMMetrics_EVMBlockExecuted_Call
- func (_e *EVMMetrics_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *EVMMetrics_EVMTransactionExecuted_Call
- func (_e *EVMMetrics_Expecter) SetNumberOfDeployedCOAs(count interface{}) *EVMMetrics_SetNumberOfDeployedCOAs_Call
- type EVMMetrics_SetNumberOfDeployedCOAs_Call
- func (_c *EVMMetrics_SetNumberOfDeployedCOAs_Call) Return() *EVMMetrics_SetNumberOfDeployedCOAs_Call
- func (_c *EVMMetrics_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *EVMMetrics_SetNumberOfDeployedCOAs_Call
- func (_c *EVMMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *EVMMetrics_SetNumberOfDeployedCOAs_Call
- type EngineMetrics
- func (_m *EngineMetrics) EXPECT() *EngineMetrics_Expecter
- func (_mock *EngineMetrics) InboundMessageDropped(engine string, messages string)
- func (_mock *EngineMetrics) MessageHandled(engine string, messages string)
- func (_mock *EngineMetrics) MessageReceived(engine string, message string)
- func (_mock *EngineMetrics) MessageSent(engine string, message string)
- func (_mock *EngineMetrics) OutboundMessageDropped(engine string, messages string)
- type EngineMetrics_Expecter
- func (_e *EngineMetrics_Expecter) InboundMessageDropped(engine interface{}, messages interface{}) *EngineMetrics_InboundMessageDropped_Call
- func (_e *EngineMetrics_Expecter) MessageHandled(engine interface{}, messages interface{}) *EngineMetrics_MessageHandled_Call
- func (_e *EngineMetrics_Expecter) MessageReceived(engine interface{}, message interface{}) *EngineMetrics_MessageReceived_Call
- func (_e *EngineMetrics_Expecter) MessageSent(engine interface{}, message interface{}) *EngineMetrics_MessageSent_Call
- func (_e *EngineMetrics_Expecter) OutboundMessageDropped(engine interface{}, messages interface{}) *EngineMetrics_OutboundMessageDropped_Call
- type EngineMetrics_InboundMessageDropped_Call
- func (_c *EngineMetrics_InboundMessageDropped_Call) Return() *EngineMetrics_InboundMessageDropped_Call
- func (_c *EngineMetrics_InboundMessageDropped_Call) Run(run func(engine string, messages string)) *EngineMetrics_InboundMessageDropped_Call
- func (_c *EngineMetrics_InboundMessageDropped_Call) RunAndReturn(run func(engine string, messages string)) *EngineMetrics_InboundMessageDropped_Call
- type EngineMetrics_MessageHandled_Call
- func (_c *EngineMetrics_MessageHandled_Call) Return() *EngineMetrics_MessageHandled_Call
- func (_c *EngineMetrics_MessageHandled_Call) Run(run func(engine string, messages string)) *EngineMetrics_MessageHandled_Call
- func (_c *EngineMetrics_MessageHandled_Call) RunAndReturn(run func(engine string, messages string)) *EngineMetrics_MessageHandled_Call
- type EngineMetrics_MessageReceived_Call
- func (_c *EngineMetrics_MessageReceived_Call) Return() *EngineMetrics_MessageReceived_Call
- func (_c *EngineMetrics_MessageReceived_Call) Run(run func(engine string, message string)) *EngineMetrics_MessageReceived_Call
- func (_c *EngineMetrics_MessageReceived_Call) RunAndReturn(run func(engine string, message string)) *EngineMetrics_MessageReceived_Call
- type EngineMetrics_MessageSent_Call
- func (_c *EngineMetrics_MessageSent_Call) Return() *EngineMetrics_MessageSent_Call
- func (_c *EngineMetrics_MessageSent_Call) Run(run func(engine string, message string)) *EngineMetrics_MessageSent_Call
- func (_c *EngineMetrics_MessageSent_Call) RunAndReturn(run func(engine string, message string)) *EngineMetrics_MessageSent_Call
- type EngineMetrics_OutboundMessageDropped_Call
- func (_c *EngineMetrics_OutboundMessageDropped_Call) Return() *EngineMetrics_OutboundMessageDropped_Call
- func (_c *EngineMetrics_OutboundMessageDropped_Call) Run(run func(engine string, messages string)) *EngineMetrics_OutboundMessageDropped_Call
- func (_c *EngineMetrics_OutboundMessageDropped_Call) RunAndReturn(run func(engine string, messages string)) *EngineMetrics_OutboundMessageDropped_Call
- type EpochLookup
- type EpochLookup_EpochForView_Call
- func (_c *EpochLookup_EpochForView_Call) Return(epochCounter uint64, err error) *EpochLookup_EpochForView_Call
- func (_c *EpochLookup_EpochForView_Call) Run(run func(view uint64)) *EpochLookup_EpochForView_Call
- func (_c *EpochLookup_EpochForView_Call) RunAndReturn(run func(view uint64) (uint64, error)) *EpochLookup_EpochForView_Call
- type EpochLookup_Expecter
- type ExecutionDataProviderMetrics
- func (_mock *ExecutionDataProviderMetrics) AddBlobsFailed()
- func (_mock *ExecutionDataProviderMetrics) AddBlobsSucceeded(duration time.Duration, totalSize uint64)
- func (_m *ExecutionDataProviderMetrics) EXPECT() *ExecutionDataProviderMetrics_Expecter
- func (_mock *ExecutionDataProviderMetrics) RootIDComputed(duration time.Duration, numberOfChunks int)
- type ExecutionDataProviderMetrics_AddBlobsFailed_Call
- func (_c *ExecutionDataProviderMetrics_AddBlobsFailed_Call) Return() *ExecutionDataProviderMetrics_AddBlobsFailed_Call
- func (_c *ExecutionDataProviderMetrics_AddBlobsFailed_Call) Run(run func()) *ExecutionDataProviderMetrics_AddBlobsFailed_Call
- func (_c *ExecutionDataProviderMetrics_AddBlobsFailed_Call) RunAndReturn(run func()) *ExecutionDataProviderMetrics_AddBlobsFailed_Call
- type ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
- func (_c *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) Return() *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
- func (_c *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) Run(run func(duration time.Duration, totalSize uint64)) *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
- func (_c *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) RunAndReturn(run func(duration time.Duration, totalSize uint64)) *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
- type ExecutionDataProviderMetrics_Expecter
- func (_e *ExecutionDataProviderMetrics_Expecter) AddBlobsFailed() *ExecutionDataProviderMetrics_AddBlobsFailed_Call
- func (_e *ExecutionDataProviderMetrics_Expecter) AddBlobsSucceeded(duration interface{}, totalSize interface{}) *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
- func (_e *ExecutionDataProviderMetrics_Expecter) RootIDComputed(duration interface{}, numberOfChunks interface{}) *ExecutionDataProviderMetrics_RootIDComputed_Call
- type ExecutionDataProviderMetrics_RootIDComputed_Call
- func (_c *ExecutionDataProviderMetrics_RootIDComputed_Call) Return() *ExecutionDataProviderMetrics_RootIDComputed_Call
- func (_c *ExecutionDataProviderMetrics_RootIDComputed_Call) Run(run func(duration time.Duration, numberOfChunks int)) *ExecutionDataProviderMetrics_RootIDComputed_Call
- func (_c *ExecutionDataProviderMetrics_RootIDComputed_Call) RunAndReturn(run func(duration time.Duration, numberOfChunks int)) *ExecutionDataProviderMetrics_RootIDComputed_Call
- type ExecutionDataPrunerMetrics
- type ExecutionDataPrunerMetrics_Expecter
- type ExecutionDataPrunerMetrics_Pruned_Call
- func (_c *ExecutionDataPrunerMetrics_Pruned_Call) Return() *ExecutionDataPrunerMetrics_Pruned_Call
- func (_c *ExecutionDataPrunerMetrics_Pruned_Call) Run(run func(height uint64, duration time.Duration)) *ExecutionDataPrunerMetrics_Pruned_Call
- func (_c *ExecutionDataPrunerMetrics_Pruned_Call) RunAndReturn(run func(height uint64, duration time.Duration)) *ExecutionDataPrunerMetrics_Pruned_Call
- type ExecutionDataRequesterMetrics
- func (_m *ExecutionDataRequesterMetrics) EXPECT() *ExecutionDataRequesterMetrics_Expecter
- func (_mock *ExecutionDataRequesterMetrics) ExecutionDataFetchFinished(duration time.Duration, success bool, height uint64)
- func (_mock *ExecutionDataRequesterMetrics) ExecutionDataFetchStarted()
- func (_mock *ExecutionDataRequesterMetrics) FetchRetried()
- func (_mock *ExecutionDataRequesterMetrics) NotificationSent(height uint64)
- type ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
- func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) Return() *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
- func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) Run(run func(duration time.Duration, success bool, height uint64)) *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
- func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) RunAndReturn(run func(duration time.Duration, success bool, height uint64)) *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
- type ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
- func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) Return() *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
- func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) Run(run func()) *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
- func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) RunAndReturn(run func()) *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
- type ExecutionDataRequesterMetrics_Expecter
- func (_e *ExecutionDataRequesterMetrics_Expecter) ExecutionDataFetchFinished(duration interface{}, success interface{}, height interface{}) *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
- func (_e *ExecutionDataRequesterMetrics_Expecter) ExecutionDataFetchStarted() *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
- func (_e *ExecutionDataRequesterMetrics_Expecter) FetchRetried() *ExecutionDataRequesterMetrics_FetchRetried_Call
- func (_e *ExecutionDataRequesterMetrics_Expecter) NotificationSent(height interface{}) *ExecutionDataRequesterMetrics_NotificationSent_Call
- type ExecutionDataRequesterMetrics_FetchRetried_Call
- func (_c *ExecutionDataRequesterMetrics_FetchRetried_Call) Return() *ExecutionDataRequesterMetrics_FetchRetried_Call
- func (_c *ExecutionDataRequesterMetrics_FetchRetried_Call) Run(run func()) *ExecutionDataRequesterMetrics_FetchRetried_Call
- func (_c *ExecutionDataRequesterMetrics_FetchRetried_Call) RunAndReturn(run func()) *ExecutionDataRequesterMetrics_FetchRetried_Call
- type ExecutionDataRequesterMetrics_NotificationSent_Call
- func (_c *ExecutionDataRequesterMetrics_NotificationSent_Call) Return() *ExecutionDataRequesterMetrics_NotificationSent_Call
- func (_c *ExecutionDataRequesterMetrics_NotificationSent_Call) Run(run func(height uint64)) *ExecutionDataRequesterMetrics_NotificationSent_Call
- func (_c *ExecutionDataRequesterMetrics_NotificationSent_Call) RunAndReturn(run func(height uint64)) *ExecutionDataRequesterMetrics_NotificationSent_Call
- type ExecutionDataRequesterV2Metrics
- func (_m *ExecutionDataRequesterV2Metrics) EXPECT() *ExecutionDataRequesterV2Metrics_Expecter
- func (_mock *ExecutionDataRequesterV2Metrics) FulfilledHeight(blockHeight uint64)
- func (_mock *ExecutionDataRequesterV2Metrics) ReceiptSkipped()
- func (_mock *ExecutionDataRequesterV2Metrics) RequestCanceled()
- func (_mock *ExecutionDataRequesterV2Metrics) RequestFailed(duration time.Duration, retryable bool)
- func (_mock *ExecutionDataRequesterV2Metrics) RequestSucceeded(blockHeight uint64, duration time.Duration, totalSize uint64, ...)
- func (_mock *ExecutionDataRequesterV2Metrics) ResponseDropped()
- type ExecutionDataRequesterV2Metrics_Expecter
- func (_e *ExecutionDataRequesterV2Metrics_Expecter) FulfilledHeight(blockHeight interface{}) *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
- func (_e *ExecutionDataRequesterV2Metrics_Expecter) ReceiptSkipped() *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
- func (_e *ExecutionDataRequesterV2Metrics_Expecter) RequestCanceled() *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
- func (_e *ExecutionDataRequesterV2Metrics_Expecter) RequestFailed(duration interface{}, retryable interface{}) *ExecutionDataRequesterV2Metrics_RequestFailed_Call
- func (_e *ExecutionDataRequesterV2Metrics_Expecter) RequestSucceeded(blockHeight interface{}, duration interface{}, totalSize interface{}, ...) *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
- func (_e *ExecutionDataRequesterV2Metrics_Expecter) ResponseDropped() *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
- type ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
- func (_c *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) Return() *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
- func (_c *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) Run(run func(blockHeight uint64)) *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
- func (_c *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) RunAndReturn(run func(blockHeight uint64)) *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
- type ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
- func (_c *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) Return() *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
- func (_c *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) Run(run func()) *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
- func (_c *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) RunAndReturn(run func()) *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
- type ExecutionDataRequesterV2Metrics_RequestCanceled_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestCanceled_Call) Return() *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestCanceled_Call) Run(run func()) *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestCanceled_Call) RunAndReturn(run func()) *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
- type ExecutionDataRequesterV2Metrics_RequestFailed_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestFailed_Call) Return() *ExecutionDataRequesterV2Metrics_RequestFailed_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestFailed_Call) Run(run func(duration time.Duration, retryable bool)) *ExecutionDataRequesterV2Metrics_RequestFailed_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestFailed_Call) RunAndReturn(run func(duration time.Duration, retryable bool)) *ExecutionDataRequesterV2Metrics_RequestFailed_Call
- type ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) Return() *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) Run(run func(blockHeight uint64, duration time.Duration, totalSize uint64, ...)) *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
- func (_c *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) RunAndReturn(run func(blockHeight uint64, duration time.Duration, totalSize uint64, ...)) *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
- type ExecutionDataRequesterV2Metrics_ResponseDropped_Call
- func (_c *ExecutionDataRequesterV2Metrics_ResponseDropped_Call) Return() *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
- func (_c *ExecutionDataRequesterV2Metrics_ResponseDropped_Call) Run(run func()) *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
- func (_c *ExecutionDataRequesterV2Metrics_ResponseDropped_Call) RunAndReturn(run func()) *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
- type ExecutionMetrics
- func (_mock *ExecutionMetrics) ChunkDataPackRequestProcessed()
- func (_mock *ExecutionMetrics) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
- func (_mock *ExecutionMetrics) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
- func (_m *ExecutionMetrics) EXPECT() *ExecutionMetrics_Expecter
- func (_mock *ExecutionMetrics) ExecutionBlockCachedPrograms(programs int)
- func (_mock *ExecutionMetrics) ExecutionBlockDataUploadFinished(dur time.Duration)
- func (_mock *ExecutionMetrics) ExecutionBlockDataUploadStarted()
- func (_mock *ExecutionMetrics) ExecutionBlockExecuted(dur time.Duration, stats module.BlockExecutionResultStats)
- func (_mock *ExecutionMetrics) ExecutionBlockExecutionEffortVectorComponent(s string, v uint64)
- func (_mock *ExecutionMetrics) ExecutionCheckpointSize(bytes uint64)
- func (_mock *ExecutionMetrics) ExecutionChunkDataPackGenerated(proofSize int, numberOfTransactions int)
- func (_mock *ExecutionMetrics) ExecutionCollectionExecuted(dur time.Duration, stats module.CollectionExecutionResultStats)
- func (_mock *ExecutionMetrics) ExecutionCollectionRequestSent()
- func (_mock *ExecutionMetrics) ExecutionComputationResultUploadRetried()
- func (_mock *ExecutionMetrics) ExecutionComputationResultUploaded()
- func (_mock *ExecutionMetrics) ExecutionLastChunkDataPackPrunedHeight(height uint64)
- func (_mock *ExecutionMetrics) ExecutionLastExecutedBlockHeight(height uint64)
- func (_mock *ExecutionMetrics) ExecutionLastFinalizedExecutedBlockHeight(height uint64)
- func (_mock *ExecutionMetrics) ExecutionScheduledTransactionsExecuted(scheduledTransactionCount int, processComputationUsed uint64, ...)
- func (_mock *ExecutionMetrics) ExecutionScriptExecuted(dur time.Duration, compUsed uint64, memoryUsed uint64, memoryEstimate uint64)
- func (_mock *ExecutionMetrics) ExecutionStorageStateCommitment(bytes int64)
- func (_mock *ExecutionMetrics) ExecutionSync(syncing bool)
- func (_mock *ExecutionMetrics) ExecutionTargetChunkDataPackPrunedHeight(height uint64)
- func (_mock *ExecutionMetrics) ExecutionTransactionExecuted(dur time.Duration, stats module.TransactionExecutionResultStats, ...)
- func (_mock *ExecutionMetrics) FinishBlockReceivedToExecuted(blockID flow.Identifier)
- func (_mock *ExecutionMetrics) ForestApproxMemorySize(bytes uint64)
- func (_mock *ExecutionMetrics) ForestNumberOfTrees(number uint64)
- func (_mock *ExecutionMetrics) LatestTrieMaxDepthTouched(maxDepth uint16)
- func (_mock *ExecutionMetrics) LatestTrieRegCount(number uint64)
- func (_mock *ExecutionMetrics) LatestTrieRegCountDiff(number int64)
- func (_mock *ExecutionMetrics) LatestTrieRegSize(size uint64)
- func (_mock *ExecutionMetrics) LatestTrieRegSizeDiff(size int64)
- func (_mock *ExecutionMetrics) ProofSize(bytes uint32)
- func (_mock *ExecutionMetrics) ReadDuration(duration time.Duration)
- func (_mock *ExecutionMetrics) ReadDurationPerItem(duration time.Duration)
- func (_mock *ExecutionMetrics) ReadValuesNumber(number uint64)
- func (_mock *ExecutionMetrics) ReadValuesSize(byte uint64)
- func (_mock *ExecutionMetrics) RuntimeSetNumberOfAccounts(count uint64)
- func (_mock *ExecutionMetrics) RuntimeTransactionChecked(dur time.Duration)
- func (_mock *ExecutionMetrics) RuntimeTransactionInterpreted(dur time.Duration)
- func (_mock *ExecutionMetrics) RuntimeTransactionParsed(dur time.Duration)
- func (_mock *ExecutionMetrics) RuntimeTransactionProgramsCacheHit()
- func (_mock *ExecutionMetrics) RuntimeTransactionProgramsCacheMiss()
- func (_mock *ExecutionMetrics) SetNumberOfDeployedCOAs(count uint64)
- func (_mock *ExecutionMetrics) StartBlockReceivedToExecuted(blockID flow.Identifier)
- func (_mock *ExecutionMetrics) UpdateCollectionMaxHeight(height uint64)
- func (_mock *ExecutionMetrics) UpdateCount()
- func (_mock *ExecutionMetrics) UpdateDuration(duration time.Duration)
- func (_mock *ExecutionMetrics) UpdateDurationPerItem(duration time.Duration)
- func (_mock *ExecutionMetrics) UpdateValuesNumber(number uint64)
- func (_mock *ExecutionMetrics) UpdateValuesSize(byte uint64)
- type ExecutionMetrics_ChunkDataPackRequestProcessed_Call
- func (_c *ExecutionMetrics_ChunkDataPackRequestProcessed_Call) Return() *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
- func (_c *ExecutionMetrics_ChunkDataPackRequestProcessed_Call) Run(run func()) *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
- func (_c *ExecutionMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn(run func()) *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
- type ExecutionMetrics_EVMBlockExecuted_Call
- func (_c *ExecutionMetrics_EVMBlockExecuted_Call) Return() *ExecutionMetrics_EVMBlockExecuted_Call
- func (_c *ExecutionMetrics_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *ExecutionMetrics_EVMBlockExecuted_Call
- func (_c *ExecutionMetrics_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *ExecutionMetrics_EVMBlockExecuted_Call
- type ExecutionMetrics_EVMTransactionExecuted_Call
- func (_c *ExecutionMetrics_EVMTransactionExecuted_Call) Return() *ExecutionMetrics_EVMTransactionExecuted_Call
- func (_c *ExecutionMetrics_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *ExecutionMetrics_EVMTransactionExecuted_Call
- func (_c *ExecutionMetrics_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *ExecutionMetrics_EVMTransactionExecuted_Call
- type ExecutionMetrics_ExecutionBlockCachedPrograms_Call
- func (_c *ExecutionMetrics_ExecutionBlockCachedPrograms_Call) Return() *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
- func (_c *ExecutionMetrics_ExecutionBlockCachedPrograms_Call) Run(run func(programs int)) *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
- func (_c *ExecutionMetrics_ExecutionBlockCachedPrograms_Call) RunAndReturn(run func(programs int)) *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
- type ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
- func (_c *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) Return() *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
- func (_c *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
- func (_c *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
- type ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
- func (_c *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) Return() *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
- func (_c *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) Run(run func()) *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
- func (_c *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
- type ExecutionMetrics_ExecutionBlockExecuted_Call
- func (_c *ExecutionMetrics_ExecutionBlockExecuted_Call) Return() *ExecutionMetrics_ExecutionBlockExecuted_Call
- func (_c *ExecutionMetrics_ExecutionBlockExecuted_Call) Run(run func(dur time.Duration, stats module.BlockExecutionResultStats)) *ExecutionMetrics_ExecutionBlockExecuted_Call
- func (_c *ExecutionMetrics_ExecutionBlockExecuted_Call) RunAndReturn(run func(dur time.Duration, stats module.BlockExecutionResultStats)) *ExecutionMetrics_ExecutionBlockExecuted_Call
- type ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
- func (_c *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) Return() *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
- func (_c *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) Run(run func(s string, v uint64)) *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
- func (_c *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) RunAndReturn(run func(s string, v uint64)) *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
- type ExecutionMetrics_ExecutionCheckpointSize_Call
- func (_c *ExecutionMetrics_ExecutionCheckpointSize_Call) Return() *ExecutionMetrics_ExecutionCheckpointSize_Call
- func (_c *ExecutionMetrics_ExecutionCheckpointSize_Call) Run(run func(bytes uint64)) *ExecutionMetrics_ExecutionCheckpointSize_Call
- func (_c *ExecutionMetrics_ExecutionCheckpointSize_Call) RunAndReturn(run func(bytes uint64)) *ExecutionMetrics_ExecutionCheckpointSize_Call
- type ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
- func (_c *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) Return() *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
- func (_c *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) Run(run func(proofSize int, numberOfTransactions int)) *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
- func (_c *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) RunAndReturn(run func(proofSize int, numberOfTransactions int)) *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
- type ExecutionMetrics_ExecutionCollectionExecuted_Call
- func (_c *ExecutionMetrics_ExecutionCollectionExecuted_Call) Return() *ExecutionMetrics_ExecutionCollectionExecuted_Call
- func (_c *ExecutionMetrics_ExecutionCollectionExecuted_Call) Run(run func(dur time.Duration, stats module.CollectionExecutionResultStats)) *ExecutionMetrics_ExecutionCollectionExecuted_Call
- func (_c *ExecutionMetrics_ExecutionCollectionExecuted_Call) RunAndReturn(run func(dur time.Duration, stats module.CollectionExecutionResultStats)) *ExecutionMetrics_ExecutionCollectionExecuted_Call
- type ExecutionMetrics_ExecutionCollectionRequestSent_Call
- func (_c *ExecutionMetrics_ExecutionCollectionRequestSent_Call) Return() *ExecutionMetrics_ExecutionCollectionRequestSent_Call
- func (_c *ExecutionMetrics_ExecutionCollectionRequestSent_Call) Run(run func()) *ExecutionMetrics_ExecutionCollectionRequestSent_Call
- func (_c *ExecutionMetrics_ExecutionCollectionRequestSent_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionCollectionRequestSent_Call
- type ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
- func (_c *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) Return() *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
- func (_c *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) Run(run func()) *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
- func (_c *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
- type ExecutionMetrics_ExecutionComputationResultUploaded_Call
- func (_c *ExecutionMetrics_ExecutionComputationResultUploaded_Call) Return() *ExecutionMetrics_ExecutionComputationResultUploaded_Call
- func (_c *ExecutionMetrics_ExecutionComputationResultUploaded_Call) Run(run func()) *ExecutionMetrics_ExecutionComputationResultUploaded_Call
- func (_c *ExecutionMetrics_ExecutionComputationResultUploaded_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionComputationResultUploaded_Call
- type ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) Return() *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
- type ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) Return() *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
- type ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) Return() *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
- func (_c *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
- type ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
- func (_c *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) Return() *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
- func (_c *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) Run(run func(scheduledTransactionCount int, processComputationUsed uint64, ...)) *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
- func (_c *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) RunAndReturn(run func(scheduledTransactionCount int, processComputationUsed uint64, ...)) *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
- type ExecutionMetrics_ExecutionScriptExecuted_Call
- func (_c *ExecutionMetrics_ExecutionScriptExecuted_Call) Return() *ExecutionMetrics_ExecutionScriptExecuted_Call
- func (_c *ExecutionMetrics_ExecutionScriptExecuted_Call) Run(...) *ExecutionMetrics_ExecutionScriptExecuted_Call
- func (_c *ExecutionMetrics_ExecutionScriptExecuted_Call) RunAndReturn(...) *ExecutionMetrics_ExecutionScriptExecuted_Call
- type ExecutionMetrics_ExecutionStorageStateCommitment_Call
- func (_c *ExecutionMetrics_ExecutionStorageStateCommitment_Call) Return() *ExecutionMetrics_ExecutionStorageStateCommitment_Call
- func (_c *ExecutionMetrics_ExecutionStorageStateCommitment_Call) Run(run func(bytes int64)) *ExecutionMetrics_ExecutionStorageStateCommitment_Call
- func (_c *ExecutionMetrics_ExecutionStorageStateCommitment_Call) RunAndReturn(run func(bytes int64)) *ExecutionMetrics_ExecutionStorageStateCommitment_Call
- type ExecutionMetrics_ExecutionSync_Call
- func (_c *ExecutionMetrics_ExecutionSync_Call) Return() *ExecutionMetrics_ExecutionSync_Call
- func (_c *ExecutionMetrics_ExecutionSync_Call) Run(run func(syncing bool)) *ExecutionMetrics_ExecutionSync_Call
- func (_c *ExecutionMetrics_ExecutionSync_Call) RunAndReturn(run func(syncing bool)) *ExecutionMetrics_ExecutionSync_Call
- type ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
- func (_c *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) Return() *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
- func (_c *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
- func (_c *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
- type ExecutionMetrics_ExecutionTransactionExecuted_Call
- func (_c *ExecutionMetrics_ExecutionTransactionExecuted_Call) Return() *ExecutionMetrics_ExecutionTransactionExecuted_Call
- func (_c *ExecutionMetrics_ExecutionTransactionExecuted_Call) Run(run func(dur time.Duration, stats module.TransactionExecutionResultStats, ...)) *ExecutionMetrics_ExecutionTransactionExecuted_Call
- func (_c *ExecutionMetrics_ExecutionTransactionExecuted_Call) RunAndReturn(run func(dur time.Duration, stats module.TransactionExecutionResultStats, ...)) *ExecutionMetrics_ExecutionTransactionExecuted_Call
- type ExecutionMetrics_Expecter
- func (_e *ExecutionMetrics_Expecter) ChunkDataPackRequestProcessed() *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
- func (_e *ExecutionMetrics_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *ExecutionMetrics_EVMBlockExecuted_Call
- func (_e *ExecutionMetrics_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *ExecutionMetrics_EVMTransactionExecuted_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionBlockCachedPrograms(programs interface{}) *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionBlockDataUploadFinished(dur interface{}) *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionBlockDataUploadStarted() *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionBlockExecuted(dur interface{}, stats interface{}) *ExecutionMetrics_ExecutionBlockExecuted_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionBlockExecutionEffortVectorComponent(s interface{}, v interface{}) *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionCheckpointSize(bytes interface{}) *ExecutionMetrics_ExecutionCheckpointSize_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionChunkDataPackGenerated(proofSize interface{}, numberOfTransactions interface{}) *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionCollectionExecuted(dur interface{}, stats interface{}) *ExecutionMetrics_ExecutionCollectionExecuted_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionCollectionRequestSent() *ExecutionMetrics_ExecutionCollectionRequestSent_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionComputationResultUploadRetried() *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionComputationResultUploaded() *ExecutionMetrics_ExecutionComputationResultUploaded_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionLastChunkDataPackPrunedHeight(height interface{}) *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionLastExecutedBlockHeight(height interface{}) *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionLastFinalizedExecutedBlockHeight(height interface{}) *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionScheduledTransactionsExecuted(scheduledTransactionCount interface{}, processComputationUsed interface{}, ...) *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionScriptExecuted(dur interface{}, compUsed interface{}, memoryUsed interface{}, ...) *ExecutionMetrics_ExecutionScriptExecuted_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionStorageStateCommitment(bytes interface{}) *ExecutionMetrics_ExecutionStorageStateCommitment_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionSync(syncing interface{}) *ExecutionMetrics_ExecutionSync_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionTargetChunkDataPackPrunedHeight(height interface{}) *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
- func (_e *ExecutionMetrics_Expecter) ExecutionTransactionExecuted(dur interface{}, stats interface{}, info interface{}) *ExecutionMetrics_ExecutionTransactionExecuted_Call
- func (_e *ExecutionMetrics_Expecter) FinishBlockReceivedToExecuted(blockID interface{}) *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
- func (_e *ExecutionMetrics_Expecter) ForestApproxMemorySize(bytes interface{}) *ExecutionMetrics_ForestApproxMemorySize_Call
- func (_e *ExecutionMetrics_Expecter) ForestNumberOfTrees(number interface{}) *ExecutionMetrics_ForestNumberOfTrees_Call
- func (_e *ExecutionMetrics_Expecter) LatestTrieMaxDepthTouched(maxDepth interface{}) *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
- func (_e *ExecutionMetrics_Expecter) LatestTrieRegCount(number interface{}) *ExecutionMetrics_LatestTrieRegCount_Call
- func (_e *ExecutionMetrics_Expecter) LatestTrieRegCountDiff(number interface{}) *ExecutionMetrics_LatestTrieRegCountDiff_Call
- func (_e *ExecutionMetrics_Expecter) LatestTrieRegSize(size interface{}) *ExecutionMetrics_LatestTrieRegSize_Call
- func (_e *ExecutionMetrics_Expecter) LatestTrieRegSizeDiff(size interface{}) *ExecutionMetrics_LatestTrieRegSizeDiff_Call
- func (_e *ExecutionMetrics_Expecter) ProofSize(bytes interface{}) *ExecutionMetrics_ProofSize_Call
- func (_e *ExecutionMetrics_Expecter) ReadDuration(duration interface{}) *ExecutionMetrics_ReadDuration_Call
- func (_e *ExecutionMetrics_Expecter) ReadDurationPerItem(duration interface{}) *ExecutionMetrics_ReadDurationPerItem_Call
- func (_e *ExecutionMetrics_Expecter) ReadValuesNumber(number interface{}) *ExecutionMetrics_ReadValuesNumber_Call
- func (_e *ExecutionMetrics_Expecter) ReadValuesSize(byte interface{}) *ExecutionMetrics_ReadValuesSize_Call
- func (_e *ExecutionMetrics_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
- func (_e *ExecutionMetrics_Expecter) RuntimeTransactionChecked(dur interface{}) *ExecutionMetrics_RuntimeTransactionChecked_Call
- func (_e *ExecutionMetrics_Expecter) RuntimeTransactionInterpreted(dur interface{}) *ExecutionMetrics_RuntimeTransactionInterpreted_Call
- func (_e *ExecutionMetrics_Expecter) RuntimeTransactionParsed(dur interface{}) *ExecutionMetrics_RuntimeTransactionParsed_Call
- func (_e *ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheHit() *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_e *ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheMiss() *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_e *ExecutionMetrics_Expecter) SetNumberOfDeployedCOAs(count interface{}) *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
- func (_e *ExecutionMetrics_Expecter) StartBlockReceivedToExecuted(blockID interface{}) *ExecutionMetrics_StartBlockReceivedToExecuted_Call
- func (_e *ExecutionMetrics_Expecter) UpdateCollectionMaxHeight(height interface{}) *ExecutionMetrics_UpdateCollectionMaxHeight_Call
- func (_e *ExecutionMetrics_Expecter) UpdateCount() *ExecutionMetrics_UpdateCount_Call
- func (_e *ExecutionMetrics_Expecter) UpdateDuration(duration interface{}) *ExecutionMetrics_UpdateDuration_Call
- func (_e *ExecutionMetrics_Expecter) UpdateDurationPerItem(duration interface{}) *ExecutionMetrics_UpdateDurationPerItem_Call
- func (_e *ExecutionMetrics_Expecter) UpdateValuesNumber(number interface{}) *ExecutionMetrics_UpdateValuesNumber_Call
- func (_e *ExecutionMetrics_Expecter) UpdateValuesSize(byte interface{}) *ExecutionMetrics_UpdateValuesSize_Call
- type ExecutionMetrics_FinishBlockReceivedToExecuted_Call
- func (_c *ExecutionMetrics_FinishBlockReceivedToExecuted_Call) Return() *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
- func (_c *ExecutionMetrics_FinishBlockReceivedToExecuted_Call) Run(run func(blockID flow.Identifier)) *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
- func (_c *ExecutionMetrics_FinishBlockReceivedToExecuted_Call) RunAndReturn(run func(blockID flow.Identifier)) *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
- type ExecutionMetrics_ForestApproxMemorySize_Call
- func (_c *ExecutionMetrics_ForestApproxMemorySize_Call) Return() *ExecutionMetrics_ForestApproxMemorySize_Call
- func (_c *ExecutionMetrics_ForestApproxMemorySize_Call) Run(run func(bytes uint64)) *ExecutionMetrics_ForestApproxMemorySize_Call
- func (_c *ExecutionMetrics_ForestApproxMemorySize_Call) RunAndReturn(run func(bytes uint64)) *ExecutionMetrics_ForestApproxMemorySize_Call
- type ExecutionMetrics_ForestNumberOfTrees_Call
- func (_c *ExecutionMetrics_ForestNumberOfTrees_Call) Return() *ExecutionMetrics_ForestNumberOfTrees_Call
- func (_c *ExecutionMetrics_ForestNumberOfTrees_Call) Run(run func(number uint64)) *ExecutionMetrics_ForestNumberOfTrees_Call
- func (_c *ExecutionMetrics_ForestNumberOfTrees_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_ForestNumberOfTrees_Call
- type ExecutionMetrics_LatestTrieMaxDepthTouched_Call
- func (_c *ExecutionMetrics_LatestTrieMaxDepthTouched_Call) Return() *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
- func (_c *ExecutionMetrics_LatestTrieMaxDepthTouched_Call) Run(run func(maxDepth uint16)) *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
- func (_c *ExecutionMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn(run func(maxDepth uint16)) *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
- type ExecutionMetrics_LatestTrieRegCountDiff_Call
- func (_c *ExecutionMetrics_LatestTrieRegCountDiff_Call) Return() *ExecutionMetrics_LatestTrieRegCountDiff_Call
- func (_c *ExecutionMetrics_LatestTrieRegCountDiff_Call) Run(run func(number int64)) *ExecutionMetrics_LatestTrieRegCountDiff_Call
- func (_c *ExecutionMetrics_LatestTrieRegCountDiff_Call) RunAndReturn(run func(number int64)) *ExecutionMetrics_LatestTrieRegCountDiff_Call
- type ExecutionMetrics_LatestTrieRegCount_Call
- func (_c *ExecutionMetrics_LatestTrieRegCount_Call) Return() *ExecutionMetrics_LatestTrieRegCount_Call
- func (_c *ExecutionMetrics_LatestTrieRegCount_Call) Run(run func(number uint64)) *ExecutionMetrics_LatestTrieRegCount_Call
- func (_c *ExecutionMetrics_LatestTrieRegCount_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_LatestTrieRegCount_Call
- type ExecutionMetrics_LatestTrieRegSizeDiff_Call
- func (_c *ExecutionMetrics_LatestTrieRegSizeDiff_Call) Return() *ExecutionMetrics_LatestTrieRegSizeDiff_Call
- func (_c *ExecutionMetrics_LatestTrieRegSizeDiff_Call) Run(run func(size int64)) *ExecutionMetrics_LatestTrieRegSizeDiff_Call
- func (_c *ExecutionMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn(run func(size int64)) *ExecutionMetrics_LatestTrieRegSizeDiff_Call
- type ExecutionMetrics_LatestTrieRegSize_Call
- func (_c *ExecutionMetrics_LatestTrieRegSize_Call) Return() *ExecutionMetrics_LatestTrieRegSize_Call
- func (_c *ExecutionMetrics_LatestTrieRegSize_Call) Run(run func(size uint64)) *ExecutionMetrics_LatestTrieRegSize_Call
- func (_c *ExecutionMetrics_LatestTrieRegSize_Call) RunAndReturn(run func(size uint64)) *ExecutionMetrics_LatestTrieRegSize_Call
- type ExecutionMetrics_ProofSize_Call
- func (_c *ExecutionMetrics_ProofSize_Call) Return() *ExecutionMetrics_ProofSize_Call
- func (_c *ExecutionMetrics_ProofSize_Call) Run(run func(bytes uint32)) *ExecutionMetrics_ProofSize_Call
- func (_c *ExecutionMetrics_ProofSize_Call) RunAndReturn(run func(bytes uint32)) *ExecutionMetrics_ProofSize_Call
- type ExecutionMetrics_ReadDurationPerItem_Call
- func (_c *ExecutionMetrics_ReadDurationPerItem_Call) Return() *ExecutionMetrics_ReadDurationPerItem_Call
- func (_c *ExecutionMetrics_ReadDurationPerItem_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_ReadDurationPerItem_Call
- func (_c *ExecutionMetrics_ReadDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_ReadDurationPerItem_Call
- type ExecutionMetrics_ReadDuration_Call
- func (_c *ExecutionMetrics_ReadDuration_Call) Return() *ExecutionMetrics_ReadDuration_Call
- func (_c *ExecutionMetrics_ReadDuration_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_ReadDuration_Call
- func (_c *ExecutionMetrics_ReadDuration_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_ReadDuration_Call
- type ExecutionMetrics_ReadValuesNumber_Call
- func (_c *ExecutionMetrics_ReadValuesNumber_Call) Return() *ExecutionMetrics_ReadValuesNumber_Call
- func (_c *ExecutionMetrics_ReadValuesNumber_Call) Run(run func(number uint64)) *ExecutionMetrics_ReadValuesNumber_Call
- func (_c *ExecutionMetrics_ReadValuesNumber_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_ReadValuesNumber_Call
- type ExecutionMetrics_ReadValuesSize_Call
- func (_c *ExecutionMetrics_ReadValuesSize_Call) Return() *ExecutionMetrics_ReadValuesSize_Call
- func (_c *ExecutionMetrics_ReadValuesSize_Call) Run(run func(byte uint64)) *ExecutionMetrics_ReadValuesSize_Call
- func (_c *ExecutionMetrics_ReadValuesSize_Call) RunAndReturn(run func(byte uint64)) *ExecutionMetrics_ReadValuesSize_Call
- type ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
- func (_c *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) Return() *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
- func (_c *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
- func (_c *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
- type ExecutionMetrics_RuntimeTransactionChecked_Call
- func (_c *ExecutionMetrics_RuntimeTransactionChecked_Call) Return() *ExecutionMetrics_RuntimeTransactionChecked_Call
- func (_c *ExecutionMetrics_RuntimeTransactionChecked_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionChecked_Call
- func (_c *ExecutionMetrics_RuntimeTransactionChecked_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionChecked_Call
- type ExecutionMetrics_RuntimeTransactionInterpreted_Call
- func (_c *ExecutionMetrics_RuntimeTransactionInterpreted_Call) Return() *ExecutionMetrics_RuntimeTransactionInterpreted_Call
- func (_c *ExecutionMetrics_RuntimeTransactionInterpreted_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionInterpreted_Call
- func (_c *ExecutionMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionInterpreted_Call
- type ExecutionMetrics_RuntimeTransactionParsed_Call
- func (_c *ExecutionMetrics_RuntimeTransactionParsed_Call) Return() *ExecutionMetrics_RuntimeTransactionParsed_Call
- func (_c *ExecutionMetrics_RuntimeTransactionParsed_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionParsed_Call
- func (_c *ExecutionMetrics_RuntimeTransactionParsed_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionParsed_Call
- type ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) Return() *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
- type ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) Return() *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
- type ExecutionMetrics_SetNumberOfDeployedCOAs_Call
- func (_c *ExecutionMetrics_SetNumberOfDeployedCOAs_Call) Return() *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
- func (_c *ExecutionMetrics_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
- func (_c *ExecutionMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
- type ExecutionMetrics_StartBlockReceivedToExecuted_Call
- func (_c *ExecutionMetrics_StartBlockReceivedToExecuted_Call) Return() *ExecutionMetrics_StartBlockReceivedToExecuted_Call
- func (_c *ExecutionMetrics_StartBlockReceivedToExecuted_Call) Run(run func(blockID flow.Identifier)) *ExecutionMetrics_StartBlockReceivedToExecuted_Call
- func (_c *ExecutionMetrics_StartBlockReceivedToExecuted_Call) RunAndReturn(run func(blockID flow.Identifier)) *ExecutionMetrics_StartBlockReceivedToExecuted_Call
- type ExecutionMetrics_UpdateCollectionMaxHeight_Call
- func (_c *ExecutionMetrics_UpdateCollectionMaxHeight_Call) Return() *ExecutionMetrics_UpdateCollectionMaxHeight_Call
- func (_c *ExecutionMetrics_UpdateCollectionMaxHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_UpdateCollectionMaxHeight_Call
- func (_c *ExecutionMetrics_UpdateCollectionMaxHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_UpdateCollectionMaxHeight_Call
- type ExecutionMetrics_UpdateCount_Call
- type ExecutionMetrics_UpdateDurationPerItem_Call
- func (_c *ExecutionMetrics_UpdateDurationPerItem_Call) Return() *ExecutionMetrics_UpdateDurationPerItem_Call
- func (_c *ExecutionMetrics_UpdateDurationPerItem_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_UpdateDurationPerItem_Call
- func (_c *ExecutionMetrics_UpdateDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_UpdateDurationPerItem_Call
- type ExecutionMetrics_UpdateDuration_Call
- func (_c *ExecutionMetrics_UpdateDuration_Call) Return() *ExecutionMetrics_UpdateDuration_Call
- func (_c *ExecutionMetrics_UpdateDuration_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_UpdateDuration_Call
- func (_c *ExecutionMetrics_UpdateDuration_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_UpdateDuration_Call
- type ExecutionMetrics_UpdateValuesNumber_Call
- func (_c *ExecutionMetrics_UpdateValuesNumber_Call) Return() *ExecutionMetrics_UpdateValuesNumber_Call
- func (_c *ExecutionMetrics_UpdateValuesNumber_Call) Run(run func(number uint64)) *ExecutionMetrics_UpdateValuesNumber_Call
- func (_c *ExecutionMetrics_UpdateValuesNumber_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_UpdateValuesNumber_Call
- type ExecutionMetrics_UpdateValuesSize_Call
- func (_c *ExecutionMetrics_UpdateValuesSize_Call) Return() *ExecutionMetrics_UpdateValuesSize_Call
- func (_c *ExecutionMetrics_UpdateValuesSize_Call) Run(run func(byte uint64)) *ExecutionMetrics_UpdateValuesSize_Call
- func (_c *ExecutionMetrics_UpdateValuesSize_Call) RunAndReturn(run func(byte uint64)) *ExecutionMetrics_UpdateValuesSize_Call
- type ExecutionStateIndexerMetrics
- func (_mock *ExecutionStateIndexerMetrics) BlockIndexed(height uint64, duration time.Duration, events int, registers int, ...)
- func (_mock *ExecutionStateIndexerMetrics) BlockReindexed()
- func (_m *ExecutionStateIndexerMetrics) EXPECT() *ExecutionStateIndexerMetrics_Expecter
- func (_mock *ExecutionStateIndexerMetrics) InitializeLatestHeight(height uint64)
- type ExecutionStateIndexerMetrics_BlockIndexed_Call
- func (_c *ExecutionStateIndexerMetrics_BlockIndexed_Call) Return() *ExecutionStateIndexerMetrics_BlockIndexed_Call
- func (_c *ExecutionStateIndexerMetrics_BlockIndexed_Call) Run(...) *ExecutionStateIndexerMetrics_BlockIndexed_Call
- func (_c *ExecutionStateIndexerMetrics_BlockIndexed_Call) RunAndReturn(...) *ExecutionStateIndexerMetrics_BlockIndexed_Call
- type ExecutionStateIndexerMetrics_BlockReindexed_Call
- func (_c *ExecutionStateIndexerMetrics_BlockReindexed_Call) Return() *ExecutionStateIndexerMetrics_BlockReindexed_Call
- func (_c *ExecutionStateIndexerMetrics_BlockReindexed_Call) Run(run func()) *ExecutionStateIndexerMetrics_BlockReindexed_Call
- func (_c *ExecutionStateIndexerMetrics_BlockReindexed_Call) RunAndReturn(run func()) *ExecutionStateIndexerMetrics_BlockReindexed_Call
- type ExecutionStateIndexerMetrics_Expecter
- func (_e *ExecutionStateIndexerMetrics_Expecter) BlockIndexed(height interface{}, duration interface{}, events interface{}, ...) *ExecutionStateIndexerMetrics_BlockIndexed_Call
- func (_e *ExecutionStateIndexerMetrics_Expecter) BlockReindexed() *ExecutionStateIndexerMetrics_BlockReindexed_Call
- func (_e *ExecutionStateIndexerMetrics_Expecter) InitializeLatestHeight(height interface{}) *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
- type ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
- func (_c *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) Return() *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
- func (_c *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) Run(run func(height uint64)) *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
- func (_c *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
- type FinalizedHeaderCache
- type FinalizedHeaderCache_Expecter
- type FinalizedHeaderCache_Get_Call
- type Finalizer
- type Finalizer_Expecter
- type Finalizer_MakeFinal_Call
- type GRPCConnectionPoolMetrics
- func (_mock *GRPCConnectionPoolMetrics) ConnectionAddedToPool()
- func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolEvicted()
- func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolInvalidated()
- func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolReused()
- func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolUpdated()
- func (_m *GRPCConnectionPoolMetrics) EXPECT() *GRPCConnectionPoolMetrics_Expecter
- func (_mock *GRPCConnectionPoolMetrics) NewConnectionEstablished()
- func (_mock *GRPCConnectionPoolMetrics) TotalConnectionsInPool(connectionCount uint, connectionPoolSize uint)
- type GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) Return() *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
- type GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) Return() *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
- type GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) Return() *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
- type GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) Return() *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
- type GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) Return() *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
- func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
- type GRPCConnectionPoolMetrics_Expecter
- func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionAddedToPool() *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
- func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolEvicted() *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
- func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolInvalidated() *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
- func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolReused() *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
- func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolUpdated() *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
- func (_e *GRPCConnectionPoolMetrics_Expecter) NewConnectionEstablished() *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
- func (_e *GRPCConnectionPoolMetrics_Expecter) TotalConnectionsInPool(connectionCount interface{}, connectionPoolSize interface{}) *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
- type GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
- func (_c *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) Return() *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
- func (_c *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) Run(run func()) *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
- func (_c *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
- type GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
- func (_c *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) Return() *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
- func (_c *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) Run(run func(connectionCount uint, connectionPoolSize uint)) *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
- func (_c *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) RunAndReturn(run func(connectionCount uint, connectionPoolSize uint)) *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
- type GossipSubMetrics
- func (_mock *GossipSubMetrics) AsyncProcessingFinished(duration time.Duration)
- func (_mock *GossipSubMetrics) AsyncProcessingStarted()
- func (_m *GossipSubMetrics) EXPECT() *GossipSubMetrics_Expecter
- func (_mock *GossipSubMetrics) OnActiveClusterIDsNotSetErr()
- func (_mock *GossipSubMetrics) OnAppSpecificScoreUpdated(f float64)
- func (_mock *GossipSubMetrics) OnBehaviourPenaltyUpdated(f float64)
- func (_mock *GossipSubMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
- func (_mock *GossipSubMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *GossipSubMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnGraftInvalidTopicIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *GossipSubMetrics) OnIHaveControlMessageIdsTruncated(diff int)
- func (_mock *GossipSubMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
- func (_mock *GossipSubMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
- func (_mock *GossipSubMetrics) OnIPColocationFactorUpdated(f float64)
- func (_mock *GossipSubMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnIWantControlMessageIdsTruncated(diff int)
- func (_mock *GossipSubMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnIWantMessageIDsReceived(msgIdCount int)
- func (_mock *GossipSubMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
- func (_mock *GossipSubMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
- func (_mock *GossipSubMetrics) OnInvalidControlMessageNotificationSent()
- func (_mock *GossipSubMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *GossipSubMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
- func (_mock *GossipSubMetrics) OnLocalMeshSizeUpdated(topic string, size int)
- func (_mock *GossipSubMetrics) OnLocalPeerJoinedTopic()
- func (_mock *GossipSubMetrics) OnLocalPeerLeftTopic()
- func (_mock *GossipSubMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *GossipSubMetrics) OnMessageDeliveredToAllSubscribers(size int)
- func (_mock *GossipSubMetrics) OnMessageDuplicate(size int)
- func (_mock *GossipSubMetrics) OnMessageEnteredValidation(size int)
- func (_mock *GossipSubMetrics) OnMessageRejected(size int, reason string)
- func (_mock *GossipSubMetrics) OnOutboundRpcDropped()
- func (_mock *GossipSubMetrics) OnOverallPeerScoreUpdated(f float64)
- func (_mock *GossipSubMetrics) OnPeerAddedToProtocol(protocol string)
- func (_mock *GossipSubMetrics) OnPeerGraftTopic(topic string)
- func (_mock *GossipSubMetrics) OnPeerPruneTopic(topic string)
- func (_mock *GossipSubMetrics) OnPeerRemovedFromProtocol()
- func (_mock *GossipSubMetrics) OnPeerThrottled()
- func (_mock *GossipSubMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnPruneInvalidTopicIdsExceedThreshold()
- func (_mock *GossipSubMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *GossipSubMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, ...)
- func (_mock *GossipSubMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
- func (_mock *GossipSubMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *GossipSubMetrics) OnRpcRejectedFromUnknownSender()
- func (_mock *GossipSubMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *GossipSubMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
- func (_mock *GossipSubMetrics) OnUndeliveredMessage()
- func (_mock *GossipSubMetrics) OnUnstakedPeerInspectionFailed()
- func (_mock *GossipSubMetrics) SetWarningStateCount(v uint)
- type GossipSubMetrics_AsyncProcessingFinished_Call
- func (_c *GossipSubMetrics_AsyncProcessingFinished_Call) Return() *GossipSubMetrics_AsyncProcessingFinished_Call
- func (_c *GossipSubMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *GossipSubMetrics_AsyncProcessingFinished_Call
- func (_c *GossipSubMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *GossipSubMetrics_AsyncProcessingFinished_Call
- type GossipSubMetrics_AsyncProcessingStarted_Call
- func (_c *GossipSubMetrics_AsyncProcessingStarted_Call) Return() *GossipSubMetrics_AsyncProcessingStarted_Call
- func (_c *GossipSubMetrics_AsyncProcessingStarted_Call) Run(run func()) *GossipSubMetrics_AsyncProcessingStarted_Call
- func (_c *GossipSubMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *GossipSubMetrics_AsyncProcessingStarted_Call
- type GossipSubMetrics_Expecter
- func (_e *GossipSubMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *GossipSubMetrics_AsyncProcessingFinished_Call
- func (_e *GossipSubMetrics_Expecter) AsyncProcessingStarted() *GossipSubMetrics_AsyncProcessingStarted_Call
- func (_e *GossipSubMetrics_Expecter) OnActiveClusterIDsNotSetErr() *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_e *GossipSubMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *GossipSubMetrics_OnControlMessagesTruncated_Call
- func (_e *GossipSubMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubMetrics_OnGraftMessageInspected_Call
- func (_e *GossipSubMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_e *GossipSubMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
- func (_e *GossipSubMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, ...) *GossipSubMetrics_OnIHaveMessagesInspected_Call
- func (_e *GossipSubMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *GossipSubMetrics_OnIPColocationFactorUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_e *GossipSubMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *GossipSubMetrics_OnIWantMessageIDsReceived_Call
- func (_e *GossipSubMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *GossipSubMetrics_OnIWantMessagesInspected_Call
- func (_e *GossipSubMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, ...) *GossipSubMetrics_OnIncomingRpcReceived_Call
- func (_e *GossipSubMetrics_Expecter) OnInvalidControlMessageNotificationSent() *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_e *GossipSubMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_e *GossipSubMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnLocalPeerJoinedTopic() *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
- func (_e *GossipSubMetrics_Expecter) OnLocalPeerLeftTopic() *GossipSubMetrics_OnLocalPeerLeftTopic_Call
- func (_e *GossipSubMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_e *GossipSubMetrics_Expecter) OnMessageDuplicate(size interface{}) *GossipSubMetrics_OnMessageDuplicate_Call
- func (_e *GossipSubMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *GossipSubMetrics_OnMessageEnteredValidation_Call
- func (_e *GossipSubMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *GossipSubMetrics_OnMessageRejected_Call
- func (_e *GossipSubMetrics_Expecter) OnOutboundRpcDropped() *GossipSubMetrics_OnOutboundRpcDropped_Call
- func (_e *GossipSubMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnPeerAddedToProtocol(protocol interface{}) *GossipSubMetrics_OnPeerAddedToProtocol_Call
- func (_e *GossipSubMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *GossipSubMetrics_OnPeerGraftTopic_Call
- func (_e *GossipSubMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *GossipSubMetrics_OnPeerPruneTopic_Call
- func (_e *GossipSubMetrics_Expecter) OnPeerRemovedFromProtocol() *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
- func (_e *GossipSubMetrics_Expecter) OnPeerThrottled() *GossipSubMetrics_OnPeerThrottled_Call
- func (_e *GossipSubMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubMetrics_OnPruneMessageInspected_Call
- func (_e *GossipSubMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, ...) *GossipSubMetrics_OnPublishMessageInspected_Call
- func (_e *GossipSubMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_e *GossipSubMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *GossipSubMetrics_OnRpcReceived_Call
- func (_e *GossipSubMetrics_Expecter) OnRpcRejectedFromUnknownSender() *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_e *GossipSubMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *GossipSubMetrics_OnRpcSent_Call
- func (_e *GossipSubMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *GossipSubMetrics_OnTimeInMeshUpdated_Call
- func (_e *GossipSubMetrics_Expecter) OnUndeliveredMessage() *GossipSubMetrics_OnUndeliveredMessage_Call
- func (_e *GossipSubMetrics_Expecter) OnUnstakedPeerInspectionFailed() *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_e *GossipSubMetrics_Expecter) SetWarningStateCount(v interface{}) *GossipSubMetrics_SetWarningStateCount_Call
- type GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) Return() *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
- type GossipSubMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *GossipSubMetrics_OnAppSpecificScoreUpdated_Call) Return() *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *GossipSubMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *GossipSubMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
- type GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) Return() *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
- type GossipSubMetrics_OnControlMessagesTruncated_Call
- func (_c *GossipSubMetrics_OnControlMessagesTruncated_Call) Return() *GossipSubMetrics_OnControlMessagesTruncated_Call
- func (_c *GossipSubMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubMetrics_OnControlMessagesTruncated_Call
- func (_c *GossipSubMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubMetrics_OnControlMessagesTruncated_Call
- type GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) Return() *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
- type GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- type GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- type GossipSubMetrics_OnGraftMessageInspected_Call
- func (_c *GossipSubMetrics_OnGraftMessageInspected_Call) Return() *GossipSubMetrics_OnGraftMessageInspected_Call
- func (_c *GossipSubMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnGraftMessageInspected_Call
- func (_c *GossipSubMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnGraftMessageInspected_Call
- type GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) Return() *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
- type GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- type GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- type GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- type GossipSubMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubMetrics_OnIHaveMessageIDsReceived_Call) Return() *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
- type GossipSubMetrics_OnIHaveMessagesInspected_Call
- func (_c *GossipSubMetrics_OnIHaveMessagesInspected_Call) Return() *GossipSubMetrics_OnIHaveMessagesInspected_Call
- func (_c *GossipSubMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubMetrics_OnIHaveMessagesInspected_Call
- func (_c *GossipSubMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubMetrics_OnIHaveMessagesInspected_Call
- type GossipSubMetrics_OnIPColocationFactorUpdated_Call
- func (_c *GossipSubMetrics_OnIPColocationFactorUpdated_Call) Return() *GossipSubMetrics_OnIPColocationFactorUpdated_Call
- func (_c *GossipSubMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnIPColocationFactorUpdated_Call
- func (_c *GossipSubMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnIPColocationFactorUpdated_Call
- type GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- type GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) Return() *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
- type GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- type GossipSubMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubMetrics_OnIWantMessageIDsReceived_Call) Return() *GossipSubMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *GossipSubMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *GossipSubMetrics_OnIWantMessageIDsReceived_Call
- type GossipSubMetrics_OnIWantMessagesInspected_Call
- func (_c *GossipSubMetrics_OnIWantMessagesInspected_Call) Return() *GossipSubMetrics_OnIWantMessagesInspected_Call
- func (_c *GossipSubMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *GossipSubMetrics_OnIWantMessagesInspected_Call
- func (_c *GossipSubMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *GossipSubMetrics_OnIWantMessagesInspected_Call
- type GossipSubMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubMetrics_OnIncomingRpcReceived_Call) Return() *GossipSubMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubMetrics_OnIncomingRpcReceived_Call) Run(...) *GossipSubMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubMetrics_OnIncomingRpcReceived_Call) RunAndReturn(...) *GossipSubMetrics_OnIncomingRpcReceived_Call
- type GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) Return() *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) Run(run func()) *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
- type GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) Return() *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
- type GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return() *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- type GossipSubMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Return() *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *GossipSubMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
- type GossipSubMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Return() *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *GossipSubMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
- type GossipSubMetrics_OnLocalPeerLeftTopic_Call
- func (_c *GossipSubMetrics_OnLocalPeerLeftTopic_Call) Return() *GossipSubMetrics_OnLocalPeerLeftTopic_Call
- func (_c *GossipSubMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *GossipSubMetrics_OnLocalPeerLeftTopic_Call
- func (_c *GossipSubMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *GossipSubMetrics_OnLocalPeerLeftTopic_Call
- type GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) Return() *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
- type GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) Return() *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
- type GossipSubMetrics_OnMessageDuplicate_Call
- func (_c *GossipSubMetrics_OnMessageDuplicate_Call) Return() *GossipSubMetrics_OnMessageDuplicate_Call
- func (_c *GossipSubMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *GossipSubMetrics_OnMessageDuplicate_Call
- func (_c *GossipSubMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *GossipSubMetrics_OnMessageDuplicate_Call
- type GossipSubMetrics_OnMessageEnteredValidation_Call
- func (_c *GossipSubMetrics_OnMessageEnteredValidation_Call) Return() *GossipSubMetrics_OnMessageEnteredValidation_Call
- func (_c *GossipSubMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *GossipSubMetrics_OnMessageEnteredValidation_Call
- func (_c *GossipSubMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *GossipSubMetrics_OnMessageEnteredValidation_Call
- type GossipSubMetrics_OnMessageRejected_Call
- func (_c *GossipSubMetrics_OnMessageRejected_Call) Return() *GossipSubMetrics_OnMessageRejected_Call
- func (_c *GossipSubMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *GossipSubMetrics_OnMessageRejected_Call
- func (_c *GossipSubMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *GossipSubMetrics_OnMessageRejected_Call
- type GossipSubMetrics_OnOutboundRpcDropped_Call
- func (_c *GossipSubMetrics_OnOutboundRpcDropped_Call) Return() *GossipSubMetrics_OnOutboundRpcDropped_Call
- func (_c *GossipSubMetrics_OnOutboundRpcDropped_Call) Run(run func()) *GossipSubMetrics_OnOutboundRpcDropped_Call
- func (_c *GossipSubMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *GossipSubMetrics_OnOutboundRpcDropped_Call
- type GossipSubMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *GossipSubMetrics_OnOverallPeerScoreUpdated_Call) Return() *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *GossipSubMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *GossipSubMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
- type GossipSubMetrics_OnPeerAddedToProtocol_Call
- func (_c *GossipSubMetrics_OnPeerAddedToProtocol_Call) Return() *GossipSubMetrics_OnPeerAddedToProtocol_Call
- func (_c *GossipSubMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol string)) *GossipSubMetrics_OnPeerAddedToProtocol_Call
- func (_c *GossipSubMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol string)) *GossipSubMetrics_OnPeerAddedToProtocol_Call
- type GossipSubMetrics_OnPeerGraftTopic_Call
- func (_c *GossipSubMetrics_OnPeerGraftTopic_Call) Return() *GossipSubMetrics_OnPeerGraftTopic_Call
- func (_c *GossipSubMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *GossipSubMetrics_OnPeerGraftTopic_Call
- func (_c *GossipSubMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *GossipSubMetrics_OnPeerGraftTopic_Call
- type GossipSubMetrics_OnPeerPruneTopic_Call
- func (_c *GossipSubMetrics_OnPeerPruneTopic_Call) Return() *GossipSubMetrics_OnPeerPruneTopic_Call
- func (_c *GossipSubMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *GossipSubMetrics_OnPeerPruneTopic_Call
- func (_c *GossipSubMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *GossipSubMetrics_OnPeerPruneTopic_Call
- type GossipSubMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *GossipSubMetrics_OnPeerRemovedFromProtocol_Call) Return() *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *GossipSubMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *GossipSubMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
- type GossipSubMetrics_OnPeerThrottled_Call
- func (_c *GossipSubMetrics_OnPeerThrottled_Call) Return() *GossipSubMetrics_OnPeerThrottled_Call
- func (_c *GossipSubMetrics_OnPeerThrottled_Call) Run(run func()) *GossipSubMetrics_OnPeerThrottled_Call
- func (_c *GossipSubMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPeerThrottled_Call
- type GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- type GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return() *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run(run func()) *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- type GossipSubMetrics_OnPruneMessageInspected_Call
- func (_c *GossipSubMetrics_OnPruneMessageInspected_Call) Return() *GossipSubMetrics_OnPruneMessageInspected_Call
- func (_c *GossipSubMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnPruneMessageInspected_Call
- func (_c *GossipSubMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnPruneMessageInspected_Call
- type GossipSubMetrics_OnPublishMessageInspected_Call
- func (_c *GossipSubMetrics_OnPublishMessageInspected_Call) Return() *GossipSubMetrics_OnPublishMessageInspected_Call
- func (_c *GossipSubMetrics_OnPublishMessageInspected_Call) Run(...) *GossipSubMetrics_OnPublishMessageInspected_Call
- func (_c *GossipSubMetrics_OnPublishMessageInspected_Call) RunAndReturn(...) *GossipSubMetrics_OnPublishMessageInspected_Call
- type GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return() *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Run(run func()) *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- type GossipSubMetrics_OnRpcReceived_Call
- type GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) Return() *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
- type GossipSubMetrics_OnRpcSent_Call
- type GossipSubMetrics_OnTimeInMeshUpdated_Call
- func (_c *GossipSubMetrics_OnTimeInMeshUpdated_Call) Return() *GossipSubMetrics_OnTimeInMeshUpdated_Call
- func (_c *GossipSubMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *GossipSubMetrics_OnTimeInMeshUpdated_Call
- func (_c *GossipSubMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *GossipSubMetrics_OnTimeInMeshUpdated_Call
- type GossipSubMetrics_OnUndeliveredMessage_Call
- func (_c *GossipSubMetrics_OnUndeliveredMessage_Call) Return() *GossipSubMetrics_OnUndeliveredMessage_Call
- func (_c *GossipSubMetrics_OnUndeliveredMessage_Call) Run(run func()) *GossipSubMetrics_OnUndeliveredMessage_Call
- func (_c *GossipSubMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *GossipSubMetrics_OnUndeliveredMessage_Call
- type GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) Return() *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
- type GossipSubMetrics_SetWarningStateCount_Call
- func (_c *GossipSubMetrics_SetWarningStateCount_Call) Return() *GossipSubMetrics_SetWarningStateCount_Call
- func (_c *GossipSubMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *GossipSubMetrics_SetWarningStateCount_Call
- func (_c *GossipSubMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *GossipSubMetrics_SetWarningStateCount_Call
- type GossipSubRpcInspectorMetrics
- func (_m *GossipSubRpcInspectorMetrics) EXPECT() *GossipSubRpcInspectorMetrics_Expecter
- func (_mock *GossipSubRpcInspectorMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
- func (_mock *GossipSubRpcInspectorMetrics) OnIWantMessageIDsReceived(msgIdCount int)
- func (_mock *GossipSubRpcInspectorMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
- type GossipSubRpcInspectorMetrics_Expecter
- func (_e *GossipSubRpcInspectorMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_e *GossipSubRpcInspectorMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_e *GossipSubRpcInspectorMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, ...) *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
- type GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) Return() *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
- type GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) Return() *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
- type GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) Return() *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) Run(...) *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) RunAndReturn(...) *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
- type GossipSubRpcValidationInspectorMetrics
- func (_mock *GossipSubRpcValidationInspectorMetrics) AsyncProcessingFinished(duration time.Duration)
- func (_mock *GossipSubRpcValidationInspectorMetrics) AsyncProcessingStarted()
- func (_m *GossipSubRpcValidationInspectorMetrics) EXPECT() *GossipSubRpcValidationInspectorMetrics_Expecter
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnActiveClusterIDsNotSetErr()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnGraftInvalidTopicIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveControlMessageIdsTruncated(diff int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantControlMessageIdsTruncated(diff int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantMessageIDsReceived(msgIdCount int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnInvalidControlMessageNotificationSent()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnPruneInvalidTopicIdsExceedThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, ...)
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnRpcRejectedFromUnknownSender()
- func (_mock *GossipSubRpcValidationInspectorMetrics) OnUnstakedPeerInspectionFailed()
- type GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) Return() *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
- type GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) Return() *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) Run(run func()) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
- type GossipSubRpcValidationInspectorMetrics_Expecter
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingStarted() *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnActiveClusterIDsNotSetErr() *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, ...) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, ...) *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidControlMessageNotificationSent() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, ...) *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() ...
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnRpcRejectedFromUnknownSender() *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnUnstakedPeerInspectionFailed() *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
- type GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
- type GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
- type GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
- type GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
- type GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
- type GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
- type GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
- type GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
- type GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
- type GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) Run(...) *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) RunAndReturn(...) *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
- type GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) ...
- type GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
- type GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) Run(...) *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) RunAndReturn(...) *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
- type GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return() ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Run(run func()) ...
- func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) ...
- type GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
- type GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) Return() *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
- type GossipSubScoringMetrics
- func (_m *GossipSubScoringMetrics) EXPECT() *GossipSubScoringMetrics_Expecter
- func (_mock *GossipSubScoringMetrics) OnAppSpecificScoreUpdated(f float64)
- func (_mock *GossipSubScoringMetrics) OnBehaviourPenaltyUpdated(f float64)
- func (_mock *GossipSubScoringMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *GossipSubScoringMetrics) OnIPColocationFactorUpdated(f float64)
- func (_mock *GossipSubScoringMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *GossipSubScoringMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *GossipSubScoringMetrics) OnOverallPeerScoreUpdated(f float64)
- func (_mock *GossipSubScoringMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
- func (_mock *GossipSubScoringMetrics) SetWarningStateCount(v uint)
- type GossipSubScoringMetrics_Expecter
- func (_e *GossipSubScoringMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
- func (_e *GossipSubScoringMetrics_Expecter) SetWarningStateCount(v interface{}) *GossipSubScoringMetrics_SetWarningStateCount_Call
- type GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) Return() *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
- type GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) Return() *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
- type GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) Return() *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
- type GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
- func (_c *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) Return() *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
- func (_c *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
- func (_c *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
- type GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) Return() *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
- type GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) Return() *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
- type GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) Return() *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
- type GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
- func (_c *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) Return() *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
- func (_c *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
- func (_c *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
- type GossipSubScoringMetrics_SetWarningStateCount_Call
- func (_c *GossipSubScoringMetrics_SetWarningStateCount_Call) Return() *GossipSubScoringMetrics_SetWarningStateCount_Call
- func (_c *GossipSubScoringMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *GossipSubScoringMetrics_SetWarningStateCount_Call
- func (_c *GossipSubScoringMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *GossipSubScoringMetrics_SetWarningStateCount_Call
- type GossipSubScoringRegistryMetrics
- type GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
- func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) Return() *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
- func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) Run(run func(penalty float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
- func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) RunAndReturn(run func(penalty float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
- type GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
- func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) Return() *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
- func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) Run(run func(count float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
- func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) RunAndReturn(run func(count float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
- type GossipSubScoringRegistryMetrics_Expecter
- func (_e *GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagePenalties(penalty interface{}) *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
- func (_e *GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagesCounts(count interface{}) *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
- type HeroCacheMetrics
- func (_mock *HeroCacheMetrics) BucketAvailableSlots(v uint64, v1 uint64)
- func (_m *HeroCacheMetrics) EXPECT() *HeroCacheMetrics_Expecter
- func (_mock *HeroCacheMetrics) OnEntityEjectionDueToEmergency()
- func (_mock *HeroCacheMetrics) OnEntityEjectionDueToFullCapacity()
- func (_mock *HeroCacheMetrics) OnKeyGetFailure()
- func (_mock *HeroCacheMetrics) OnKeyGetSuccess()
- func (_mock *HeroCacheMetrics) OnKeyPutAttempt(size uint32)
- func (_mock *HeroCacheMetrics) OnKeyPutDeduplicated()
- func (_mock *HeroCacheMetrics) OnKeyPutDrop()
- func (_mock *HeroCacheMetrics) OnKeyPutSuccess(size uint32)
- func (_mock *HeroCacheMetrics) OnKeyRemoved(size uint32)
- type HeroCacheMetrics_BucketAvailableSlots_Call
- func (_c *HeroCacheMetrics_BucketAvailableSlots_Call) Return() *HeroCacheMetrics_BucketAvailableSlots_Call
- func (_c *HeroCacheMetrics_BucketAvailableSlots_Call) Run(run func(v uint64, v1 uint64)) *HeroCacheMetrics_BucketAvailableSlots_Call
- func (_c *HeroCacheMetrics_BucketAvailableSlots_Call) RunAndReturn(run func(v uint64, v1 uint64)) *HeroCacheMetrics_BucketAvailableSlots_Call
- type HeroCacheMetrics_Expecter
- func (_e *HeroCacheMetrics_Expecter) BucketAvailableSlots(v interface{}, v1 interface{}) *HeroCacheMetrics_BucketAvailableSlots_Call
- func (_e *HeroCacheMetrics_Expecter) OnEntityEjectionDueToEmergency() *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
- func (_e *HeroCacheMetrics_Expecter) OnEntityEjectionDueToFullCapacity() *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyGetFailure() *HeroCacheMetrics_OnKeyGetFailure_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyGetSuccess() *HeroCacheMetrics_OnKeyGetSuccess_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyPutAttempt(size interface{}) *HeroCacheMetrics_OnKeyPutAttempt_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyPutDeduplicated() *HeroCacheMetrics_OnKeyPutDeduplicated_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyPutDrop() *HeroCacheMetrics_OnKeyPutDrop_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyPutSuccess(size interface{}) *HeroCacheMetrics_OnKeyPutSuccess_Call
- func (_e *HeroCacheMetrics_Expecter) OnKeyRemoved(size interface{}) *HeroCacheMetrics_OnKeyRemoved_Call
- type HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
- func (_c *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) Return() *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
- func (_c *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) Run(run func()) *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
- func (_c *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
- type HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
- func (_c *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) Return() *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
- func (_c *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) Run(run func()) *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
- func (_c *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
- type HeroCacheMetrics_OnKeyGetFailure_Call
- func (_c *HeroCacheMetrics_OnKeyGetFailure_Call) Return() *HeroCacheMetrics_OnKeyGetFailure_Call
- func (_c *HeroCacheMetrics_OnKeyGetFailure_Call) Run(run func()) *HeroCacheMetrics_OnKeyGetFailure_Call
- func (_c *HeroCacheMetrics_OnKeyGetFailure_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyGetFailure_Call
- type HeroCacheMetrics_OnKeyGetSuccess_Call
- func (_c *HeroCacheMetrics_OnKeyGetSuccess_Call) Return() *HeroCacheMetrics_OnKeyGetSuccess_Call
- func (_c *HeroCacheMetrics_OnKeyGetSuccess_Call) Run(run func()) *HeroCacheMetrics_OnKeyGetSuccess_Call
- func (_c *HeroCacheMetrics_OnKeyGetSuccess_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyGetSuccess_Call
- type HeroCacheMetrics_OnKeyPutAttempt_Call
- func (_c *HeroCacheMetrics_OnKeyPutAttempt_Call) Return() *HeroCacheMetrics_OnKeyPutAttempt_Call
- func (_c *HeroCacheMetrics_OnKeyPutAttempt_Call) Run(run func(size uint32)) *HeroCacheMetrics_OnKeyPutAttempt_Call
- func (_c *HeroCacheMetrics_OnKeyPutAttempt_Call) RunAndReturn(run func(size uint32)) *HeroCacheMetrics_OnKeyPutAttempt_Call
- type HeroCacheMetrics_OnKeyPutDeduplicated_Call
- func (_c *HeroCacheMetrics_OnKeyPutDeduplicated_Call) Return() *HeroCacheMetrics_OnKeyPutDeduplicated_Call
- func (_c *HeroCacheMetrics_OnKeyPutDeduplicated_Call) Run(run func()) *HeroCacheMetrics_OnKeyPutDeduplicated_Call
- func (_c *HeroCacheMetrics_OnKeyPutDeduplicated_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyPutDeduplicated_Call
- type HeroCacheMetrics_OnKeyPutDrop_Call
- type HeroCacheMetrics_OnKeyPutSuccess_Call
- func (_c *HeroCacheMetrics_OnKeyPutSuccess_Call) Return() *HeroCacheMetrics_OnKeyPutSuccess_Call
- func (_c *HeroCacheMetrics_OnKeyPutSuccess_Call) Run(run func(size uint32)) *HeroCacheMetrics_OnKeyPutSuccess_Call
- func (_c *HeroCacheMetrics_OnKeyPutSuccess_Call) RunAndReturn(run func(size uint32)) *HeroCacheMetrics_OnKeyPutSuccess_Call
- type HeroCacheMetrics_OnKeyRemoved_Call
- func (_c *HeroCacheMetrics_OnKeyRemoved_Call) Return() *HeroCacheMetrics_OnKeyRemoved_Call
- func (_c *HeroCacheMetrics_OnKeyRemoved_Call) Run(run func(size uint32)) *HeroCacheMetrics_OnKeyRemoved_Call
- func (_c *HeroCacheMetrics_OnKeyRemoved_Call) RunAndReturn(run func(size uint32)) *HeroCacheMetrics_OnKeyRemoved_Call
- type HotStuff
- type HotStuffFollower
- func (_mock *HotStuffFollower) AddCertifiedBlock(certifiedBlock *model.CertifiedBlock)
- func (_mock *HotStuffFollower) Done() <-chan struct{}
- func (_m *HotStuffFollower) EXPECT() *HotStuffFollower_Expecter
- func (_mock *HotStuffFollower) Ready() <-chan struct{}
- func (_mock *HotStuffFollower) Start(signalerContext irrecoverable.SignalerContext)
- type HotStuffFollower_AddCertifiedBlock_Call
- func (_c *HotStuffFollower_AddCertifiedBlock_Call) Return() *HotStuffFollower_AddCertifiedBlock_Call
- func (_c *HotStuffFollower_AddCertifiedBlock_Call) Run(run func(certifiedBlock *model.CertifiedBlock)) *HotStuffFollower_AddCertifiedBlock_Call
- func (_c *HotStuffFollower_AddCertifiedBlock_Call) RunAndReturn(run func(certifiedBlock *model.CertifiedBlock)) *HotStuffFollower_AddCertifiedBlock_Call
- type HotStuffFollower_Done_Call
- type HotStuffFollower_Expecter
- func (_e *HotStuffFollower_Expecter) AddCertifiedBlock(certifiedBlock interface{}) *HotStuffFollower_AddCertifiedBlock_Call
- func (_e *HotStuffFollower_Expecter) Done() *HotStuffFollower_Done_Call
- func (_e *HotStuffFollower_Expecter) Ready() *HotStuffFollower_Ready_Call
- func (_e *HotStuffFollower_Expecter) Start(signalerContext interface{}) *HotStuffFollower_Start_Call
- type HotStuffFollower_Ready_Call
- type HotStuffFollower_Start_Call
- func (_c *HotStuffFollower_Start_Call) Return() *HotStuffFollower_Start_Call
- func (_c *HotStuffFollower_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *HotStuffFollower_Start_Call
- func (_c *HotStuffFollower_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *HotStuffFollower_Start_Call
- type HotStuff_Done_Call
- type HotStuff_Expecter
- type HotStuff_Ready_Call
- type HotStuff_Start_Call
- type HotStuff_SubmitProposal_Call
- func (_c *HotStuff_SubmitProposal_Call) Return() *HotStuff_SubmitProposal_Call
- func (_c *HotStuff_SubmitProposal_Call) Run(run func(proposal *model.SignedProposal)) *HotStuff_SubmitProposal_Call
- func (_c *HotStuff_SubmitProposal_Call) RunAndReturn(run func(proposal *model.SignedProposal)) *HotStuff_SubmitProposal_Call
- type HotstuffMetrics
- func (_mock *HotstuffMetrics) BlockProcessingDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) CommitteeProcessingDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) CountSkipped()
- func (_mock *HotstuffMetrics) CountTimeout()
- func (_m *HotstuffMetrics) EXPECT() *HotstuffMetrics_Expecter
- func (_mock *HotstuffMetrics) HotStuffBusyDuration(duration time.Duration, event string)
- func (_mock *HotstuffMetrics) HotStuffIdleDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) HotStuffWaitDuration(duration time.Duration, event string)
- func (_mock *HotstuffMetrics) PayloadProductionDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) SetCurView(view uint64)
- func (_mock *HotstuffMetrics) SetQCView(view uint64)
- func (_mock *HotstuffMetrics) SetTCView(view uint64)
- func (_mock *HotstuffMetrics) SetTimeout(duration time.Duration)
- func (_mock *HotstuffMetrics) SignerProcessingDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) TimeoutCollectorsRange(lowestRetainedView uint64, newestViewCreatedCollector uint64, ...)
- func (_mock *HotstuffMetrics) TimeoutObjectProcessingDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) ValidatorProcessingDuration(duration time.Duration)
- func (_mock *HotstuffMetrics) VoteProcessingDuration(duration time.Duration)
- type HotstuffMetrics_BlockProcessingDuration_Call
- func (_c *HotstuffMetrics_BlockProcessingDuration_Call) Return() *HotstuffMetrics_BlockProcessingDuration_Call
- func (_c *HotstuffMetrics_BlockProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_BlockProcessingDuration_Call
- func (_c *HotstuffMetrics_BlockProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_BlockProcessingDuration_Call
- type HotstuffMetrics_CommitteeProcessingDuration_Call
- func (_c *HotstuffMetrics_CommitteeProcessingDuration_Call) Return() *HotstuffMetrics_CommitteeProcessingDuration_Call
- func (_c *HotstuffMetrics_CommitteeProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_CommitteeProcessingDuration_Call
- func (_c *HotstuffMetrics_CommitteeProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_CommitteeProcessingDuration_Call
- type HotstuffMetrics_CountSkipped_Call
- type HotstuffMetrics_CountTimeout_Call
- type HotstuffMetrics_Expecter
- func (_e *HotstuffMetrics_Expecter) BlockProcessingDuration(duration interface{}) *HotstuffMetrics_BlockProcessingDuration_Call
- func (_e *HotstuffMetrics_Expecter) CommitteeProcessingDuration(duration interface{}) *HotstuffMetrics_CommitteeProcessingDuration_Call
- func (_e *HotstuffMetrics_Expecter) CountSkipped() *HotstuffMetrics_CountSkipped_Call
- func (_e *HotstuffMetrics_Expecter) CountTimeout() *HotstuffMetrics_CountTimeout_Call
- func (_e *HotstuffMetrics_Expecter) HotStuffBusyDuration(duration interface{}, event interface{}) *HotstuffMetrics_HotStuffBusyDuration_Call
- func (_e *HotstuffMetrics_Expecter) HotStuffIdleDuration(duration interface{}) *HotstuffMetrics_HotStuffIdleDuration_Call
- func (_e *HotstuffMetrics_Expecter) HotStuffWaitDuration(duration interface{}, event interface{}) *HotstuffMetrics_HotStuffWaitDuration_Call
- func (_e *HotstuffMetrics_Expecter) PayloadProductionDuration(duration interface{}) *HotstuffMetrics_PayloadProductionDuration_Call
- func (_e *HotstuffMetrics_Expecter) SetCurView(view interface{}) *HotstuffMetrics_SetCurView_Call
- func (_e *HotstuffMetrics_Expecter) SetQCView(view interface{}) *HotstuffMetrics_SetQCView_Call
- func (_e *HotstuffMetrics_Expecter) SetTCView(view interface{}) *HotstuffMetrics_SetTCView_Call
- func (_e *HotstuffMetrics_Expecter) SetTimeout(duration interface{}) *HotstuffMetrics_SetTimeout_Call
- func (_e *HotstuffMetrics_Expecter) SignerProcessingDuration(duration interface{}) *HotstuffMetrics_SignerProcessingDuration_Call
- func (_e *HotstuffMetrics_Expecter) TimeoutCollectorsRange(lowestRetainedView interface{}, newestViewCreatedCollector interface{}, ...) *HotstuffMetrics_TimeoutCollectorsRange_Call
- func (_e *HotstuffMetrics_Expecter) TimeoutObjectProcessingDuration(duration interface{}) *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
- func (_e *HotstuffMetrics_Expecter) ValidatorProcessingDuration(duration interface{}) *HotstuffMetrics_ValidatorProcessingDuration_Call
- func (_e *HotstuffMetrics_Expecter) VoteProcessingDuration(duration interface{}) *HotstuffMetrics_VoteProcessingDuration_Call
- type HotstuffMetrics_HotStuffBusyDuration_Call
- func (_c *HotstuffMetrics_HotStuffBusyDuration_Call) Return() *HotstuffMetrics_HotStuffBusyDuration_Call
- func (_c *HotstuffMetrics_HotStuffBusyDuration_Call) Run(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffBusyDuration_Call
- func (_c *HotstuffMetrics_HotStuffBusyDuration_Call) RunAndReturn(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffBusyDuration_Call
- type HotstuffMetrics_HotStuffIdleDuration_Call
- func (_c *HotstuffMetrics_HotStuffIdleDuration_Call) Return() *HotstuffMetrics_HotStuffIdleDuration_Call
- func (_c *HotstuffMetrics_HotStuffIdleDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_HotStuffIdleDuration_Call
- func (_c *HotstuffMetrics_HotStuffIdleDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_HotStuffIdleDuration_Call
- type HotstuffMetrics_HotStuffWaitDuration_Call
- func (_c *HotstuffMetrics_HotStuffWaitDuration_Call) Return() *HotstuffMetrics_HotStuffWaitDuration_Call
- func (_c *HotstuffMetrics_HotStuffWaitDuration_Call) Run(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffWaitDuration_Call
- func (_c *HotstuffMetrics_HotStuffWaitDuration_Call) RunAndReturn(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffWaitDuration_Call
- type HotstuffMetrics_PayloadProductionDuration_Call
- func (_c *HotstuffMetrics_PayloadProductionDuration_Call) Return() *HotstuffMetrics_PayloadProductionDuration_Call
- func (_c *HotstuffMetrics_PayloadProductionDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_PayloadProductionDuration_Call
- func (_c *HotstuffMetrics_PayloadProductionDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_PayloadProductionDuration_Call
- type HotstuffMetrics_SetCurView_Call
- type HotstuffMetrics_SetQCView_Call
- type HotstuffMetrics_SetTCView_Call
- type HotstuffMetrics_SetTimeout_Call
- func (_c *HotstuffMetrics_SetTimeout_Call) Return() *HotstuffMetrics_SetTimeout_Call
- func (_c *HotstuffMetrics_SetTimeout_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_SetTimeout_Call
- func (_c *HotstuffMetrics_SetTimeout_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_SetTimeout_Call
- type HotstuffMetrics_SignerProcessingDuration_Call
- func (_c *HotstuffMetrics_SignerProcessingDuration_Call) Return() *HotstuffMetrics_SignerProcessingDuration_Call
- func (_c *HotstuffMetrics_SignerProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_SignerProcessingDuration_Call
- func (_c *HotstuffMetrics_SignerProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_SignerProcessingDuration_Call
- type HotstuffMetrics_TimeoutCollectorsRange_Call
- func (_c *HotstuffMetrics_TimeoutCollectorsRange_Call) Return() *HotstuffMetrics_TimeoutCollectorsRange_Call
- func (_c *HotstuffMetrics_TimeoutCollectorsRange_Call) Run(run func(lowestRetainedView uint64, newestViewCreatedCollector uint64, ...)) *HotstuffMetrics_TimeoutCollectorsRange_Call
- func (_c *HotstuffMetrics_TimeoutCollectorsRange_Call) RunAndReturn(run func(lowestRetainedView uint64, newestViewCreatedCollector uint64, ...)) *HotstuffMetrics_TimeoutCollectorsRange_Call
- type HotstuffMetrics_TimeoutObjectProcessingDuration_Call
- func (_c *HotstuffMetrics_TimeoutObjectProcessingDuration_Call) Return() *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
- func (_c *HotstuffMetrics_TimeoutObjectProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
- func (_c *HotstuffMetrics_TimeoutObjectProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
- type HotstuffMetrics_ValidatorProcessingDuration_Call
- func (_c *HotstuffMetrics_ValidatorProcessingDuration_Call) Return() *HotstuffMetrics_ValidatorProcessingDuration_Call
- func (_c *HotstuffMetrics_ValidatorProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_ValidatorProcessingDuration_Call
- func (_c *HotstuffMetrics_ValidatorProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_ValidatorProcessingDuration_Call
- type HotstuffMetrics_VoteProcessingDuration_Call
- func (_c *HotstuffMetrics_VoteProcessingDuration_Call) Return() *HotstuffMetrics_VoteProcessingDuration_Call
- func (_c *HotstuffMetrics_VoteProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_VoteProcessingDuration_Call
- func (_c *HotstuffMetrics_VoteProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_VoteProcessingDuration_Call
- type IdentifierProvider
- type IdentifierProvider_Expecter
- type IdentifierProvider_Identifiers_Call
- func (_c *IdentifierProvider_Identifiers_Call) Return(identifierList flow.IdentifierList) *IdentifierProvider_Identifiers_Call
- func (_c *IdentifierProvider_Identifiers_Call) Run(run func()) *IdentifierProvider_Identifiers_Call
- func (_c *IdentifierProvider_Identifiers_Call) RunAndReturn(run func() flow.IdentifierList) *IdentifierProvider_Identifiers_Call
- type IdentityProvider
- func (_mock *IdentityProvider) ByNodeID(identifier flow.Identifier) (*flow.Identity, bool)
- func (_mock *IdentityProvider) ByPeerID(iD peer.ID) (*flow.Identity, bool)
- func (_m *IdentityProvider) EXPECT() *IdentityProvider_Expecter
- func (_mock *IdentityProvider) Identities(identityFilter flow.IdentityFilter[flow.Identity]) flow.IdentityList
- type IdentityProvider_ByNodeID_Call
- func (_c *IdentityProvider_ByNodeID_Call) Return(identity *flow.Identity, b bool) *IdentityProvider_ByNodeID_Call
- func (_c *IdentityProvider_ByNodeID_Call) Run(run func(identifier flow.Identifier)) *IdentityProvider_ByNodeID_Call
- func (_c *IdentityProvider_ByNodeID_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.Identity, bool)) *IdentityProvider_ByNodeID_Call
- type IdentityProvider_ByPeerID_Call
- func (_c *IdentityProvider_ByPeerID_Call) Return(identity *flow.Identity, b bool) *IdentityProvider_ByPeerID_Call
- func (_c *IdentityProvider_ByPeerID_Call) Run(run func(iD peer.ID)) *IdentityProvider_ByPeerID_Call
- func (_c *IdentityProvider_ByPeerID_Call) RunAndReturn(run func(iD peer.ID) (*flow.Identity, bool)) *IdentityProvider_ByPeerID_Call
- type IdentityProvider_Expecter
- func (_e *IdentityProvider_Expecter) ByNodeID(identifier interface{}) *IdentityProvider_ByNodeID_Call
- func (_e *IdentityProvider_Expecter) ByPeerID(iD interface{}) *IdentityProvider_ByPeerID_Call
- func (_e *IdentityProvider_Expecter) Identities(identityFilter interface{}) *IdentityProvider_Identities_Call
- type IdentityProvider_Identities_Call
- func (_c *IdentityProvider_Identities_Call) Return(v flow.IdentityList) *IdentityProvider_Identities_Call
- func (_c *IdentityProvider_Identities_Call) Run(run func(identityFilter flow.IdentityFilter[flow.Identity])) *IdentityProvider_Identities_Call
- func (_c *IdentityProvider_Identities_Call) RunAndReturn(run func(identityFilter flow.IdentityFilter[flow.Identity]) flow.IdentityList) *IdentityProvider_Identities_Call
- type IteratorCreator
- type IteratorCreator_Create_Call
- func (_c *IteratorCreator_Create_Call) Return(fromSavedIndexToLatest module.BlockIterator, hasNext bool, exception error) *IteratorCreator_Create_Call
- func (_c *IteratorCreator_Create_Call) Run(run func()) *IteratorCreator_Create_Call
- func (_c *IteratorCreator_Create_Call) RunAndReturn(run func() (module.BlockIterator, bool, error)) *IteratorCreator_Create_Call
- type IteratorCreator_Expecter
- type IteratorCreator_IteratorState_Call
- func (_c *IteratorCreator_IteratorState_Call) Return(iteratorStateReader module.IteratorStateReader) *IteratorCreator_IteratorState_Call
- func (_c *IteratorCreator_IteratorState_Call) Run(run func()) *IteratorCreator_IteratorState_Call
- func (_c *IteratorCreator_IteratorState_Call) RunAndReturn(run func() module.IteratorStateReader) *IteratorCreator_IteratorState_Call
- type IteratorState
- type IteratorStateReader
- type IteratorStateReader_Expecter
- type IteratorStateReader_LoadState_Call
- func (_c *IteratorStateReader_LoadState_Call) Return(progress uint64, exception error) *IteratorStateReader_LoadState_Call
- func (_c *IteratorStateReader_LoadState_Call) Run(run func()) *IteratorStateReader_LoadState_Call
- func (_c *IteratorStateReader_LoadState_Call) RunAndReturn(run func() (uint64, error)) *IteratorStateReader_LoadState_Call
- type IteratorStateWriter
- type IteratorStateWriter_Expecter
- type IteratorStateWriter_SaveState_Call
- func (_c *IteratorStateWriter_SaveState_Call) Return(exception error) *IteratorStateWriter_SaveState_Call
- func (_c *IteratorStateWriter_SaveState_Call) Run(run func(v uint64)) *IteratorStateWriter_SaveState_Call
- func (_c *IteratorStateWriter_SaveState_Call) RunAndReturn(run func(v uint64) error) *IteratorStateWriter_SaveState_Call
- type IteratorState_Expecter
- type IteratorState_LoadState_Call
- func (_c *IteratorState_LoadState_Call) Return(progress uint64, exception error) *IteratorState_LoadState_Call
- func (_c *IteratorState_LoadState_Call) Run(run func()) *IteratorState_LoadState_Call
- func (_c *IteratorState_LoadState_Call) RunAndReturn(run func() (uint64, error)) *IteratorState_LoadState_Call
- type IteratorState_SaveState_Call
- type Job
- type JobConsumer
- func (_mock *JobConsumer) Check()
- func (_m *JobConsumer) EXPECT() *JobConsumer_Expecter
- func (_mock *JobConsumer) LastProcessedIndex() uint64
- func (_mock *JobConsumer) NotifyJobIsDone(jobID module.JobID) uint64
- func (_mock *JobConsumer) Size() uint
- func (_mock *JobConsumer) Start() error
- func (_mock *JobConsumer) Stop()
- type JobConsumer_Check_Call
- type JobConsumer_Expecter
- func (_e *JobConsumer_Expecter) Check() *JobConsumer_Check_Call
- func (_e *JobConsumer_Expecter) LastProcessedIndex() *JobConsumer_LastProcessedIndex_Call
- func (_e *JobConsumer_Expecter) NotifyJobIsDone(jobID interface{}) *JobConsumer_NotifyJobIsDone_Call
- func (_e *JobConsumer_Expecter) Size() *JobConsumer_Size_Call
- func (_e *JobConsumer_Expecter) Start() *JobConsumer_Start_Call
- func (_e *JobConsumer_Expecter) Stop() *JobConsumer_Stop_Call
- type JobConsumer_LastProcessedIndex_Call
- func (_c *JobConsumer_LastProcessedIndex_Call) Return(v uint64) *JobConsumer_LastProcessedIndex_Call
- func (_c *JobConsumer_LastProcessedIndex_Call) Run(run func()) *JobConsumer_LastProcessedIndex_Call
- func (_c *JobConsumer_LastProcessedIndex_Call) RunAndReturn(run func() uint64) *JobConsumer_LastProcessedIndex_Call
- type JobConsumer_NotifyJobIsDone_Call
- func (_c *JobConsumer_NotifyJobIsDone_Call) Return(v uint64) *JobConsumer_NotifyJobIsDone_Call
- func (_c *JobConsumer_NotifyJobIsDone_Call) Run(run func(jobID module.JobID)) *JobConsumer_NotifyJobIsDone_Call
- func (_c *JobConsumer_NotifyJobIsDone_Call) RunAndReturn(run func(jobID module.JobID) uint64) *JobConsumer_NotifyJobIsDone_Call
- type JobConsumer_Size_Call
- type JobConsumer_Start_Call
- type JobConsumer_Stop_Call
- type JobQueue
- type JobQueue_Add_Call
- type JobQueue_Expecter
- type Job_Expecter
- type Job_ID_Call
- type Jobs
- type Jobs_AtIndex_Call
- type Jobs_Expecter
- type Jobs_Head_Call
- type LedgerMetrics
- func (_m *LedgerMetrics) EXPECT() *LedgerMetrics_Expecter
- func (_mock *LedgerMetrics) ForestApproxMemorySize(bytes uint64)
- func (_mock *LedgerMetrics) ForestNumberOfTrees(number uint64)
- func (_mock *LedgerMetrics) LatestTrieMaxDepthTouched(maxDepth uint16)
- func (_mock *LedgerMetrics) LatestTrieRegCount(number uint64)
- func (_mock *LedgerMetrics) LatestTrieRegCountDiff(number int64)
- func (_mock *LedgerMetrics) LatestTrieRegSize(size uint64)
- func (_mock *LedgerMetrics) LatestTrieRegSizeDiff(size int64)
- func (_mock *LedgerMetrics) ProofSize(bytes uint32)
- func (_mock *LedgerMetrics) ReadDuration(duration time.Duration)
- func (_mock *LedgerMetrics) ReadDurationPerItem(duration time.Duration)
- func (_mock *LedgerMetrics) ReadValuesNumber(number uint64)
- func (_mock *LedgerMetrics) ReadValuesSize(byte uint64)
- func (_mock *LedgerMetrics) UpdateCount()
- func (_mock *LedgerMetrics) UpdateDuration(duration time.Duration)
- func (_mock *LedgerMetrics) UpdateDurationPerItem(duration time.Duration)
- func (_mock *LedgerMetrics) UpdateValuesNumber(number uint64)
- func (_mock *LedgerMetrics) UpdateValuesSize(byte uint64)
- type LedgerMetrics_Expecter
- func (_e *LedgerMetrics_Expecter) ForestApproxMemorySize(bytes interface{}) *LedgerMetrics_ForestApproxMemorySize_Call
- func (_e *LedgerMetrics_Expecter) ForestNumberOfTrees(number interface{}) *LedgerMetrics_ForestNumberOfTrees_Call
- func (_e *LedgerMetrics_Expecter) LatestTrieMaxDepthTouched(maxDepth interface{}) *LedgerMetrics_LatestTrieMaxDepthTouched_Call
- func (_e *LedgerMetrics_Expecter) LatestTrieRegCount(number interface{}) *LedgerMetrics_LatestTrieRegCount_Call
- func (_e *LedgerMetrics_Expecter) LatestTrieRegCountDiff(number interface{}) *LedgerMetrics_LatestTrieRegCountDiff_Call
- func (_e *LedgerMetrics_Expecter) LatestTrieRegSize(size interface{}) *LedgerMetrics_LatestTrieRegSize_Call
- func (_e *LedgerMetrics_Expecter) LatestTrieRegSizeDiff(size interface{}) *LedgerMetrics_LatestTrieRegSizeDiff_Call
- func (_e *LedgerMetrics_Expecter) ProofSize(bytes interface{}) *LedgerMetrics_ProofSize_Call
- func (_e *LedgerMetrics_Expecter) ReadDuration(duration interface{}) *LedgerMetrics_ReadDuration_Call
- func (_e *LedgerMetrics_Expecter) ReadDurationPerItem(duration interface{}) *LedgerMetrics_ReadDurationPerItem_Call
- func (_e *LedgerMetrics_Expecter) ReadValuesNumber(number interface{}) *LedgerMetrics_ReadValuesNumber_Call
- func (_e *LedgerMetrics_Expecter) ReadValuesSize(byte interface{}) *LedgerMetrics_ReadValuesSize_Call
- func (_e *LedgerMetrics_Expecter) UpdateCount() *LedgerMetrics_UpdateCount_Call
- func (_e *LedgerMetrics_Expecter) UpdateDuration(duration interface{}) *LedgerMetrics_UpdateDuration_Call
- func (_e *LedgerMetrics_Expecter) UpdateDurationPerItem(duration interface{}) *LedgerMetrics_UpdateDurationPerItem_Call
- func (_e *LedgerMetrics_Expecter) UpdateValuesNumber(number interface{}) *LedgerMetrics_UpdateValuesNumber_Call
- func (_e *LedgerMetrics_Expecter) UpdateValuesSize(byte interface{}) *LedgerMetrics_UpdateValuesSize_Call
- type LedgerMetrics_ForestApproxMemorySize_Call
- func (_c *LedgerMetrics_ForestApproxMemorySize_Call) Return() *LedgerMetrics_ForestApproxMemorySize_Call
- func (_c *LedgerMetrics_ForestApproxMemorySize_Call) Run(run func(bytes uint64)) *LedgerMetrics_ForestApproxMemorySize_Call
- func (_c *LedgerMetrics_ForestApproxMemorySize_Call) RunAndReturn(run func(bytes uint64)) *LedgerMetrics_ForestApproxMemorySize_Call
- type LedgerMetrics_ForestNumberOfTrees_Call
- func (_c *LedgerMetrics_ForestNumberOfTrees_Call) Return() *LedgerMetrics_ForestNumberOfTrees_Call
- func (_c *LedgerMetrics_ForestNumberOfTrees_Call) Run(run func(number uint64)) *LedgerMetrics_ForestNumberOfTrees_Call
- func (_c *LedgerMetrics_ForestNumberOfTrees_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_ForestNumberOfTrees_Call
- type LedgerMetrics_LatestTrieMaxDepthTouched_Call
- func (_c *LedgerMetrics_LatestTrieMaxDepthTouched_Call) Return() *LedgerMetrics_LatestTrieMaxDepthTouched_Call
- func (_c *LedgerMetrics_LatestTrieMaxDepthTouched_Call) Run(run func(maxDepth uint16)) *LedgerMetrics_LatestTrieMaxDepthTouched_Call
- func (_c *LedgerMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn(run func(maxDepth uint16)) *LedgerMetrics_LatestTrieMaxDepthTouched_Call
- type LedgerMetrics_LatestTrieRegCountDiff_Call
- func (_c *LedgerMetrics_LatestTrieRegCountDiff_Call) Return() *LedgerMetrics_LatestTrieRegCountDiff_Call
- func (_c *LedgerMetrics_LatestTrieRegCountDiff_Call) Run(run func(number int64)) *LedgerMetrics_LatestTrieRegCountDiff_Call
- func (_c *LedgerMetrics_LatestTrieRegCountDiff_Call) RunAndReturn(run func(number int64)) *LedgerMetrics_LatestTrieRegCountDiff_Call
- type LedgerMetrics_LatestTrieRegCount_Call
- func (_c *LedgerMetrics_LatestTrieRegCount_Call) Return() *LedgerMetrics_LatestTrieRegCount_Call
- func (_c *LedgerMetrics_LatestTrieRegCount_Call) Run(run func(number uint64)) *LedgerMetrics_LatestTrieRegCount_Call
- func (_c *LedgerMetrics_LatestTrieRegCount_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_LatestTrieRegCount_Call
- type LedgerMetrics_LatestTrieRegSizeDiff_Call
- func (_c *LedgerMetrics_LatestTrieRegSizeDiff_Call) Return() *LedgerMetrics_LatestTrieRegSizeDiff_Call
- func (_c *LedgerMetrics_LatestTrieRegSizeDiff_Call) Run(run func(size int64)) *LedgerMetrics_LatestTrieRegSizeDiff_Call
- func (_c *LedgerMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn(run func(size int64)) *LedgerMetrics_LatestTrieRegSizeDiff_Call
- type LedgerMetrics_LatestTrieRegSize_Call
- func (_c *LedgerMetrics_LatestTrieRegSize_Call) Return() *LedgerMetrics_LatestTrieRegSize_Call
- func (_c *LedgerMetrics_LatestTrieRegSize_Call) Run(run func(size uint64)) *LedgerMetrics_LatestTrieRegSize_Call
- func (_c *LedgerMetrics_LatestTrieRegSize_Call) RunAndReturn(run func(size uint64)) *LedgerMetrics_LatestTrieRegSize_Call
- type LedgerMetrics_ProofSize_Call
- type LedgerMetrics_ReadDurationPerItem_Call
- func (_c *LedgerMetrics_ReadDurationPerItem_Call) Return() *LedgerMetrics_ReadDurationPerItem_Call
- func (_c *LedgerMetrics_ReadDurationPerItem_Call) Run(run func(duration time.Duration)) *LedgerMetrics_ReadDurationPerItem_Call
- func (_c *LedgerMetrics_ReadDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_ReadDurationPerItem_Call
- type LedgerMetrics_ReadDuration_Call
- func (_c *LedgerMetrics_ReadDuration_Call) Return() *LedgerMetrics_ReadDuration_Call
- func (_c *LedgerMetrics_ReadDuration_Call) Run(run func(duration time.Duration)) *LedgerMetrics_ReadDuration_Call
- func (_c *LedgerMetrics_ReadDuration_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_ReadDuration_Call
- type LedgerMetrics_ReadValuesNumber_Call
- func (_c *LedgerMetrics_ReadValuesNumber_Call) Return() *LedgerMetrics_ReadValuesNumber_Call
- func (_c *LedgerMetrics_ReadValuesNumber_Call) Run(run func(number uint64)) *LedgerMetrics_ReadValuesNumber_Call
- func (_c *LedgerMetrics_ReadValuesNumber_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_ReadValuesNumber_Call
- type LedgerMetrics_ReadValuesSize_Call
- func (_c *LedgerMetrics_ReadValuesSize_Call) Return() *LedgerMetrics_ReadValuesSize_Call
- func (_c *LedgerMetrics_ReadValuesSize_Call) Run(run func(byte uint64)) *LedgerMetrics_ReadValuesSize_Call
- func (_c *LedgerMetrics_ReadValuesSize_Call) RunAndReturn(run func(byte uint64)) *LedgerMetrics_ReadValuesSize_Call
- type LedgerMetrics_UpdateCount_Call
- type LedgerMetrics_UpdateDurationPerItem_Call
- func (_c *LedgerMetrics_UpdateDurationPerItem_Call) Return() *LedgerMetrics_UpdateDurationPerItem_Call
- func (_c *LedgerMetrics_UpdateDurationPerItem_Call) Run(run func(duration time.Duration)) *LedgerMetrics_UpdateDurationPerItem_Call
- func (_c *LedgerMetrics_UpdateDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_UpdateDurationPerItem_Call
- type LedgerMetrics_UpdateDuration_Call
- func (_c *LedgerMetrics_UpdateDuration_Call) Return() *LedgerMetrics_UpdateDuration_Call
- func (_c *LedgerMetrics_UpdateDuration_Call) Run(run func(duration time.Duration)) *LedgerMetrics_UpdateDuration_Call
- func (_c *LedgerMetrics_UpdateDuration_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_UpdateDuration_Call
- type LedgerMetrics_UpdateValuesNumber_Call
- func (_c *LedgerMetrics_UpdateValuesNumber_Call) Return() *LedgerMetrics_UpdateValuesNumber_Call
- func (_c *LedgerMetrics_UpdateValuesNumber_Call) Run(run func(number uint64)) *LedgerMetrics_UpdateValuesNumber_Call
- func (_c *LedgerMetrics_UpdateValuesNumber_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_UpdateValuesNumber_Call
- type LedgerMetrics_UpdateValuesSize_Call
- func (_c *LedgerMetrics_UpdateValuesSize_Call) Return() *LedgerMetrics_UpdateValuesSize_Call
- func (_c *LedgerMetrics_UpdateValuesSize_Call) Run(run func(byte uint64)) *LedgerMetrics_UpdateValuesSize_Call
- func (_c *LedgerMetrics_UpdateValuesSize_Call) RunAndReturn(run func(byte uint64)) *LedgerMetrics_UpdateValuesSize_Call
- type LibP2PConnectionMetrics
- type LibP2PConnectionMetrics_Expecter
- type LibP2PConnectionMetrics_InboundConnections_Call
- func (_c *LibP2PConnectionMetrics_InboundConnections_Call) Return() *LibP2PConnectionMetrics_InboundConnections_Call
- func (_c *LibP2PConnectionMetrics_InboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PConnectionMetrics_InboundConnections_Call
- func (_c *LibP2PConnectionMetrics_InboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PConnectionMetrics_InboundConnections_Call
- type LibP2PConnectionMetrics_OutboundConnections_Call
- func (_c *LibP2PConnectionMetrics_OutboundConnections_Call) Return() *LibP2PConnectionMetrics_OutboundConnections_Call
- func (_c *LibP2PConnectionMetrics_OutboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PConnectionMetrics_OutboundConnections_Call
- func (_c *LibP2PConnectionMetrics_OutboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PConnectionMetrics_OutboundConnections_Call
- type LibP2PMetrics
- func (_mock *LibP2PMetrics) AllowConn(dir network.Direction, usefd bool)
- func (_mock *LibP2PMetrics) AllowMemory(size int)
- func (_mock *LibP2PMetrics) AllowPeer(p peer.ID)
- func (_mock *LibP2PMetrics) AllowProtocol(proto protocol.ID)
- func (_mock *LibP2PMetrics) AllowService(svc string)
- func (_mock *LibP2PMetrics) AllowStream(p peer.ID, dir network.Direction)
- func (_mock *LibP2PMetrics) AsyncProcessingFinished(duration time.Duration)
- func (_mock *LibP2PMetrics) AsyncProcessingStarted()
- func (_mock *LibP2PMetrics) BlockConn(dir network.Direction, usefd bool)
- func (_mock *LibP2PMetrics) BlockMemory(size int)
- func (_mock *LibP2PMetrics) BlockPeer(p peer.ID)
- func (_mock *LibP2PMetrics) BlockProtocol(proto protocol.ID)
- func (_mock *LibP2PMetrics) BlockProtocolPeer(proto protocol.ID, p peer.ID)
- func (_mock *LibP2PMetrics) BlockService(svc string)
- func (_mock *LibP2PMetrics) BlockServicePeer(svc string, p peer.ID)
- func (_mock *LibP2PMetrics) BlockStream(p peer.ID, dir network.Direction)
- func (_mock *LibP2PMetrics) DNSLookupDuration(duration time.Duration)
- func (_mock *LibP2PMetrics) DuplicateMessagePenalties(penalty float64)
- func (_mock *LibP2PMetrics) DuplicateMessagesCounts(count float64)
- func (_m *LibP2PMetrics) EXPECT() *LibP2PMetrics_Expecter
- func (_mock *LibP2PMetrics) InboundConnections(connectionCount uint)
- func (_mock *LibP2PMetrics) OnActiveClusterIDsNotSetErr()
- func (_mock *LibP2PMetrics) OnAppSpecificScoreUpdated(f float64)
- func (_mock *LibP2PMetrics) OnBehaviourPenaltyUpdated(f float64)
- func (_mock *LibP2PMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
- func (_mock *LibP2PMetrics) OnDNSCacheHit()
- func (_mock *LibP2PMetrics) OnDNSCacheInvalidated()
- func (_mock *LibP2PMetrics) OnDNSCacheMiss()
- func (_mock *LibP2PMetrics) OnDNSLookupRequestDropped()
- func (_mock *LibP2PMetrics) OnDialRetryBudgetResetToDefault()
- func (_mock *LibP2PMetrics) OnDialRetryBudgetUpdated(budget uint64)
- func (_mock *LibP2PMetrics) OnEstablishStreamFailure(duration time.Duration, attempts int)
- func (_mock *LibP2PMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *LibP2PMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnGraftInvalidTopicIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *LibP2PMetrics) OnIHaveControlMessageIdsTruncated(diff int)
- func (_mock *LibP2PMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
- func (_mock *LibP2PMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
- func (_mock *LibP2PMetrics) OnIPColocationFactorUpdated(f float64)
- func (_mock *LibP2PMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnIWantControlMessageIdsTruncated(diff int)
- func (_mock *LibP2PMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnIWantMessageIDsReceived(msgIdCount int)
- func (_mock *LibP2PMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
- func (_mock *LibP2PMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
- func (_mock *LibP2PMetrics) OnInvalidControlMessageNotificationSent()
- func (_mock *LibP2PMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *LibP2PMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
- func (_mock *LibP2PMetrics) OnLocalMeshSizeUpdated(topic string, size int)
- func (_mock *LibP2PMetrics) OnLocalPeerJoinedTopic()
- func (_mock *LibP2PMetrics) OnLocalPeerLeftTopic()
- func (_mock *LibP2PMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *LibP2PMetrics) OnMessageDeliveredToAllSubscribers(size int)
- func (_mock *LibP2PMetrics) OnMessageDuplicate(size int)
- func (_mock *LibP2PMetrics) OnMessageEnteredValidation(size int)
- func (_mock *LibP2PMetrics) OnMessageRejected(size int, reason string)
- func (_mock *LibP2PMetrics) OnOutboundRpcDropped()
- func (_mock *LibP2PMetrics) OnOverallPeerScoreUpdated(f float64)
- func (_mock *LibP2PMetrics) OnPeerAddedToProtocol(protocol1 string)
- func (_mock *LibP2PMetrics) OnPeerDialFailure(duration time.Duration, attempts int)
- func (_mock *LibP2PMetrics) OnPeerDialed(duration time.Duration, attempts int)
- func (_mock *LibP2PMetrics) OnPeerGraftTopic(topic string)
- func (_mock *LibP2PMetrics) OnPeerPruneTopic(topic string)
- func (_mock *LibP2PMetrics) OnPeerRemovedFromProtocol()
- func (_mock *LibP2PMetrics) OnPeerThrottled()
- func (_mock *LibP2PMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnPruneInvalidTopicIdsExceedThreshold()
- func (_mock *LibP2PMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *LibP2PMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, ...)
- func (_mock *LibP2PMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
- func (_mock *LibP2PMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *LibP2PMetrics) OnRpcRejectedFromUnknownSender()
- func (_mock *LibP2PMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *LibP2PMetrics) OnStreamCreated(duration time.Duration, attempts int)
- func (_mock *LibP2PMetrics) OnStreamCreationFailure(duration time.Duration, attempts int)
- func (_mock *LibP2PMetrics) OnStreamCreationRetryBudgetResetToDefault()
- func (_mock *LibP2PMetrics) OnStreamCreationRetryBudgetUpdated(budget uint64)
- func (_mock *LibP2PMetrics) OnStreamEstablished(duration time.Duration, attempts int)
- func (_mock *LibP2PMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
- func (_mock *LibP2PMetrics) OnUndeliveredMessage()
- func (_mock *LibP2PMetrics) OnUnstakedPeerInspectionFailed()
- func (_mock *LibP2PMetrics) OutboundConnections(connectionCount uint)
- func (_mock *LibP2PMetrics) RoutingTablePeerAdded()
- func (_mock *LibP2PMetrics) RoutingTablePeerRemoved()
- func (_mock *LibP2PMetrics) SetWarningStateCount(v uint)
- type LibP2PMetrics_AllowConn_Call
- func (_c *LibP2PMetrics_AllowConn_Call) Return() *LibP2PMetrics_AllowConn_Call
- func (_c *LibP2PMetrics_AllowConn_Call) Run(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_AllowConn_Call
- func (_c *LibP2PMetrics_AllowConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_AllowConn_Call
- type LibP2PMetrics_AllowMemory_Call
- type LibP2PMetrics_AllowPeer_Call
- type LibP2PMetrics_AllowProtocol_Call
- func (_c *LibP2PMetrics_AllowProtocol_Call) Return() *LibP2PMetrics_AllowProtocol_Call
- func (_c *LibP2PMetrics_AllowProtocol_Call) Run(run func(proto protocol.ID)) *LibP2PMetrics_AllowProtocol_Call
- func (_c *LibP2PMetrics_AllowProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *LibP2PMetrics_AllowProtocol_Call
- type LibP2PMetrics_AllowService_Call
- type LibP2PMetrics_AllowStream_Call
- func (_c *LibP2PMetrics_AllowStream_Call) Return() *LibP2PMetrics_AllowStream_Call
- func (_c *LibP2PMetrics_AllowStream_Call) Run(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_AllowStream_Call
- func (_c *LibP2PMetrics_AllowStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_AllowStream_Call
- type LibP2PMetrics_AsyncProcessingFinished_Call
- func (_c *LibP2PMetrics_AsyncProcessingFinished_Call) Return() *LibP2PMetrics_AsyncProcessingFinished_Call
- func (_c *LibP2PMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *LibP2PMetrics_AsyncProcessingFinished_Call
- func (_c *LibP2PMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *LibP2PMetrics_AsyncProcessingFinished_Call
- type LibP2PMetrics_AsyncProcessingStarted_Call
- func (_c *LibP2PMetrics_AsyncProcessingStarted_Call) Return() *LibP2PMetrics_AsyncProcessingStarted_Call
- func (_c *LibP2PMetrics_AsyncProcessingStarted_Call) Run(run func()) *LibP2PMetrics_AsyncProcessingStarted_Call
- func (_c *LibP2PMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *LibP2PMetrics_AsyncProcessingStarted_Call
- type LibP2PMetrics_BlockConn_Call
- func (_c *LibP2PMetrics_BlockConn_Call) Return() *LibP2PMetrics_BlockConn_Call
- func (_c *LibP2PMetrics_BlockConn_Call) Run(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_BlockConn_Call
- func (_c *LibP2PMetrics_BlockConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_BlockConn_Call
- type LibP2PMetrics_BlockMemory_Call
- type LibP2PMetrics_BlockPeer_Call
- type LibP2PMetrics_BlockProtocolPeer_Call
- func (_c *LibP2PMetrics_BlockProtocolPeer_Call) Return() *LibP2PMetrics_BlockProtocolPeer_Call
- func (_c *LibP2PMetrics_BlockProtocolPeer_Call) Run(run func(proto protocol.ID, p peer.ID)) *LibP2PMetrics_BlockProtocolPeer_Call
- func (_c *LibP2PMetrics_BlockProtocolPeer_Call) RunAndReturn(run func(proto protocol.ID, p peer.ID)) *LibP2PMetrics_BlockProtocolPeer_Call
- type LibP2PMetrics_BlockProtocol_Call
- func (_c *LibP2PMetrics_BlockProtocol_Call) Return() *LibP2PMetrics_BlockProtocol_Call
- func (_c *LibP2PMetrics_BlockProtocol_Call) Run(run func(proto protocol.ID)) *LibP2PMetrics_BlockProtocol_Call
- func (_c *LibP2PMetrics_BlockProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *LibP2PMetrics_BlockProtocol_Call
- type LibP2PMetrics_BlockServicePeer_Call
- func (_c *LibP2PMetrics_BlockServicePeer_Call) Return() *LibP2PMetrics_BlockServicePeer_Call
- func (_c *LibP2PMetrics_BlockServicePeer_Call) Run(run func(svc string, p peer.ID)) *LibP2PMetrics_BlockServicePeer_Call
- func (_c *LibP2PMetrics_BlockServicePeer_Call) RunAndReturn(run func(svc string, p peer.ID)) *LibP2PMetrics_BlockServicePeer_Call
- type LibP2PMetrics_BlockService_Call
- type LibP2PMetrics_BlockStream_Call
- func (_c *LibP2PMetrics_BlockStream_Call) Return() *LibP2PMetrics_BlockStream_Call
- func (_c *LibP2PMetrics_BlockStream_Call) Run(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_BlockStream_Call
- func (_c *LibP2PMetrics_BlockStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_BlockStream_Call
- type LibP2PMetrics_DNSLookupDuration_Call
- func (_c *LibP2PMetrics_DNSLookupDuration_Call) Return() *LibP2PMetrics_DNSLookupDuration_Call
- func (_c *LibP2PMetrics_DNSLookupDuration_Call) Run(run func(duration time.Duration)) *LibP2PMetrics_DNSLookupDuration_Call
- func (_c *LibP2PMetrics_DNSLookupDuration_Call) RunAndReturn(run func(duration time.Duration)) *LibP2PMetrics_DNSLookupDuration_Call
- type LibP2PMetrics_DuplicateMessagePenalties_Call
- func (_c *LibP2PMetrics_DuplicateMessagePenalties_Call) Return() *LibP2PMetrics_DuplicateMessagePenalties_Call
- func (_c *LibP2PMetrics_DuplicateMessagePenalties_Call) Run(run func(penalty float64)) *LibP2PMetrics_DuplicateMessagePenalties_Call
- func (_c *LibP2PMetrics_DuplicateMessagePenalties_Call) RunAndReturn(run func(penalty float64)) *LibP2PMetrics_DuplicateMessagePenalties_Call
- type LibP2PMetrics_DuplicateMessagesCounts_Call
- func (_c *LibP2PMetrics_DuplicateMessagesCounts_Call) Return() *LibP2PMetrics_DuplicateMessagesCounts_Call
- func (_c *LibP2PMetrics_DuplicateMessagesCounts_Call) Run(run func(count float64)) *LibP2PMetrics_DuplicateMessagesCounts_Call
- func (_c *LibP2PMetrics_DuplicateMessagesCounts_Call) RunAndReturn(run func(count float64)) *LibP2PMetrics_DuplicateMessagesCounts_Call
- type LibP2PMetrics_Expecter
- func (_e *LibP2PMetrics_Expecter) AllowConn(dir interface{}, usefd interface{}) *LibP2PMetrics_AllowConn_Call
- func (_e *LibP2PMetrics_Expecter) AllowMemory(size interface{}) *LibP2PMetrics_AllowMemory_Call
- func (_e *LibP2PMetrics_Expecter) AllowPeer(p interface{}) *LibP2PMetrics_AllowPeer_Call
- func (_e *LibP2PMetrics_Expecter) AllowProtocol(proto interface{}) *LibP2PMetrics_AllowProtocol_Call
- func (_e *LibP2PMetrics_Expecter) AllowService(svc interface{}) *LibP2PMetrics_AllowService_Call
- func (_e *LibP2PMetrics_Expecter) AllowStream(p interface{}, dir interface{}) *LibP2PMetrics_AllowStream_Call
- func (_e *LibP2PMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *LibP2PMetrics_AsyncProcessingFinished_Call
- func (_e *LibP2PMetrics_Expecter) AsyncProcessingStarted() *LibP2PMetrics_AsyncProcessingStarted_Call
- func (_e *LibP2PMetrics_Expecter) BlockConn(dir interface{}, usefd interface{}) *LibP2PMetrics_BlockConn_Call
- func (_e *LibP2PMetrics_Expecter) BlockMemory(size interface{}) *LibP2PMetrics_BlockMemory_Call
- func (_e *LibP2PMetrics_Expecter) BlockPeer(p interface{}) *LibP2PMetrics_BlockPeer_Call
- func (_e *LibP2PMetrics_Expecter) BlockProtocol(proto interface{}) *LibP2PMetrics_BlockProtocol_Call
- func (_e *LibP2PMetrics_Expecter) BlockProtocolPeer(proto interface{}, p interface{}) *LibP2PMetrics_BlockProtocolPeer_Call
- func (_e *LibP2PMetrics_Expecter) BlockService(svc interface{}) *LibP2PMetrics_BlockService_Call
- func (_e *LibP2PMetrics_Expecter) BlockServicePeer(svc interface{}, p interface{}) *LibP2PMetrics_BlockServicePeer_Call
- func (_e *LibP2PMetrics_Expecter) BlockStream(p interface{}, dir interface{}) *LibP2PMetrics_BlockStream_Call
- func (_e *LibP2PMetrics_Expecter) DNSLookupDuration(duration interface{}) *LibP2PMetrics_DNSLookupDuration_Call
- func (_e *LibP2PMetrics_Expecter) DuplicateMessagePenalties(penalty interface{}) *LibP2PMetrics_DuplicateMessagePenalties_Call
- func (_e *LibP2PMetrics_Expecter) DuplicateMessagesCounts(count interface{}) *LibP2PMetrics_DuplicateMessagesCounts_Call
- func (_e *LibP2PMetrics_Expecter) InboundConnections(connectionCount interface{}) *LibP2PMetrics_InboundConnections_Call
- func (_e *LibP2PMetrics_Expecter) OnActiveClusterIDsNotSetErr() *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_e *LibP2PMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *LibP2PMetrics_OnControlMessagesTruncated_Call
- func (_e *LibP2PMetrics_Expecter) OnDNSCacheHit() *LibP2PMetrics_OnDNSCacheHit_Call
- func (_e *LibP2PMetrics_Expecter) OnDNSCacheInvalidated() *LibP2PMetrics_OnDNSCacheInvalidated_Call
- func (_e *LibP2PMetrics_Expecter) OnDNSCacheMiss() *LibP2PMetrics_OnDNSCacheMiss_Call
- func (_e *LibP2PMetrics_Expecter) OnDNSLookupRequestDropped() *LibP2PMetrics_OnDNSLookupRequestDropped_Call
- func (_e *LibP2PMetrics_Expecter) OnDialRetryBudgetResetToDefault() *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_e *LibP2PMetrics_Expecter) OnDialRetryBudgetUpdated(budget interface{}) *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnEstablishStreamFailure(duration interface{}, attempts interface{}) *LibP2PMetrics_OnEstablishStreamFailure_Call
- func (_e *LibP2PMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *LibP2PMetrics_OnGraftMessageInspected_Call
- func (_e *LibP2PMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_e *LibP2PMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
- func (_e *LibP2PMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, ...) *LibP2PMetrics_OnIHaveMessagesInspected_Call
- func (_e *LibP2PMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *LibP2PMetrics_OnIPColocationFactorUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_e *LibP2PMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *LibP2PMetrics_OnIWantMessageIDsReceived_Call
- func (_e *LibP2PMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *LibP2PMetrics_OnIWantMessagesInspected_Call
- func (_e *LibP2PMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, ...) *LibP2PMetrics_OnIncomingRpcReceived_Call
- func (_e *LibP2PMetrics_Expecter) OnInvalidControlMessageNotificationSent() *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_e *LibP2PMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_e *LibP2PMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnLocalPeerJoinedTopic() *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
- func (_e *LibP2PMetrics_Expecter) OnLocalPeerLeftTopic() *LibP2PMetrics_OnLocalPeerLeftTopic_Call
- func (_e *LibP2PMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_e *LibP2PMetrics_Expecter) OnMessageDuplicate(size interface{}) *LibP2PMetrics_OnMessageDuplicate_Call
- func (_e *LibP2PMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *LibP2PMetrics_OnMessageEnteredValidation_Call
- func (_e *LibP2PMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *LibP2PMetrics_OnMessageRejected_Call
- func (_e *LibP2PMetrics_Expecter) OnOutboundRpcDropped() *LibP2PMetrics_OnOutboundRpcDropped_Call
- func (_e *LibP2PMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerAddedToProtocol(protocol1 interface{}) *LibP2PMetrics_OnPeerAddedToProtocol_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerDialFailure(duration interface{}, attempts interface{}) *LibP2PMetrics_OnPeerDialFailure_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerDialed(duration interface{}, attempts interface{}) *LibP2PMetrics_OnPeerDialed_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *LibP2PMetrics_OnPeerGraftTopic_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *LibP2PMetrics_OnPeerPruneTopic_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerRemovedFromProtocol() *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
- func (_e *LibP2PMetrics_Expecter) OnPeerThrottled() *LibP2PMetrics_OnPeerThrottled_Call
- func (_e *LibP2PMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *LibP2PMetrics_OnPruneMessageInspected_Call
- func (_e *LibP2PMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, ...) *LibP2PMetrics_OnPublishMessageInspected_Call
- func (_e *LibP2PMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_e *LibP2PMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *LibP2PMetrics_OnRpcReceived_Call
- func (_e *LibP2PMetrics_Expecter) OnRpcRejectedFromUnknownSender() *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_e *LibP2PMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *LibP2PMetrics_OnRpcSent_Call
- func (_e *LibP2PMetrics_Expecter) OnStreamCreated(duration interface{}, attempts interface{}) *LibP2PMetrics_OnStreamCreated_Call
- func (_e *LibP2PMetrics_Expecter) OnStreamCreationFailure(duration interface{}, attempts interface{}) *LibP2PMetrics_OnStreamCreationFailure_Call
- func (_e *LibP2PMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault() *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_e *LibP2PMetrics_Expecter) OnStreamCreationRetryBudgetUpdated(budget interface{}) *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnStreamEstablished(duration interface{}, attempts interface{}) *LibP2PMetrics_OnStreamEstablished_Call
- func (_e *LibP2PMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *LibP2PMetrics_OnTimeInMeshUpdated_Call
- func (_e *LibP2PMetrics_Expecter) OnUndeliveredMessage() *LibP2PMetrics_OnUndeliveredMessage_Call
- func (_e *LibP2PMetrics_Expecter) OnUnstakedPeerInspectionFailed() *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_e *LibP2PMetrics_Expecter) OutboundConnections(connectionCount interface{}) *LibP2PMetrics_OutboundConnections_Call
- func (_e *LibP2PMetrics_Expecter) RoutingTablePeerAdded() *LibP2PMetrics_RoutingTablePeerAdded_Call
- func (_e *LibP2PMetrics_Expecter) RoutingTablePeerRemoved() *LibP2PMetrics_RoutingTablePeerRemoved_Call
- func (_e *LibP2PMetrics_Expecter) SetWarningStateCount(v interface{}) *LibP2PMetrics_SetWarningStateCount_Call
- type LibP2PMetrics_InboundConnections_Call
- func (_c *LibP2PMetrics_InboundConnections_Call) Return() *LibP2PMetrics_InboundConnections_Call
- func (_c *LibP2PMetrics_InboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PMetrics_InboundConnections_Call
- func (_c *LibP2PMetrics_InboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PMetrics_InboundConnections_Call
- type LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) Return() *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
- type LibP2PMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Return() *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *LibP2PMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
- type LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Return() *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
- type LibP2PMetrics_OnControlMessagesTruncated_Call
- func (_c *LibP2PMetrics_OnControlMessagesTruncated_Call) Return() *LibP2PMetrics_OnControlMessagesTruncated_Call
- func (_c *LibP2PMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *LibP2PMetrics_OnControlMessagesTruncated_Call
- func (_c *LibP2PMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *LibP2PMetrics_OnControlMessagesTruncated_Call
- type LibP2PMetrics_OnDNSCacheHit_Call
- type LibP2PMetrics_OnDNSCacheInvalidated_Call
- func (_c *LibP2PMetrics_OnDNSCacheInvalidated_Call) Return() *LibP2PMetrics_OnDNSCacheInvalidated_Call
- func (_c *LibP2PMetrics_OnDNSCacheInvalidated_Call) Run(run func()) *LibP2PMetrics_OnDNSCacheInvalidated_Call
- func (_c *LibP2PMetrics_OnDNSCacheInvalidated_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDNSCacheInvalidated_Call
- type LibP2PMetrics_OnDNSCacheMiss_Call
- type LibP2PMetrics_OnDNSLookupRequestDropped_Call
- func (_c *LibP2PMetrics_OnDNSLookupRequestDropped_Call) Return() *LibP2PMetrics_OnDNSLookupRequestDropped_Call
- func (_c *LibP2PMetrics_OnDNSLookupRequestDropped_Call) Run(run func()) *LibP2PMetrics_OnDNSLookupRequestDropped_Call
- func (_c *LibP2PMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDNSLookupRequestDropped_Call
- type LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) Return() *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) Run(run func()) *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
- type LibP2PMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Return() *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Run(run func(budget uint64)) *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *LibP2PMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
- type LibP2PMetrics_OnEstablishStreamFailure_Call
- func (_c *LibP2PMetrics_OnEstablishStreamFailure_Call) Return() *LibP2PMetrics_OnEstablishStreamFailure_Call
- func (_c *LibP2PMetrics_OnEstablishStreamFailure_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnEstablishStreamFailure_Call
- func (_c *LibP2PMetrics_OnEstablishStreamFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnEstablishStreamFailure_Call
- type LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) Return() *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
- type LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- type LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- type LibP2PMetrics_OnGraftMessageInspected_Call
- func (_c *LibP2PMetrics_OnGraftMessageInspected_Call) Return() *LibP2PMetrics_OnGraftMessageInspected_Call
- func (_c *LibP2PMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnGraftMessageInspected_Call
- func (_c *LibP2PMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnGraftMessageInspected_Call
- type LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) Return() *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
- type LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- type LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- type LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- type LibP2PMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Return() *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *LibP2PMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
- type LibP2PMetrics_OnIHaveMessagesInspected_Call
- func (_c *LibP2PMetrics_OnIHaveMessagesInspected_Call) Return() *LibP2PMetrics_OnIHaveMessagesInspected_Call
- func (_c *LibP2PMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *LibP2PMetrics_OnIHaveMessagesInspected_Call
- func (_c *LibP2PMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *LibP2PMetrics_OnIHaveMessagesInspected_Call
- type LibP2PMetrics_OnIPColocationFactorUpdated_Call
- func (_c *LibP2PMetrics_OnIPColocationFactorUpdated_Call) Return() *LibP2PMetrics_OnIPColocationFactorUpdated_Call
- func (_c *LibP2PMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnIPColocationFactorUpdated_Call
- func (_c *LibP2PMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnIPColocationFactorUpdated_Call
- type LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- type LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) Return() *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
- type LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- type LibP2PMetrics_OnIWantMessageIDsReceived_Call
- func (_c *LibP2PMetrics_OnIWantMessageIDsReceived_Call) Return() *LibP2PMetrics_OnIWantMessageIDsReceived_Call
- func (_c *LibP2PMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *LibP2PMetrics_OnIWantMessageIDsReceived_Call
- func (_c *LibP2PMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *LibP2PMetrics_OnIWantMessageIDsReceived_Call
- type LibP2PMetrics_OnIWantMessagesInspected_Call
- func (_c *LibP2PMetrics_OnIWantMessagesInspected_Call) Return() *LibP2PMetrics_OnIWantMessagesInspected_Call
- func (_c *LibP2PMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *LibP2PMetrics_OnIWantMessagesInspected_Call
- func (_c *LibP2PMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *LibP2PMetrics_OnIWantMessagesInspected_Call
- type LibP2PMetrics_OnIncomingRpcReceived_Call
- func (_c *LibP2PMetrics_OnIncomingRpcReceived_Call) Return() *LibP2PMetrics_OnIncomingRpcReceived_Call
- func (_c *LibP2PMetrics_OnIncomingRpcReceived_Call) Run(...) *LibP2PMetrics_OnIncomingRpcReceived_Call
- func (_c *LibP2PMetrics_OnIncomingRpcReceived_Call) RunAndReturn(...) *LibP2PMetrics_OnIncomingRpcReceived_Call
- type LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) Return() *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) Run(run func()) *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
- type LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) Return() *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
- type LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return() *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- type LibP2PMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Return() *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *LibP2PMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
- type LibP2PMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Return() *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *LibP2PMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
- type LibP2PMetrics_OnLocalPeerLeftTopic_Call
- func (_c *LibP2PMetrics_OnLocalPeerLeftTopic_Call) Return() *LibP2PMetrics_OnLocalPeerLeftTopic_Call
- func (_c *LibP2PMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *LibP2PMetrics_OnLocalPeerLeftTopic_Call
- func (_c *LibP2PMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *LibP2PMetrics_OnLocalPeerLeftTopic_Call
- type LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) Return() *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
- type LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) Return() *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
- type LibP2PMetrics_OnMessageDuplicate_Call
- func (_c *LibP2PMetrics_OnMessageDuplicate_Call) Return() *LibP2PMetrics_OnMessageDuplicate_Call
- func (_c *LibP2PMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *LibP2PMetrics_OnMessageDuplicate_Call
- func (_c *LibP2PMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_OnMessageDuplicate_Call
- type LibP2PMetrics_OnMessageEnteredValidation_Call
- func (_c *LibP2PMetrics_OnMessageEnteredValidation_Call) Return() *LibP2PMetrics_OnMessageEnteredValidation_Call
- func (_c *LibP2PMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *LibP2PMetrics_OnMessageEnteredValidation_Call
- func (_c *LibP2PMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_OnMessageEnteredValidation_Call
- type LibP2PMetrics_OnMessageRejected_Call
- func (_c *LibP2PMetrics_OnMessageRejected_Call) Return() *LibP2PMetrics_OnMessageRejected_Call
- func (_c *LibP2PMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *LibP2PMetrics_OnMessageRejected_Call
- func (_c *LibP2PMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *LibP2PMetrics_OnMessageRejected_Call
- type LibP2PMetrics_OnOutboundRpcDropped_Call
- func (_c *LibP2PMetrics_OnOutboundRpcDropped_Call) Return() *LibP2PMetrics_OnOutboundRpcDropped_Call
- func (_c *LibP2PMetrics_OnOutboundRpcDropped_Call) Run(run func()) *LibP2PMetrics_OnOutboundRpcDropped_Call
- func (_c *LibP2PMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *LibP2PMetrics_OnOutboundRpcDropped_Call
- type LibP2PMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Return() *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *LibP2PMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
- type LibP2PMetrics_OnPeerAddedToProtocol_Call
- func (_c *LibP2PMetrics_OnPeerAddedToProtocol_Call) Return() *LibP2PMetrics_OnPeerAddedToProtocol_Call
- func (_c *LibP2PMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol1 string)) *LibP2PMetrics_OnPeerAddedToProtocol_Call
- func (_c *LibP2PMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol1 string)) *LibP2PMetrics_OnPeerAddedToProtocol_Call
- type LibP2PMetrics_OnPeerDialFailure_Call
- func (_c *LibP2PMetrics_OnPeerDialFailure_Call) Return() *LibP2PMetrics_OnPeerDialFailure_Call
- func (_c *LibP2PMetrics_OnPeerDialFailure_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialFailure_Call
- func (_c *LibP2PMetrics_OnPeerDialFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialFailure_Call
- type LibP2PMetrics_OnPeerDialed_Call
- func (_c *LibP2PMetrics_OnPeerDialed_Call) Return() *LibP2PMetrics_OnPeerDialed_Call
- func (_c *LibP2PMetrics_OnPeerDialed_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialed_Call
- func (_c *LibP2PMetrics_OnPeerDialed_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialed_Call
- type LibP2PMetrics_OnPeerGraftTopic_Call
- func (_c *LibP2PMetrics_OnPeerGraftTopic_Call) Return() *LibP2PMetrics_OnPeerGraftTopic_Call
- func (_c *LibP2PMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *LibP2PMetrics_OnPeerGraftTopic_Call
- func (_c *LibP2PMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *LibP2PMetrics_OnPeerGraftTopic_Call
- type LibP2PMetrics_OnPeerPruneTopic_Call
- func (_c *LibP2PMetrics_OnPeerPruneTopic_Call) Return() *LibP2PMetrics_OnPeerPruneTopic_Call
- func (_c *LibP2PMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *LibP2PMetrics_OnPeerPruneTopic_Call
- func (_c *LibP2PMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *LibP2PMetrics_OnPeerPruneTopic_Call
- type LibP2PMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Return() *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *LibP2PMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
- type LibP2PMetrics_OnPeerThrottled_Call
- type LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- type LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return() *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- type LibP2PMetrics_OnPruneMessageInspected_Call
- func (_c *LibP2PMetrics_OnPruneMessageInspected_Call) Return() *LibP2PMetrics_OnPruneMessageInspected_Call
- func (_c *LibP2PMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnPruneMessageInspected_Call
- func (_c *LibP2PMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnPruneMessageInspected_Call
- type LibP2PMetrics_OnPublishMessageInspected_Call
- func (_c *LibP2PMetrics_OnPublishMessageInspected_Call) Return() *LibP2PMetrics_OnPublishMessageInspected_Call
- func (_c *LibP2PMetrics_OnPublishMessageInspected_Call) Run(...) *LibP2PMetrics_OnPublishMessageInspected_Call
- func (_c *LibP2PMetrics_OnPublishMessageInspected_Call) RunAndReturn(...) *LibP2PMetrics_OnPublishMessageInspected_Call
- type LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return() *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Run(run func()) *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- type LibP2PMetrics_OnRpcReceived_Call
- type LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) Return() *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
- type LibP2PMetrics_OnRpcSent_Call
- type LibP2PMetrics_OnStreamCreated_Call
- func (_c *LibP2PMetrics_OnStreamCreated_Call) Return() *LibP2PMetrics_OnStreamCreated_Call
- func (_c *LibP2PMetrics_OnStreamCreated_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreated_Call
- func (_c *LibP2PMetrics_OnStreamCreated_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreated_Call
- type LibP2PMetrics_OnStreamCreationFailure_Call
- func (_c *LibP2PMetrics_OnStreamCreationFailure_Call) Return() *LibP2PMetrics_OnStreamCreationFailure_Call
- func (_c *LibP2PMetrics_OnStreamCreationFailure_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreationFailure_Call
- func (_c *LibP2PMetrics_OnStreamCreationFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreationFailure_Call
- type LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Return() *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Run(run func()) *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- type LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) Return() *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run(run func(budget uint64)) *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
- type LibP2PMetrics_OnStreamEstablished_Call
- func (_c *LibP2PMetrics_OnStreamEstablished_Call) Return() *LibP2PMetrics_OnStreamEstablished_Call
- func (_c *LibP2PMetrics_OnStreamEstablished_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamEstablished_Call
- func (_c *LibP2PMetrics_OnStreamEstablished_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamEstablished_Call
- type LibP2PMetrics_OnTimeInMeshUpdated_Call
- func (_c *LibP2PMetrics_OnTimeInMeshUpdated_Call) Return() *LibP2PMetrics_OnTimeInMeshUpdated_Call
- func (_c *LibP2PMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *LibP2PMetrics_OnTimeInMeshUpdated_Call
- func (_c *LibP2PMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *LibP2PMetrics_OnTimeInMeshUpdated_Call
- type LibP2PMetrics_OnUndeliveredMessage_Call
- func (_c *LibP2PMetrics_OnUndeliveredMessage_Call) Return() *LibP2PMetrics_OnUndeliveredMessage_Call
- func (_c *LibP2PMetrics_OnUndeliveredMessage_Call) Run(run func()) *LibP2PMetrics_OnUndeliveredMessage_Call
- func (_c *LibP2PMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *LibP2PMetrics_OnUndeliveredMessage_Call
- type LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) Return() *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
- type LibP2PMetrics_OutboundConnections_Call
- func (_c *LibP2PMetrics_OutboundConnections_Call) Return() *LibP2PMetrics_OutboundConnections_Call
- func (_c *LibP2PMetrics_OutboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PMetrics_OutboundConnections_Call
- func (_c *LibP2PMetrics_OutboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PMetrics_OutboundConnections_Call
- type LibP2PMetrics_RoutingTablePeerAdded_Call
- func (_c *LibP2PMetrics_RoutingTablePeerAdded_Call) Return() *LibP2PMetrics_RoutingTablePeerAdded_Call
- func (_c *LibP2PMetrics_RoutingTablePeerAdded_Call) Run(run func()) *LibP2PMetrics_RoutingTablePeerAdded_Call
- func (_c *LibP2PMetrics_RoutingTablePeerAdded_Call) RunAndReturn(run func()) *LibP2PMetrics_RoutingTablePeerAdded_Call
- type LibP2PMetrics_RoutingTablePeerRemoved_Call
- func (_c *LibP2PMetrics_RoutingTablePeerRemoved_Call) Return() *LibP2PMetrics_RoutingTablePeerRemoved_Call
- func (_c *LibP2PMetrics_RoutingTablePeerRemoved_Call) Run(run func()) *LibP2PMetrics_RoutingTablePeerRemoved_Call
- func (_c *LibP2PMetrics_RoutingTablePeerRemoved_Call) RunAndReturn(run func()) *LibP2PMetrics_RoutingTablePeerRemoved_Call
- type LibP2PMetrics_SetWarningStateCount_Call
- func (_c *LibP2PMetrics_SetWarningStateCount_Call) Return() *LibP2PMetrics_SetWarningStateCount_Call
- func (_c *LibP2PMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *LibP2PMetrics_SetWarningStateCount_Call
- func (_c *LibP2PMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *LibP2PMetrics_SetWarningStateCount_Call
- type Local
- func (_mock *Local) Address() string
- func (_m *Local) EXPECT() *Local_Expecter
- func (_mock *Local) NodeID() flow.Identifier
- func (_mock *Local) NotMeFilter() flow.IdentityFilter[flow.Identity]
- func (_mock *Local) Sign(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)
- func (_mock *Local) SignFunc(bytes []byte, hasher hash.Hasher, ...) (crypto.Signature, error)
- type LocalGossipSubRouterMetrics
- func (_m *LocalGossipSubRouterMetrics) EXPECT() *LocalGossipSubRouterMetrics_Expecter
- func (_mock *LocalGossipSubRouterMetrics) OnLocalMeshSizeUpdated(topic string, size int)
- func (_mock *LocalGossipSubRouterMetrics) OnLocalPeerJoinedTopic()
- func (_mock *LocalGossipSubRouterMetrics) OnLocalPeerLeftTopic()
- func (_mock *LocalGossipSubRouterMetrics) OnMessageDeliveredToAllSubscribers(size int)
- func (_mock *LocalGossipSubRouterMetrics) OnMessageDuplicate(size int)
- func (_mock *LocalGossipSubRouterMetrics) OnMessageEnteredValidation(size int)
- func (_mock *LocalGossipSubRouterMetrics) OnMessageRejected(size int, reason string)
- func (_mock *LocalGossipSubRouterMetrics) OnOutboundRpcDropped()
- func (_mock *LocalGossipSubRouterMetrics) OnPeerAddedToProtocol(protocol string)
- func (_mock *LocalGossipSubRouterMetrics) OnPeerGraftTopic(topic string)
- func (_mock *LocalGossipSubRouterMetrics) OnPeerPruneTopic(topic string)
- func (_mock *LocalGossipSubRouterMetrics) OnPeerRemovedFromProtocol()
- func (_mock *LocalGossipSubRouterMetrics) OnPeerThrottled()
- func (_mock *LocalGossipSubRouterMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *LocalGossipSubRouterMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *LocalGossipSubRouterMetrics) OnUndeliveredMessage()
- type LocalGossipSubRouterMetrics_Expecter
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnLocalPeerJoinedTopic() *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnLocalPeerLeftTopic() *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageDuplicate(size interface{}) *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *LocalGossipSubRouterMetrics_OnMessageRejected_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnOutboundRpcDropped() *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerAddedToProtocol(protocol interface{}) *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerRemovedFromProtocol() *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerThrottled() *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *LocalGossipSubRouterMetrics_OnRpcReceived_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *LocalGossipSubRouterMetrics_OnRpcSent_Call
- func (_e *LocalGossipSubRouterMetrics_Expecter) OnUndeliveredMessage() *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
- type LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) Return() *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
- type LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) Return() *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
- type LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) Return() *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
- type LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) Return() *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
- type LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) Return() *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
- type LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) Return() *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
- type LocalGossipSubRouterMetrics_OnMessageRejected_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageRejected_Call) Return() *LocalGossipSubRouterMetrics_OnMessageRejected_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *LocalGossipSubRouterMetrics_OnMessageRejected_Call
- func (_c *LocalGossipSubRouterMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *LocalGossipSubRouterMetrics_OnMessageRejected_Call
- type LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
- func (_c *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) Return() *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
- func (_c *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
- func (_c *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
- type LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) Return() *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol string)) *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol string)) *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
- type LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) Return() *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
- type LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) Return() *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
- type LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) Return() *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
- type LocalGossipSubRouterMetrics_OnPeerThrottled_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerThrottled_Call) Return() *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerThrottled_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
- func (_c *LocalGossipSubRouterMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
- type LocalGossipSubRouterMetrics_OnRpcReceived_Call
- func (_c *LocalGossipSubRouterMetrics_OnRpcReceived_Call) Return() *LocalGossipSubRouterMetrics_OnRpcReceived_Call
- func (_c *LocalGossipSubRouterMetrics_OnRpcReceived_Call) Run(...) *LocalGossipSubRouterMetrics_OnRpcReceived_Call
- func (_c *LocalGossipSubRouterMetrics_OnRpcReceived_Call) RunAndReturn(...) *LocalGossipSubRouterMetrics_OnRpcReceived_Call
- type LocalGossipSubRouterMetrics_OnRpcSent_Call
- func (_c *LocalGossipSubRouterMetrics_OnRpcSent_Call) Return() *LocalGossipSubRouterMetrics_OnRpcSent_Call
- func (_c *LocalGossipSubRouterMetrics_OnRpcSent_Call) Run(...) *LocalGossipSubRouterMetrics_OnRpcSent_Call
- func (_c *LocalGossipSubRouterMetrics_OnRpcSent_Call) RunAndReturn(...) *LocalGossipSubRouterMetrics_OnRpcSent_Call
- type LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
- func (_c *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) Return() *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
- func (_c *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
- func (_c *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
- type Local_Address_Call
- type Local_Expecter
- func (_e *Local_Expecter) Address() *Local_Address_Call
- func (_e *Local_Expecter) NodeID() *Local_NodeID_Call
- func (_e *Local_Expecter) NotMeFilter() *Local_NotMeFilter_Call
- func (_e *Local_Expecter) Sign(bytes interface{}, hasher interface{}) *Local_Sign_Call
- func (_e *Local_Expecter) SignFunc(bytes interface{}, hasher interface{}, fn interface{}) *Local_SignFunc_Call
- type Local_NodeID_Call
- type Local_NotMeFilter_Call
- func (_c *Local_NotMeFilter_Call) Return(identityFilter flow.IdentityFilter[flow.Identity]) *Local_NotMeFilter_Call
- func (_c *Local_NotMeFilter_Call) Run(run func()) *Local_NotMeFilter_Call
- func (_c *Local_NotMeFilter_Call) RunAndReturn(run func() flow.IdentityFilter[flow.Identity]) *Local_NotMeFilter_Call
- type Local_SignFunc_Call
- func (_c *Local_SignFunc_Call) Return(signature crypto.Signature, err error) *Local_SignFunc_Call
- func (_c *Local_SignFunc_Call) Run(run func(bytes []byte, hasher hash.Hasher, ...)) *Local_SignFunc_Call
- func (_c *Local_SignFunc_Call) RunAndReturn(run func(bytes []byte, hasher hash.Hasher, ...) (crypto.Signature, error)) *Local_SignFunc_Call
- type Local_Sign_Call
- func (_c *Local_Sign_Call) Return(signature crypto.Signature, err error) *Local_Sign_Call
- func (_c *Local_Sign_Call) Run(run func(bytes []byte, hasher hash.Hasher)) *Local_Sign_Call
- func (_c *Local_Sign_Call) RunAndReturn(run func(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)) *Local_Sign_Call
- type MachineAccountMetrics
- type MachineAccountMetrics_AccountBalance_Call
- func (_c *MachineAccountMetrics_AccountBalance_Call) Return() *MachineAccountMetrics_AccountBalance_Call
- func (_c *MachineAccountMetrics_AccountBalance_Call) Run(run func(bal float64)) *MachineAccountMetrics_AccountBalance_Call
- func (_c *MachineAccountMetrics_AccountBalance_Call) RunAndReturn(run func(bal float64)) *MachineAccountMetrics_AccountBalance_Call
- type MachineAccountMetrics_Expecter
- func (_e *MachineAccountMetrics_Expecter) AccountBalance(bal interface{}) *MachineAccountMetrics_AccountBalance_Call
- func (_e *MachineAccountMetrics_Expecter) IsMisconfigured(misconfigured interface{}) *MachineAccountMetrics_IsMisconfigured_Call
- func (_e *MachineAccountMetrics_Expecter) RecommendedMinBalance(bal interface{}) *MachineAccountMetrics_RecommendedMinBalance_Call
- type MachineAccountMetrics_IsMisconfigured_Call
- func (_c *MachineAccountMetrics_IsMisconfigured_Call) Return() *MachineAccountMetrics_IsMisconfigured_Call
- func (_c *MachineAccountMetrics_IsMisconfigured_Call) Run(run func(misconfigured bool)) *MachineAccountMetrics_IsMisconfigured_Call
- func (_c *MachineAccountMetrics_IsMisconfigured_Call) RunAndReturn(run func(misconfigured bool)) *MachineAccountMetrics_IsMisconfigured_Call
- type MachineAccountMetrics_RecommendedMinBalance_Call
- func (_c *MachineAccountMetrics_RecommendedMinBalance_Call) Return() *MachineAccountMetrics_RecommendedMinBalance_Call
- func (_c *MachineAccountMetrics_RecommendedMinBalance_Call) Run(run func(bal float64)) *MachineAccountMetrics_RecommendedMinBalance_Call
- func (_c *MachineAccountMetrics_RecommendedMinBalance_Call) RunAndReturn(run func(bal float64)) *MachineAccountMetrics_RecommendedMinBalance_Call
- type MempoolMetrics
- type MempoolMetrics_Expecter
- type MempoolMetrics_MempoolEntries_Call
- func (_c *MempoolMetrics_MempoolEntries_Call) Return() *MempoolMetrics_MempoolEntries_Call
- func (_c *MempoolMetrics_MempoolEntries_Call) Run(run func(resource string, entries uint)) *MempoolMetrics_MempoolEntries_Call
- func (_c *MempoolMetrics_MempoolEntries_Call) RunAndReturn(run func(resource string, entries uint)) *MempoolMetrics_MempoolEntries_Call
- type MempoolMetrics_Register_Call
- func (_c *MempoolMetrics_Register_Call) Return(err error) *MempoolMetrics_Register_Call
- func (_c *MempoolMetrics_Register_Call) Run(run func(resource string, entriesFunc module.EntriesFunc)) *MempoolMetrics_Register_Call
- func (_c *MempoolMetrics_Register_Call) RunAndReturn(run func(resource string, entriesFunc module.EntriesFunc) error) *MempoolMetrics_Register_Call
- type NetworkCoreMetrics
- func (_mock *NetworkCoreMetrics) DuplicateInboundMessagesDropped(topic string, protocol string, messageType string)
- func (_m *NetworkCoreMetrics) EXPECT() *NetworkCoreMetrics_Expecter
- func (_mock *NetworkCoreMetrics) InboundMessageReceived(sizeBytes int, topic string, protocol string, messageType string)
- func (_mock *NetworkCoreMetrics) MessageAdded(priority int)
- func (_mock *NetworkCoreMetrics) MessageProcessingFinished(topic string, duration time.Duration)
- func (_mock *NetworkCoreMetrics) MessageProcessingStarted(topic string)
- func (_mock *NetworkCoreMetrics) MessageRemoved(priority int)
- func (_mock *NetworkCoreMetrics) OnMisbehaviorReported(channel string, misbehaviorType string)
- func (_mock *NetworkCoreMetrics) OnRateLimitedPeer(pid peer.ID, role string, msgType string, topic string, reason string)
- func (_mock *NetworkCoreMetrics) OnUnauthorizedMessage(role string, msgType string, topic string, offense string)
- func (_mock *NetworkCoreMetrics) OnViolationReportSkipped()
- func (_mock *NetworkCoreMetrics) OutboundMessageSent(sizeBytes int, topic string, protocol string, messageType string)
- func (_mock *NetworkCoreMetrics) QueueDuration(duration time.Duration, priority int)
- func (_mock *NetworkCoreMetrics) UnicastMessageSendingCompleted(topic string)
- func (_mock *NetworkCoreMetrics) UnicastMessageSendingStarted(topic string)
- type NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
- func (_c *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) Return() *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
- func (_c *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) Run(run func(topic string, protocol string, messageType string)) *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
- func (_c *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn(run func(topic string, protocol string, messageType string)) *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
- type NetworkCoreMetrics_Expecter
- func (_e *NetworkCoreMetrics_Expecter) DuplicateInboundMessagesDropped(topic interface{}, protocol interface{}, messageType interface{}) *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
- func (_e *NetworkCoreMetrics_Expecter) InboundMessageReceived(sizeBytes interface{}, topic interface{}, protocol interface{}, ...) *NetworkCoreMetrics_InboundMessageReceived_Call
- func (_e *NetworkCoreMetrics_Expecter) MessageAdded(priority interface{}) *NetworkCoreMetrics_MessageAdded_Call
- func (_e *NetworkCoreMetrics_Expecter) MessageProcessingFinished(topic interface{}, duration interface{}) *NetworkCoreMetrics_MessageProcessingFinished_Call
- func (_e *NetworkCoreMetrics_Expecter) MessageProcessingStarted(topic interface{}) *NetworkCoreMetrics_MessageProcessingStarted_Call
- func (_e *NetworkCoreMetrics_Expecter) MessageRemoved(priority interface{}) *NetworkCoreMetrics_MessageRemoved_Call
- func (_e *NetworkCoreMetrics_Expecter) OnMisbehaviorReported(channel interface{}, misbehaviorType interface{}) *NetworkCoreMetrics_OnMisbehaviorReported_Call
- func (_e *NetworkCoreMetrics_Expecter) OnRateLimitedPeer(pid interface{}, role interface{}, msgType interface{}, topic interface{}, ...) *NetworkCoreMetrics_OnRateLimitedPeer_Call
- func (_e *NetworkCoreMetrics_Expecter) OnUnauthorizedMessage(role interface{}, msgType interface{}, topic interface{}, offense interface{}) *NetworkCoreMetrics_OnUnauthorizedMessage_Call
- func (_e *NetworkCoreMetrics_Expecter) OnViolationReportSkipped() *NetworkCoreMetrics_OnViolationReportSkipped_Call
- func (_e *NetworkCoreMetrics_Expecter) OutboundMessageSent(sizeBytes interface{}, topic interface{}, protocol interface{}, ...) *NetworkCoreMetrics_OutboundMessageSent_Call
- func (_e *NetworkCoreMetrics_Expecter) QueueDuration(duration interface{}, priority interface{}) *NetworkCoreMetrics_QueueDuration_Call
- func (_e *NetworkCoreMetrics_Expecter) UnicastMessageSendingCompleted(topic interface{}) *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
- func (_e *NetworkCoreMetrics_Expecter) UnicastMessageSendingStarted(topic interface{}) *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
- type NetworkCoreMetrics_InboundMessageReceived_Call
- func (_c *NetworkCoreMetrics_InboundMessageReceived_Call) Return() *NetworkCoreMetrics_InboundMessageReceived_Call
- func (_c *NetworkCoreMetrics_InboundMessageReceived_Call) Run(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_InboundMessageReceived_Call
- func (_c *NetworkCoreMetrics_InboundMessageReceived_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_InboundMessageReceived_Call
- type NetworkCoreMetrics_MessageAdded_Call
- func (_c *NetworkCoreMetrics_MessageAdded_Call) Return() *NetworkCoreMetrics_MessageAdded_Call
- func (_c *NetworkCoreMetrics_MessageAdded_Call) Run(run func(priority int)) *NetworkCoreMetrics_MessageAdded_Call
- func (_c *NetworkCoreMetrics_MessageAdded_Call) RunAndReturn(run func(priority int)) *NetworkCoreMetrics_MessageAdded_Call
- type NetworkCoreMetrics_MessageProcessingFinished_Call
- func (_c *NetworkCoreMetrics_MessageProcessingFinished_Call) Return() *NetworkCoreMetrics_MessageProcessingFinished_Call
- func (_c *NetworkCoreMetrics_MessageProcessingFinished_Call) Run(run func(topic string, duration time.Duration)) *NetworkCoreMetrics_MessageProcessingFinished_Call
- func (_c *NetworkCoreMetrics_MessageProcessingFinished_Call) RunAndReturn(run func(topic string, duration time.Duration)) *NetworkCoreMetrics_MessageProcessingFinished_Call
- type NetworkCoreMetrics_MessageProcessingStarted_Call
- func (_c *NetworkCoreMetrics_MessageProcessingStarted_Call) Return() *NetworkCoreMetrics_MessageProcessingStarted_Call
- func (_c *NetworkCoreMetrics_MessageProcessingStarted_Call) Run(run func(topic string)) *NetworkCoreMetrics_MessageProcessingStarted_Call
- func (_c *NetworkCoreMetrics_MessageProcessingStarted_Call) RunAndReturn(run func(topic string)) *NetworkCoreMetrics_MessageProcessingStarted_Call
- type NetworkCoreMetrics_MessageRemoved_Call
- func (_c *NetworkCoreMetrics_MessageRemoved_Call) Return() *NetworkCoreMetrics_MessageRemoved_Call
- func (_c *NetworkCoreMetrics_MessageRemoved_Call) Run(run func(priority int)) *NetworkCoreMetrics_MessageRemoved_Call
- func (_c *NetworkCoreMetrics_MessageRemoved_Call) RunAndReturn(run func(priority int)) *NetworkCoreMetrics_MessageRemoved_Call
- type NetworkCoreMetrics_OnMisbehaviorReported_Call
- func (_c *NetworkCoreMetrics_OnMisbehaviorReported_Call) Return() *NetworkCoreMetrics_OnMisbehaviorReported_Call
- func (_c *NetworkCoreMetrics_OnMisbehaviorReported_Call) Run(run func(channel string, misbehaviorType string)) *NetworkCoreMetrics_OnMisbehaviorReported_Call
- func (_c *NetworkCoreMetrics_OnMisbehaviorReported_Call) RunAndReturn(run func(channel string, misbehaviorType string)) *NetworkCoreMetrics_OnMisbehaviorReported_Call
- type NetworkCoreMetrics_OnRateLimitedPeer_Call
- func (_c *NetworkCoreMetrics_OnRateLimitedPeer_Call) Return() *NetworkCoreMetrics_OnRateLimitedPeer_Call
- func (_c *NetworkCoreMetrics_OnRateLimitedPeer_Call) Run(...) *NetworkCoreMetrics_OnRateLimitedPeer_Call
- func (_c *NetworkCoreMetrics_OnRateLimitedPeer_Call) RunAndReturn(...) *NetworkCoreMetrics_OnRateLimitedPeer_Call
- type NetworkCoreMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkCoreMetrics_OnUnauthorizedMessage_Call) Return() *NetworkCoreMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkCoreMetrics_OnUnauthorizedMessage_Call) Run(run func(role string, msgType string, topic string, offense string)) *NetworkCoreMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkCoreMetrics_OnUnauthorizedMessage_Call) RunAndReturn(run func(role string, msgType string, topic string, offense string)) *NetworkCoreMetrics_OnUnauthorizedMessage_Call
- type NetworkCoreMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkCoreMetrics_OnViolationReportSkipped_Call) Return() *NetworkCoreMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkCoreMetrics_OnViolationReportSkipped_Call) Run(run func()) *NetworkCoreMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkCoreMetrics_OnViolationReportSkipped_Call) RunAndReturn(run func()) *NetworkCoreMetrics_OnViolationReportSkipped_Call
- type NetworkCoreMetrics_OutboundMessageSent_Call
- func (_c *NetworkCoreMetrics_OutboundMessageSent_Call) Return() *NetworkCoreMetrics_OutboundMessageSent_Call
- func (_c *NetworkCoreMetrics_OutboundMessageSent_Call) Run(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_OutboundMessageSent_Call
- func (_c *NetworkCoreMetrics_OutboundMessageSent_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_OutboundMessageSent_Call
- type NetworkCoreMetrics_QueueDuration_Call
- func (_c *NetworkCoreMetrics_QueueDuration_Call) Return() *NetworkCoreMetrics_QueueDuration_Call
- func (_c *NetworkCoreMetrics_QueueDuration_Call) Run(run func(duration time.Duration, priority int)) *NetworkCoreMetrics_QueueDuration_Call
- func (_c *NetworkCoreMetrics_QueueDuration_Call) RunAndReturn(run func(duration time.Duration, priority int)) *NetworkCoreMetrics_QueueDuration_Call
- type NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
- func (_c *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) Return() *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
- func (_c *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) Run(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
- func (_c *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
- type NetworkCoreMetrics_UnicastMessageSendingStarted_Call
- func (_c *NetworkCoreMetrics_UnicastMessageSendingStarted_Call) Return() *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
- func (_c *NetworkCoreMetrics_UnicastMessageSendingStarted_Call) Run(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
- func (_c *NetworkCoreMetrics_UnicastMessageSendingStarted_Call) RunAndReturn(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
- type NetworkInboundQueueMetrics
- func (_m *NetworkInboundQueueMetrics) EXPECT() *NetworkInboundQueueMetrics_Expecter
- func (_mock *NetworkInboundQueueMetrics) MessageAdded(priority int)
- func (_mock *NetworkInboundQueueMetrics) MessageRemoved(priority int)
- func (_mock *NetworkInboundQueueMetrics) QueueDuration(duration time.Duration, priority int)
- type NetworkInboundQueueMetrics_Expecter
- func (_e *NetworkInboundQueueMetrics_Expecter) MessageAdded(priority interface{}) *NetworkInboundQueueMetrics_MessageAdded_Call
- func (_e *NetworkInboundQueueMetrics_Expecter) MessageRemoved(priority interface{}) *NetworkInboundQueueMetrics_MessageRemoved_Call
- func (_e *NetworkInboundQueueMetrics_Expecter) QueueDuration(duration interface{}, priority interface{}) *NetworkInboundQueueMetrics_QueueDuration_Call
- type NetworkInboundQueueMetrics_MessageAdded_Call
- func (_c *NetworkInboundQueueMetrics_MessageAdded_Call) Return() *NetworkInboundQueueMetrics_MessageAdded_Call
- func (_c *NetworkInboundQueueMetrics_MessageAdded_Call) Run(run func(priority int)) *NetworkInboundQueueMetrics_MessageAdded_Call
- func (_c *NetworkInboundQueueMetrics_MessageAdded_Call) RunAndReturn(run func(priority int)) *NetworkInboundQueueMetrics_MessageAdded_Call
- type NetworkInboundQueueMetrics_MessageRemoved_Call
- func (_c *NetworkInboundQueueMetrics_MessageRemoved_Call) Return() *NetworkInboundQueueMetrics_MessageRemoved_Call
- func (_c *NetworkInboundQueueMetrics_MessageRemoved_Call) Run(run func(priority int)) *NetworkInboundQueueMetrics_MessageRemoved_Call
- func (_c *NetworkInboundQueueMetrics_MessageRemoved_Call) RunAndReturn(run func(priority int)) *NetworkInboundQueueMetrics_MessageRemoved_Call
- type NetworkInboundQueueMetrics_QueueDuration_Call
- func (_c *NetworkInboundQueueMetrics_QueueDuration_Call) Return() *NetworkInboundQueueMetrics_QueueDuration_Call
- func (_c *NetworkInboundQueueMetrics_QueueDuration_Call) Run(run func(duration time.Duration, priority int)) *NetworkInboundQueueMetrics_QueueDuration_Call
- func (_c *NetworkInboundQueueMetrics_QueueDuration_Call) RunAndReturn(run func(duration time.Duration, priority int)) *NetworkInboundQueueMetrics_QueueDuration_Call
- type NetworkMetrics
- func (_mock *NetworkMetrics) AllowConn(dir network.Direction, usefd bool)
- func (_mock *NetworkMetrics) AllowMemory(size int)
- func (_mock *NetworkMetrics) AllowPeer(p peer.ID)
- func (_mock *NetworkMetrics) AllowProtocol(proto protocol.ID)
- func (_mock *NetworkMetrics) AllowService(svc string)
- func (_mock *NetworkMetrics) AllowStream(p peer.ID, dir network.Direction)
- func (_mock *NetworkMetrics) AsyncProcessingFinished(duration time.Duration)
- func (_mock *NetworkMetrics) AsyncProcessingStarted()
- func (_mock *NetworkMetrics) BlockConn(dir network.Direction, usefd bool)
- func (_mock *NetworkMetrics) BlockMemory(size int)
- func (_mock *NetworkMetrics) BlockPeer(p peer.ID)
- func (_mock *NetworkMetrics) BlockProtocol(proto protocol.ID)
- func (_mock *NetworkMetrics) BlockProtocolPeer(proto protocol.ID, p peer.ID)
- func (_mock *NetworkMetrics) BlockService(svc string)
- func (_mock *NetworkMetrics) BlockServicePeer(svc string, p peer.ID)
- func (_mock *NetworkMetrics) BlockStream(p peer.ID, dir network.Direction)
- func (_mock *NetworkMetrics) DNSLookupDuration(duration time.Duration)
- func (_mock *NetworkMetrics) DuplicateInboundMessagesDropped(topic string, protocol1 string, messageType string)
- func (_mock *NetworkMetrics) DuplicateMessagePenalties(penalty float64)
- func (_mock *NetworkMetrics) DuplicateMessagesCounts(count float64)
- func (_m *NetworkMetrics) EXPECT() *NetworkMetrics_Expecter
- func (_mock *NetworkMetrics) InboundConnections(connectionCount uint)
- func (_mock *NetworkMetrics) InboundMessageReceived(sizeBytes int, topic string, protocol1 string, messageType string)
- func (_mock *NetworkMetrics) MessageAdded(priority int)
- func (_mock *NetworkMetrics) MessageProcessingFinished(topic string, duration time.Duration)
- func (_mock *NetworkMetrics) MessageProcessingStarted(topic string)
- func (_mock *NetworkMetrics) MessageRemoved(priority int)
- func (_mock *NetworkMetrics) OnActiveClusterIDsNotSetErr()
- func (_mock *NetworkMetrics) OnAppSpecificScoreUpdated(f float64)
- func (_mock *NetworkMetrics) OnBehaviourPenaltyUpdated(f float64)
- func (_mock *NetworkMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
- func (_mock *NetworkMetrics) OnDNSCacheHit()
- func (_mock *NetworkMetrics) OnDNSCacheInvalidated()
- func (_mock *NetworkMetrics) OnDNSCacheMiss()
- func (_mock *NetworkMetrics) OnDNSLookupRequestDropped()
- func (_mock *NetworkMetrics) OnDialRetryBudgetResetToDefault()
- func (_mock *NetworkMetrics) OnDialRetryBudgetUpdated(budget uint64)
- func (_mock *NetworkMetrics) OnEstablishStreamFailure(duration time.Duration, attempts int)
- func (_mock *NetworkMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *NetworkMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnGraftInvalidTopicIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *NetworkMetrics) OnIHaveControlMessageIdsTruncated(diff int)
- func (_mock *NetworkMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
- func (_mock *NetworkMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
- func (_mock *NetworkMetrics) OnIPColocationFactorUpdated(f float64)
- func (_mock *NetworkMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnIWantControlMessageIdsTruncated(diff int)
- func (_mock *NetworkMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnIWantMessageIDsReceived(msgIdCount int)
- func (_mock *NetworkMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
- func (_mock *NetworkMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
- func (_mock *NetworkMetrics) OnInvalidControlMessageNotificationSent()
- func (_mock *NetworkMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *NetworkMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
- func (_mock *NetworkMetrics) OnLocalMeshSizeUpdated(topic string, size int)
- func (_mock *NetworkMetrics) OnLocalPeerJoinedTopic()
- func (_mock *NetworkMetrics) OnLocalPeerLeftTopic()
- func (_mock *NetworkMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
- func (_mock *NetworkMetrics) OnMessageDeliveredToAllSubscribers(size int)
- func (_mock *NetworkMetrics) OnMessageDuplicate(size int)
- func (_mock *NetworkMetrics) OnMessageEnteredValidation(size int)
- func (_mock *NetworkMetrics) OnMessageRejected(size int, reason string)
- func (_mock *NetworkMetrics) OnMisbehaviorReported(channel string, misbehaviorType string)
- func (_mock *NetworkMetrics) OnOutboundRpcDropped()
- func (_mock *NetworkMetrics) OnOverallPeerScoreUpdated(f float64)
- func (_mock *NetworkMetrics) OnPeerAddedToProtocol(protocol1 string)
- func (_mock *NetworkMetrics) OnPeerDialFailure(duration time.Duration, attempts int)
- func (_mock *NetworkMetrics) OnPeerDialed(duration time.Duration, attempts int)
- func (_mock *NetworkMetrics) OnPeerGraftTopic(topic string)
- func (_mock *NetworkMetrics) OnPeerPruneTopic(topic string)
- func (_mock *NetworkMetrics) OnPeerRemovedFromProtocol()
- func (_mock *NetworkMetrics) OnPeerThrottled()
- func (_mock *NetworkMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnPruneInvalidTopicIdsExceedThreshold()
- func (_mock *NetworkMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
- func (_mock *NetworkMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, ...)
- func (_mock *NetworkMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
- func (_mock *NetworkMetrics) OnRateLimitedPeer(pid peer.ID, role string, msgType string, topic string, reason string)
- func (_mock *NetworkMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *NetworkMetrics) OnRpcRejectedFromUnknownSender()
- func (_mock *NetworkMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
- func (_mock *NetworkMetrics) OnStreamCreated(duration time.Duration, attempts int)
- func (_mock *NetworkMetrics) OnStreamCreationFailure(duration time.Duration, attempts int)
- func (_mock *NetworkMetrics) OnStreamCreationRetryBudgetResetToDefault()
- func (_mock *NetworkMetrics) OnStreamCreationRetryBudgetUpdated(budget uint64)
- func (_mock *NetworkMetrics) OnStreamEstablished(duration time.Duration, attempts int)
- func (_mock *NetworkMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
- func (_mock *NetworkMetrics) OnUnauthorizedMessage(role string, msgType string, topic string, offense string)
- func (_mock *NetworkMetrics) OnUndeliveredMessage()
- func (_mock *NetworkMetrics) OnUnstakedPeerInspectionFailed()
- func (_mock *NetworkMetrics) OnViolationReportSkipped()
- func (_mock *NetworkMetrics) OutboundConnections(connectionCount uint)
- func (_mock *NetworkMetrics) OutboundMessageSent(sizeBytes int, topic string, protocol1 string, messageType string)
- func (_mock *NetworkMetrics) QueueDuration(duration time.Duration, priority int)
- func (_mock *NetworkMetrics) RoutingTablePeerAdded()
- func (_mock *NetworkMetrics) RoutingTablePeerRemoved()
- func (_mock *NetworkMetrics) SetWarningStateCount(v uint)
- func (_mock *NetworkMetrics) UnicastMessageSendingCompleted(topic string)
- func (_mock *NetworkMetrics) UnicastMessageSendingStarted(topic string)
- type NetworkMetrics_AllowConn_Call
- func (_c *NetworkMetrics_AllowConn_Call) Return() *NetworkMetrics_AllowConn_Call
- func (_c *NetworkMetrics_AllowConn_Call) Run(run func(dir network.Direction, usefd bool)) *NetworkMetrics_AllowConn_Call
- func (_c *NetworkMetrics_AllowConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *NetworkMetrics_AllowConn_Call
- type NetworkMetrics_AllowMemory_Call
- type NetworkMetrics_AllowPeer_Call
- type NetworkMetrics_AllowProtocol_Call
- func (_c *NetworkMetrics_AllowProtocol_Call) Return() *NetworkMetrics_AllowProtocol_Call
- func (_c *NetworkMetrics_AllowProtocol_Call) Run(run func(proto protocol.ID)) *NetworkMetrics_AllowProtocol_Call
- func (_c *NetworkMetrics_AllowProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *NetworkMetrics_AllowProtocol_Call
- type NetworkMetrics_AllowService_Call
- func (_c *NetworkMetrics_AllowService_Call) Return() *NetworkMetrics_AllowService_Call
- func (_c *NetworkMetrics_AllowService_Call) Run(run func(svc string)) *NetworkMetrics_AllowService_Call
- func (_c *NetworkMetrics_AllowService_Call) RunAndReturn(run func(svc string)) *NetworkMetrics_AllowService_Call
- type NetworkMetrics_AllowStream_Call
- func (_c *NetworkMetrics_AllowStream_Call) Return() *NetworkMetrics_AllowStream_Call
- func (_c *NetworkMetrics_AllowStream_Call) Run(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_AllowStream_Call
- func (_c *NetworkMetrics_AllowStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_AllowStream_Call
- type NetworkMetrics_AsyncProcessingFinished_Call
- func (_c *NetworkMetrics_AsyncProcessingFinished_Call) Return() *NetworkMetrics_AsyncProcessingFinished_Call
- func (_c *NetworkMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *NetworkMetrics_AsyncProcessingFinished_Call
- func (_c *NetworkMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *NetworkMetrics_AsyncProcessingFinished_Call
- type NetworkMetrics_AsyncProcessingStarted_Call
- func (_c *NetworkMetrics_AsyncProcessingStarted_Call) Return() *NetworkMetrics_AsyncProcessingStarted_Call
- func (_c *NetworkMetrics_AsyncProcessingStarted_Call) Run(run func()) *NetworkMetrics_AsyncProcessingStarted_Call
- func (_c *NetworkMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *NetworkMetrics_AsyncProcessingStarted_Call
- type NetworkMetrics_BlockConn_Call
- func (_c *NetworkMetrics_BlockConn_Call) Return() *NetworkMetrics_BlockConn_Call
- func (_c *NetworkMetrics_BlockConn_Call) Run(run func(dir network.Direction, usefd bool)) *NetworkMetrics_BlockConn_Call
- func (_c *NetworkMetrics_BlockConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *NetworkMetrics_BlockConn_Call
- type NetworkMetrics_BlockMemory_Call
- type NetworkMetrics_BlockPeer_Call
- type NetworkMetrics_BlockProtocolPeer_Call
- func (_c *NetworkMetrics_BlockProtocolPeer_Call) Return() *NetworkMetrics_BlockProtocolPeer_Call
- func (_c *NetworkMetrics_BlockProtocolPeer_Call) Run(run func(proto protocol.ID, p peer.ID)) *NetworkMetrics_BlockProtocolPeer_Call
- func (_c *NetworkMetrics_BlockProtocolPeer_Call) RunAndReturn(run func(proto protocol.ID, p peer.ID)) *NetworkMetrics_BlockProtocolPeer_Call
- type NetworkMetrics_BlockProtocol_Call
- func (_c *NetworkMetrics_BlockProtocol_Call) Return() *NetworkMetrics_BlockProtocol_Call
- func (_c *NetworkMetrics_BlockProtocol_Call) Run(run func(proto protocol.ID)) *NetworkMetrics_BlockProtocol_Call
- func (_c *NetworkMetrics_BlockProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *NetworkMetrics_BlockProtocol_Call
- type NetworkMetrics_BlockServicePeer_Call
- func (_c *NetworkMetrics_BlockServicePeer_Call) Return() *NetworkMetrics_BlockServicePeer_Call
- func (_c *NetworkMetrics_BlockServicePeer_Call) Run(run func(svc string, p peer.ID)) *NetworkMetrics_BlockServicePeer_Call
- func (_c *NetworkMetrics_BlockServicePeer_Call) RunAndReturn(run func(svc string, p peer.ID)) *NetworkMetrics_BlockServicePeer_Call
- type NetworkMetrics_BlockService_Call
- func (_c *NetworkMetrics_BlockService_Call) Return() *NetworkMetrics_BlockService_Call
- func (_c *NetworkMetrics_BlockService_Call) Run(run func(svc string)) *NetworkMetrics_BlockService_Call
- func (_c *NetworkMetrics_BlockService_Call) RunAndReturn(run func(svc string)) *NetworkMetrics_BlockService_Call
- type NetworkMetrics_BlockStream_Call
- func (_c *NetworkMetrics_BlockStream_Call) Return() *NetworkMetrics_BlockStream_Call
- func (_c *NetworkMetrics_BlockStream_Call) Run(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_BlockStream_Call
- func (_c *NetworkMetrics_BlockStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_BlockStream_Call
- type NetworkMetrics_DNSLookupDuration_Call
- func (_c *NetworkMetrics_DNSLookupDuration_Call) Return() *NetworkMetrics_DNSLookupDuration_Call
- func (_c *NetworkMetrics_DNSLookupDuration_Call) Run(run func(duration time.Duration)) *NetworkMetrics_DNSLookupDuration_Call
- func (_c *NetworkMetrics_DNSLookupDuration_Call) RunAndReturn(run func(duration time.Duration)) *NetworkMetrics_DNSLookupDuration_Call
- type NetworkMetrics_DuplicateInboundMessagesDropped_Call
- func (_c *NetworkMetrics_DuplicateInboundMessagesDropped_Call) Return() *NetworkMetrics_DuplicateInboundMessagesDropped_Call
- func (_c *NetworkMetrics_DuplicateInboundMessagesDropped_Call) Run(run func(topic string, protocol1 string, messageType string)) *NetworkMetrics_DuplicateInboundMessagesDropped_Call
- func (_c *NetworkMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn(run func(topic string, protocol1 string, messageType string)) *NetworkMetrics_DuplicateInboundMessagesDropped_Call
- type NetworkMetrics_DuplicateMessagePenalties_Call
- func (_c *NetworkMetrics_DuplicateMessagePenalties_Call) Return() *NetworkMetrics_DuplicateMessagePenalties_Call
- func (_c *NetworkMetrics_DuplicateMessagePenalties_Call) Run(run func(penalty float64)) *NetworkMetrics_DuplicateMessagePenalties_Call
- func (_c *NetworkMetrics_DuplicateMessagePenalties_Call) RunAndReturn(run func(penalty float64)) *NetworkMetrics_DuplicateMessagePenalties_Call
- type NetworkMetrics_DuplicateMessagesCounts_Call
- func (_c *NetworkMetrics_DuplicateMessagesCounts_Call) Return() *NetworkMetrics_DuplicateMessagesCounts_Call
- func (_c *NetworkMetrics_DuplicateMessagesCounts_Call) Run(run func(count float64)) *NetworkMetrics_DuplicateMessagesCounts_Call
- func (_c *NetworkMetrics_DuplicateMessagesCounts_Call) RunAndReturn(run func(count float64)) *NetworkMetrics_DuplicateMessagesCounts_Call
- type NetworkMetrics_Expecter
- func (_e *NetworkMetrics_Expecter) AllowConn(dir interface{}, usefd interface{}) *NetworkMetrics_AllowConn_Call
- func (_e *NetworkMetrics_Expecter) AllowMemory(size interface{}) *NetworkMetrics_AllowMemory_Call
- func (_e *NetworkMetrics_Expecter) AllowPeer(p interface{}) *NetworkMetrics_AllowPeer_Call
- func (_e *NetworkMetrics_Expecter) AllowProtocol(proto interface{}) *NetworkMetrics_AllowProtocol_Call
- func (_e *NetworkMetrics_Expecter) AllowService(svc interface{}) *NetworkMetrics_AllowService_Call
- func (_e *NetworkMetrics_Expecter) AllowStream(p interface{}, dir interface{}) *NetworkMetrics_AllowStream_Call
- func (_e *NetworkMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *NetworkMetrics_AsyncProcessingFinished_Call
- func (_e *NetworkMetrics_Expecter) AsyncProcessingStarted() *NetworkMetrics_AsyncProcessingStarted_Call
- func (_e *NetworkMetrics_Expecter) BlockConn(dir interface{}, usefd interface{}) *NetworkMetrics_BlockConn_Call
- func (_e *NetworkMetrics_Expecter) BlockMemory(size interface{}) *NetworkMetrics_BlockMemory_Call
- func (_e *NetworkMetrics_Expecter) BlockPeer(p interface{}) *NetworkMetrics_BlockPeer_Call
- func (_e *NetworkMetrics_Expecter) BlockProtocol(proto interface{}) *NetworkMetrics_BlockProtocol_Call
- func (_e *NetworkMetrics_Expecter) BlockProtocolPeer(proto interface{}, p interface{}) *NetworkMetrics_BlockProtocolPeer_Call
- func (_e *NetworkMetrics_Expecter) BlockService(svc interface{}) *NetworkMetrics_BlockService_Call
- func (_e *NetworkMetrics_Expecter) BlockServicePeer(svc interface{}, p interface{}) *NetworkMetrics_BlockServicePeer_Call
- func (_e *NetworkMetrics_Expecter) BlockStream(p interface{}, dir interface{}) *NetworkMetrics_BlockStream_Call
- func (_e *NetworkMetrics_Expecter) DNSLookupDuration(duration interface{}) *NetworkMetrics_DNSLookupDuration_Call
- func (_e *NetworkMetrics_Expecter) DuplicateInboundMessagesDropped(topic interface{}, protocol1 interface{}, messageType interface{}) *NetworkMetrics_DuplicateInboundMessagesDropped_Call
- func (_e *NetworkMetrics_Expecter) DuplicateMessagePenalties(penalty interface{}) *NetworkMetrics_DuplicateMessagePenalties_Call
- func (_e *NetworkMetrics_Expecter) DuplicateMessagesCounts(count interface{}) *NetworkMetrics_DuplicateMessagesCounts_Call
- func (_e *NetworkMetrics_Expecter) InboundConnections(connectionCount interface{}) *NetworkMetrics_InboundConnections_Call
- func (_e *NetworkMetrics_Expecter) InboundMessageReceived(sizeBytes interface{}, topic interface{}, protocol1 interface{}, ...) *NetworkMetrics_InboundMessageReceived_Call
- func (_e *NetworkMetrics_Expecter) MessageAdded(priority interface{}) *NetworkMetrics_MessageAdded_Call
- func (_e *NetworkMetrics_Expecter) MessageProcessingFinished(topic interface{}, duration interface{}) *NetworkMetrics_MessageProcessingFinished_Call
- func (_e *NetworkMetrics_Expecter) MessageProcessingStarted(topic interface{}) *NetworkMetrics_MessageProcessingStarted_Call
- func (_e *NetworkMetrics_Expecter) MessageRemoved(priority interface{}) *NetworkMetrics_MessageRemoved_Call
- func (_e *NetworkMetrics_Expecter) OnActiveClusterIDsNotSetErr() *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_e *NetworkMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *NetworkMetrics_OnAppSpecificScoreUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *NetworkMetrics_OnControlMessagesTruncated_Call
- func (_e *NetworkMetrics_Expecter) OnDNSCacheHit() *NetworkMetrics_OnDNSCacheHit_Call
- func (_e *NetworkMetrics_Expecter) OnDNSCacheInvalidated() *NetworkMetrics_OnDNSCacheInvalidated_Call
- func (_e *NetworkMetrics_Expecter) OnDNSCacheMiss() *NetworkMetrics_OnDNSCacheMiss_Call
- func (_e *NetworkMetrics_Expecter) OnDNSLookupRequestDropped() *NetworkMetrics_OnDNSLookupRequestDropped_Call
- func (_e *NetworkMetrics_Expecter) OnDialRetryBudgetResetToDefault() *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_e *NetworkMetrics_Expecter) OnDialRetryBudgetUpdated(budget interface{}) *NetworkMetrics_OnDialRetryBudgetUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnEstablishStreamFailure(duration interface{}, attempts interface{}) *NetworkMetrics_OnEstablishStreamFailure_Call
- func (_e *NetworkMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *NetworkMetrics_OnGraftMessageInspected_Call
- func (_e *NetworkMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_e *NetworkMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *NetworkMetrics_OnIHaveMessageIDsReceived_Call
- func (_e *NetworkMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, ...) *NetworkMetrics_OnIHaveMessagesInspected_Call
- func (_e *NetworkMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *NetworkMetrics_OnIPColocationFactorUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_e *NetworkMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *NetworkMetrics_OnIWantMessageIDsReceived_Call
- func (_e *NetworkMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *NetworkMetrics_OnIWantMessagesInspected_Call
- func (_e *NetworkMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, ...) *NetworkMetrics_OnIncomingRpcReceived_Call
- func (_e *NetworkMetrics_Expecter) OnInvalidControlMessageNotificationSent() *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_e *NetworkMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_e *NetworkMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *NetworkMetrics_OnLocalMeshSizeUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnLocalPeerJoinedTopic() *NetworkMetrics_OnLocalPeerJoinedTopic_Call
- func (_e *NetworkMetrics_Expecter) OnLocalPeerLeftTopic() *NetworkMetrics_OnLocalPeerLeftTopic_Call
- func (_e *NetworkMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_e *NetworkMetrics_Expecter) OnMessageDuplicate(size interface{}) *NetworkMetrics_OnMessageDuplicate_Call
- func (_e *NetworkMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *NetworkMetrics_OnMessageEnteredValidation_Call
- func (_e *NetworkMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *NetworkMetrics_OnMessageRejected_Call
- func (_e *NetworkMetrics_Expecter) OnMisbehaviorReported(channel interface{}, misbehaviorType interface{}) *NetworkMetrics_OnMisbehaviorReported_Call
- func (_e *NetworkMetrics_Expecter) OnOutboundRpcDropped() *NetworkMetrics_OnOutboundRpcDropped_Call
- func (_e *NetworkMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *NetworkMetrics_OnOverallPeerScoreUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnPeerAddedToProtocol(protocol1 interface{}) *NetworkMetrics_OnPeerAddedToProtocol_Call
- func (_e *NetworkMetrics_Expecter) OnPeerDialFailure(duration interface{}, attempts interface{}) *NetworkMetrics_OnPeerDialFailure_Call
- func (_e *NetworkMetrics_Expecter) OnPeerDialed(duration interface{}, attempts interface{}) *NetworkMetrics_OnPeerDialed_Call
- func (_e *NetworkMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *NetworkMetrics_OnPeerGraftTopic_Call
- func (_e *NetworkMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *NetworkMetrics_OnPeerPruneTopic_Call
- func (_e *NetworkMetrics_Expecter) OnPeerRemovedFromProtocol() *NetworkMetrics_OnPeerRemovedFromProtocol_Call
- func (_e *NetworkMetrics_Expecter) OnPeerThrottled() *NetworkMetrics_OnPeerThrottled_Call
- func (_e *NetworkMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *NetworkMetrics_OnPruneMessageInspected_Call
- func (_e *NetworkMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, ...) *NetworkMetrics_OnPublishMessageInspected_Call
- func (_e *NetworkMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_e *NetworkMetrics_Expecter) OnRateLimitedPeer(pid interface{}, role interface{}, msgType interface{}, topic interface{}, ...) *NetworkMetrics_OnRateLimitedPeer_Call
- func (_e *NetworkMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *NetworkMetrics_OnRpcReceived_Call
- func (_e *NetworkMetrics_Expecter) OnRpcRejectedFromUnknownSender() *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_e *NetworkMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, ...) *NetworkMetrics_OnRpcSent_Call
- func (_e *NetworkMetrics_Expecter) OnStreamCreated(duration interface{}, attempts interface{}) *NetworkMetrics_OnStreamCreated_Call
- func (_e *NetworkMetrics_Expecter) OnStreamCreationFailure(duration interface{}, attempts interface{}) *NetworkMetrics_OnStreamCreationFailure_Call
- func (_e *NetworkMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault() *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_e *NetworkMetrics_Expecter) OnStreamCreationRetryBudgetUpdated(budget interface{}) *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnStreamEstablished(duration interface{}, attempts interface{}) *NetworkMetrics_OnStreamEstablished_Call
- func (_e *NetworkMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *NetworkMetrics_OnTimeInMeshUpdated_Call
- func (_e *NetworkMetrics_Expecter) OnUnauthorizedMessage(role interface{}, msgType interface{}, topic interface{}, offense interface{}) *NetworkMetrics_OnUnauthorizedMessage_Call
- func (_e *NetworkMetrics_Expecter) OnUndeliveredMessage() *NetworkMetrics_OnUndeliveredMessage_Call
- func (_e *NetworkMetrics_Expecter) OnUnstakedPeerInspectionFailed() *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_e *NetworkMetrics_Expecter) OnViolationReportSkipped() *NetworkMetrics_OnViolationReportSkipped_Call
- func (_e *NetworkMetrics_Expecter) OutboundConnections(connectionCount interface{}) *NetworkMetrics_OutboundConnections_Call
- func (_e *NetworkMetrics_Expecter) OutboundMessageSent(sizeBytes interface{}, topic interface{}, protocol1 interface{}, ...) *NetworkMetrics_OutboundMessageSent_Call
- func (_e *NetworkMetrics_Expecter) QueueDuration(duration interface{}, priority interface{}) *NetworkMetrics_QueueDuration_Call
- func (_e *NetworkMetrics_Expecter) RoutingTablePeerAdded() *NetworkMetrics_RoutingTablePeerAdded_Call
- func (_e *NetworkMetrics_Expecter) RoutingTablePeerRemoved() *NetworkMetrics_RoutingTablePeerRemoved_Call
- func (_e *NetworkMetrics_Expecter) SetWarningStateCount(v interface{}) *NetworkMetrics_SetWarningStateCount_Call
- func (_e *NetworkMetrics_Expecter) UnicastMessageSendingCompleted(topic interface{}) *NetworkMetrics_UnicastMessageSendingCompleted_Call
- func (_e *NetworkMetrics_Expecter) UnicastMessageSendingStarted(topic interface{}) *NetworkMetrics_UnicastMessageSendingStarted_Call
- type NetworkMetrics_InboundConnections_Call
- func (_c *NetworkMetrics_InboundConnections_Call) Return() *NetworkMetrics_InboundConnections_Call
- func (_c *NetworkMetrics_InboundConnections_Call) Run(run func(connectionCount uint)) *NetworkMetrics_InboundConnections_Call
- func (_c *NetworkMetrics_InboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *NetworkMetrics_InboundConnections_Call
- type NetworkMetrics_InboundMessageReceived_Call
- func (_c *NetworkMetrics_InboundMessageReceived_Call) Return() *NetworkMetrics_InboundMessageReceived_Call
- func (_c *NetworkMetrics_InboundMessageReceived_Call) Run(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_InboundMessageReceived_Call
- func (_c *NetworkMetrics_InboundMessageReceived_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_InboundMessageReceived_Call
- type NetworkMetrics_MessageAdded_Call
- func (_c *NetworkMetrics_MessageAdded_Call) Return() *NetworkMetrics_MessageAdded_Call
- func (_c *NetworkMetrics_MessageAdded_Call) Run(run func(priority int)) *NetworkMetrics_MessageAdded_Call
- func (_c *NetworkMetrics_MessageAdded_Call) RunAndReturn(run func(priority int)) *NetworkMetrics_MessageAdded_Call
- type NetworkMetrics_MessageProcessingFinished_Call
- func (_c *NetworkMetrics_MessageProcessingFinished_Call) Return() *NetworkMetrics_MessageProcessingFinished_Call
- func (_c *NetworkMetrics_MessageProcessingFinished_Call) Run(run func(topic string, duration time.Duration)) *NetworkMetrics_MessageProcessingFinished_Call
- func (_c *NetworkMetrics_MessageProcessingFinished_Call) RunAndReturn(run func(topic string, duration time.Duration)) *NetworkMetrics_MessageProcessingFinished_Call
- type NetworkMetrics_MessageProcessingStarted_Call
- func (_c *NetworkMetrics_MessageProcessingStarted_Call) Return() *NetworkMetrics_MessageProcessingStarted_Call
- func (_c *NetworkMetrics_MessageProcessingStarted_Call) Run(run func(topic string)) *NetworkMetrics_MessageProcessingStarted_Call
- func (_c *NetworkMetrics_MessageProcessingStarted_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_MessageProcessingStarted_Call
- type NetworkMetrics_MessageRemoved_Call
- func (_c *NetworkMetrics_MessageRemoved_Call) Return() *NetworkMetrics_MessageRemoved_Call
- func (_c *NetworkMetrics_MessageRemoved_Call) Run(run func(priority int)) *NetworkMetrics_MessageRemoved_Call
- func (_c *NetworkMetrics_MessageRemoved_Call) RunAndReturn(run func(priority int)) *NetworkMetrics_MessageRemoved_Call
- type NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) Return() *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
- func (_c *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
- type NetworkMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *NetworkMetrics_OnAppSpecificScoreUpdated_Call) Return() *NetworkMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *NetworkMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnAppSpecificScoreUpdated_Call
- func (_c *NetworkMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnAppSpecificScoreUpdated_Call
- type NetworkMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *NetworkMetrics_OnBehaviourPenaltyUpdated_Call) Return() *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *NetworkMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
- func (_c *NetworkMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
- type NetworkMetrics_OnControlMessagesTruncated_Call
- func (_c *NetworkMetrics_OnControlMessagesTruncated_Call) Return() *NetworkMetrics_OnControlMessagesTruncated_Call
- func (_c *NetworkMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *NetworkMetrics_OnControlMessagesTruncated_Call
- func (_c *NetworkMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *NetworkMetrics_OnControlMessagesTruncated_Call
- type NetworkMetrics_OnDNSCacheHit_Call
- type NetworkMetrics_OnDNSCacheInvalidated_Call
- func (_c *NetworkMetrics_OnDNSCacheInvalidated_Call) Return() *NetworkMetrics_OnDNSCacheInvalidated_Call
- func (_c *NetworkMetrics_OnDNSCacheInvalidated_Call) Run(run func()) *NetworkMetrics_OnDNSCacheInvalidated_Call
- func (_c *NetworkMetrics_OnDNSCacheInvalidated_Call) RunAndReturn(run func()) *NetworkMetrics_OnDNSCacheInvalidated_Call
- type NetworkMetrics_OnDNSCacheMiss_Call
- type NetworkMetrics_OnDNSLookupRequestDropped_Call
- func (_c *NetworkMetrics_OnDNSLookupRequestDropped_Call) Return() *NetworkMetrics_OnDNSLookupRequestDropped_Call
- func (_c *NetworkMetrics_OnDNSLookupRequestDropped_Call) Run(run func()) *NetworkMetrics_OnDNSLookupRequestDropped_Call
- func (_c *NetworkMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn(run func()) *NetworkMetrics_OnDNSLookupRequestDropped_Call
- type NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) Return() *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) Run(run func()) *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
- type NetworkMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *NetworkMetrics_OnDialRetryBudgetUpdated_Call) Return() *NetworkMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *NetworkMetrics_OnDialRetryBudgetUpdated_Call) Run(run func(budget uint64)) *NetworkMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *NetworkMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *NetworkMetrics_OnDialRetryBudgetUpdated_Call
- type NetworkMetrics_OnEstablishStreamFailure_Call
- func (_c *NetworkMetrics_OnEstablishStreamFailure_Call) Return() *NetworkMetrics_OnEstablishStreamFailure_Call
- func (_c *NetworkMetrics_OnEstablishStreamFailure_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnEstablishStreamFailure_Call
- func (_c *NetworkMetrics_OnEstablishStreamFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnEstablishStreamFailure_Call
- type NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) Return() *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
- type NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return() *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
- type NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return() *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
- type NetworkMetrics_OnGraftMessageInspected_Call
- func (_c *NetworkMetrics_OnGraftMessageInspected_Call) Return() *NetworkMetrics_OnGraftMessageInspected_Call
- func (_c *NetworkMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnGraftMessageInspected_Call
- func (_c *NetworkMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnGraftMessageInspected_Call
- type NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) Return() *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
- func (_c *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
- type NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return() *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
- type NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return() *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
- type NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return() *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
- type NetworkMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *NetworkMetrics_OnIHaveMessageIDsReceived_Call) Return() *NetworkMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *NetworkMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *NetworkMetrics_OnIHaveMessageIDsReceived_Call
- func (_c *NetworkMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *NetworkMetrics_OnIHaveMessageIDsReceived_Call
- type NetworkMetrics_OnIHaveMessagesInspected_Call
- func (_c *NetworkMetrics_OnIHaveMessagesInspected_Call) Return() *NetworkMetrics_OnIHaveMessagesInspected_Call
- func (_c *NetworkMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *NetworkMetrics_OnIHaveMessagesInspected_Call
- func (_c *NetworkMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *NetworkMetrics_OnIHaveMessagesInspected_Call
- type NetworkMetrics_OnIPColocationFactorUpdated_Call
- func (_c *NetworkMetrics_OnIPColocationFactorUpdated_Call) Return() *NetworkMetrics_OnIPColocationFactorUpdated_Call
- func (_c *NetworkMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnIPColocationFactorUpdated_Call
- func (_c *NetworkMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnIPColocationFactorUpdated_Call
- type NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return() *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
- type NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) Return() *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
- func (_c *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
- type NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return() *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
- type NetworkMetrics_OnIWantMessageIDsReceived_Call
- func (_c *NetworkMetrics_OnIWantMessageIDsReceived_Call) Return() *NetworkMetrics_OnIWantMessageIDsReceived_Call
- func (_c *NetworkMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *NetworkMetrics_OnIWantMessageIDsReceived_Call
- func (_c *NetworkMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *NetworkMetrics_OnIWantMessageIDsReceived_Call
- type NetworkMetrics_OnIWantMessagesInspected_Call
- func (_c *NetworkMetrics_OnIWantMessagesInspected_Call) Return() *NetworkMetrics_OnIWantMessagesInspected_Call
- func (_c *NetworkMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *NetworkMetrics_OnIWantMessagesInspected_Call
- func (_c *NetworkMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *NetworkMetrics_OnIWantMessagesInspected_Call
- type NetworkMetrics_OnIncomingRpcReceived_Call
- func (_c *NetworkMetrics_OnIncomingRpcReceived_Call) Return() *NetworkMetrics_OnIncomingRpcReceived_Call
- func (_c *NetworkMetrics_OnIncomingRpcReceived_Call) Run(...) *NetworkMetrics_OnIncomingRpcReceived_Call
- func (_c *NetworkMetrics_OnIncomingRpcReceived_Call) RunAndReturn(...) *NetworkMetrics_OnIncomingRpcReceived_Call
- type NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) Return() *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) Run(run func()) *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
- func (_c *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
- type NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) Return() *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
- type NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return() *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- func (_c *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
- type NetworkMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *NetworkMetrics_OnLocalMeshSizeUpdated_Call) Return() *NetworkMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *NetworkMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *NetworkMetrics_OnLocalMeshSizeUpdated_Call
- func (_c *NetworkMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *NetworkMetrics_OnLocalMeshSizeUpdated_Call
- type NetworkMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *NetworkMetrics_OnLocalPeerJoinedTopic_Call) Return() *NetworkMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *NetworkMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *NetworkMetrics_OnLocalPeerJoinedTopic_Call
- func (_c *NetworkMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *NetworkMetrics_OnLocalPeerJoinedTopic_Call
- type NetworkMetrics_OnLocalPeerLeftTopic_Call
- func (_c *NetworkMetrics_OnLocalPeerLeftTopic_Call) Return() *NetworkMetrics_OnLocalPeerLeftTopic_Call
- func (_c *NetworkMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *NetworkMetrics_OnLocalPeerLeftTopic_Call
- func (_c *NetworkMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *NetworkMetrics_OnLocalPeerLeftTopic_Call
- type NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) Return() *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
- func (_c *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
- type NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) Return() *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
- func (_c *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
- type NetworkMetrics_OnMessageDuplicate_Call
- func (_c *NetworkMetrics_OnMessageDuplicate_Call) Return() *NetworkMetrics_OnMessageDuplicate_Call
- func (_c *NetworkMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *NetworkMetrics_OnMessageDuplicate_Call
- func (_c *NetworkMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *NetworkMetrics_OnMessageDuplicate_Call
- type NetworkMetrics_OnMessageEnteredValidation_Call
- func (_c *NetworkMetrics_OnMessageEnteredValidation_Call) Return() *NetworkMetrics_OnMessageEnteredValidation_Call
- func (_c *NetworkMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *NetworkMetrics_OnMessageEnteredValidation_Call
- func (_c *NetworkMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *NetworkMetrics_OnMessageEnteredValidation_Call
- type NetworkMetrics_OnMessageRejected_Call
- func (_c *NetworkMetrics_OnMessageRejected_Call) Return() *NetworkMetrics_OnMessageRejected_Call
- func (_c *NetworkMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *NetworkMetrics_OnMessageRejected_Call
- func (_c *NetworkMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *NetworkMetrics_OnMessageRejected_Call
- type NetworkMetrics_OnMisbehaviorReported_Call
- func (_c *NetworkMetrics_OnMisbehaviorReported_Call) Return() *NetworkMetrics_OnMisbehaviorReported_Call
- func (_c *NetworkMetrics_OnMisbehaviorReported_Call) Run(run func(channel string, misbehaviorType string)) *NetworkMetrics_OnMisbehaviorReported_Call
- func (_c *NetworkMetrics_OnMisbehaviorReported_Call) RunAndReturn(run func(channel string, misbehaviorType string)) *NetworkMetrics_OnMisbehaviorReported_Call
- type NetworkMetrics_OnOutboundRpcDropped_Call
- func (_c *NetworkMetrics_OnOutboundRpcDropped_Call) Return() *NetworkMetrics_OnOutboundRpcDropped_Call
- func (_c *NetworkMetrics_OnOutboundRpcDropped_Call) Run(run func()) *NetworkMetrics_OnOutboundRpcDropped_Call
- func (_c *NetworkMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *NetworkMetrics_OnOutboundRpcDropped_Call
- type NetworkMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *NetworkMetrics_OnOverallPeerScoreUpdated_Call) Return() *NetworkMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *NetworkMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnOverallPeerScoreUpdated_Call
- func (_c *NetworkMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnOverallPeerScoreUpdated_Call
- type NetworkMetrics_OnPeerAddedToProtocol_Call
- func (_c *NetworkMetrics_OnPeerAddedToProtocol_Call) Return() *NetworkMetrics_OnPeerAddedToProtocol_Call
- func (_c *NetworkMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol1 string)) *NetworkMetrics_OnPeerAddedToProtocol_Call
- func (_c *NetworkMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol1 string)) *NetworkMetrics_OnPeerAddedToProtocol_Call
- type NetworkMetrics_OnPeerDialFailure_Call
- func (_c *NetworkMetrics_OnPeerDialFailure_Call) Return() *NetworkMetrics_OnPeerDialFailure_Call
- func (_c *NetworkMetrics_OnPeerDialFailure_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialFailure_Call
- func (_c *NetworkMetrics_OnPeerDialFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialFailure_Call
- type NetworkMetrics_OnPeerDialed_Call
- func (_c *NetworkMetrics_OnPeerDialed_Call) Return() *NetworkMetrics_OnPeerDialed_Call
- func (_c *NetworkMetrics_OnPeerDialed_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialed_Call
- func (_c *NetworkMetrics_OnPeerDialed_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialed_Call
- type NetworkMetrics_OnPeerGraftTopic_Call
- func (_c *NetworkMetrics_OnPeerGraftTopic_Call) Return() *NetworkMetrics_OnPeerGraftTopic_Call
- func (_c *NetworkMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *NetworkMetrics_OnPeerGraftTopic_Call
- func (_c *NetworkMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_OnPeerGraftTopic_Call
- type NetworkMetrics_OnPeerPruneTopic_Call
- func (_c *NetworkMetrics_OnPeerPruneTopic_Call) Return() *NetworkMetrics_OnPeerPruneTopic_Call
- func (_c *NetworkMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *NetworkMetrics_OnPeerPruneTopic_Call
- func (_c *NetworkMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_OnPeerPruneTopic_Call
- type NetworkMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *NetworkMetrics_OnPeerRemovedFromProtocol_Call) Return() *NetworkMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *NetworkMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *NetworkMetrics_OnPeerRemovedFromProtocol_Call
- func (_c *NetworkMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *NetworkMetrics_OnPeerRemovedFromProtocol_Call
- type NetworkMetrics_OnPeerThrottled_Call
- func (_c *NetworkMetrics_OnPeerThrottled_Call) Return() *NetworkMetrics_OnPeerThrottled_Call
- func (_c *NetworkMetrics_OnPeerThrottled_Call) Run(run func()) *NetworkMetrics_OnPeerThrottled_Call
- func (_c *NetworkMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *NetworkMetrics_OnPeerThrottled_Call
- type NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return() *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
- type NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return() *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- func (_c *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
- type NetworkMetrics_OnPruneMessageInspected_Call
- func (_c *NetworkMetrics_OnPruneMessageInspected_Call) Return() *NetworkMetrics_OnPruneMessageInspected_Call
- func (_c *NetworkMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnPruneMessageInspected_Call
- func (_c *NetworkMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnPruneMessageInspected_Call
- type NetworkMetrics_OnPublishMessageInspected_Call
- func (_c *NetworkMetrics_OnPublishMessageInspected_Call) Return() *NetworkMetrics_OnPublishMessageInspected_Call
- func (_c *NetworkMetrics_OnPublishMessageInspected_Call) Run(...) *NetworkMetrics_OnPublishMessageInspected_Call
- func (_c *NetworkMetrics_OnPublishMessageInspected_Call) RunAndReturn(...) *NetworkMetrics_OnPublishMessageInspected_Call
- type NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return() *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Run(run func()) *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- func (_c *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
- type NetworkMetrics_OnRateLimitedPeer_Call
- type NetworkMetrics_OnRpcReceived_Call
- type NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) Return() *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
- func (_c *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
- type NetworkMetrics_OnRpcSent_Call
- type NetworkMetrics_OnStreamCreated_Call
- func (_c *NetworkMetrics_OnStreamCreated_Call) Return() *NetworkMetrics_OnStreamCreated_Call
- func (_c *NetworkMetrics_OnStreamCreated_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreated_Call
- func (_c *NetworkMetrics_OnStreamCreated_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreated_Call
- type NetworkMetrics_OnStreamCreationFailure_Call
- func (_c *NetworkMetrics_OnStreamCreationFailure_Call) Return() *NetworkMetrics_OnStreamCreationFailure_Call
- func (_c *NetworkMetrics_OnStreamCreationFailure_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreationFailure_Call
- func (_c *NetworkMetrics_OnStreamCreationFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreationFailure_Call
- type NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Return() *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Run(run func()) *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- type NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) Return() *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run(run func(budget uint64)) *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
- type NetworkMetrics_OnStreamEstablished_Call
- func (_c *NetworkMetrics_OnStreamEstablished_Call) Return() *NetworkMetrics_OnStreamEstablished_Call
- func (_c *NetworkMetrics_OnStreamEstablished_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamEstablished_Call
- func (_c *NetworkMetrics_OnStreamEstablished_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamEstablished_Call
- type NetworkMetrics_OnTimeInMeshUpdated_Call
- func (_c *NetworkMetrics_OnTimeInMeshUpdated_Call) Return() *NetworkMetrics_OnTimeInMeshUpdated_Call
- func (_c *NetworkMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *NetworkMetrics_OnTimeInMeshUpdated_Call
- func (_c *NetworkMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *NetworkMetrics_OnTimeInMeshUpdated_Call
- type NetworkMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkMetrics_OnUnauthorizedMessage_Call) Return() *NetworkMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkMetrics_OnUnauthorizedMessage_Call) Run(run func(role string, msgType string, topic string, offense string)) *NetworkMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkMetrics_OnUnauthorizedMessage_Call) RunAndReturn(run func(role string, msgType string, topic string, offense string)) *NetworkMetrics_OnUnauthorizedMessage_Call
- type NetworkMetrics_OnUndeliveredMessage_Call
- func (_c *NetworkMetrics_OnUndeliveredMessage_Call) Return() *NetworkMetrics_OnUndeliveredMessage_Call
- func (_c *NetworkMetrics_OnUndeliveredMessage_Call) Run(run func()) *NetworkMetrics_OnUndeliveredMessage_Call
- func (_c *NetworkMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *NetworkMetrics_OnUndeliveredMessage_Call
- type NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) Return() *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
- func (_c *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
- type NetworkMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkMetrics_OnViolationReportSkipped_Call) Return() *NetworkMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkMetrics_OnViolationReportSkipped_Call) Run(run func()) *NetworkMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkMetrics_OnViolationReportSkipped_Call) RunAndReturn(run func()) *NetworkMetrics_OnViolationReportSkipped_Call
- type NetworkMetrics_OutboundConnections_Call
- func (_c *NetworkMetrics_OutboundConnections_Call) Return() *NetworkMetrics_OutboundConnections_Call
- func (_c *NetworkMetrics_OutboundConnections_Call) Run(run func(connectionCount uint)) *NetworkMetrics_OutboundConnections_Call
- func (_c *NetworkMetrics_OutboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *NetworkMetrics_OutboundConnections_Call
- type NetworkMetrics_OutboundMessageSent_Call
- func (_c *NetworkMetrics_OutboundMessageSent_Call) Return() *NetworkMetrics_OutboundMessageSent_Call
- func (_c *NetworkMetrics_OutboundMessageSent_Call) Run(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_OutboundMessageSent_Call
- func (_c *NetworkMetrics_OutboundMessageSent_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_OutboundMessageSent_Call
- type NetworkMetrics_QueueDuration_Call
- func (_c *NetworkMetrics_QueueDuration_Call) Return() *NetworkMetrics_QueueDuration_Call
- func (_c *NetworkMetrics_QueueDuration_Call) Run(run func(duration time.Duration, priority int)) *NetworkMetrics_QueueDuration_Call
- func (_c *NetworkMetrics_QueueDuration_Call) RunAndReturn(run func(duration time.Duration, priority int)) *NetworkMetrics_QueueDuration_Call
- type NetworkMetrics_RoutingTablePeerAdded_Call
- func (_c *NetworkMetrics_RoutingTablePeerAdded_Call) Return() *NetworkMetrics_RoutingTablePeerAdded_Call
- func (_c *NetworkMetrics_RoutingTablePeerAdded_Call) Run(run func()) *NetworkMetrics_RoutingTablePeerAdded_Call
- func (_c *NetworkMetrics_RoutingTablePeerAdded_Call) RunAndReturn(run func()) *NetworkMetrics_RoutingTablePeerAdded_Call
- type NetworkMetrics_RoutingTablePeerRemoved_Call
- func (_c *NetworkMetrics_RoutingTablePeerRemoved_Call) Return() *NetworkMetrics_RoutingTablePeerRemoved_Call
- func (_c *NetworkMetrics_RoutingTablePeerRemoved_Call) Run(run func()) *NetworkMetrics_RoutingTablePeerRemoved_Call
- func (_c *NetworkMetrics_RoutingTablePeerRemoved_Call) RunAndReturn(run func()) *NetworkMetrics_RoutingTablePeerRemoved_Call
- type NetworkMetrics_SetWarningStateCount_Call
- func (_c *NetworkMetrics_SetWarningStateCount_Call) Return() *NetworkMetrics_SetWarningStateCount_Call
- func (_c *NetworkMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *NetworkMetrics_SetWarningStateCount_Call
- func (_c *NetworkMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *NetworkMetrics_SetWarningStateCount_Call
- type NetworkMetrics_UnicastMessageSendingCompleted_Call
- func (_c *NetworkMetrics_UnicastMessageSendingCompleted_Call) Return() *NetworkMetrics_UnicastMessageSendingCompleted_Call
- func (_c *NetworkMetrics_UnicastMessageSendingCompleted_Call) Run(run func(topic string)) *NetworkMetrics_UnicastMessageSendingCompleted_Call
- func (_c *NetworkMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_UnicastMessageSendingCompleted_Call
- type NetworkMetrics_UnicastMessageSendingStarted_Call
- func (_c *NetworkMetrics_UnicastMessageSendingStarted_Call) Return() *NetworkMetrics_UnicastMessageSendingStarted_Call
- func (_c *NetworkMetrics_UnicastMessageSendingStarted_Call) Run(run func(topic string)) *NetworkMetrics_UnicastMessageSendingStarted_Call
- func (_c *NetworkMetrics_UnicastMessageSendingStarted_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_UnicastMessageSendingStarted_Call
- type NetworkSecurityMetrics
- func (_m *NetworkSecurityMetrics) EXPECT() *NetworkSecurityMetrics_Expecter
- func (_mock *NetworkSecurityMetrics) OnRateLimitedPeer(pid peer.ID, role string, msgType string, topic string, reason string)
- func (_mock *NetworkSecurityMetrics) OnUnauthorizedMessage(role string, msgType string, topic string, offense string)
- func (_mock *NetworkSecurityMetrics) OnViolationReportSkipped()
- type NetworkSecurityMetrics_Expecter
- func (_e *NetworkSecurityMetrics_Expecter) OnRateLimitedPeer(pid interface{}, role interface{}, msgType interface{}, topic interface{}, ...) *NetworkSecurityMetrics_OnRateLimitedPeer_Call
- func (_e *NetworkSecurityMetrics_Expecter) OnUnauthorizedMessage(role interface{}, msgType interface{}, topic interface{}, offense interface{}) *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
- func (_e *NetworkSecurityMetrics_Expecter) OnViolationReportSkipped() *NetworkSecurityMetrics_OnViolationReportSkipped_Call
- type NetworkSecurityMetrics_OnRateLimitedPeer_Call
- func (_c *NetworkSecurityMetrics_OnRateLimitedPeer_Call) Return() *NetworkSecurityMetrics_OnRateLimitedPeer_Call
- func (_c *NetworkSecurityMetrics_OnRateLimitedPeer_Call) Run(...) *NetworkSecurityMetrics_OnRateLimitedPeer_Call
- func (_c *NetworkSecurityMetrics_OnRateLimitedPeer_Call) RunAndReturn(...) *NetworkSecurityMetrics_OnRateLimitedPeer_Call
- type NetworkSecurityMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkSecurityMetrics_OnUnauthorizedMessage_Call) Return() *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkSecurityMetrics_OnUnauthorizedMessage_Call) Run(run func(role string, msgType string, topic string, offense string)) *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
- func (_c *NetworkSecurityMetrics_OnUnauthorizedMessage_Call) RunAndReturn(run func(role string, msgType string, topic string, offense string)) *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
- type NetworkSecurityMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkSecurityMetrics_OnViolationReportSkipped_Call) Return() *NetworkSecurityMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkSecurityMetrics_OnViolationReportSkipped_Call) Run(run func()) *NetworkSecurityMetrics_OnViolationReportSkipped_Call
- func (_c *NetworkSecurityMetrics_OnViolationReportSkipped_Call) RunAndReturn(run func()) *NetworkSecurityMetrics_OnViolationReportSkipped_Call
- type NewJobListener
- type NewJobListener_Check_Call
- type NewJobListener_Expecter
- type PendingBlockBuffer
- func (_mock *PendingBlockBuffer) Add(block flow.Slashable[*flow.Proposal]) bool
- func (_mock *PendingBlockBuffer) ByID(blockID flow.Identifier) (flow.Slashable[*flow.Proposal], bool)
- func (_mock *PendingBlockBuffer) ByParentID(parentID flow.Identifier) ([]flow.Slashable[*flow.Proposal], bool)
- func (_mock *PendingBlockBuffer) DropForParent(parentID flow.Identifier)
- func (_m *PendingBlockBuffer) EXPECT() *PendingBlockBuffer_Expecter
- func (_mock *PendingBlockBuffer) PruneByView(view uint64)
- func (_mock *PendingBlockBuffer) Size() uint
- type PendingBlockBuffer_Add_Call
- func (_c *PendingBlockBuffer_Add_Call) Return(b bool) *PendingBlockBuffer_Add_Call
- func (_c *PendingBlockBuffer_Add_Call) Run(run func(block flow.Slashable[*flow.Proposal])) *PendingBlockBuffer_Add_Call
- func (_c *PendingBlockBuffer_Add_Call) RunAndReturn(run func(block flow.Slashable[*flow.Proposal]) bool) *PendingBlockBuffer_Add_Call
- type PendingBlockBuffer_ByID_Call
- func (_c *PendingBlockBuffer_ByID_Call) Return(slashable flow.Slashable[*flow.Proposal], b bool) *PendingBlockBuffer_ByID_Call
- func (_c *PendingBlockBuffer_ByID_Call) Run(run func(blockID flow.Identifier)) *PendingBlockBuffer_ByID_Call
- func (_c *PendingBlockBuffer_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Slashable[*flow.Proposal], bool)) *PendingBlockBuffer_ByID_Call
- type PendingBlockBuffer_ByParentID_Call
- func (_c *PendingBlockBuffer_ByParentID_Call) Return(slashables []flow.Slashable[*flow.Proposal], b bool) *PendingBlockBuffer_ByParentID_Call
- func (_c *PendingBlockBuffer_ByParentID_Call) Run(run func(parentID flow.Identifier)) *PendingBlockBuffer_ByParentID_Call
- func (_c *PendingBlockBuffer_ByParentID_Call) RunAndReturn(run func(parentID flow.Identifier) ([]flow.Slashable[*flow.Proposal], bool)) *PendingBlockBuffer_ByParentID_Call
- type PendingBlockBuffer_DropForParent_Call
- func (_c *PendingBlockBuffer_DropForParent_Call) Return() *PendingBlockBuffer_DropForParent_Call
- func (_c *PendingBlockBuffer_DropForParent_Call) Run(run func(parentID flow.Identifier)) *PendingBlockBuffer_DropForParent_Call
- func (_c *PendingBlockBuffer_DropForParent_Call) RunAndReturn(run func(parentID flow.Identifier)) *PendingBlockBuffer_DropForParent_Call
- type PendingBlockBuffer_Expecter
- func (_e *PendingBlockBuffer_Expecter) Add(block interface{}) *PendingBlockBuffer_Add_Call
- func (_e *PendingBlockBuffer_Expecter) ByID(blockID interface{}) *PendingBlockBuffer_ByID_Call
- func (_e *PendingBlockBuffer_Expecter) ByParentID(parentID interface{}) *PendingBlockBuffer_ByParentID_Call
- func (_e *PendingBlockBuffer_Expecter) DropForParent(parentID interface{}) *PendingBlockBuffer_DropForParent_Call
- func (_e *PendingBlockBuffer_Expecter) PruneByView(view interface{}) *PendingBlockBuffer_PruneByView_Call
- func (_e *PendingBlockBuffer_Expecter) Size() *PendingBlockBuffer_Size_Call
- type PendingBlockBuffer_PruneByView_Call
- func (_c *PendingBlockBuffer_PruneByView_Call) Return() *PendingBlockBuffer_PruneByView_Call
- func (_c *PendingBlockBuffer_PruneByView_Call) Run(run func(view uint64)) *PendingBlockBuffer_PruneByView_Call
- func (_c *PendingBlockBuffer_PruneByView_Call) RunAndReturn(run func(view uint64)) *PendingBlockBuffer_PruneByView_Call
- type PendingBlockBuffer_Size_Call
- type PendingClusterBlockBuffer
- func (_mock *PendingClusterBlockBuffer) Add(block flow.Slashable[*cluster.Proposal]) bool
- func (_mock *PendingClusterBlockBuffer) ByID(blockID flow.Identifier) (flow.Slashable[*cluster.Proposal], bool)
- func (_mock *PendingClusterBlockBuffer) ByParentID(parentID flow.Identifier) ([]flow.Slashable[*cluster.Proposal], bool)
- func (_mock *PendingClusterBlockBuffer) DropForParent(parentID flow.Identifier)
- func (_m *PendingClusterBlockBuffer) EXPECT() *PendingClusterBlockBuffer_Expecter
- func (_mock *PendingClusterBlockBuffer) PruneByView(view uint64)
- func (_mock *PendingClusterBlockBuffer) Size() uint
- type PendingClusterBlockBuffer_Add_Call
- func (_c *PendingClusterBlockBuffer_Add_Call) Return(b bool) *PendingClusterBlockBuffer_Add_Call
- func (_c *PendingClusterBlockBuffer_Add_Call) Run(run func(block flow.Slashable[*cluster.Proposal])) *PendingClusterBlockBuffer_Add_Call
- func (_c *PendingClusterBlockBuffer_Add_Call) RunAndReturn(run func(block flow.Slashable[*cluster.Proposal]) bool) *PendingClusterBlockBuffer_Add_Call
- type PendingClusterBlockBuffer_ByID_Call
- func (_c *PendingClusterBlockBuffer_ByID_Call) Return(slashable flow.Slashable[*cluster.Proposal], b bool) *PendingClusterBlockBuffer_ByID_Call
- func (_c *PendingClusterBlockBuffer_ByID_Call) Run(run func(blockID flow.Identifier)) *PendingClusterBlockBuffer_ByID_Call
- func (_c *PendingClusterBlockBuffer_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Slashable[*cluster.Proposal], bool)) *PendingClusterBlockBuffer_ByID_Call
- type PendingClusterBlockBuffer_ByParentID_Call
- func (_c *PendingClusterBlockBuffer_ByParentID_Call) Return(slashables []flow.Slashable[*cluster.Proposal], b bool) *PendingClusterBlockBuffer_ByParentID_Call
- func (_c *PendingClusterBlockBuffer_ByParentID_Call) Run(run func(parentID flow.Identifier)) *PendingClusterBlockBuffer_ByParentID_Call
- func (_c *PendingClusterBlockBuffer_ByParentID_Call) RunAndReturn(run func(parentID flow.Identifier) ([]flow.Slashable[*cluster.Proposal], bool)) *PendingClusterBlockBuffer_ByParentID_Call
- type PendingClusterBlockBuffer_DropForParent_Call
- func (_c *PendingClusterBlockBuffer_DropForParent_Call) Return() *PendingClusterBlockBuffer_DropForParent_Call
- func (_c *PendingClusterBlockBuffer_DropForParent_Call) Run(run func(parentID flow.Identifier)) *PendingClusterBlockBuffer_DropForParent_Call
- func (_c *PendingClusterBlockBuffer_DropForParent_Call) RunAndReturn(run func(parentID flow.Identifier)) *PendingClusterBlockBuffer_DropForParent_Call
- type PendingClusterBlockBuffer_Expecter
- func (_e *PendingClusterBlockBuffer_Expecter) Add(block interface{}) *PendingClusterBlockBuffer_Add_Call
- func (_e *PendingClusterBlockBuffer_Expecter) ByID(blockID interface{}) *PendingClusterBlockBuffer_ByID_Call
- func (_e *PendingClusterBlockBuffer_Expecter) ByParentID(parentID interface{}) *PendingClusterBlockBuffer_ByParentID_Call
- func (_e *PendingClusterBlockBuffer_Expecter) DropForParent(parentID interface{}) *PendingClusterBlockBuffer_DropForParent_Call
- func (_e *PendingClusterBlockBuffer_Expecter) PruneByView(view interface{}) *PendingClusterBlockBuffer_PruneByView_Call
- func (_e *PendingClusterBlockBuffer_Expecter) Size() *PendingClusterBlockBuffer_Size_Call
- type PendingClusterBlockBuffer_PruneByView_Call
- func (_c *PendingClusterBlockBuffer_PruneByView_Call) Return() *PendingClusterBlockBuffer_PruneByView_Call
- func (_c *PendingClusterBlockBuffer_PruneByView_Call) Run(run func(view uint64)) *PendingClusterBlockBuffer_PruneByView_Call
- func (_c *PendingClusterBlockBuffer_PruneByView_Call) RunAndReturn(run func(view uint64)) *PendingClusterBlockBuffer_PruneByView_Call
- type PendingClusterBlockBuffer_Size_Call
- func (_c *PendingClusterBlockBuffer_Size_Call) Return(v uint) *PendingClusterBlockBuffer_Size_Call
- func (_c *PendingClusterBlockBuffer_Size_Call) Run(run func()) *PendingClusterBlockBuffer_Size_Call
- func (_c *PendingClusterBlockBuffer_Size_Call) RunAndReturn(run func() uint) *PendingClusterBlockBuffer_Size_Call
- type PingMetrics
- type PingMetrics_Expecter
- type PingMetrics_NodeInfo_Call
- type PingMetrics_NodeReachable_Call
- func (_c *PingMetrics_NodeReachable_Call) Return() *PingMetrics_NodeReachable_Call
- func (_c *PingMetrics_NodeReachable_Call) Run(run func(node *flow.Identity, nodeInfo string, rtt time.Duration)) *PingMetrics_NodeReachable_Call
- func (_c *PingMetrics_NodeReachable_Call) RunAndReturn(run func(node *flow.Identity, nodeInfo string, rtt time.Duration)) *PingMetrics_NodeReachable_Call
- type PrivateKey
- func (_mock *PrivateKey) Algorithm() crypto.SigningAlgorithm
- func (_m *PrivateKey) EXPECT() *PrivateKey_Expecter
- func (_mock *PrivateKey) Encode() []byte
- func (_mock *PrivateKey) Equals(privateKey crypto.PrivateKey) bool
- func (_mock *PrivateKey) PublicKey() crypto.PublicKey
- func (_mock *PrivateKey) Sign(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)
- func (_mock *PrivateKey) Size() int
- func (_mock *PrivateKey) String() string
- type PrivateKey_Algorithm_Call
- func (_c *PrivateKey_Algorithm_Call) Return(signingAlgorithm crypto.SigningAlgorithm) *PrivateKey_Algorithm_Call
- func (_c *PrivateKey_Algorithm_Call) Run(run func()) *PrivateKey_Algorithm_Call
- func (_c *PrivateKey_Algorithm_Call) RunAndReturn(run func() crypto.SigningAlgorithm) *PrivateKey_Algorithm_Call
- type PrivateKey_Encode_Call
- type PrivateKey_Equals_Call
- type PrivateKey_Expecter
- func (_e *PrivateKey_Expecter) Algorithm() *PrivateKey_Algorithm_Call
- func (_e *PrivateKey_Expecter) Encode() *PrivateKey_Encode_Call
- func (_e *PrivateKey_Expecter) Equals(privateKey interface{}) *PrivateKey_Equals_Call
- func (_e *PrivateKey_Expecter) PublicKey() *PrivateKey_PublicKey_Call
- func (_e *PrivateKey_Expecter) Sign(bytes interface{}, hasher interface{}) *PrivateKey_Sign_Call
- func (_e *PrivateKey_Expecter) Size() *PrivateKey_Size_Call
- func (_e *PrivateKey_Expecter) String() *PrivateKey_String_Call
- type PrivateKey_PublicKey_Call
- type PrivateKey_Sign_Call
- func (_c *PrivateKey_Sign_Call) Return(signature crypto.Signature, err error) *PrivateKey_Sign_Call
- func (_c *PrivateKey_Sign_Call) Run(run func(bytes []byte, hasher hash.Hasher)) *PrivateKey_Sign_Call
- func (_c *PrivateKey_Sign_Call) RunAndReturn(run func(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)) *PrivateKey_Sign_Call
- type PrivateKey_Size_Call
- type PrivateKey_String_Call
- type ProcessingNotifier
- type ProcessingNotifier_Expecter
- type ProcessingNotifier_Notify_Call
- func (_c *ProcessingNotifier_Notify_Call) Return() *ProcessingNotifier_Notify_Call
- func (_c *ProcessingNotifier_Notify_Call) Run(run func(entityID flow.Identifier)) *ProcessingNotifier_Notify_Call
- func (_c *ProcessingNotifier_Notify_Call) RunAndReturn(run func(entityID flow.Identifier)) *ProcessingNotifier_Notify_Call
- type ProviderMetrics
- type ProviderMetrics_ChunkDataPackRequestProcessed_Call
- func (_c *ProviderMetrics_ChunkDataPackRequestProcessed_Call) Return() *ProviderMetrics_ChunkDataPackRequestProcessed_Call
- func (_c *ProviderMetrics_ChunkDataPackRequestProcessed_Call) Run(run func()) *ProviderMetrics_ChunkDataPackRequestProcessed_Call
- func (_c *ProviderMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn(run func()) *ProviderMetrics_ChunkDataPackRequestProcessed_Call
- type ProviderMetrics_Expecter
- type PublicKey
- func (_mock *PublicKey) Algorithm() crypto.SigningAlgorithm
- func (_m *PublicKey) EXPECT() *PublicKey_Expecter
- func (_mock *PublicKey) Encode() []byte
- func (_mock *PublicKey) EncodeCompressed() []byte
- func (_mock *PublicKey) Equals(publicKey crypto.PublicKey) bool
- func (_mock *PublicKey) Size() int
- func (_mock *PublicKey) String() string
- func (_mock *PublicKey) Verify(signature crypto.Signature, bytes []byte, hasher hash.Hasher) (bool, error)
- type PublicKey_Algorithm_Call
- type PublicKey_EncodeCompressed_Call
- type PublicKey_Encode_Call
- type PublicKey_Equals_Call
- type PublicKey_Expecter
- func (_e *PublicKey_Expecter) Algorithm() *PublicKey_Algorithm_Call
- func (_e *PublicKey_Expecter) Encode() *PublicKey_Encode_Call
- func (_e *PublicKey_Expecter) EncodeCompressed() *PublicKey_EncodeCompressed_Call
- func (_e *PublicKey_Expecter) Equals(publicKey interface{}) *PublicKey_Equals_Call
- func (_e *PublicKey_Expecter) Size() *PublicKey_Size_Call
- func (_e *PublicKey_Expecter) String() *PublicKey_String_Call
- func (_e *PublicKey_Expecter) Verify(signature interface{}, bytes interface{}, hasher interface{}) *PublicKey_Verify_Call
- type PublicKey_Size_Call
- type PublicKey_String_Call
- type PublicKey_Verify_Call
- type QCContractClient
- type QCContractClient_Expecter
- type QCContractClient_SubmitVote_Call
- func (_c *QCContractClient_SubmitVote_Call) Return(err error) *QCContractClient_SubmitVote_Call
- func (_c *QCContractClient_SubmitVote_Call) Run(run func(ctx context.Context, vote *model.Vote)) *QCContractClient_SubmitVote_Call
- func (_c *QCContractClient_SubmitVote_Call) RunAndReturn(run func(ctx context.Context, vote *model.Vote) error) *QCContractClient_SubmitVote_Call
- type QCContractClient_Voted_Call
- func (_c *QCContractClient_Voted_Call) Return(b bool, err error) *QCContractClient_Voted_Call
- func (_c *QCContractClient_Voted_Call) Run(run func(ctx context.Context)) *QCContractClient_Voted_Call
- func (_c *QCContractClient_Voted_Call) RunAndReturn(run func(ctx context.Context) (bool, error)) *QCContractClient_Voted_Call
- type RandomBeaconKeyStore
- type RandomBeaconKeyStore_ByView_Call
- func (_c *RandomBeaconKeyStore_ByView_Call) Return(privateKey crypto.PrivateKey, err error) *RandomBeaconKeyStore_ByView_Call
- func (_c *RandomBeaconKeyStore_ByView_Call) Run(run func(view uint64)) *RandomBeaconKeyStore_ByView_Call
- func (_c *RandomBeaconKeyStore_ByView_Call) RunAndReturn(run func(view uint64) (crypto.PrivateKey, error)) *RandomBeaconKeyStore_ByView_Call
- type RandomBeaconKeyStore_Expecter
- type RateLimitedBlockstoreMetrics
- type RateLimitedBlockstoreMetrics_BytesRead_Call
- func (_c *RateLimitedBlockstoreMetrics_BytesRead_Call) Return() *RateLimitedBlockstoreMetrics_BytesRead_Call
- func (_c *RateLimitedBlockstoreMetrics_BytesRead_Call) Run(run func(n int)) *RateLimitedBlockstoreMetrics_BytesRead_Call
- func (_c *RateLimitedBlockstoreMetrics_BytesRead_Call) RunAndReturn(run func(n int)) *RateLimitedBlockstoreMetrics_BytesRead_Call
- type RateLimitedBlockstoreMetrics_Expecter
- type ReadonlySealingLagRateLimiterConfig
- func (_m *ReadonlySealingLagRateLimiterConfig) EXPECT() *ReadonlySealingLagRateLimiterConfig_Expecter
- func (_mock *ReadonlySealingLagRateLimiterConfig) HalvingInterval() uint
- func (_mock *ReadonlySealingLagRateLimiterConfig) MaxSealingLag() uint
- func (_mock *ReadonlySealingLagRateLimiterConfig) MinCollectionSize() uint
- func (_mock *ReadonlySealingLagRateLimiterConfig) MinSealingLag() uint
- type ReadonlySealingLagRateLimiterConfig_Expecter
- func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) HalvingInterval() *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
- func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) MaxSealingLag() *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) MinCollectionSize() *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) MinSealingLag() *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
- type ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) Return(v uint) *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
- type ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) Return(v uint) *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
- type ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) Return(v uint) *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
- type ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) Return(v uint) *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
- func (_c *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
- type ReadyDoneAware
- type ReadyDoneAware_Done_Call
- type ReadyDoneAware_Expecter
- type ReadyDoneAware_Ready_Call
- type ReceiptValidator
- type ReceiptValidator_Expecter
- type ReceiptValidator_ValidatePayload_Call
- func (_c *ReceiptValidator_ValidatePayload_Call) Return(err error) *ReceiptValidator_ValidatePayload_Call
- func (_c *ReceiptValidator_ValidatePayload_Call) Run(run func(candidate *flow.Block)) *ReceiptValidator_ValidatePayload_Call
- func (_c *ReceiptValidator_ValidatePayload_Call) RunAndReturn(run func(candidate *flow.Block) error) *ReceiptValidator_ValidatePayload_Call
- type ReceiptValidator_Validate_Call
- func (_c *ReceiptValidator_Validate_Call) Return(err error) *ReceiptValidator_Validate_Call
- func (_c *ReceiptValidator_Validate_Call) Run(run func(receipt *flow.ExecutionReceipt)) *ReceiptValidator_Validate_Call
- func (_c *ReceiptValidator_Validate_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) error) *ReceiptValidator_Validate_Call
- type Requester
- func (_m *Requester) EXPECT() *Requester_Expecter
- func (_mock *Requester) EntityByID(entityID flow.Identifier, selector flow.IdentityFilter[flow.Identity])
- func (_mock *Requester) EntityBySecondaryKey(queryKey flow.Identifier, selector flow.IdentityFilter[flow.Identity])
- func (_mock *Requester) Force()
- type Requester_EntityByID_Call
- type Requester_EntityBySecondaryKey_Call
- type Requester_Expecter
- func (_e *Requester_Expecter) EntityByID(entityID interface{}, selector interface{}) *Requester_EntityByID_Call
- func (_e *Requester_Expecter) EntityBySecondaryKey(queryKey interface{}, selector interface{}) *Requester_EntityBySecondaryKey_Call
- func (_e *Requester_Expecter) Force() *Requester_Force_Call
- type Requester_Force_Call
- type ResolverMetrics
- func (_mock *ResolverMetrics) DNSLookupDuration(duration time.Duration)
- func (_m *ResolverMetrics) EXPECT() *ResolverMetrics_Expecter
- func (_mock *ResolverMetrics) OnDNSCacheHit()
- func (_mock *ResolverMetrics) OnDNSCacheInvalidated()
- func (_mock *ResolverMetrics) OnDNSCacheMiss()
- func (_mock *ResolverMetrics) OnDNSLookupRequestDropped()
- type ResolverMetrics_DNSLookupDuration_Call
- func (_c *ResolverMetrics_DNSLookupDuration_Call) Return() *ResolverMetrics_DNSLookupDuration_Call
- func (_c *ResolverMetrics_DNSLookupDuration_Call) Run(run func(duration time.Duration)) *ResolverMetrics_DNSLookupDuration_Call
- func (_c *ResolverMetrics_DNSLookupDuration_Call) RunAndReturn(run func(duration time.Duration)) *ResolverMetrics_DNSLookupDuration_Call
- type ResolverMetrics_Expecter
- func (_e *ResolverMetrics_Expecter) DNSLookupDuration(duration interface{}) *ResolverMetrics_DNSLookupDuration_Call
- func (_e *ResolverMetrics_Expecter) OnDNSCacheHit() *ResolverMetrics_OnDNSCacheHit_Call
- func (_e *ResolverMetrics_Expecter) OnDNSCacheInvalidated() *ResolverMetrics_OnDNSCacheInvalidated_Call
- func (_e *ResolverMetrics_Expecter) OnDNSCacheMiss() *ResolverMetrics_OnDNSCacheMiss_Call
- func (_e *ResolverMetrics_Expecter) OnDNSLookupRequestDropped() *ResolverMetrics_OnDNSLookupRequestDropped_Call
- type ResolverMetrics_OnDNSCacheHit_Call
- type ResolverMetrics_OnDNSCacheInvalidated_Call
- func (_c *ResolverMetrics_OnDNSCacheInvalidated_Call) Return() *ResolverMetrics_OnDNSCacheInvalidated_Call
- func (_c *ResolverMetrics_OnDNSCacheInvalidated_Call) Run(run func()) *ResolverMetrics_OnDNSCacheInvalidated_Call
- func (_c *ResolverMetrics_OnDNSCacheInvalidated_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSCacheInvalidated_Call
- type ResolverMetrics_OnDNSCacheMiss_Call
- func (_c *ResolverMetrics_OnDNSCacheMiss_Call) Return() *ResolverMetrics_OnDNSCacheMiss_Call
- func (_c *ResolverMetrics_OnDNSCacheMiss_Call) Run(run func()) *ResolverMetrics_OnDNSCacheMiss_Call
- func (_c *ResolverMetrics_OnDNSCacheMiss_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSCacheMiss_Call
- type ResolverMetrics_OnDNSLookupRequestDropped_Call
- func (_c *ResolverMetrics_OnDNSLookupRequestDropped_Call) Return() *ResolverMetrics_OnDNSLookupRequestDropped_Call
- func (_c *ResolverMetrics_OnDNSLookupRequestDropped_Call) Run(run func()) *ResolverMetrics_OnDNSLookupRequestDropped_Call
- func (_c *ResolverMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSLookupRequestDropped_Call
- type RestMetrics
- func (_mock *RestMetrics) AddInflightRequests(ctx context.Context, props metrics.HTTPProperties, quantity int)
- func (_mock *RestMetrics) AddTotalRequests(ctx context.Context, method string, routeName string)
- func (_m *RestMetrics) EXPECT() *RestMetrics_Expecter
- func (_mock *RestMetrics) ObserveHTTPRequestDuration(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)
- func (_mock *RestMetrics) ObserveHTTPResponseSize(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)
- type RestMetrics_AddInflightRequests_Call
- func (_c *RestMetrics_AddInflightRequests_Call) Return() *RestMetrics_AddInflightRequests_Call
- func (_c *RestMetrics_AddInflightRequests_Call) Run(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *RestMetrics_AddInflightRequests_Call
- func (_c *RestMetrics_AddInflightRequests_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *RestMetrics_AddInflightRequests_Call
- type RestMetrics_AddTotalRequests_Call
- func (_c *RestMetrics_AddTotalRequests_Call) Return() *RestMetrics_AddTotalRequests_Call
- func (_c *RestMetrics_AddTotalRequests_Call) Run(run func(ctx context.Context, method string, routeName string)) *RestMetrics_AddTotalRequests_Call
- func (_c *RestMetrics_AddTotalRequests_Call) RunAndReturn(run func(ctx context.Context, method string, routeName string)) *RestMetrics_AddTotalRequests_Call
- type RestMetrics_Expecter
- func (_e *RestMetrics_Expecter) AddInflightRequests(ctx interface{}, props interface{}, quantity interface{}) *RestMetrics_AddInflightRequests_Call
- func (_e *RestMetrics_Expecter) AddTotalRequests(ctx interface{}, method interface{}, routeName interface{}) *RestMetrics_AddTotalRequests_Call
- func (_e *RestMetrics_Expecter) ObserveHTTPRequestDuration(ctx interface{}, props interface{}, duration interface{}) *RestMetrics_ObserveHTTPRequestDuration_Call
- func (_e *RestMetrics_Expecter) ObserveHTTPResponseSize(ctx interface{}, props interface{}, sizeBytes interface{}) *RestMetrics_ObserveHTTPResponseSize_Call
- type RestMetrics_ObserveHTTPRequestDuration_Call
- func (_c *RestMetrics_ObserveHTTPRequestDuration_Call) Return() *RestMetrics_ObserveHTTPRequestDuration_Call
- func (_c *RestMetrics_ObserveHTTPRequestDuration_Call) Run(...) *RestMetrics_ObserveHTTPRequestDuration_Call
- func (_c *RestMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn(...) *RestMetrics_ObserveHTTPRequestDuration_Call
- type RestMetrics_ObserveHTTPResponseSize_Call
- func (_c *RestMetrics_ObserveHTTPResponseSize_Call) Return() *RestMetrics_ObserveHTTPResponseSize_Call
- func (_c *RestMetrics_ObserveHTTPResponseSize_Call) Run(...) *RestMetrics_ObserveHTTPResponseSize_Call
- func (_c *RestMetrics_ObserveHTTPResponseSize_Call) RunAndReturn(...) *RestMetrics_ObserveHTTPResponseSize_Call
- type RuntimeMetrics
- func (_m *RuntimeMetrics) EXPECT() *RuntimeMetrics_Expecter
- func (_mock *RuntimeMetrics) RuntimeSetNumberOfAccounts(count uint64)
- func (_mock *RuntimeMetrics) RuntimeTransactionChecked(dur time.Duration)
- func (_mock *RuntimeMetrics) RuntimeTransactionInterpreted(dur time.Duration)
- func (_mock *RuntimeMetrics) RuntimeTransactionParsed(dur time.Duration)
- func (_mock *RuntimeMetrics) RuntimeTransactionProgramsCacheHit()
- func (_mock *RuntimeMetrics) RuntimeTransactionProgramsCacheMiss()
- type RuntimeMetrics_Expecter
- func (_e *RuntimeMetrics_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
- func (_e *RuntimeMetrics_Expecter) RuntimeTransactionChecked(dur interface{}) *RuntimeMetrics_RuntimeTransactionChecked_Call
- func (_e *RuntimeMetrics_Expecter) RuntimeTransactionInterpreted(dur interface{}) *RuntimeMetrics_RuntimeTransactionInterpreted_Call
- func (_e *RuntimeMetrics_Expecter) RuntimeTransactionParsed(dur interface{}) *RuntimeMetrics_RuntimeTransactionParsed_Call
- func (_e *RuntimeMetrics_Expecter) RuntimeTransactionProgramsCacheHit() *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_e *RuntimeMetrics_Expecter) RuntimeTransactionProgramsCacheMiss() *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
- type RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
- func (_c *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) Return() *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
- func (_c *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
- func (_c *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
- type RuntimeMetrics_RuntimeTransactionChecked_Call
- func (_c *RuntimeMetrics_RuntimeTransactionChecked_Call) Return() *RuntimeMetrics_RuntimeTransactionChecked_Call
- func (_c *RuntimeMetrics_RuntimeTransactionChecked_Call) Run(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionChecked_Call
- func (_c *RuntimeMetrics_RuntimeTransactionChecked_Call) RunAndReturn(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionChecked_Call
- type RuntimeMetrics_RuntimeTransactionInterpreted_Call
- func (_c *RuntimeMetrics_RuntimeTransactionInterpreted_Call) Return() *RuntimeMetrics_RuntimeTransactionInterpreted_Call
- func (_c *RuntimeMetrics_RuntimeTransactionInterpreted_Call) Run(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionInterpreted_Call
- func (_c *RuntimeMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionInterpreted_Call
- type RuntimeMetrics_RuntimeTransactionParsed_Call
- func (_c *RuntimeMetrics_RuntimeTransactionParsed_Call) Return() *RuntimeMetrics_RuntimeTransactionParsed_Call
- func (_c *RuntimeMetrics_RuntimeTransactionParsed_Call) Run(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionParsed_Call
- func (_c *RuntimeMetrics_RuntimeTransactionParsed_Call) RunAndReturn(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionParsed_Call
- type RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) Return() *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
- func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
- type RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) Return() *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
- type SDKClientWrapper
- func (_m *SDKClientWrapper) EXPECT() *SDKClientWrapper_Expecter
- func (_mock *SDKClientWrapper) ExecuteScriptAtBlockID(context1 context.Context, identifier flow.Identifier, bytes []byte, ...) (cadence.Value, error)
- func (_mock *SDKClientWrapper) ExecuteScriptAtLatestBlock(context1 context.Context, bytes []byte, values []cadence.Value) (cadence.Value, error)
- func (_mock *SDKClientWrapper) GetAccount(context1 context.Context, address flow.Address) (*flow.Account, error)
- func (_mock *SDKClientWrapper) GetAccountAtLatestBlock(context1 context.Context, address flow.Address) (*flow.Account, error)
- func (_mock *SDKClientWrapper) GetLatestBlock(context1 context.Context, b bool) (*flow.Block, error)
- func (_mock *SDKClientWrapper) GetTransactionResult(context1 context.Context, identifier flow.Identifier) (*flow.TransactionResult, error)
- func (_mock *SDKClientWrapper) SendTransaction(context1 context.Context, transaction flow.Transaction) error
- type SDKClientWrapper_ExecuteScriptAtBlockID_Call
- func (_c *SDKClientWrapper_ExecuteScriptAtBlockID_Call) Return(value cadence.Value, err error) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
- func (_c *SDKClientWrapper_ExecuteScriptAtBlockID_Call) Run(...) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
- func (_c *SDKClientWrapper_ExecuteScriptAtBlockID_Call) RunAndReturn(...) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
- type SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
- func (_c *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Return(value cadence.Value, err error) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
- func (_c *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Run(run func(context1 context.Context, bytes []byte, values []cadence.Value)) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
- func (_c *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) RunAndReturn(...) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
- type SDKClientWrapper_Expecter
- func (_e *SDKClientWrapper_Expecter) ExecuteScriptAtBlockID(context1 interface{}, identifier interface{}, bytes interface{}, ...) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
- func (_e *SDKClientWrapper_Expecter) ExecuteScriptAtLatestBlock(context1 interface{}, bytes interface{}, values interface{}) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
- func (_e *SDKClientWrapper_Expecter) GetAccount(context1 interface{}, address interface{}) *SDKClientWrapper_GetAccount_Call
- func (_e *SDKClientWrapper_Expecter) GetAccountAtLatestBlock(context1 interface{}, address interface{}) *SDKClientWrapper_GetAccountAtLatestBlock_Call
- func (_e *SDKClientWrapper_Expecter) GetLatestBlock(context1 interface{}, b interface{}) *SDKClientWrapper_GetLatestBlock_Call
- func (_e *SDKClientWrapper_Expecter) GetTransactionResult(context1 interface{}, identifier interface{}) *SDKClientWrapper_GetTransactionResult_Call
- func (_e *SDKClientWrapper_Expecter) SendTransaction(context1 interface{}, transaction interface{}) *SDKClientWrapper_SendTransaction_Call
- type SDKClientWrapper_GetAccountAtLatestBlock_Call
- func (_c *SDKClientWrapper_GetAccountAtLatestBlock_Call) Return(account *flow.Account, err error) *SDKClientWrapper_GetAccountAtLatestBlock_Call
- func (_c *SDKClientWrapper_GetAccountAtLatestBlock_Call) Run(run func(context1 context.Context, address flow.Address)) *SDKClientWrapper_GetAccountAtLatestBlock_Call
- func (_c *SDKClientWrapper_GetAccountAtLatestBlock_Call) RunAndReturn(...) *SDKClientWrapper_GetAccountAtLatestBlock_Call
- type SDKClientWrapper_GetAccount_Call
- func (_c *SDKClientWrapper_GetAccount_Call) Return(account *flow.Account, err error) *SDKClientWrapper_GetAccount_Call
- func (_c *SDKClientWrapper_GetAccount_Call) Run(run func(context1 context.Context, address flow.Address)) *SDKClientWrapper_GetAccount_Call
- func (_c *SDKClientWrapper_GetAccount_Call) RunAndReturn(...) *SDKClientWrapper_GetAccount_Call
- type SDKClientWrapper_GetLatestBlock_Call
- func (_c *SDKClientWrapper_GetLatestBlock_Call) Return(block *flow.Block, err error) *SDKClientWrapper_GetLatestBlock_Call
- func (_c *SDKClientWrapper_GetLatestBlock_Call) Run(run func(context1 context.Context, b bool)) *SDKClientWrapper_GetLatestBlock_Call
- func (_c *SDKClientWrapper_GetLatestBlock_Call) RunAndReturn(run func(context1 context.Context, b bool) (*flow.Block, error)) *SDKClientWrapper_GetLatestBlock_Call
- type SDKClientWrapper_GetTransactionResult_Call
- func (_c *SDKClientWrapper_GetTransactionResult_Call) Return(transactionResult *flow.TransactionResult, err error) *SDKClientWrapper_GetTransactionResult_Call
- func (_c *SDKClientWrapper_GetTransactionResult_Call) Run(run func(context1 context.Context, identifier flow.Identifier)) *SDKClientWrapper_GetTransactionResult_Call
- func (_c *SDKClientWrapper_GetTransactionResult_Call) RunAndReturn(...) *SDKClientWrapper_GetTransactionResult_Call
- type SDKClientWrapper_SendTransaction_Call
- func (_c *SDKClientWrapper_SendTransaction_Call) Return(err error) *SDKClientWrapper_SendTransaction_Call
- func (_c *SDKClientWrapper_SendTransaction_Call) Run(run func(context1 context.Context, transaction flow.Transaction)) *SDKClientWrapper_SendTransaction_Call
- func (_c *SDKClientWrapper_SendTransaction_Call) RunAndReturn(run func(context1 context.Context, transaction flow.Transaction) error) *SDKClientWrapper_SendTransaction_Call
- type SealValidator
- type SealValidator_Expecter
- type SealValidator_Validate_Call
- func (_c *SealValidator_Validate_Call) Return(seal *flow.Seal, err error) *SealValidator_Validate_Call
- func (_c *SealValidator_Validate_Call) Run(run func(candidate *flow.Block)) *SealValidator_Validate_Call
- func (_c *SealValidator_Validate_Call) RunAndReturn(run func(candidate *flow.Block) (*flow.Seal, error)) *SealValidator_Validate_Call
- type SealingConfigsGetter
- func (_mock *SealingConfigsGetter) ApprovalRequestsThresholdConst() uint64
- func (_mock *SealingConfigsGetter) ChunkAlphaConst() uint
- func (_m *SealingConfigsGetter) EXPECT() *SealingConfigsGetter_Expecter
- func (_mock *SealingConfigsGetter) EmergencySealingActiveConst() bool
- func (_mock *SealingConfigsGetter) RequireApprovalsForSealConstructionDynamicValue() uint
- func (_mock *SealingConfigsGetter) RequireApprovalsForSealVerificationConst() uint
- type SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
- func (_c *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) Return(v uint64) *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
- func (_c *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) Run(run func()) *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
- func (_c *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) RunAndReturn(run func() uint64) *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
- type SealingConfigsGetter_ChunkAlphaConst_Call
- func (_c *SealingConfigsGetter_ChunkAlphaConst_Call) Return(v uint) *SealingConfigsGetter_ChunkAlphaConst_Call
- func (_c *SealingConfigsGetter_ChunkAlphaConst_Call) Run(run func()) *SealingConfigsGetter_ChunkAlphaConst_Call
- func (_c *SealingConfigsGetter_ChunkAlphaConst_Call) RunAndReturn(run func() uint) *SealingConfigsGetter_ChunkAlphaConst_Call
- type SealingConfigsGetter_EmergencySealingActiveConst_Call
- func (_c *SealingConfigsGetter_EmergencySealingActiveConst_Call) Return(b bool) *SealingConfigsGetter_EmergencySealingActiveConst_Call
- func (_c *SealingConfigsGetter_EmergencySealingActiveConst_Call) Run(run func()) *SealingConfigsGetter_EmergencySealingActiveConst_Call
- func (_c *SealingConfigsGetter_EmergencySealingActiveConst_Call) RunAndReturn(run func() bool) *SealingConfigsGetter_EmergencySealingActiveConst_Call
- type SealingConfigsGetter_Expecter
- func (_e *SealingConfigsGetter_Expecter) ApprovalRequestsThresholdConst() *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
- func (_e *SealingConfigsGetter_Expecter) ChunkAlphaConst() *SealingConfigsGetter_ChunkAlphaConst_Call
- func (_e *SealingConfigsGetter_Expecter) EmergencySealingActiveConst() *SealingConfigsGetter_EmergencySealingActiveConst_Call
- func (_e *SealingConfigsGetter_Expecter) RequireApprovalsForSealConstructionDynamicValue() *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_e *SealingConfigsGetter_Expecter) RequireApprovalsForSealVerificationConst() *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
- type SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_c *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) Return(v uint) *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_c *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) Run(run func()) *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_c *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) RunAndReturn(run func() uint) *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
- type SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
- func (_c *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) Return(v uint) *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
- func (_c *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) Run(run func()) *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
- func (_c *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn(run func() uint) *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
- type SealingConfigsSetter
- func (_mock *SealingConfigsSetter) ApprovalRequestsThresholdConst() uint64
- func (_mock *SealingConfigsSetter) ChunkAlphaConst() uint
- func (_m *SealingConfigsSetter) EXPECT() *SealingConfigsSetter_Expecter
- func (_mock *SealingConfigsSetter) EmergencySealingActiveConst() bool
- func (_mock *SealingConfigsSetter) RequireApprovalsForSealConstructionDynamicValue() uint
- func (_mock *SealingConfigsSetter) RequireApprovalsForSealVerificationConst() uint
- func (_mock *SealingConfigsSetter) SetRequiredApprovalsForSealingConstruction(newVal uint) error
- type SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
- func (_c *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) Return(v uint64) *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
- func (_c *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) Run(run func()) *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
- func (_c *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) RunAndReturn(run func() uint64) *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
- type SealingConfigsSetter_ChunkAlphaConst_Call
- func (_c *SealingConfigsSetter_ChunkAlphaConst_Call) Return(v uint) *SealingConfigsSetter_ChunkAlphaConst_Call
- func (_c *SealingConfigsSetter_ChunkAlphaConst_Call) Run(run func()) *SealingConfigsSetter_ChunkAlphaConst_Call
- func (_c *SealingConfigsSetter_ChunkAlphaConst_Call) RunAndReturn(run func() uint) *SealingConfigsSetter_ChunkAlphaConst_Call
- type SealingConfigsSetter_EmergencySealingActiveConst_Call
- func (_c *SealingConfigsSetter_EmergencySealingActiveConst_Call) Return(b bool) *SealingConfigsSetter_EmergencySealingActiveConst_Call
- func (_c *SealingConfigsSetter_EmergencySealingActiveConst_Call) Run(run func()) *SealingConfigsSetter_EmergencySealingActiveConst_Call
- func (_c *SealingConfigsSetter_EmergencySealingActiveConst_Call) RunAndReturn(run func() bool) *SealingConfigsSetter_EmergencySealingActiveConst_Call
- type SealingConfigsSetter_Expecter
- func (_e *SealingConfigsSetter_Expecter) ApprovalRequestsThresholdConst() *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
- func (_e *SealingConfigsSetter_Expecter) ChunkAlphaConst() *SealingConfigsSetter_ChunkAlphaConst_Call
- func (_e *SealingConfigsSetter_Expecter) EmergencySealingActiveConst() *SealingConfigsSetter_EmergencySealingActiveConst_Call
- func (_e *SealingConfigsSetter_Expecter) RequireApprovalsForSealConstructionDynamicValue() *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_e *SealingConfigsSetter_Expecter) RequireApprovalsForSealVerificationConst() *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
- func (_e *SealingConfigsSetter_Expecter) SetRequiredApprovalsForSealingConstruction(newVal interface{}) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
- type SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_c *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) Return(v uint) *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_c *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) Run(run func()) *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
- func (_c *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) RunAndReturn(run func() uint) *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
- type SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
- func (_c *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) Return(v uint) *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
- func (_c *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) Run(run func()) *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
- func (_c *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn(run func() uint) *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
- type SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
- func (_c *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) Return(err error) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
- func (_c *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) Run(run func(newVal uint)) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
- func (_c *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) RunAndReturn(run func(newVal uint) error) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
- type SealingLagRateLimiterConfig
- func (_m *SealingLagRateLimiterConfig) EXPECT() *SealingLagRateLimiterConfig_Expecter
- func (_mock *SealingLagRateLimiterConfig) HalvingInterval() uint
- func (_mock *SealingLagRateLimiterConfig) MaxSealingLag() uint
- func (_mock *SealingLagRateLimiterConfig) MinCollectionSize() uint
- func (_mock *SealingLagRateLimiterConfig) MinSealingLag() uint
- func (_mock *SealingLagRateLimiterConfig) SetHalvingInterval(value uint) error
- func (_mock *SealingLagRateLimiterConfig) SetMaxSealingLag(value uint) error
- func (_mock *SealingLagRateLimiterConfig) SetMinCollectionSize(value uint) error
- func (_mock *SealingLagRateLimiterConfig) SetMinSealingLag(value uint) error
- type SealingLagRateLimiterConfig_Expecter
- func (_e *SealingLagRateLimiterConfig_Expecter) HalvingInterval() *SealingLagRateLimiterConfig_HalvingInterval_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) MaxSealingLag() *SealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) MinCollectionSize() *SealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) MinSealingLag() *SealingLagRateLimiterConfig_MinSealingLag_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) SetHalvingInterval(value interface{}) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) SetMaxSealingLag(value interface{}) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) SetMinCollectionSize(value interface{}) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
- func (_e *SealingLagRateLimiterConfig_Expecter) SetMinSealingLag(value interface{}) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
- type SealingLagRateLimiterConfig_HalvingInterval_Call
- func (_c *SealingLagRateLimiterConfig_HalvingInterval_Call) Return(v uint) *SealingLagRateLimiterConfig_HalvingInterval_Call
- func (_c *SealingLagRateLimiterConfig_HalvingInterval_Call) Run(run func()) *SealingLagRateLimiterConfig_HalvingInterval_Call
- func (_c *SealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_HalvingInterval_Call
- type SealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_MaxSealingLag_Call) Return(v uint) *SealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_MaxSealingLag_Call) Run(run func()) *SealingLagRateLimiterConfig_MaxSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_MaxSealingLag_Call
- type SealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_c *SealingLagRateLimiterConfig_MinCollectionSize_Call) Return(v uint) *SealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_c *SealingLagRateLimiterConfig_MinCollectionSize_Call) Run(run func()) *SealingLagRateLimiterConfig_MinCollectionSize_Call
- func (_c *SealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_MinCollectionSize_Call
- type SealingLagRateLimiterConfig_MinSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_MinSealingLag_Call) Return(v uint) *SealingLagRateLimiterConfig_MinSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_MinSealingLag_Call) Run(run func()) *SealingLagRateLimiterConfig_MinSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_MinSealingLag_Call
- type SealingLagRateLimiterConfig_SetHalvingInterval_Call
- func (_c *SealingLagRateLimiterConfig_SetHalvingInterval_Call) Return(err error) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
- func (_c *SealingLagRateLimiterConfig_SetHalvingInterval_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
- func (_c *SealingLagRateLimiterConfig_SetHalvingInterval_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
- type SealingLagRateLimiterConfig_SetMaxSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Return(err error) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_SetMaxSealingLag_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
- type SealingLagRateLimiterConfig_SetMinCollectionSize_Call
- func (_c *SealingLagRateLimiterConfig_SetMinCollectionSize_Call) Return(err error) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
- func (_c *SealingLagRateLimiterConfig_SetMinCollectionSize_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
- func (_c *SealingLagRateLimiterConfig_SetMinCollectionSize_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
- type SealingLagRateLimiterConfig_SetMinSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_SetMinSealingLag_Call) Return(err error) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_SetMinSealingLag_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
- func (_c *SealingLagRateLimiterConfig_SetMinSealingLag_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
- type Startable
- type Startable_Expecter
- type Startable_Start_Call
- func (_c *Startable_Start_Call) Return() *Startable_Start_Call
- func (_c *Startable_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *Startable_Start_Call
- func (_c *Startable_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *Startable_Start_Call
- type SyncCore
- func (_mock *SyncCore) BatchRequested(batch chainsync.Batch)
- func (_m *SyncCore) EXPECT() *SyncCore_Expecter
- func (_mock *SyncCore) HandleBlock(header *flow.Header) bool
- func (_mock *SyncCore) HandleHeight(final *flow.Header, height uint64)
- func (_mock *SyncCore) RangeRequested(ran chainsync.Range)
- func (_mock *SyncCore) ScanPending(final *flow.Header) ([]chainsync.Range, []chainsync.Batch)
- func (_mock *SyncCore) WithinTolerance(final *flow.Header, height uint64) bool
- type SyncCore_BatchRequested_Call
- func (_c *SyncCore_BatchRequested_Call) Return() *SyncCore_BatchRequested_Call
- func (_c *SyncCore_BatchRequested_Call) Run(run func(batch chainsync.Batch)) *SyncCore_BatchRequested_Call
- func (_c *SyncCore_BatchRequested_Call) RunAndReturn(run func(batch chainsync.Batch)) *SyncCore_BatchRequested_Call
- type SyncCore_Expecter
- func (_e *SyncCore_Expecter) BatchRequested(batch interface{}) *SyncCore_BatchRequested_Call
- func (_e *SyncCore_Expecter) HandleBlock(header interface{}) *SyncCore_HandleBlock_Call
- func (_e *SyncCore_Expecter) HandleHeight(final interface{}, height interface{}) *SyncCore_HandleHeight_Call
- func (_e *SyncCore_Expecter) RangeRequested(ran interface{}) *SyncCore_RangeRequested_Call
- func (_e *SyncCore_Expecter) ScanPending(final interface{}) *SyncCore_ScanPending_Call
- func (_e *SyncCore_Expecter) WithinTolerance(final interface{}, height interface{}) *SyncCore_WithinTolerance_Call
- type SyncCore_HandleBlock_Call
- type SyncCore_HandleHeight_Call
- func (_c *SyncCore_HandleHeight_Call) Return() *SyncCore_HandleHeight_Call
- func (_c *SyncCore_HandleHeight_Call) Run(run func(final *flow.Header, height uint64)) *SyncCore_HandleHeight_Call
- func (_c *SyncCore_HandleHeight_Call) RunAndReturn(run func(final *flow.Header, height uint64)) *SyncCore_HandleHeight_Call
- type SyncCore_RangeRequested_Call
- type SyncCore_ScanPending_Call
- func (_c *SyncCore_ScanPending_Call) Return(ranges []chainsync.Range, batchs []chainsync.Batch) *SyncCore_ScanPending_Call
- func (_c *SyncCore_ScanPending_Call) Run(run func(final *flow.Header)) *SyncCore_ScanPending_Call
- func (_c *SyncCore_ScanPending_Call) RunAndReturn(run func(final *flow.Header) ([]chainsync.Range, []chainsync.Batch)) *SyncCore_ScanPending_Call
- type SyncCore_WithinTolerance_Call
- func (_c *SyncCore_WithinTolerance_Call) Return(b bool) *SyncCore_WithinTolerance_Call
- func (_c *SyncCore_WithinTolerance_Call) Run(run func(final *flow.Header, height uint64)) *SyncCore_WithinTolerance_Call
- func (_c *SyncCore_WithinTolerance_Call) RunAndReturn(run func(final *flow.Header, height uint64) bool) *SyncCore_WithinTolerance_Call
- type ThresholdSignatureInspector
- func (_m *ThresholdSignatureInspector) EXPECT() *ThresholdSignatureInspector_Expecter
- func (_mock *ThresholdSignatureInspector) EnoughShares() bool
- func (_mock *ThresholdSignatureInspector) HasShare(index int) (bool, error)
- func (_mock *ThresholdSignatureInspector) ThresholdSignature() (crypto.Signature, error)
- func (_mock *ThresholdSignatureInspector) TrustedAdd(index int, share crypto.Signature) (bool, error)
- func (_mock *ThresholdSignatureInspector) VerifyAndAdd(index int, share crypto.Signature) (bool, bool, error)
- func (_mock *ThresholdSignatureInspector) VerifyShare(index int, share crypto.Signature) (bool, error)
- func (_mock *ThresholdSignatureInspector) VerifyThresholdSignature(thresholdSignature crypto.Signature) (bool, error)
- type ThresholdSignatureInspector_EnoughShares_Call
- func (_c *ThresholdSignatureInspector_EnoughShares_Call) Return(b bool) *ThresholdSignatureInspector_EnoughShares_Call
- func (_c *ThresholdSignatureInspector_EnoughShares_Call) Run(run func()) *ThresholdSignatureInspector_EnoughShares_Call
- func (_c *ThresholdSignatureInspector_EnoughShares_Call) RunAndReturn(run func() bool) *ThresholdSignatureInspector_EnoughShares_Call
- type ThresholdSignatureInspector_Expecter
- func (_e *ThresholdSignatureInspector_Expecter) EnoughShares() *ThresholdSignatureInspector_EnoughShares_Call
- func (_e *ThresholdSignatureInspector_Expecter) HasShare(index interface{}) *ThresholdSignatureInspector_HasShare_Call
- func (_e *ThresholdSignatureInspector_Expecter) ThresholdSignature() *ThresholdSignatureInspector_ThresholdSignature_Call
- func (_e *ThresholdSignatureInspector_Expecter) TrustedAdd(index interface{}, share interface{}) *ThresholdSignatureInspector_TrustedAdd_Call
- func (_e *ThresholdSignatureInspector_Expecter) VerifyAndAdd(index interface{}, share interface{}) *ThresholdSignatureInspector_VerifyAndAdd_Call
- func (_e *ThresholdSignatureInspector_Expecter) VerifyShare(index interface{}, share interface{}) *ThresholdSignatureInspector_VerifyShare_Call
- func (_e *ThresholdSignatureInspector_Expecter) VerifyThresholdSignature(thresholdSignature interface{}) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
- type ThresholdSignatureInspector_HasShare_Call
- func (_c *ThresholdSignatureInspector_HasShare_Call) Return(b bool, err error) *ThresholdSignatureInspector_HasShare_Call
- func (_c *ThresholdSignatureInspector_HasShare_Call) Run(run func(index int)) *ThresholdSignatureInspector_HasShare_Call
- func (_c *ThresholdSignatureInspector_HasShare_Call) RunAndReturn(run func(index int) (bool, error)) *ThresholdSignatureInspector_HasShare_Call
- type ThresholdSignatureInspector_ThresholdSignature_Call
- func (_c *ThresholdSignatureInspector_ThresholdSignature_Call) Return(signature crypto.Signature, err error) *ThresholdSignatureInspector_ThresholdSignature_Call
- func (_c *ThresholdSignatureInspector_ThresholdSignature_Call) Run(run func()) *ThresholdSignatureInspector_ThresholdSignature_Call
- func (_c *ThresholdSignatureInspector_ThresholdSignature_Call) RunAndReturn(run func() (crypto.Signature, error)) *ThresholdSignatureInspector_ThresholdSignature_Call
- type ThresholdSignatureInspector_TrustedAdd_Call
- func (_c *ThresholdSignatureInspector_TrustedAdd_Call) Return(b bool, err error) *ThresholdSignatureInspector_TrustedAdd_Call
- func (_c *ThresholdSignatureInspector_TrustedAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureInspector_TrustedAdd_Call
- func (_c *ThresholdSignatureInspector_TrustedAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureInspector_TrustedAdd_Call
- type ThresholdSignatureInspector_VerifyAndAdd_Call
- func (_c *ThresholdSignatureInspector_VerifyAndAdd_Call) Return(b bool, b1 bool, err error) *ThresholdSignatureInspector_VerifyAndAdd_Call
- func (_c *ThresholdSignatureInspector_VerifyAndAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureInspector_VerifyAndAdd_Call
- func (_c *ThresholdSignatureInspector_VerifyAndAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, bool, error)) *ThresholdSignatureInspector_VerifyAndAdd_Call
- type ThresholdSignatureInspector_VerifyShare_Call
- func (_c *ThresholdSignatureInspector_VerifyShare_Call) Return(b bool, err error) *ThresholdSignatureInspector_VerifyShare_Call
- func (_c *ThresholdSignatureInspector_VerifyShare_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureInspector_VerifyShare_Call
- func (_c *ThresholdSignatureInspector_VerifyShare_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureInspector_VerifyShare_Call
- type ThresholdSignatureInspector_VerifyThresholdSignature_Call
- func (_c *ThresholdSignatureInspector_VerifyThresholdSignature_Call) Return(b bool, err error) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
- func (_c *ThresholdSignatureInspector_VerifyThresholdSignature_Call) Run(run func(thresholdSignature crypto.Signature)) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
- func (_c *ThresholdSignatureInspector_VerifyThresholdSignature_Call) RunAndReturn(run func(thresholdSignature crypto.Signature) (bool, error)) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
- type ThresholdSignatureParticipant
- func (_m *ThresholdSignatureParticipant) EXPECT() *ThresholdSignatureParticipant_Expecter
- func (_mock *ThresholdSignatureParticipant) EnoughShares() bool
- func (_mock *ThresholdSignatureParticipant) HasShare(index int) (bool, error)
- func (_mock *ThresholdSignatureParticipant) SignShare() (crypto.Signature, error)
- func (_mock *ThresholdSignatureParticipant) ThresholdSignature() (crypto.Signature, error)
- func (_mock *ThresholdSignatureParticipant) TrustedAdd(index int, share crypto.Signature) (bool, error)
- func (_mock *ThresholdSignatureParticipant) VerifyAndAdd(index int, share crypto.Signature) (bool, bool, error)
- func (_mock *ThresholdSignatureParticipant) VerifyShare(index int, share crypto.Signature) (bool, error)
- func (_mock *ThresholdSignatureParticipant) VerifyThresholdSignature(thresholdSignature crypto.Signature) (bool, error)
- type ThresholdSignatureParticipant_EnoughShares_Call
- func (_c *ThresholdSignatureParticipant_EnoughShares_Call) Return(b bool) *ThresholdSignatureParticipant_EnoughShares_Call
- func (_c *ThresholdSignatureParticipant_EnoughShares_Call) Run(run func()) *ThresholdSignatureParticipant_EnoughShares_Call
- func (_c *ThresholdSignatureParticipant_EnoughShares_Call) RunAndReturn(run func() bool) *ThresholdSignatureParticipant_EnoughShares_Call
- type ThresholdSignatureParticipant_Expecter
- func (_e *ThresholdSignatureParticipant_Expecter) EnoughShares() *ThresholdSignatureParticipant_EnoughShares_Call
- func (_e *ThresholdSignatureParticipant_Expecter) HasShare(index interface{}) *ThresholdSignatureParticipant_HasShare_Call
- func (_e *ThresholdSignatureParticipant_Expecter) SignShare() *ThresholdSignatureParticipant_SignShare_Call
- func (_e *ThresholdSignatureParticipant_Expecter) ThresholdSignature() *ThresholdSignatureParticipant_ThresholdSignature_Call
- func (_e *ThresholdSignatureParticipant_Expecter) TrustedAdd(index interface{}, share interface{}) *ThresholdSignatureParticipant_TrustedAdd_Call
- func (_e *ThresholdSignatureParticipant_Expecter) VerifyAndAdd(index interface{}, share interface{}) *ThresholdSignatureParticipant_VerifyAndAdd_Call
- func (_e *ThresholdSignatureParticipant_Expecter) VerifyShare(index interface{}, share interface{}) *ThresholdSignatureParticipant_VerifyShare_Call
- func (_e *ThresholdSignatureParticipant_Expecter) VerifyThresholdSignature(thresholdSignature interface{}) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
- type ThresholdSignatureParticipant_HasShare_Call
- func (_c *ThresholdSignatureParticipant_HasShare_Call) Return(b bool, err error) *ThresholdSignatureParticipant_HasShare_Call
- func (_c *ThresholdSignatureParticipant_HasShare_Call) Run(run func(index int)) *ThresholdSignatureParticipant_HasShare_Call
- func (_c *ThresholdSignatureParticipant_HasShare_Call) RunAndReturn(run func(index int) (bool, error)) *ThresholdSignatureParticipant_HasShare_Call
- type ThresholdSignatureParticipant_SignShare_Call
- func (_c *ThresholdSignatureParticipant_SignShare_Call) Return(signature crypto.Signature, err error) *ThresholdSignatureParticipant_SignShare_Call
- func (_c *ThresholdSignatureParticipant_SignShare_Call) Run(run func()) *ThresholdSignatureParticipant_SignShare_Call
- func (_c *ThresholdSignatureParticipant_SignShare_Call) RunAndReturn(run func() (crypto.Signature, error)) *ThresholdSignatureParticipant_SignShare_Call
- type ThresholdSignatureParticipant_ThresholdSignature_Call
- func (_c *ThresholdSignatureParticipant_ThresholdSignature_Call) Return(signature crypto.Signature, err error) *ThresholdSignatureParticipant_ThresholdSignature_Call
- func (_c *ThresholdSignatureParticipant_ThresholdSignature_Call) Run(run func()) *ThresholdSignatureParticipant_ThresholdSignature_Call
- func (_c *ThresholdSignatureParticipant_ThresholdSignature_Call) RunAndReturn(run func() (crypto.Signature, error)) *ThresholdSignatureParticipant_ThresholdSignature_Call
- type ThresholdSignatureParticipant_TrustedAdd_Call
- func (_c *ThresholdSignatureParticipant_TrustedAdd_Call) Return(b bool, err error) *ThresholdSignatureParticipant_TrustedAdd_Call
- func (_c *ThresholdSignatureParticipant_TrustedAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureParticipant_TrustedAdd_Call
- func (_c *ThresholdSignatureParticipant_TrustedAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureParticipant_TrustedAdd_Call
- type ThresholdSignatureParticipant_VerifyAndAdd_Call
- func (_c *ThresholdSignatureParticipant_VerifyAndAdd_Call) Return(b bool, b1 bool, err error) *ThresholdSignatureParticipant_VerifyAndAdd_Call
- func (_c *ThresholdSignatureParticipant_VerifyAndAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureParticipant_VerifyAndAdd_Call
- func (_c *ThresholdSignatureParticipant_VerifyAndAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, bool, error)) *ThresholdSignatureParticipant_VerifyAndAdd_Call
- type ThresholdSignatureParticipant_VerifyShare_Call
- func (_c *ThresholdSignatureParticipant_VerifyShare_Call) Return(b bool, err error) *ThresholdSignatureParticipant_VerifyShare_Call
- func (_c *ThresholdSignatureParticipant_VerifyShare_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureParticipant_VerifyShare_Call
- func (_c *ThresholdSignatureParticipant_VerifyShare_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureParticipant_VerifyShare_Call
- type ThresholdSignatureParticipant_VerifyThresholdSignature_Call
- func (_c *ThresholdSignatureParticipant_VerifyThresholdSignature_Call) Return(b bool, err error) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
- func (_c *ThresholdSignatureParticipant_VerifyThresholdSignature_Call) Run(run func(thresholdSignature crypto.Signature)) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
- func (_c *ThresholdSignatureParticipant_VerifyThresholdSignature_Call) RunAndReturn(run func(thresholdSignature crypto.Signature) (bool, error)) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
- type Tracer
- func (_mock *Tracer) BlockRootSpan(blockID flow.Identifier) trace.Span
- func (_mock *Tracer) Done() <-chan struct{}
- func (_m *Tracer) EXPECT() *Tracer_Expecter
- func (_mock *Tracer) Ready() <-chan struct{}
- func (_mock *Tracer) ShouldSample(entityID flow.Identifier) bool
- func (_mock *Tracer) StartBlockSpan(ctx context.Context, blockID flow.Identifier, spanName trace0.SpanName, ...) (trace.Span, context.Context)
- func (_mock *Tracer) StartCollectionSpan(ctx context.Context, collectionID flow.Identifier, spanName trace0.SpanName, ...) (trace.Span, context.Context)
- func (_mock *Tracer) StartSampledSpanFromParent(parentSpan trace.Span, entityID flow.Identifier, operationName trace0.SpanName, ...) trace.Span
- func (_mock *Tracer) StartSpanFromContext(ctx context.Context, operationName trace0.SpanName, ...) (trace.Span, context.Context)
- func (_mock *Tracer) StartSpanFromParent(parentSpan trace.Span, operationName trace0.SpanName, ...) trace.Span
- func (_mock *Tracer) StartTransactionSpan(ctx context.Context, transactionID flow.Identifier, spanName trace0.SpanName, ...) (trace.Span, context.Context)
- func (_mock *Tracer) WithSpanFromContext(ctx context.Context, operationName trace0.SpanName, f func(), ...)
- type Tracer_BlockRootSpan_Call
- func (_c *Tracer_BlockRootSpan_Call) Return(span trace.Span) *Tracer_BlockRootSpan_Call
- func (_c *Tracer_BlockRootSpan_Call) Run(run func(blockID flow.Identifier)) *Tracer_BlockRootSpan_Call
- func (_c *Tracer_BlockRootSpan_Call) RunAndReturn(run func(blockID flow.Identifier) trace.Span) *Tracer_BlockRootSpan_Call
- type Tracer_Done_Call
- type Tracer_Expecter
- func (_e *Tracer_Expecter) BlockRootSpan(blockID interface{}) *Tracer_BlockRootSpan_Call
- func (_e *Tracer_Expecter) Done() *Tracer_Done_Call
- func (_e *Tracer_Expecter) Ready() *Tracer_Ready_Call
- func (_e *Tracer_Expecter) ShouldSample(entityID interface{}) *Tracer_ShouldSample_Call
- func (_e *Tracer_Expecter) StartBlockSpan(ctx interface{}, blockID interface{}, spanName interface{}, ...) *Tracer_StartBlockSpan_Call
- func (_e *Tracer_Expecter) StartCollectionSpan(ctx interface{}, collectionID interface{}, spanName interface{}, ...) *Tracer_StartCollectionSpan_Call
- func (_e *Tracer_Expecter) StartSampledSpanFromParent(parentSpan interface{}, entityID interface{}, operationName interface{}, ...) *Tracer_StartSampledSpanFromParent_Call
- func (_e *Tracer_Expecter) StartSpanFromContext(ctx interface{}, operationName interface{}, opts ...interface{}) *Tracer_StartSpanFromContext_Call
- func (_e *Tracer_Expecter) StartSpanFromParent(parentSpan interface{}, operationName interface{}, opts ...interface{}) *Tracer_StartSpanFromParent_Call
- func (_e *Tracer_Expecter) StartTransactionSpan(ctx interface{}, transactionID interface{}, spanName interface{}, ...) *Tracer_StartTransactionSpan_Call
- func (_e *Tracer_Expecter) WithSpanFromContext(ctx interface{}, operationName interface{}, f interface{}, opts ...interface{}) *Tracer_WithSpanFromContext_Call
- type Tracer_Ready_Call
- type Tracer_ShouldSample_Call
- type Tracer_StartBlockSpan_Call
- type Tracer_StartCollectionSpan_Call
- func (_c *Tracer_StartCollectionSpan_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartCollectionSpan_Call
- func (_c *Tracer_StartCollectionSpan_Call) Run(...) *Tracer_StartCollectionSpan_Call
- func (_c *Tracer_StartCollectionSpan_Call) RunAndReturn(...) *Tracer_StartCollectionSpan_Call
- type Tracer_StartSampledSpanFromParent_Call
- func (_c *Tracer_StartSampledSpanFromParent_Call) Return(span trace.Span) *Tracer_StartSampledSpanFromParent_Call
- func (_c *Tracer_StartSampledSpanFromParent_Call) Run(...) *Tracer_StartSampledSpanFromParent_Call
- func (_c *Tracer_StartSampledSpanFromParent_Call) RunAndReturn(...) *Tracer_StartSampledSpanFromParent_Call
- type Tracer_StartSpanFromContext_Call
- func (_c *Tracer_StartSpanFromContext_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartSpanFromContext_Call
- func (_c *Tracer_StartSpanFromContext_Call) Run(run func(ctx context.Context, operationName trace0.SpanName, ...)) *Tracer_StartSpanFromContext_Call
- func (_c *Tracer_StartSpanFromContext_Call) RunAndReturn(...) *Tracer_StartSpanFromContext_Call
- type Tracer_StartSpanFromParent_Call
- func (_c *Tracer_StartSpanFromParent_Call) Return(span trace.Span) *Tracer_StartSpanFromParent_Call
- func (_c *Tracer_StartSpanFromParent_Call) Run(run func(parentSpan trace.Span, operationName trace0.SpanName, ...)) *Tracer_StartSpanFromParent_Call
- func (_c *Tracer_StartSpanFromParent_Call) RunAndReturn(run func(parentSpan trace.Span, operationName trace0.SpanName, ...) trace.Span) *Tracer_StartSpanFromParent_Call
- type Tracer_StartTransactionSpan_Call
- func (_c *Tracer_StartTransactionSpan_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartTransactionSpan_Call
- func (_c *Tracer_StartTransactionSpan_Call) Run(...) *Tracer_StartTransactionSpan_Call
- func (_c *Tracer_StartTransactionSpan_Call) RunAndReturn(...) *Tracer_StartTransactionSpan_Call
- type Tracer_WithSpanFromContext_Call
- func (_c *Tracer_WithSpanFromContext_Call) Return() *Tracer_WithSpanFromContext_Call
- func (_c *Tracer_WithSpanFromContext_Call) Run(run func(ctx context.Context, operationName trace0.SpanName, f func(), ...)) *Tracer_WithSpanFromContext_Call
- func (_c *Tracer_WithSpanFromContext_Call) RunAndReturn(run func(ctx context.Context, operationName trace0.SpanName, f func(), ...)) *Tracer_WithSpanFromContext_Call
- type TransactionErrorMessagesMetrics
- func (_m *TransactionErrorMessagesMetrics) EXPECT() *TransactionErrorMessagesMetrics_Expecter
- func (_mock *TransactionErrorMessagesMetrics) TxErrorsFetchFinished(duration time.Duration, success bool, height uint64)
- func (_mock *TransactionErrorMessagesMetrics) TxErrorsFetchRetried()
- func (_mock *TransactionErrorMessagesMetrics) TxErrorsFetchStarted()
- func (_mock *TransactionErrorMessagesMetrics) TxErrorsInitialHeight(height uint64)
- type TransactionErrorMessagesMetrics_Expecter
- func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchFinished(duration interface{}, success interface{}, height interface{}) *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
- func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchRetried() *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
- func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchStarted() *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
- func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsInitialHeight(height interface{}) *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
- type TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) Return() *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) Run(run func(duration time.Duration, success bool, height uint64)) *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) RunAndReturn(run func(duration time.Duration, success bool, height uint64)) *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
- type TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) Return() *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) Run(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) RunAndReturn(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
- type TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) Return() *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) Run(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) RunAndReturn(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
- type TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) Return() *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) Run(run func(height uint64)) *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
- func (_c *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) RunAndReturn(run func(height uint64)) *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
- type TransactionMetrics
- func (_m *TransactionMetrics) EXPECT() *TransactionMetrics_Expecter
- func (_mock *TransactionMetrics) TransactionExecuted(txID flow.Identifier, when time.Time)
- func (_mock *TransactionMetrics) TransactionExpired(txID flow.Identifier)
- func (_mock *TransactionMetrics) TransactionFinalized(txID flow.Identifier, when time.Time)
- func (_mock *TransactionMetrics) TransactionReceived(txID flow.Identifier, when time.Time)
- func (_mock *TransactionMetrics) TransactionResultFetched(dur time.Duration, size int)
- func (_mock *TransactionMetrics) TransactionSealed(txID flow.Identifier, when time.Time)
- func (_mock *TransactionMetrics) TransactionSubmissionFailed()
- type TransactionMetrics_Expecter
- func (_e *TransactionMetrics_Expecter) TransactionExecuted(txID interface{}, when interface{}) *TransactionMetrics_TransactionExecuted_Call
- func (_e *TransactionMetrics_Expecter) TransactionExpired(txID interface{}) *TransactionMetrics_TransactionExpired_Call
- func (_e *TransactionMetrics_Expecter) TransactionFinalized(txID interface{}, when interface{}) *TransactionMetrics_TransactionFinalized_Call
- func (_e *TransactionMetrics_Expecter) TransactionReceived(txID interface{}, when interface{}) *TransactionMetrics_TransactionReceived_Call
- func (_e *TransactionMetrics_Expecter) TransactionResultFetched(dur interface{}, size interface{}) *TransactionMetrics_TransactionResultFetched_Call
- func (_e *TransactionMetrics_Expecter) TransactionSealed(txID interface{}, when interface{}) *TransactionMetrics_TransactionSealed_Call
- func (_e *TransactionMetrics_Expecter) TransactionSubmissionFailed() *TransactionMetrics_TransactionSubmissionFailed_Call
- type TransactionMetrics_TransactionExecuted_Call
- func (_c *TransactionMetrics_TransactionExecuted_Call) Return() *TransactionMetrics_TransactionExecuted_Call
- func (_c *TransactionMetrics_TransactionExecuted_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionExecuted_Call
- func (_c *TransactionMetrics_TransactionExecuted_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionExecuted_Call
- type TransactionMetrics_TransactionExpired_Call
- func (_c *TransactionMetrics_TransactionExpired_Call) Return() *TransactionMetrics_TransactionExpired_Call
- func (_c *TransactionMetrics_TransactionExpired_Call) Run(run func(txID flow.Identifier)) *TransactionMetrics_TransactionExpired_Call
- func (_c *TransactionMetrics_TransactionExpired_Call) RunAndReturn(run func(txID flow.Identifier)) *TransactionMetrics_TransactionExpired_Call
- type TransactionMetrics_TransactionFinalized_Call
- func (_c *TransactionMetrics_TransactionFinalized_Call) Return() *TransactionMetrics_TransactionFinalized_Call
- func (_c *TransactionMetrics_TransactionFinalized_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionFinalized_Call
- func (_c *TransactionMetrics_TransactionFinalized_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionFinalized_Call
- type TransactionMetrics_TransactionReceived_Call
- func (_c *TransactionMetrics_TransactionReceived_Call) Return() *TransactionMetrics_TransactionReceived_Call
- func (_c *TransactionMetrics_TransactionReceived_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionReceived_Call
- func (_c *TransactionMetrics_TransactionReceived_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionReceived_Call
- type TransactionMetrics_TransactionResultFetched_Call
- func (_c *TransactionMetrics_TransactionResultFetched_Call) Return() *TransactionMetrics_TransactionResultFetched_Call
- func (_c *TransactionMetrics_TransactionResultFetched_Call) Run(run func(dur time.Duration, size int)) *TransactionMetrics_TransactionResultFetched_Call
- func (_c *TransactionMetrics_TransactionResultFetched_Call) RunAndReturn(run func(dur time.Duration, size int)) *TransactionMetrics_TransactionResultFetched_Call
- type TransactionMetrics_TransactionSealed_Call
- func (_c *TransactionMetrics_TransactionSealed_Call) Return() *TransactionMetrics_TransactionSealed_Call
- func (_c *TransactionMetrics_TransactionSealed_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionSealed_Call
- func (_c *TransactionMetrics_TransactionSealed_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionSealed_Call
- type TransactionMetrics_TransactionSubmissionFailed_Call
- func (_c *TransactionMetrics_TransactionSubmissionFailed_Call) Return() *TransactionMetrics_TransactionSubmissionFailed_Call
- func (_c *TransactionMetrics_TransactionSubmissionFailed_Call) Run(run func()) *TransactionMetrics_TransactionSubmissionFailed_Call
- func (_c *TransactionMetrics_TransactionSubmissionFailed_Call) RunAndReturn(run func()) *TransactionMetrics_TransactionSubmissionFailed_Call
- type TransactionValidationMetrics
- func (_m *TransactionValidationMetrics) EXPECT() *TransactionValidationMetrics_Expecter
- func (_mock *TransactionValidationMetrics) TransactionValidated()
- func (_mock *TransactionValidationMetrics) TransactionValidationFailed(reason string)
- func (_mock *TransactionValidationMetrics) TransactionValidationSkipped()
- type TransactionValidationMetrics_Expecter
- func (_e *TransactionValidationMetrics_Expecter) TransactionValidated() *TransactionValidationMetrics_TransactionValidated_Call
- func (_e *TransactionValidationMetrics_Expecter) TransactionValidationFailed(reason interface{}) *TransactionValidationMetrics_TransactionValidationFailed_Call
- func (_e *TransactionValidationMetrics_Expecter) TransactionValidationSkipped() *TransactionValidationMetrics_TransactionValidationSkipped_Call
- type TransactionValidationMetrics_TransactionValidated_Call
- func (_c *TransactionValidationMetrics_TransactionValidated_Call) Return() *TransactionValidationMetrics_TransactionValidated_Call
- func (_c *TransactionValidationMetrics_TransactionValidated_Call) Run(run func()) *TransactionValidationMetrics_TransactionValidated_Call
- func (_c *TransactionValidationMetrics_TransactionValidated_Call) RunAndReturn(run func()) *TransactionValidationMetrics_TransactionValidated_Call
- type TransactionValidationMetrics_TransactionValidationFailed_Call
- func (_c *TransactionValidationMetrics_TransactionValidationFailed_Call) Return() *TransactionValidationMetrics_TransactionValidationFailed_Call
- func (_c *TransactionValidationMetrics_TransactionValidationFailed_Call) Run(run func(reason string)) *TransactionValidationMetrics_TransactionValidationFailed_Call
- func (_c *TransactionValidationMetrics_TransactionValidationFailed_Call) RunAndReturn(run func(reason string)) *TransactionValidationMetrics_TransactionValidationFailed_Call
- type TransactionValidationMetrics_TransactionValidationSkipped_Call
- func (_c *TransactionValidationMetrics_TransactionValidationSkipped_Call) Return() *TransactionValidationMetrics_TransactionValidationSkipped_Call
- func (_c *TransactionValidationMetrics_TransactionValidationSkipped_Call) Run(run func()) *TransactionValidationMetrics_TransactionValidationSkipped_Call
- func (_c *TransactionValidationMetrics_TransactionValidationSkipped_Call) RunAndReturn(run func()) *TransactionValidationMetrics_TransactionValidationSkipped_Call
- type UnicastManagerMetrics
- func (_m *UnicastManagerMetrics) EXPECT() *UnicastManagerMetrics_Expecter
- func (_mock *UnicastManagerMetrics) OnDialRetryBudgetResetToDefault()
- func (_mock *UnicastManagerMetrics) OnDialRetryBudgetUpdated(budget uint64)
- func (_mock *UnicastManagerMetrics) OnEstablishStreamFailure(duration time.Duration, attempts int)
- func (_mock *UnicastManagerMetrics) OnPeerDialFailure(duration time.Duration, attempts int)
- func (_mock *UnicastManagerMetrics) OnPeerDialed(duration time.Duration, attempts int)
- func (_mock *UnicastManagerMetrics) OnStreamCreated(duration time.Duration, attempts int)
- func (_mock *UnicastManagerMetrics) OnStreamCreationFailure(duration time.Duration, attempts int)
- func (_mock *UnicastManagerMetrics) OnStreamCreationRetryBudgetResetToDefault()
- func (_mock *UnicastManagerMetrics) OnStreamCreationRetryBudgetUpdated(budget uint64)
- func (_mock *UnicastManagerMetrics) OnStreamEstablished(duration time.Duration, attempts int)
- type UnicastManagerMetrics_Expecter
- func (_e *UnicastManagerMetrics_Expecter) OnDialRetryBudgetResetToDefault() *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_e *UnicastManagerMetrics_Expecter) OnDialRetryBudgetUpdated(budget interface{}) *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
- func (_e *UnicastManagerMetrics_Expecter) OnEstablishStreamFailure(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnEstablishStreamFailure_Call
- func (_e *UnicastManagerMetrics_Expecter) OnPeerDialFailure(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnPeerDialFailure_Call
- func (_e *UnicastManagerMetrics_Expecter) OnPeerDialed(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnPeerDialed_Call
- func (_e *UnicastManagerMetrics_Expecter) OnStreamCreated(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnStreamCreated_Call
- func (_e *UnicastManagerMetrics_Expecter) OnStreamCreationFailure(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnStreamCreationFailure_Call
- func (_e *UnicastManagerMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault() *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_e *UnicastManagerMetrics_Expecter) OnStreamCreationRetryBudgetUpdated(budget interface{}) *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_e *UnicastManagerMetrics_Expecter) OnStreamEstablished(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnStreamEstablished_Call
- type UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) Return() *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) Run(run func()) *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
- func (_c *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
- type UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) Return() *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) Run(run func(budget uint64)) *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
- func (_c *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
- type UnicastManagerMetrics_OnEstablishStreamFailure_Call
- func (_c *UnicastManagerMetrics_OnEstablishStreamFailure_Call) Return() *UnicastManagerMetrics_OnEstablishStreamFailure_Call
- func (_c *UnicastManagerMetrics_OnEstablishStreamFailure_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnEstablishStreamFailure_Call
- func (_c *UnicastManagerMetrics_OnEstablishStreamFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnEstablishStreamFailure_Call
- type UnicastManagerMetrics_OnPeerDialFailure_Call
- func (_c *UnicastManagerMetrics_OnPeerDialFailure_Call) Return() *UnicastManagerMetrics_OnPeerDialFailure_Call
- func (_c *UnicastManagerMetrics_OnPeerDialFailure_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialFailure_Call
- func (_c *UnicastManagerMetrics_OnPeerDialFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialFailure_Call
- type UnicastManagerMetrics_OnPeerDialed_Call
- func (_c *UnicastManagerMetrics_OnPeerDialed_Call) Return() *UnicastManagerMetrics_OnPeerDialed_Call
- func (_c *UnicastManagerMetrics_OnPeerDialed_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialed_Call
- func (_c *UnicastManagerMetrics_OnPeerDialed_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialed_Call
- type UnicastManagerMetrics_OnStreamCreated_Call
- func (_c *UnicastManagerMetrics_OnStreamCreated_Call) Return() *UnicastManagerMetrics_OnStreamCreated_Call
- func (_c *UnicastManagerMetrics_OnStreamCreated_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreated_Call
- func (_c *UnicastManagerMetrics_OnStreamCreated_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreated_Call
- type UnicastManagerMetrics_OnStreamCreationFailure_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationFailure_Call) Return() *UnicastManagerMetrics_OnStreamCreationFailure_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationFailure_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreationFailure_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreationFailure_Call
- type UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Return() *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Run(run func()) *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
- type UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) Return() *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run(run func(budget uint64)) *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
- func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
- type UnicastManagerMetrics_OnStreamEstablished_Call
- func (_c *UnicastManagerMetrics_OnStreamEstablished_Call) Return() *UnicastManagerMetrics_OnStreamEstablished_Call
- func (_c *UnicastManagerMetrics_OnStreamEstablished_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamEstablished_Call
- func (_c *UnicastManagerMetrics_OnStreamEstablished_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamEstablished_Call
- type VerificationMetrics
- func (_m *VerificationMetrics) EXPECT() *VerificationMetrics_Expecter
- func (_mock *VerificationMetrics) OnAssignedChunkProcessedAtAssigner()
- func (_mock *VerificationMetrics) OnAssignedChunkReceivedAtFetcher()
- func (_mock *VerificationMetrics) OnBlockConsumerJobDone(v uint64)
- func (_mock *VerificationMetrics) OnChunkConsumerJobDone(v uint64)
- func (_mock *VerificationMetrics) OnChunkDataPackArrivedAtFetcher()
- func (_mock *VerificationMetrics) OnChunkDataPackRequestDispatchedInNetworkByRequester()
- func (_mock *VerificationMetrics) OnChunkDataPackRequestReceivedByRequester()
- func (_mock *VerificationMetrics) OnChunkDataPackRequestSentByFetcher()
- func (_mock *VerificationMetrics) OnChunkDataPackResponseReceivedFromNetworkByRequester()
- func (_mock *VerificationMetrics) OnChunkDataPackSentToFetcher()
- func (_mock *VerificationMetrics) OnChunksAssignmentDoneAtAssigner(chunks int)
- func (_mock *VerificationMetrics) OnExecutionResultReceivedAtAssignerEngine()
- func (_mock *VerificationMetrics) OnFinalizedBlockArrivedAtAssigner(height uint64)
- func (_mock *VerificationMetrics) OnResultApprovalDispatchedInNetworkByVerifier()
- func (_mock *VerificationMetrics) OnVerifiableChunkReceivedAtVerifierEngine()
- func (_mock *VerificationMetrics) OnVerifiableChunkSentToVerifier()
- func (_mock *VerificationMetrics) SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester(attempts uint64)
- type VerificationMetrics_Expecter
- func (_e *VerificationMetrics_Expecter) OnAssignedChunkProcessedAtAssigner() *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
- func (_e *VerificationMetrics_Expecter) OnAssignedChunkReceivedAtFetcher() *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
- func (_e *VerificationMetrics_Expecter) OnBlockConsumerJobDone(v interface{}) *VerificationMetrics_OnBlockConsumerJobDone_Call
- func (_e *VerificationMetrics_Expecter) OnChunkConsumerJobDone(v interface{}) *VerificationMetrics_OnChunkConsumerJobDone_Call
- func (_e *VerificationMetrics_Expecter) OnChunkDataPackArrivedAtFetcher() *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
- func (_e *VerificationMetrics_Expecter) OnChunkDataPackRequestDispatchedInNetworkByRequester() *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call
- func (_e *VerificationMetrics_Expecter) OnChunkDataPackRequestReceivedByRequester() *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
- func (_e *VerificationMetrics_Expecter) OnChunkDataPackRequestSentByFetcher() *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
- func (_e *VerificationMetrics_Expecter) OnChunkDataPackResponseReceivedFromNetworkByRequester() ...
- func (_e *VerificationMetrics_Expecter) OnChunkDataPackSentToFetcher() *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
- func (_e *VerificationMetrics_Expecter) OnChunksAssignmentDoneAtAssigner(chunks interface{}) *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
- func (_e *VerificationMetrics_Expecter) OnExecutionResultReceivedAtAssignerEngine() *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
- func (_e *VerificationMetrics_Expecter) OnFinalizedBlockArrivedAtAssigner(height interface{}) *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
- func (_e *VerificationMetrics_Expecter) OnResultApprovalDispatchedInNetworkByVerifier() *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
- func (_e *VerificationMetrics_Expecter) OnVerifiableChunkReceivedAtVerifierEngine() *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
- func (_e *VerificationMetrics_Expecter) OnVerifiableChunkSentToVerifier() *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
- func (_e *VerificationMetrics_Expecter) SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester(attempts interface{}) ...
- type VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
- func (_c *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) Return() *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
- func (_c *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) Run(run func()) *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
- func (_c *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) RunAndReturn(run func()) *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
- type VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
- func (_c *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) Return() *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
- func (_c *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) Run(run func()) *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
- func (_c *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
- type VerificationMetrics_OnBlockConsumerJobDone_Call
- func (_c *VerificationMetrics_OnBlockConsumerJobDone_Call) Return() *VerificationMetrics_OnBlockConsumerJobDone_Call
- func (_c *VerificationMetrics_OnBlockConsumerJobDone_Call) Run(run func(v uint64)) *VerificationMetrics_OnBlockConsumerJobDone_Call
- func (_c *VerificationMetrics_OnBlockConsumerJobDone_Call) RunAndReturn(run func(v uint64)) *VerificationMetrics_OnBlockConsumerJobDone_Call
- type VerificationMetrics_OnChunkConsumerJobDone_Call
- func (_c *VerificationMetrics_OnChunkConsumerJobDone_Call) Return() *VerificationMetrics_OnChunkConsumerJobDone_Call
- func (_c *VerificationMetrics_OnChunkConsumerJobDone_Call) Run(run func(v uint64)) *VerificationMetrics_OnChunkConsumerJobDone_Call
- func (_c *VerificationMetrics_OnChunkConsumerJobDone_Call) RunAndReturn(run func(v uint64)) *VerificationMetrics_OnChunkConsumerJobDone_Call
- type VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) Return() *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
- type VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call) Return() *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call
- type VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) Return() *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
- type VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) Return() *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
- type VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call
- func (_c *VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call) Return() ...
- func (_c *VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call) Run(run func()) ...
- func (_c *VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call) RunAndReturn(run func()) ...
- type VerificationMetrics_OnChunkDataPackSentToFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackSentToFetcher_Call) Return() *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackSentToFetcher_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
- func (_c *VerificationMetrics_OnChunkDataPackSentToFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
- type VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
- func (_c *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) Return() *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
- func (_c *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) Run(run func(chunks int)) *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
- func (_c *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) RunAndReturn(run func(chunks int)) *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
- type VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
- func (_c *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) Return() *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
- func (_c *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) Run(run func()) *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
- func (_c *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) RunAndReturn(run func()) *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
- type VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
- func (_c *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) Return() *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
- func (_c *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) Run(run func(height uint64)) *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
- func (_c *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) RunAndReturn(run func(height uint64)) *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
- type VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
- func (_c *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) Return() *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
- func (_c *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) Run(run func()) *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
- func (_c *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) RunAndReturn(run func()) *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
- type VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
- func (_c *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) Return() *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
- func (_c *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) Run(run func()) *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
- func (_c *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) RunAndReturn(run func()) *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
- type VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
- func (_c *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) Return() *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
- func (_c *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) Run(run func()) *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
- func (_c *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) RunAndReturn(run func()) *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
- type VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call
- func (_c *VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) Return() ...
- func (_c *VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) Run(run func(attempts uint64)) ...
- func (_c *VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) RunAndReturn(run func(attempts uint64)) ...
- type WALMetrics
- type WALMetrics_ExecutionCheckpointSize_Call
- func (_c *WALMetrics_ExecutionCheckpointSize_Call) Return() *WALMetrics_ExecutionCheckpointSize_Call
- func (_c *WALMetrics_ExecutionCheckpointSize_Call) Run(run func(bytes uint64)) *WALMetrics_ExecutionCheckpointSize_Call
- func (_c *WALMetrics_ExecutionCheckpointSize_Call) RunAndReturn(run func(bytes uint64)) *WALMetrics_ExecutionCheckpointSize_Call
- type WALMetrics_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessMetrics ¶ added in v0.26.16
AccessMetrics is an autogenerated mock type for the AccessMetrics type
func NewAccessMetrics ¶ added in v0.26.16
func NewAccessMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *AccessMetrics
NewAccessMetrics creates a new instance of AccessMetrics. 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 (*AccessMetrics) AddInflightRequests ¶ added in v0.31.0
func (_mock *AccessMetrics) AddInflightRequests(ctx context.Context, props metrics.HTTPProperties, quantity int)
AddInflightRequests provides a mock function for the type AccessMetrics
func (*AccessMetrics) AddTotalRequests ¶ added in v0.31.0
func (_mock *AccessMetrics) AddTotalRequests(ctx context.Context, method string, routeName string)
AddTotalRequests provides a mock function for the type AccessMetrics
func (*AccessMetrics) ConnectionAddedToPool ¶ added in v0.26.17
func (_mock *AccessMetrics) ConnectionAddedToPool()
ConnectionAddedToPool provides a mock function for the type AccessMetrics
func (*AccessMetrics) ConnectionFromPoolEvicted ¶ added in v0.26.17
func (_mock *AccessMetrics) ConnectionFromPoolEvicted()
ConnectionFromPoolEvicted provides a mock function for the type AccessMetrics
func (*AccessMetrics) ConnectionFromPoolInvalidated ¶ added in v0.26.17
func (_mock *AccessMetrics) ConnectionFromPoolInvalidated()
ConnectionFromPoolInvalidated provides a mock function for the type AccessMetrics
func (*AccessMetrics) ConnectionFromPoolReused ¶ added in v0.26.17
func (_mock *AccessMetrics) ConnectionFromPoolReused()
ConnectionFromPoolReused provides a mock function for the type AccessMetrics
func (*AccessMetrics) ConnectionFromPoolUpdated ¶ added in v0.26.17
func (_mock *AccessMetrics) ConnectionFromPoolUpdated()
ConnectionFromPoolUpdated provides a mock function for the type AccessMetrics
func (*AccessMetrics) EXPECT ¶ added in v0.46.0
func (_m *AccessMetrics) EXPECT() *AccessMetrics_Expecter
func (*AccessMetrics) NewConnectionEstablished ¶ added in v0.26.17
func (_mock *AccessMetrics) NewConnectionEstablished()
NewConnectionEstablished provides a mock function for the type AccessMetrics
func (*AccessMetrics) ObserveHTTPRequestDuration ¶ added in v0.31.0
func (_mock *AccessMetrics) ObserveHTTPRequestDuration(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)
ObserveHTTPRequestDuration provides a mock function for the type AccessMetrics
func (*AccessMetrics) ObserveHTTPResponseSize ¶ added in v0.31.0
func (_mock *AccessMetrics) ObserveHTTPResponseSize(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)
ObserveHTTPResponseSize provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecuted ¶ added in v0.31.0
func (_mock *AccessMetrics) ScriptExecuted(dur time.Duration, size int)
ScriptExecuted provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionErrorLocal ¶ added in v0.32.2
func (_mock *AccessMetrics) ScriptExecutionErrorLocal()
ScriptExecutionErrorLocal provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionErrorMatch ¶ added in v0.32.0
func (_mock *AccessMetrics) ScriptExecutionErrorMatch()
ScriptExecutionErrorMatch provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionErrorMismatch ¶ added in v0.32.0
func (_mock *AccessMetrics) ScriptExecutionErrorMismatch()
ScriptExecutionErrorMismatch provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionErrorOnExecutionNode ¶ added in v0.31.11
func (_mock *AccessMetrics) ScriptExecutionErrorOnExecutionNode()
ScriptExecutionErrorOnExecutionNode provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionNotIndexed ¶ added in v0.32.7
func (_mock *AccessMetrics) ScriptExecutionNotIndexed()
ScriptExecutionNotIndexed provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionResultMatch ¶ added in v0.32.0
func (_mock *AccessMetrics) ScriptExecutionResultMatch()
ScriptExecutionResultMatch provides a mock function for the type AccessMetrics
func (*AccessMetrics) ScriptExecutionResultMismatch ¶ added in v0.32.0
func (_mock *AccessMetrics) ScriptExecutionResultMismatch()
ScriptExecutionResultMismatch provides a mock function for the type AccessMetrics
func (*AccessMetrics) TotalConnectionsInPool ¶ added in v0.26.16
func (_mock *AccessMetrics) TotalConnectionsInPool(connectionCount uint, connectionPoolSize uint)
TotalConnectionsInPool provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionExecuted ¶ added in v0.31.0
func (_mock *AccessMetrics) TransactionExecuted(txID flow.Identifier, when time.Time)
TransactionExecuted provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionExpired ¶ added in v0.31.0
func (_mock *AccessMetrics) TransactionExpired(txID flow.Identifier)
TransactionExpired provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionFinalized ¶ added in v0.31.0
func (_mock *AccessMetrics) TransactionFinalized(txID flow.Identifier, when time.Time)
TransactionFinalized provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionReceived ¶ added in v0.31.0
func (_mock *AccessMetrics) TransactionReceived(txID flow.Identifier, when time.Time)
TransactionReceived provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionResultFetched ¶ added in v0.31.0
func (_mock *AccessMetrics) TransactionResultFetched(dur time.Duration, size int)
TransactionResultFetched provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionSealed ¶ added in v0.37.21
func (_mock *AccessMetrics) TransactionSealed(txID flow.Identifier, when time.Time)
TransactionSealed provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionSubmissionFailed ¶ added in v0.31.0
func (_mock *AccessMetrics) TransactionSubmissionFailed()
TransactionSubmissionFailed provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionValidated ¶ added in v0.37.22
func (_mock *AccessMetrics) TransactionValidated()
TransactionValidated provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionValidationFailed ¶ added in v0.37.22
func (_mock *AccessMetrics) TransactionValidationFailed(reason string)
TransactionValidationFailed provides a mock function for the type AccessMetrics
func (*AccessMetrics) TransactionValidationSkipped ¶ added in v0.37.22
func (_mock *AccessMetrics) TransactionValidationSkipped()
TransactionValidationSkipped provides a mock function for the type AccessMetrics
func (*AccessMetrics) UpdateExecutionReceiptMaxHeight ¶ added in v0.31.0
func (_mock *AccessMetrics) UpdateExecutionReceiptMaxHeight(height uint64)
UpdateExecutionReceiptMaxHeight provides a mock function for the type AccessMetrics
func (*AccessMetrics) UpdateIngestionFinalizedBlockHeight ¶ added in v0.45.3
func (_mock *AccessMetrics) UpdateIngestionFinalizedBlockHeight(height uint64)
UpdateIngestionFinalizedBlockHeight provides a mock function for the type AccessMetrics
func (*AccessMetrics) UpdateLastFullBlockHeight ¶ added in v0.31.0
func (_mock *AccessMetrics) UpdateLastFullBlockHeight(height uint64)
UpdateLastFullBlockHeight provides a mock function for the type AccessMetrics
type AccessMetrics_AddInflightRequests_Call ¶ added in v0.46.0
AccessMetrics_AddInflightRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInflightRequests'
func (*AccessMetrics_AddInflightRequests_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_AddInflightRequests_Call) Return() *AccessMetrics_AddInflightRequests_Call
func (*AccessMetrics_AddInflightRequests_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_AddInflightRequests_Call) Run(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *AccessMetrics_AddInflightRequests_Call
func (*AccessMetrics_AddInflightRequests_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_AddInflightRequests_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *AccessMetrics_AddInflightRequests_Call
type AccessMetrics_AddTotalRequests_Call ¶ added in v0.46.0
AccessMetrics_AddTotalRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTotalRequests'
func (*AccessMetrics_AddTotalRequests_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_AddTotalRequests_Call) Return() *AccessMetrics_AddTotalRequests_Call
func (*AccessMetrics_AddTotalRequests_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_AddTotalRequests_Call) Run(run func(ctx context.Context, method string, routeName string)) *AccessMetrics_AddTotalRequests_Call
func (*AccessMetrics_AddTotalRequests_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_AddTotalRequests_Call) RunAndReturn(run func(ctx context.Context, method string, routeName string)) *AccessMetrics_AddTotalRequests_Call
type AccessMetrics_ConnectionAddedToPool_Call ¶ added in v0.46.0
AccessMetrics_ConnectionAddedToPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionAddedToPool'
func (*AccessMetrics_ConnectionAddedToPool_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionAddedToPool_Call) Return() *AccessMetrics_ConnectionAddedToPool_Call
func (*AccessMetrics_ConnectionAddedToPool_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionAddedToPool_Call) Run(run func()) *AccessMetrics_ConnectionAddedToPool_Call
func (*AccessMetrics_ConnectionAddedToPool_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionAddedToPool_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionAddedToPool_Call
type AccessMetrics_ConnectionFromPoolEvicted_Call ¶ added in v0.46.0
AccessMetrics_ConnectionFromPoolEvicted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolEvicted'
func (*AccessMetrics_ConnectionFromPoolEvicted_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolEvicted_Call) Return() *AccessMetrics_ConnectionFromPoolEvicted_Call
func (*AccessMetrics_ConnectionFromPoolEvicted_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolEvicted_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolEvicted_Call
func (*AccessMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolEvicted_Call
type AccessMetrics_ConnectionFromPoolInvalidated_Call ¶ added in v0.46.0
AccessMetrics_ConnectionFromPoolInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolInvalidated'
func (*AccessMetrics_ConnectionFromPoolInvalidated_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolInvalidated_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolInvalidated_Call
func (*AccessMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolInvalidated_Call
type AccessMetrics_ConnectionFromPoolReused_Call ¶ added in v0.46.0
AccessMetrics_ConnectionFromPoolReused_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolReused'
func (*AccessMetrics_ConnectionFromPoolReused_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolReused_Call) Return() *AccessMetrics_ConnectionFromPoolReused_Call
func (*AccessMetrics_ConnectionFromPoolReused_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolReused_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolReused_Call
func (*AccessMetrics_ConnectionFromPoolReused_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolReused_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolReused_Call
type AccessMetrics_ConnectionFromPoolUpdated_Call ¶ added in v0.46.0
AccessMetrics_ConnectionFromPoolUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolUpdated'
func (*AccessMetrics_ConnectionFromPoolUpdated_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolUpdated_Call) Return() *AccessMetrics_ConnectionFromPoolUpdated_Call
func (*AccessMetrics_ConnectionFromPoolUpdated_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolUpdated_Call) Run(run func()) *AccessMetrics_ConnectionFromPoolUpdated_Call
func (*AccessMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn(run func()) *AccessMetrics_ConnectionFromPoolUpdated_Call
type AccessMetrics_Expecter ¶ added in v0.46.0
type AccessMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*AccessMetrics_Expecter) AddInflightRequests ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) AddInflightRequests(ctx interface{}, props interface{}, quantity interface{}) *AccessMetrics_AddInflightRequests_Call
AddInflightRequests is a helper method to define mock.On call
- ctx context.Context
- props metrics.HTTPProperties
- quantity int
func (*AccessMetrics_Expecter) AddTotalRequests ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) AddTotalRequests(ctx interface{}, method interface{}, routeName interface{}) *AccessMetrics_AddTotalRequests_Call
AddTotalRequests is a helper method to define mock.On call
- ctx context.Context
- method string
- routeName string
func (*AccessMetrics_Expecter) ConnectionAddedToPool ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ConnectionAddedToPool() *AccessMetrics_ConnectionAddedToPool_Call
ConnectionAddedToPool is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ConnectionFromPoolEvicted ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ConnectionFromPoolEvicted() *AccessMetrics_ConnectionFromPoolEvicted_Call
ConnectionFromPoolEvicted is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ConnectionFromPoolInvalidated ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ConnectionFromPoolInvalidated() *AccessMetrics_ConnectionFromPoolInvalidated_Call
ConnectionFromPoolInvalidated is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ConnectionFromPoolReused ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ConnectionFromPoolReused() *AccessMetrics_ConnectionFromPoolReused_Call
ConnectionFromPoolReused is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ConnectionFromPoolUpdated ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ConnectionFromPoolUpdated() *AccessMetrics_ConnectionFromPoolUpdated_Call
ConnectionFromPoolUpdated is a helper method to define mock.On call
func (*AccessMetrics_Expecter) NewConnectionEstablished ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) NewConnectionEstablished() *AccessMetrics_NewConnectionEstablished_Call
NewConnectionEstablished is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ObserveHTTPRequestDuration ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ObserveHTTPRequestDuration(ctx interface{}, props interface{}, duration interface{}) *AccessMetrics_ObserveHTTPRequestDuration_Call
ObserveHTTPRequestDuration is a helper method to define mock.On call
- ctx context.Context
- props metrics.HTTPReqProperties
- duration time.Duration
func (*AccessMetrics_Expecter) ObserveHTTPResponseSize ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ObserveHTTPResponseSize(ctx interface{}, props interface{}, sizeBytes interface{}) *AccessMetrics_ObserveHTTPResponseSize_Call
ObserveHTTPResponseSize is a helper method to define mock.On call
- ctx context.Context
- props metrics.HTTPReqProperties
- sizeBytes int64
func (*AccessMetrics_Expecter) ScriptExecuted ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecuted(dur interface{}, size interface{}) *AccessMetrics_ScriptExecuted_Call
ScriptExecuted is a helper method to define mock.On call
- dur time.Duration
- size int
func (*AccessMetrics_Expecter) ScriptExecutionErrorLocal ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionErrorLocal() *AccessMetrics_ScriptExecutionErrorLocal_Call
ScriptExecutionErrorLocal is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ScriptExecutionErrorMatch ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionErrorMatch() *AccessMetrics_ScriptExecutionErrorMatch_Call
ScriptExecutionErrorMatch is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ScriptExecutionErrorMismatch ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionErrorMismatch() *AccessMetrics_ScriptExecutionErrorMismatch_Call
ScriptExecutionErrorMismatch is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ScriptExecutionErrorOnExecutionNode ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionErrorOnExecutionNode() *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
ScriptExecutionErrorOnExecutionNode is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ScriptExecutionNotIndexed ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionNotIndexed() *AccessMetrics_ScriptExecutionNotIndexed_Call
ScriptExecutionNotIndexed is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ScriptExecutionResultMatch ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionResultMatch() *AccessMetrics_ScriptExecutionResultMatch_Call
ScriptExecutionResultMatch is a helper method to define mock.On call
func (*AccessMetrics_Expecter) ScriptExecutionResultMismatch ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) ScriptExecutionResultMismatch() *AccessMetrics_ScriptExecutionResultMismatch_Call
ScriptExecutionResultMismatch is a helper method to define mock.On call
func (*AccessMetrics_Expecter) TotalConnectionsInPool ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TotalConnectionsInPool(connectionCount interface{}, connectionPoolSize interface{}) *AccessMetrics_TotalConnectionsInPool_Call
TotalConnectionsInPool is a helper method to define mock.On call
- connectionCount uint
- connectionPoolSize uint
func (*AccessMetrics_Expecter) TransactionExecuted ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionExecuted(txID interface{}, when interface{}) *AccessMetrics_TransactionExecuted_Call
TransactionExecuted is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*AccessMetrics_Expecter) TransactionExpired ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionExpired(txID interface{}) *AccessMetrics_TransactionExpired_Call
TransactionExpired is a helper method to define mock.On call
- txID flow.Identifier
func (*AccessMetrics_Expecter) TransactionFinalized ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionFinalized(txID interface{}, when interface{}) *AccessMetrics_TransactionFinalized_Call
TransactionFinalized is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*AccessMetrics_Expecter) TransactionReceived ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionReceived(txID interface{}, when interface{}) *AccessMetrics_TransactionReceived_Call
TransactionReceived is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*AccessMetrics_Expecter) TransactionResultFetched ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionResultFetched(dur interface{}, size interface{}) *AccessMetrics_TransactionResultFetched_Call
TransactionResultFetched is a helper method to define mock.On call
- dur time.Duration
- size int
func (*AccessMetrics_Expecter) TransactionSealed ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionSealed(txID interface{}, when interface{}) *AccessMetrics_TransactionSealed_Call
TransactionSealed is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*AccessMetrics_Expecter) TransactionSubmissionFailed ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionSubmissionFailed() *AccessMetrics_TransactionSubmissionFailed_Call
TransactionSubmissionFailed is a helper method to define mock.On call
func (*AccessMetrics_Expecter) TransactionValidated ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionValidated() *AccessMetrics_TransactionValidated_Call
TransactionValidated is a helper method to define mock.On call
func (*AccessMetrics_Expecter) TransactionValidationFailed ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionValidationFailed(reason interface{}) *AccessMetrics_TransactionValidationFailed_Call
TransactionValidationFailed is a helper method to define mock.On call
- reason string
func (*AccessMetrics_Expecter) TransactionValidationSkipped ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) TransactionValidationSkipped() *AccessMetrics_TransactionValidationSkipped_Call
TransactionValidationSkipped is a helper method to define mock.On call
func (*AccessMetrics_Expecter) UpdateExecutionReceiptMaxHeight ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) UpdateExecutionReceiptMaxHeight(height interface{}) *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
UpdateExecutionReceiptMaxHeight is a helper method to define mock.On call
- height uint64
func (*AccessMetrics_Expecter) UpdateIngestionFinalizedBlockHeight ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) UpdateIngestionFinalizedBlockHeight(height interface{}) *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
UpdateIngestionFinalizedBlockHeight is a helper method to define mock.On call
- height uint64
func (*AccessMetrics_Expecter) UpdateLastFullBlockHeight ¶ added in v0.46.0
func (_e *AccessMetrics_Expecter) UpdateLastFullBlockHeight(height interface{}) *AccessMetrics_UpdateLastFullBlockHeight_Call
UpdateLastFullBlockHeight is a helper method to define mock.On call
- height uint64
type AccessMetrics_NewConnectionEstablished_Call ¶ added in v0.46.0
AccessMetrics_NewConnectionEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewConnectionEstablished'
func (*AccessMetrics_NewConnectionEstablished_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_NewConnectionEstablished_Call) Return() *AccessMetrics_NewConnectionEstablished_Call
func (*AccessMetrics_NewConnectionEstablished_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_NewConnectionEstablished_Call) Run(run func()) *AccessMetrics_NewConnectionEstablished_Call
func (*AccessMetrics_NewConnectionEstablished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_NewConnectionEstablished_Call) RunAndReturn(run func()) *AccessMetrics_NewConnectionEstablished_Call
type AccessMetrics_ObserveHTTPRequestDuration_Call ¶ added in v0.46.0
AccessMetrics_ObserveHTTPRequestDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveHTTPRequestDuration'
func (*AccessMetrics_ObserveHTTPRequestDuration_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ObserveHTTPRequestDuration_Call) Run(run func(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)) *AccessMetrics_ObserveHTTPRequestDuration_Call
func (*AccessMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)) *AccessMetrics_ObserveHTTPRequestDuration_Call
type AccessMetrics_ObserveHTTPResponseSize_Call ¶ added in v0.46.0
AccessMetrics_ObserveHTTPResponseSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveHTTPResponseSize'
func (*AccessMetrics_ObserveHTTPResponseSize_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ObserveHTTPResponseSize_Call) Return() *AccessMetrics_ObserveHTTPResponseSize_Call
func (*AccessMetrics_ObserveHTTPResponseSize_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ObserveHTTPResponseSize_Call) Run(run func(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)) *AccessMetrics_ObserveHTTPResponseSize_Call
func (*AccessMetrics_ObserveHTTPResponseSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ObserveHTTPResponseSize_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)) *AccessMetrics_ObserveHTTPResponseSize_Call
type AccessMetrics_ScriptExecuted_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecuted'
func (*AccessMetrics_ScriptExecuted_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecuted_Call) Return() *AccessMetrics_ScriptExecuted_Call
func (*AccessMetrics_ScriptExecuted_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecuted_Call) Run(run func(dur time.Duration, size int)) *AccessMetrics_ScriptExecuted_Call
func (*AccessMetrics_ScriptExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecuted_Call) RunAndReturn(run func(dur time.Duration, size int)) *AccessMetrics_ScriptExecuted_Call
type AccessMetrics_ScriptExecutionErrorLocal_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionErrorLocal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorLocal'
func (*AccessMetrics_ScriptExecutionErrorLocal_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorLocal_Call) Return() *AccessMetrics_ScriptExecutionErrorLocal_Call
func (*AccessMetrics_ScriptExecutionErrorLocal_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorLocal_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorLocal_Call
func (*AccessMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorLocal_Call
type AccessMetrics_ScriptExecutionErrorMatch_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionErrorMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMatch'
func (*AccessMetrics_ScriptExecutionErrorMatch_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorMatch_Call) Return() *AccessMetrics_ScriptExecutionErrorMatch_Call
func (*AccessMetrics_ScriptExecutionErrorMatch_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorMatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorMatch_Call
func (*AccessMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorMatch_Call
type AccessMetrics_ScriptExecutionErrorMismatch_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionErrorMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMismatch'
func (*AccessMetrics_ScriptExecutionErrorMismatch_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorMismatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorMismatch_Call
func (*AccessMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorMismatch_Call
type AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorOnExecutionNode'
func (*AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) Run(run func()) *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
func (*AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call
type AccessMetrics_ScriptExecutionNotIndexed_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionNotIndexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionNotIndexed'
func (*AccessMetrics_ScriptExecutionNotIndexed_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionNotIndexed_Call) Return() *AccessMetrics_ScriptExecutionNotIndexed_Call
func (*AccessMetrics_ScriptExecutionNotIndexed_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionNotIndexed_Call) Run(run func()) *AccessMetrics_ScriptExecutionNotIndexed_Call
func (*AccessMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionNotIndexed_Call
type AccessMetrics_ScriptExecutionResultMatch_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionResultMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMatch'
func (*AccessMetrics_ScriptExecutionResultMatch_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionResultMatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionResultMatch_Call
func (*AccessMetrics_ScriptExecutionResultMatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionResultMatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionResultMatch_Call
type AccessMetrics_ScriptExecutionResultMismatch_Call ¶ added in v0.46.0
AccessMetrics_ScriptExecutionResultMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMismatch'
func (*AccessMetrics_ScriptExecutionResultMismatch_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionResultMismatch_Call) Run(run func()) *AccessMetrics_ScriptExecutionResultMismatch_Call
func (*AccessMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn(run func()) *AccessMetrics_ScriptExecutionResultMismatch_Call
type AccessMetrics_TotalConnectionsInPool_Call ¶ added in v0.46.0
AccessMetrics_TotalConnectionsInPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalConnectionsInPool'
func (*AccessMetrics_TotalConnectionsInPool_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TotalConnectionsInPool_Call) Return() *AccessMetrics_TotalConnectionsInPool_Call
func (*AccessMetrics_TotalConnectionsInPool_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TotalConnectionsInPool_Call) Run(run func(connectionCount uint, connectionPoolSize uint)) *AccessMetrics_TotalConnectionsInPool_Call
func (*AccessMetrics_TotalConnectionsInPool_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TotalConnectionsInPool_Call) RunAndReturn(run func(connectionCount uint, connectionPoolSize uint)) *AccessMetrics_TotalConnectionsInPool_Call
type AccessMetrics_TransactionExecuted_Call ¶ added in v0.46.0
AccessMetrics_TransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionExecuted'
func (*AccessMetrics_TransactionExecuted_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionExecuted_Call) Return() *AccessMetrics_TransactionExecuted_Call
func (*AccessMetrics_TransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionExecuted_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionExecuted_Call
func (*AccessMetrics_TransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionExecuted_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionExecuted_Call
type AccessMetrics_TransactionExpired_Call ¶ added in v0.46.0
AccessMetrics_TransactionExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionExpired'
func (*AccessMetrics_TransactionExpired_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionExpired_Call) Return() *AccessMetrics_TransactionExpired_Call
func (*AccessMetrics_TransactionExpired_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionExpired_Call) Run(run func(txID flow.Identifier)) *AccessMetrics_TransactionExpired_Call
func (*AccessMetrics_TransactionExpired_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionExpired_Call) RunAndReturn(run func(txID flow.Identifier)) *AccessMetrics_TransactionExpired_Call
type AccessMetrics_TransactionFinalized_Call ¶ added in v0.46.0
AccessMetrics_TransactionFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionFinalized'
func (*AccessMetrics_TransactionFinalized_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionFinalized_Call) Return() *AccessMetrics_TransactionFinalized_Call
func (*AccessMetrics_TransactionFinalized_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionFinalized_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionFinalized_Call
func (*AccessMetrics_TransactionFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionFinalized_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionFinalized_Call
type AccessMetrics_TransactionReceived_Call ¶ added in v0.46.0
AccessMetrics_TransactionReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionReceived'
func (*AccessMetrics_TransactionReceived_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionReceived_Call) Return() *AccessMetrics_TransactionReceived_Call
func (*AccessMetrics_TransactionReceived_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionReceived_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionReceived_Call
func (*AccessMetrics_TransactionReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionReceived_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionReceived_Call
type AccessMetrics_TransactionResultFetched_Call ¶ added in v0.46.0
AccessMetrics_TransactionResultFetched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionResultFetched'
func (*AccessMetrics_TransactionResultFetched_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionResultFetched_Call) Return() *AccessMetrics_TransactionResultFetched_Call
func (*AccessMetrics_TransactionResultFetched_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionResultFetched_Call) Run(run func(dur time.Duration, size int)) *AccessMetrics_TransactionResultFetched_Call
func (*AccessMetrics_TransactionResultFetched_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionResultFetched_Call) RunAndReturn(run func(dur time.Duration, size int)) *AccessMetrics_TransactionResultFetched_Call
type AccessMetrics_TransactionSealed_Call ¶ added in v0.46.0
AccessMetrics_TransactionSealed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionSealed'
func (*AccessMetrics_TransactionSealed_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionSealed_Call) Return() *AccessMetrics_TransactionSealed_Call
func (*AccessMetrics_TransactionSealed_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionSealed_Call) Run(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionSealed_Call
func (*AccessMetrics_TransactionSealed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionSealed_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *AccessMetrics_TransactionSealed_Call
type AccessMetrics_TransactionSubmissionFailed_Call ¶ added in v0.46.0
AccessMetrics_TransactionSubmissionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionSubmissionFailed'
func (*AccessMetrics_TransactionSubmissionFailed_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionSubmissionFailed_Call) Run(run func()) *AccessMetrics_TransactionSubmissionFailed_Call
func (*AccessMetrics_TransactionSubmissionFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionSubmissionFailed_Call) RunAndReturn(run func()) *AccessMetrics_TransactionSubmissionFailed_Call
type AccessMetrics_TransactionValidated_Call ¶ added in v0.46.0
AccessMetrics_TransactionValidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidated'
func (*AccessMetrics_TransactionValidated_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidated_Call) Return() *AccessMetrics_TransactionValidated_Call
func (*AccessMetrics_TransactionValidated_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidated_Call) Run(run func()) *AccessMetrics_TransactionValidated_Call
func (*AccessMetrics_TransactionValidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidated_Call) RunAndReturn(run func()) *AccessMetrics_TransactionValidated_Call
type AccessMetrics_TransactionValidationFailed_Call ¶ added in v0.46.0
AccessMetrics_TransactionValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationFailed'
func (*AccessMetrics_TransactionValidationFailed_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidationFailed_Call) Run(run func(reason string)) *AccessMetrics_TransactionValidationFailed_Call
func (*AccessMetrics_TransactionValidationFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidationFailed_Call) RunAndReturn(run func(reason string)) *AccessMetrics_TransactionValidationFailed_Call
type AccessMetrics_TransactionValidationSkipped_Call ¶ added in v0.46.0
AccessMetrics_TransactionValidationSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationSkipped'
func (*AccessMetrics_TransactionValidationSkipped_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidationSkipped_Call) Run(run func()) *AccessMetrics_TransactionValidationSkipped_Call
func (*AccessMetrics_TransactionValidationSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_TransactionValidationSkipped_Call) RunAndReturn(run func()) *AccessMetrics_TransactionValidationSkipped_Call
type AccessMetrics_UpdateExecutionReceiptMaxHeight_Call ¶ added in v0.46.0
AccessMetrics_UpdateExecutionReceiptMaxHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateExecutionReceiptMaxHeight'
func (*AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) Run(run func(height uint64)) *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
func (*AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) RunAndReturn(run func(height uint64)) *AccessMetrics_UpdateExecutionReceiptMaxHeight_Call
type AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call ¶ added in v0.46.0
AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIngestionFinalizedBlockHeight'
func (*AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) Run(run func(height uint64)) *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
func (*AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) RunAndReturn(run func(height uint64)) *AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call
type AccessMetrics_UpdateLastFullBlockHeight_Call ¶ added in v0.46.0
AccessMetrics_UpdateLastFullBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLastFullBlockHeight'
func (*AccessMetrics_UpdateLastFullBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateLastFullBlockHeight_Call) Return() *AccessMetrics_UpdateLastFullBlockHeight_Call
func (*AccessMetrics_UpdateLastFullBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateLastFullBlockHeight_Call) Run(run func(height uint64)) *AccessMetrics_UpdateLastFullBlockHeight_Call
func (*AccessMetrics_UpdateLastFullBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccessMetrics_UpdateLastFullBlockHeight_Call) RunAndReturn(run func(height uint64)) *AccessMetrics_UpdateLastFullBlockHeight_Call
type AlspMetrics ¶ added in v0.31.0
AlspMetrics is an autogenerated mock type for the AlspMetrics type
func NewAlspMetrics ¶ added in v0.31.0
func NewAlspMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *AlspMetrics
NewAlspMetrics creates a new instance of AlspMetrics. 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 (*AlspMetrics) EXPECT ¶ added in v0.46.0
func (_m *AlspMetrics) EXPECT() *AlspMetrics_Expecter
func (*AlspMetrics) OnMisbehaviorReported ¶ added in v0.31.0
func (_mock *AlspMetrics) OnMisbehaviorReported(channel string, misbehaviorType string)
OnMisbehaviorReported provides a mock function for the type AlspMetrics
type AlspMetrics_Expecter ¶ added in v0.46.0
type AlspMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*AlspMetrics_Expecter) OnMisbehaviorReported ¶ added in v0.46.0
func (_e *AlspMetrics_Expecter) OnMisbehaviorReported(channel interface{}, misbehaviorType interface{}) *AlspMetrics_OnMisbehaviorReported_Call
OnMisbehaviorReported is a helper method to define mock.On call
- channel string
- misbehaviorType string
type AlspMetrics_OnMisbehaviorReported_Call ¶ added in v0.46.0
AlspMetrics_OnMisbehaviorReported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMisbehaviorReported'
func (*AlspMetrics_OnMisbehaviorReported_Call) Return ¶ added in v0.46.0
func (_c *AlspMetrics_OnMisbehaviorReported_Call) Return() *AlspMetrics_OnMisbehaviorReported_Call
func (*AlspMetrics_OnMisbehaviorReported_Call) Run ¶ added in v0.46.0
func (_c *AlspMetrics_OnMisbehaviorReported_Call) Run(run func(channel string, misbehaviorType string)) *AlspMetrics_OnMisbehaviorReported_Call
func (*AlspMetrics_OnMisbehaviorReported_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AlspMetrics_OnMisbehaviorReported_Call) RunAndReturn(run func(channel string, misbehaviorType string)) *AlspMetrics_OnMisbehaviorReported_Call
type BackendScriptsMetrics ¶ added in v0.26.1
BackendScriptsMetrics is an autogenerated mock type for the BackendScriptsMetrics type
func NewBackendScriptsMetrics ¶ added in v0.26.2
func NewBackendScriptsMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *BackendScriptsMetrics
NewBackendScriptsMetrics creates a new instance of BackendScriptsMetrics. 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 (*BackendScriptsMetrics) EXPECT ¶ added in v0.46.0
func (_m *BackendScriptsMetrics) EXPECT() *BackendScriptsMetrics_Expecter
func (*BackendScriptsMetrics) ScriptExecuted ¶ added in v0.26.1
func (_mock *BackendScriptsMetrics) ScriptExecuted(dur time.Duration, size int)
ScriptExecuted provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionErrorLocal ¶ added in v0.32.2
func (_mock *BackendScriptsMetrics) ScriptExecutionErrorLocal()
ScriptExecutionErrorLocal provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionErrorMatch ¶ added in v0.32.0
func (_mock *BackendScriptsMetrics) ScriptExecutionErrorMatch()
ScriptExecutionErrorMatch provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionErrorMismatch ¶ added in v0.32.0
func (_mock *BackendScriptsMetrics) ScriptExecutionErrorMismatch()
ScriptExecutionErrorMismatch provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionErrorOnExecutionNode ¶ added in v0.31.11
func (_mock *BackendScriptsMetrics) ScriptExecutionErrorOnExecutionNode()
ScriptExecutionErrorOnExecutionNode provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionNotIndexed ¶ added in v0.32.7
func (_mock *BackendScriptsMetrics) ScriptExecutionNotIndexed()
ScriptExecutionNotIndexed provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionResultMatch ¶ added in v0.32.0
func (_mock *BackendScriptsMetrics) ScriptExecutionResultMatch()
ScriptExecutionResultMatch provides a mock function for the type BackendScriptsMetrics
func (*BackendScriptsMetrics) ScriptExecutionResultMismatch ¶ added in v0.32.0
func (_mock *BackendScriptsMetrics) ScriptExecutionResultMismatch()
ScriptExecutionResultMismatch provides a mock function for the type BackendScriptsMetrics
type BackendScriptsMetrics_Expecter ¶ added in v0.46.0
type BackendScriptsMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*BackendScriptsMetrics_Expecter) ScriptExecuted ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecuted(dur interface{}, size interface{}) *BackendScriptsMetrics_ScriptExecuted_Call
ScriptExecuted is a helper method to define mock.On call
- dur time.Duration
- size int
func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorLocal ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorLocal() *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
ScriptExecutionErrorLocal is a helper method to define mock.On call
func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorMatch ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorMatch() *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
ScriptExecutionErrorMatch is a helper method to define mock.On call
func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorMismatch ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorMismatch() *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
ScriptExecutionErrorMismatch is a helper method to define mock.On call
func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorOnExecutionNode ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionErrorOnExecutionNode() *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
ScriptExecutionErrorOnExecutionNode is a helper method to define mock.On call
func (*BackendScriptsMetrics_Expecter) ScriptExecutionNotIndexed ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionNotIndexed() *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
ScriptExecutionNotIndexed is a helper method to define mock.On call
func (*BackendScriptsMetrics_Expecter) ScriptExecutionResultMatch ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionResultMatch() *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
ScriptExecutionResultMatch is a helper method to define mock.On call
func (*BackendScriptsMetrics_Expecter) ScriptExecutionResultMismatch ¶ added in v0.46.0
func (_e *BackendScriptsMetrics_Expecter) ScriptExecutionResultMismatch() *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
ScriptExecutionResultMismatch is a helper method to define mock.On call
type BackendScriptsMetrics_ScriptExecuted_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecuted'
func (*BackendScriptsMetrics_ScriptExecuted_Call) Return ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecuted_Call) Return() *BackendScriptsMetrics_ScriptExecuted_Call
func (*BackendScriptsMetrics_ScriptExecuted_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecuted_Call) Run(run func(dur time.Duration, size int)) *BackendScriptsMetrics_ScriptExecuted_Call
func (*BackendScriptsMetrics_ScriptExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecuted_Call) RunAndReturn(run func(dur time.Duration, size int)) *BackendScriptsMetrics_ScriptExecuted_Call
type BackendScriptsMetrics_ScriptExecutionErrorLocal_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionErrorLocal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorLocal'
func (*BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
func (*BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorLocal_Call
type BackendScriptsMetrics_ScriptExecutionErrorMatch_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionErrorMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMatch'
func (*BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
func (*BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMatch_Call
type BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMismatch'
func (*BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
func (*BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call
type BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorOnExecutionNode'
func (*BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call
type BackendScriptsMetrics_ScriptExecutionNotIndexed_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionNotIndexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionNotIndexed'
func (*BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
func (*BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionNotIndexed_Call
type BackendScriptsMetrics_ScriptExecutionResultMatch_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionResultMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMatch'
func (*BackendScriptsMetrics_ScriptExecutionResultMatch_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionResultMatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
func (*BackendScriptsMetrics_ScriptExecutionResultMatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionResultMatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionResultMatch_Call
type BackendScriptsMetrics_ScriptExecutionResultMismatch_Call ¶ added in v0.46.0
BackendScriptsMetrics_ScriptExecutionResultMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMismatch'
func (*BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) Run ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) Run(run func()) *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
func (*BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn(run func()) *BackendScriptsMetrics_ScriptExecutionResultMismatch_Call
type BitswapMetrics ¶ added in v0.27.3
BitswapMetrics is an autogenerated mock type for the BitswapMetrics type
func NewBitswapMetrics ¶ added in v0.27.3
func NewBitswapMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *BitswapMetrics
NewBitswapMetrics creates a new instance of BitswapMetrics. 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 (*BitswapMetrics) BlobsReceived ¶ added in v0.27.3
func (_mock *BitswapMetrics) BlobsReceived(prefix string, n uint64)
BlobsReceived provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) BlobsSent ¶ added in v0.27.3
func (_mock *BitswapMetrics) BlobsSent(prefix string, n uint64)
BlobsSent provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) DataReceived ¶ added in v0.27.3
func (_mock *BitswapMetrics) DataReceived(prefix string, n uint64)
DataReceived provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) DataSent ¶ added in v0.27.3
func (_mock *BitswapMetrics) DataSent(prefix string, n uint64)
DataSent provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) DupBlobsReceived ¶ added in v0.27.3
func (_mock *BitswapMetrics) DupBlobsReceived(prefix string, n uint64)
DupBlobsReceived provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) DupDataReceived ¶ added in v0.27.3
func (_mock *BitswapMetrics) DupDataReceived(prefix string, n uint64)
DupDataReceived provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) EXPECT ¶ added in v0.46.0
func (_m *BitswapMetrics) EXPECT() *BitswapMetrics_Expecter
func (*BitswapMetrics) MessagesReceived ¶ added in v0.27.3
func (_mock *BitswapMetrics) MessagesReceived(prefix string, n uint64)
MessagesReceived provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) Peers ¶ added in v0.27.3
func (_mock *BitswapMetrics) Peers(prefix string, n int)
Peers provides a mock function for the type BitswapMetrics
func (*BitswapMetrics) Wantlist ¶ added in v0.27.3
func (_mock *BitswapMetrics) Wantlist(prefix string, n int)
Wantlist provides a mock function for the type BitswapMetrics
type BitswapMetrics_BlobsReceived_Call ¶ added in v0.46.0
BitswapMetrics_BlobsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlobsReceived'
func (*BitswapMetrics_BlobsReceived_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_BlobsReceived_Call) Return() *BitswapMetrics_BlobsReceived_Call
func (*BitswapMetrics_BlobsReceived_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_BlobsReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_BlobsReceived_Call
func (*BitswapMetrics_BlobsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_BlobsReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_BlobsReceived_Call
type BitswapMetrics_BlobsSent_Call ¶ added in v0.46.0
BitswapMetrics_BlobsSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlobsSent'
func (*BitswapMetrics_BlobsSent_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_BlobsSent_Call) Return() *BitswapMetrics_BlobsSent_Call
func (*BitswapMetrics_BlobsSent_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_BlobsSent_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_BlobsSent_Call
func (*BitswapMetrics_BlobsSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_BlobsSent_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_BlobsSent_Call
type BitswapMetrics_DataReceived_Call ¶ added in v0.46.0
BitswapMetrics_DataReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DataReceived'
func (*BitswapMetrics_DataReceived_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_DataReceived_Call) Return() *BitswapMetrics_DataReceived_Call
func (*BitswapMetrics_DataReceived_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_DataReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DataReceived_Call
func (*BitswapMetrics_DataReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_DataReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DataReceived_Call
type BitswapMetrics_DataSent_Call ¶ added in v0.46.0
BitswapMetrics_DataSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DataSent'
func (*BitswapMetrics_DataSent_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_DataSent_Call) Return() *BitswapMetrics_DataSent_Call
func (*BitswapMetrics_DataSent_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_DataSent_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DataSent_Call
func (*BitswapMetrics_DataSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_DataSent_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DataSent_Call
type BitswapMetrics_DupBlobsReceived_Call ¶ added in v0.46.0
BitswapMetrics_DupBlobsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DupBlobsReceived'
func (*BitswapMetrics_DupBlobsReceived_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_DupBlobsReceived_Call) Return() *BitswapMetrics_DupBlobsReceived_Call
func (*BitswapMetrics_DupBlobsReceived_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_DupBlobsReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DupBlobsReceived_Call
func (*BitswapMetrics_DupBlobsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_DupBlobsReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DupBlobsReceived_Call
type BitswapMetrics_DupDataReceived_Call ¶ added in v0.46.0
BitswapMetrics_DupDataReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DupDataReceived'
func (*BitswapMetrics_DupDataReceived_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_DupDataReceived_Call) Return() *BitswapMetrics_DupDataReceived_Call
func (*BitswapMetrics_DupDataReceived_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_DupDataReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_DupDataReceived_Call
func (*BitswapMetrics_DupDataReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_DupDataReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_DupDataReceived_Call
type BitswapMetrics_Expecter ¶ added in v0.46.0
type BitswapMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*BitswapMetrics_Expecter) BlobsReceived ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) BlobsReceived(prefix interface{}, n interface{}) *BitswapMetrics_BlobsReceived_Call
BlobsReceived is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) BlobsSent ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) BlobsSent(prefix interface{}, n interface{}) *BitswapMetrics_BlobsSent_Call
BlobsSent is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) DataReceived ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) DataReceived(prefix interface{}, n interface{}) *BitswapMetrics_DataReceived_Call
DataReceived is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) DataSent ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) DataSent(prefix interface{}, n interface{}) *BitswapMetrics_DataSent_Call
DataSent is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) DupBlobsReceived ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) DupBlobsReceived(prefix interface{}, n interface{}) *BitswapMetrics_DupBlobsReceived_Call
DupBlobsReceived is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) DupDataReceived ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) DupDataReceived(prefix interface{}, n interface{}) *BitswapMetrics_DupDataReceived_Call
DupDataReceived is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) MessagesReceived ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) MessagesReceived(prefix interface{}, n interface{}) *BitswapMetrics_MessagesReceived_Call
MessagesReceived is a helper method to define mock.On call
- prefix string
- n uint64
func (*BitswapMetrics_Expecter) Peers ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) Peers(prefix interface{}, n interface{}) *BitswapMetrics_Peers_Call
Peers is a helper method to define mock.On call
- prefix string
- n int
func (*BitswapMetrics_Expecter) Wantlist ¶ added in v0.46.0
func (_e *BitswapMetrics_Expecter) Wantlist(prefix interface{}, n interface{}) *BitswapMetrics_Wantlist_Call
Wantlist is a helper method to define mock.On call
- prefix string
- n int
type BitswapMetrics_MessagesReceived_Call ¶ added in v0.46.0
BitswapMetrics_MessagesReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessagesReceived'
func (*BitswapMetrics_MessagesReceived_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_MessagesReceived_Call) Return() *BitswapMetrics_MessagesReceived_Call
func (*BitswapMetrics_MessagesReceived_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_MessagesReceived_Call) Run(run func(prefix string, n uint64)) *BitswapMetrics_MessagesReceived_Call
func (*BitswapMetrics_MessagesReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_MessagesReceived_Call) RunAndReturn(run func(prefix string, n uint64)) *BitswapMetrics_MessagesReceived_Call
type BitswapMetrics_Peers_Call ¶ added in v0.46.0
BitswapMetrics_Peers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Peers'
func (*BitswapMetrics_Peers_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_Peers_Call) Return() *BitswapMetrics_Peers_Call
func (*BitswapMetrics_Peers_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_Peers_Call) Run(run func(prefix string, n int)) *BitswapMetrics_Peers_Call
func (*BitswapMetrics_Peers_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_Peers_Call) RunAndReturn(run func(prefix string, n int)) *BitswapMetrics_Peers_Call
type BitswapMetrics_Wantlist_Call ¶ added in v0.46.0
BitswapMetrics_Wantlist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Wantlist'
func (*BitswapMetrics_Wantlist_Call) Return ¶ added in v0.46.0
func (_c *BitswapMetrics_Wantlist_Call) Return() *BitswapMetrics_Wantlist_Call
func (*BitswapMetrics_Wantlist_Call) Run ¶ added in v0.46.0
func (_c *BitswapMetrics_Wantlist_Call) Run(run func(prefix string, n int)) *BitswapMetrics_Wantlist_Call
func (*BitswapMetrics_Wantlist_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BitswapMetrics_Wantlist_Call) RunAndReturn(run func(prefix string, n int)) *BitswapMetrics_Wantlist_Call
type BlockIterator ¶ added in v0.39.1
BlockIterator is an autogenerated mock type for the BlockIterator type
func NewBlockIterator ¶ added in v0.39.1
func NewBlockIterator(t interface {
mock.TestingT
Cleanup(func())
}) *BlockIterator
NewBlockIterator creates a new instance of BlockIterator. 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 (*BlockIterator) Checkpoint ¶ added in v0.39.1
func (_mock *BlockIterator) Checkpoint() (uint64, error)
Checkpoint provides a mock function for the type BlockIterator
func (*BlockIterator) EXPECT ¶ added in v0.46.0
func (_m *BlockIterator) EXPECT() *BlockIterator_Expecter
func (*BlockIterator) Next ¶ added in v0.39.1
func (_mock *BlockIterator) Next() (flow.Identifier, bool, error)
Next provides a mock function for the type BlockIterator
type BlockIterator_Checkpoint_Call ¶ added in v0.46.0
BlockIterator_Checkpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Checkpoint'
func (*BlockIterator_Checkpoint_Call) Return ¶ added in v0.46.0
func (_c *BlockIterator_Checkpoint_Call) Return(savedIndex uint64, exception error) *BlockIterator_Checkpoint_Call
func (*BlockIterator_Checkpoint_Call) Run ¶ added in v0.46.0
func (_c *BlockIterator_Checkpoint_Call) Run(run func()) *BlockIterator_Checkpoint_Call
func (*BlockIterator_Checkpoint_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockIterator_Checkpoint_Call) RunAndReturn(run func() (uint64, error)) *BlockIterator_Checkpoint_Call
type BlockIterator_Expecter ¶ added in v0.46.0
type BlockIterator_Expecter struct {
// contains filtered or unexported fields
}
func (*BlockIterator_Expecter) Checkpoint ¶ added in v0.46.0
func (_e *BlockIterator_Expecter) Checkpoint() *BlockIterator_Checkpoint_Call
Checkpoint is a helper method to define mock.On call
func (*BlockIterator_Expecter) Next ¶ added in v0.46.0
func (_e *BlockIterator_Expecter) Next() *BlockIterator_Next_Call
Next is a helper method to define mock.On call
func (*BlockIterator_Expecter) Progress ¶ added in v0.46.0
func (_e *BlockIterator_Expecter) Progress() *BlockIterator_Progress_Call
Progress is a helper method to define mock.On call
type BlockIterator_Next_Call ¶ added in v0.46.0
BlockIterator_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*BlockIterator_Next_Call) Return ¶ added in v0.46.0
func (_c *BlockIterator_Next_Call) Return(blockID flow.Identifier, hasNext bool, exception error) *BlockIterator_Next_Call
func (*BlockIterator_Next_Call) Run ¶ added in v0.46.0
func (_c *BlockIterator_Next_Call) Run(run func()) *BlockIterator_Next_Call
func (*BlockIterator_Next_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockIterator_Next_Call) RunAndReturn(run func() (flow.Identifier, bool, error)) *BlockIterator_Next_Call
type BlockIterator_Progress_Call ¶ added in v0.46.0
BlockIterator_Progress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Progress'
func (*BlockIterator_Progress_Call) Return ¶ added in v0.46.0
func (_c *BlockIterator_Progress_Call) Return(start uint64, end uint64, next uint64) *BlockIterator_Progress_Call
func (*BlockIterator_Progress_Call) Run ¶ added in v0.46.0
func (_c *BlockIterator_Progress_Call) Run(run func()) *BlockIterator_Progress_Call
func (*BlockIterator_Progress_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockIterator_Progress_Call) RunAndReturn(run func() (uint64, uint64, uint64)) *BlockIterator_Progress_Call
type BlockRequester ¶
BlockRequester is an autogenerated mock type for the BlockRequester type
func NewBlockRequester ¶ added in v0.26.1
func NewBlockRequester(t interface {
mock.TestingT
Cleanup(func())
}) *BlockRequester
NewBlockRequester creates a new instance of BlockRequester. 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 (*BlockRequester) EXPECT ¶ added in v0.46.0
func (_m *BlockRequester) EXPECT() *BlockRequester_Expecter
func (*BlockRequester) Prune ¶
func (_mock *BlockRequester) Prune(final *flow.Header)
Prune provides a mock function for the type BlockRequester
func (*BlockRequester) RequestBlock ¶
func (_mock *BlockRequester) RequestBlock(blockID flow.Identifier, height uint64)
RequestBlock provides a mock function for the type BlockRequester
func (*BlockRequester) RequestHeight ¶
func (_mock *BlockRequester) RequestHeight(height uint64)
RequestHeight provides a mock function for the type BlockRequester
type BlockRequester_Expecter ¶ added in v0.46.0
type BlockRequester_Expecter struct {
// contains filtered or unexported fields
}
func (*BlockRequester_Expecter) Prune ¶ added in v0.46.0
func (_e *BlockRequester_Expecter) Prune(final interface{}) *BlockRequester_Prune_Call
Prune is a helper method to define mock.On call
- final *flow.Header
func (*BlockRequester_Expecter) RequestBlock ¶ added in v0.46.0
func (_e *BlockRequester_Expecter) RequestBlock(blockID interface{}, height interface{}) *BlockRequester_RequestBlock_Call
RequestBlock is a helper method to define mock.On call
- blockID flow.Identifier
- height uint64
func (*BlockRequester_Expecter) RequestHeight ¶ added in v0.46.0
func (_e *BlockRequester_Expecter) RequestHeight(height interface{}) *BlockRequester_RequestHeight_Call
RequestHeight is a helper method to define mock.On call
- height uint64
type BlockRequester_Prune_Call ¶ added in v0.46.0
BlockRequester_Prune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Prune'
func (*BlockRequester_Prune_Call) Return ¶ added in v0.46.0
func (_c *BlockRequester_Prune_Call) Return() *BlockRequester_Prune_Call
func (*BlockRequester_Prune_Call) Run ¶ added in v0.46.0
func (_c *BlockRequester_Prune_Call) Run(run func(final *flow.Header)) *BlockRequester_Prune_Call
func (*BlockRequester_Prune_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockRequester_Prune_Call) RunAndReturn(run func(final *flow.Header)) *BlockRequester_Prune_Call
type BlockRequester_RequestBlock_Call ¶ added in v0.46.0
BlockRequester_RequestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestBlock'
func (*BlockRequester_RequestBlock_Call) Return ¶ added in v0.46.0
func (_c *BlockRequester_RequestBlock_Call) Return() *BlockRequester_RequestBlock_Call
func (*BlockRequester_RequestBlock_Call) Run ¶ added in v0.46.0
func (_c *BlockRequester_RequestBlock_Call) Run(run func(blockID flow.Identifier, height uint64)) *BlockRequester_RequestBlock_Call
func (*BlockRequester_RequestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockRequester_RequestBlock_Call) RunAndReturn(run func(blockID flow.Identifier, height uint64)) *BlockRequester_RequestBlock_Call
type BlockRequester_RequestHeight_Call ¶ added in v0.46.0
BlockRequester_RequestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestHeight'
func (*BlockRequester_RequestHeight_Call) Return ¶ added in v0.46.0
func (_c *BlockRequester_RequestHeight_Call) Return() *BlockRequester_RequestHeight_Call
func (*BlockRequester_RequestHeight_Call) Run ¶ added in v0.46.0
func (_c *BlockRequester_RequestHeight_Call) Run(run func(height uint64)) *BlockRequester_RequestHeight_Call
func (*BlockRequester_RequestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockRequester_RequestHeight_Call) RunAndReturn(run func(height uint64)) *BlockRequester_RequestHeight_Call
type Builder ¶
Builder is an autogenerated mock type for the Builder type
func NewBuilder ¶ added in v0.26.1
NewBuilder creates a new instance of Builder. 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 (*Builder) BuildOn ¶
func (_mock *Builder) BuildOn(parentID flow.Identifier, setter func(*flow.HeaderBodyBuilder) error, sign func(*flow.Header) ([]byte, error)) (*flow.ProposalHeader, error)
BuildOn provides a mock function for the type Builder
func (*Builder) EXPECT ¶ added in v0.46.0
func (_m *Builder) EXPECT() *Builder_Expecter
type Builder_BuildOn_Call ¶ added in v0.46.0
Builder_BuildOn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildOn'
func (*Builder_BuildOn_Call) Return ¶ added in v0.46.0
func (_c *Builder_BuildOn_Call) Return(proposalHeader *flow.ProposalHeader, err error) *Builder_BuildOn_Call
func (*Builder_BuildOn_Call) Run ¶ added in v0.46.0
func (_c *Builder_BuildOn_Call) Run(run func(parentID flow.Identifier, setter func(*flow.HeaderBodyBuilder) error, sign func(*flow.Header) ([]byte, error))) *Builder_BuildOn_Call
func (*Builder_BuildOn_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Builder_BuildOn_Call) RunAndReturn(run func(parentID flow.Identifier, setter func(*flow.HeaderBodyBuilder) error, sign func(*flow.Header) ([]byte, error)) (*flow.ProposalHeader, error)) *Builder_BuildOn_Call
type Builder_Expecter ¶ added in v0.46.0
type Builder_Expecter struct {
// contains filtered or unexported fields
}
func (*Builder_Expecter) BuildOn ¶ added in v0.46.0
func (_e *Builder_Expecter) BuildOn(parentID interface{}, setter interface{}, sign interface{}) *Builder_BuildOn_Call
BuildOn is a helper method to define mock.On call
- parentID flow.Identifier
- setter func(*flow.HeaderBodyBuilder) error
- sign func(*flow.Header) ([]byte, error)
type CacheMetrics ¶
CacheMetrics is an autogenerated mock type for the CacheMetrics type
func NewCacheMetrics ¶ added in v0.26.1
func NewCacheMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *CacheMetrics
NewCacheMetrics creates a new instance of CacheMetrics. 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 (*CacheMetrics) CacheEntries ¶
func (_mock *CacheMetrics) CacheEntries(resource string, entries uint)
CacheEntries provides a mock function for the type CacheMetrics
func (*CacheMetrics) CacheHit ¶
func (_mock *CacheMetrics) CacheHit(resource string)
CacheHit provides a mock function for the type CacheMetrics
func (*CacheMetrics) CacheMiss ¶
func (_mock *CacheMetrics) CacheMiss(resource string)
CacheMiss provides a mock function for the type CacheMetrics
func (*CacheMetrics) CacheNotFound ¶ added in v0.16.0
func (_mock *CacheMetrics) CacheNotFound(resource string)
CacheNotFound provides a mock function for the type CacheMetrics
func (*CacheMetrics) EXPECT ¶ added in v0.46.0
func (_m *CacheMetrics) EXPECT() *CacheMetrics_Expecter
type CacheMetrics_CacheEntries_Call ¶ added in v0.46.0
CacheMetrics_CacheEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheEntries'
func (*CacheMetrics_CacheEntries_Call) Return ¶ added in v0.46.0
func (_c *CacheMetrics_CacheEntries_Call) Return() *CacheMetrics_CacheEntries_Call
func (*CacheMetrics_CacheEntries_Call) Run ¶ added in v0.46.0
func (_c *CacheMetrics_CacheEntries_Call) Run(run func(resource string, entries uint)) *CacheMetrics_CacheEntries_Call
func (*CacheMetrics_CacheEntries_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CacheMetrics_CacheEntries_Call) RunAndReturn(run func(resource string, entries uint)) *CacheMetrics_CacheEntries_Call
type CacheMetrics_CacheHit_Call ¶ added in v0.46.0
CacheMetrics_CacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheHit'
func (*CacheMetrics_CacheHit_Call) Return ¶ added in v0.46.0
func (_c *CacheMetrics_CacheHit_Call) Return() *CacheMetrics_CacheHit_Call
func (*CacheMetrics_CacheHit_Call) Run ¶ added in v0.46.0
func (_c *CacheMetrics_CacheHit_Call) Run(run func(resource string)) *CacheMetrics_CacheHit_Call
func (*CacheMetrics_CacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CacheMetrics_CacheHit_Call) RunAndReturn(run func(resource string)) *CacheMetrics_CacheHit_Call
type CacheMetrics_CacheMiss_Call ¶ added in v0.46.0
CacheMetrics_CacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheMiss'
func (*CacheMetrics_CacheMiss_Call) Return ¶ added in v0.46.0
func (_c *CacheMetrics_CacheMiss_Call) Return() *CacheMetrics_CacheMiss_Call
func (*CacheMetrics_CacheMiss_Call) Run ¶ added in v0.46.0
func (_c *CacheMetrics_CacheMiss_Call) Run(run func(resource string)) *CacheMetrics_CacheMiss_Call
func (*CacheMetrics_CacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CacheMetrics_CacheMiss_Call) RunAndReturn(run func(resource string)) *CacheMetrics_CacheMiss_Call
type CacheMetrics_CacheNotFound_Call ¶ added in v0.46.0
CacheMetrics_CacheNotFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CacheNotFound'
func (*CacheMetrics_CacheNotFound_Call) Return ¶ added in v0.46.0
func (_c *CacheMetrics_CacheNotFound_Call) Return() *CacheMetrics_CacheNotFound_Call
func (*CacheMetrics_CacheNotFound_Call) Run ¶ added in v0.46.0
func (_c *CacheMetrics_CacheNotFound_Call) Run(run func(resource string)) *CacheMetrics_CacheNotFound_Call
func (*CacheMetrics_CacheNotFound_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CacheMetrics_CacheNotFound_Call) RunAndReturn(run func(resource string)) *CacheMetrics_CacheNotFound_Call
type CacheMetrics_Expecter ¶ added in v0.46.0
type CacheMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*CacheMetrics_Expecter) CacheEntries ¶ added in v0.46.0
func (_e *CacheMetrics_Expecter) CacheEntries(resource interface{}, entries interface{}) *CacheMetrics_CacheEntries_Call
CacheEntries is a helper method to define mock.On call
- resource string
- entries uint
func (*CacheMetrics_Expecter) CacheHit ¶ added in v0.46.0
func (_e *CacheMetrics_Expecter) CacheHit(resource interface{}) *CacheMetrics_CacheHit_Call
CacheHit is a helper method to define mock.On call
- resource string
func (*CacheMetrics_Expecter) CacheMiss ¶ added in v0.46.0
func (_e *CacheMetrics_Expecter) CacheMiss(resource interface{}) *CacheMetrics_CacheMiss_Call
CacheMiss is a helper method to define mock.On call
- resource string
func (*CacheMetrics_Expecter) CacheNotFound ¶ added in v0.46.0
func (_e *CacheMetrics_Expecter) CacheNotFound(resource interface{}) *CacheMetrics_CacheNotFound_Call
CacheNotFound is a helper method to define mock.On call
- resource string
type ChainSyncMetrics ¶ added in v0.27.0
ChainSyncMetrics is an autogenerated mock type for the ChainSyncMetrics type
func NewChainSyncMetrics ¶ added in v0.27.0
func NewChainSyncMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ChainSyncMetrics
NewChainSyncMetrics creates a new instance of ChainSyncMetrics. 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 (*ChainSyncMetrics) BatchRequested ¶ added in v0.27.0
func (_mock *ChainSyncMetrics) BatchRequested(batch chainsync.Batch)
BatchRequested provides a mock function for the type ChainSyncMetrics
func (*ChainSyncMetrics) EXPECT ¶ added in v0.46.0
func (_m *ChainSyncMetrics) EXPECT() *ChainSyncMetrics_Expecter
func (*ChainSyncMetrics) PrunedBlockByHeight ¶ added in v0.27.0
func (_mock *ChainSyncMetrics) PrunedBlockByHeight(status *chainsync.Status)
PrunedBlockByHeight provides a mock function for the type ChainSyncMetrics
func (*ChainSyncMetrics) PrunedBlockById ¶ added in v0.27.0
func (_mock *ChainSyncMetrics) PrunedBlockById(status *chainsync.Status)
PrunedBlockById provides a mock function for the type ChainSyncMetrics
func (*ChainSyncMetrics) PrunedBlocks ¶ added in v0.27.0
func (_mock *ChainSyncMetrics) PrunedBlocks(totalByHeight int, totalById int, storedByHeight int, storedById int)
PrunedBlocks provides a mock function for the type ChainSyncMetrics
func (*ChainSyncMetrics) RangeRequested ¶ added in v0.27.0
func (_mock *ChainSyncMetrics) RangeRequested(ran chainsync.Range)
RangeRequested provides a mock function for the type ChainSyncMetrics
type ChainSyncMetrics_BatchRequested_Call ¶ added in v0.46.0
ChainSyncMetrics_BatchRequested_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRequested'
func (*ChainSyncMetrics_BatchRequested_Call) Return ¶ added in v0.46.0
func (_c *ChainSyncMetrics_BatchRequested_Call) Return() *ChainSyncMetrics_BatchRequested_Call
func (*ChainSyncMetrics_BatchRequested_Call) Run ¶ added in v0.46.0
func (_c *ChainSyncMetrics_BatchRequested_Call) Run(run func(batch chainsync.Batch)) *ChainSyncMetrics_BatchRequested_Call
func (*ChainSyncMetrics_BatchRequested_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChainSyncMetrics_BatchRequested_Call) RunAndReturn(run func(batch chainsync.Batch)) *ChainSyncMetrics_BatchRequested_Call
type ChainSyncMetrics_Expecter ¶ added in v0.46.0
type ChainSyncMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ChainSyncMetrics_Expecter) BatchRequested ¶ added in v0.46.0
func (_e *ChainSyncMetrics_Expecter) BatchRequested(batch interface{}) *ChainSyncMetrics_BatchRequested_Call
BatchRequested is a helper method to define mock.On call
- batch chainsync.Batch
func (*ChainSyncMetrics_Expecter) PrunedBlockByHeight ¶ added in v0.46.0
func (_e *ChainSyncMetrics_Expecter) PrunedBlockByHeight(status interface{}) *ChainSyncMetrics_PrunedBlockByHeight_Call
PrunedBlockByHeight is a helper method to define mock.On call
- status *chainsync.Status
func (*ChainSyncMetrics_Expecter) PrunedBlockById ¶ added in v0.46.0
func (_e *ChainSyncMetrics_Expecter) PrunedBlockById(status interface{}) *ChainSyncMetrics_PrunedBlockById_Call
PrunedBlockById is a helper method to define mock.On call
- status *chainsync.Status
func (*ChainSyncMetrics_Expecter) PrunedBlocks ¶ added in v0.46.0
func (_e *ChainSyncMetrics_Expecter) PrunedBlocks(totalByHeight interface{}, totalById interface{}, storedByHeight interface{}, storedById interface{}) *ChainSyncMetrics_PrunedBlocks_Call
PrunedBlocks is a helper method to define mock.On call
- totalByHeight int
- totalById int
- storedByHeight int
- storedById int
func (*ChainSyncMetrics_Expecter) RangeRequested ¶ added in v0.46.0
func (_e *ChainSyncMetrics_Expecter) RangeRequested(ran interface{}) *ChainSyncMetrics_RangeRequested_Call
RangeRequested is a helper method to define mock.On call
- ran chainsync.Range
type ChainSyncMetrics_PrunedBlockByHeight_Call ¶ added in v0.46.0
ChainSyncMetrics_PrunedBlockByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrunedBlockByHeight'
func (*ChainSyncMetrics_PrunedBlockByHeight_Call) Return ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlockByHeight_Call) Return() *ChainSyncMetrics_PrunedBlockByHeight_Call
func (*ChainSyncMetrics_PrunedBlockByHeight_Call) Run ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlockByHeight_Call) Run(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockByHeight_Call
func (*ChainSyncMetrics_PrunedBlockByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlockByHeight_Call) RunAndReturn(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockByHeight_Call
type ChainSyncMetrics_PrunedBlockById_Call ¶ added in v0.46.0
ChainSyncMetrics_PrunedBlockById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrunedBlockById'
func (*ChainSyncMetrics_PrunedBlockById_Call) Return ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlockById_Call) Return() *ChainSyncMetrics_PrunedBlockById_Call
func (*ChainSyncMetrics_PrunedBlockById_Call) Run ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlockById_Call) Run(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockById_Call
func (*ChainSyncMetrics_PrunedBlockById_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlockById_Call) RunAndReturn(run func(status *chainsync.Status)) *ChainSyncMetrics_PrunedBlockById_Call
type ChainSyncMetrics_PrunedBlocks_Call ¶ added in v0.46.0
ChainSyncMetrics_PrunedBlocks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrunedBlocks'
func (*ChainSyncMetrics_PrunedBlocks_Call) Return ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlocks_Call) Return() *ChainSyncMetrics_PrunedBlocks_Call
func (*ChainSyncMetrics_PrunedBlocks_Call) Run ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlocks_Call) Run(run func(totalByHeight int, totalById int, storedByHeight int, storedById int)) *ChainSyncMetrics_PrunedBlocks_Call
func (*ChainSyncMetrics_PrunedBlocks_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChainSyncMetrics_PrunedBlocks_Call) RunAndReturn(run func(totalByHeight int, totalById int, storedByHeight int, storedById int)) *ChainSyncMetrics_PrunedBlocks_Call
type ChainSyncMetrics_RangeRequested_Call ¶ added in v0.46.0
ChainSyncMetrics_RangeRequested_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RangeRequested'
func (*ChainSyncMetrics_RangeRequested_Call) Return ¶ added in v0.46.0
func (_c *ChainSyncMetrics_RangeRequested_Call) Return() *ChainSyncMetrics_RangeRequested_Call
func (*ChainSyncMetrics_RangeRequested_Call) Run ¶ added in v0.46.0
func (_c *ChainSyncMetrics_RangeRequested_Call) Run(run func(ran chainsync.Range)) *ChainSyncMetrics_RangeRequested_Call
func (*ChainSyncMetrics_RangeRequested_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChainSyncMetrics_RangeRequested_Call) RunAndReturn(run func(ran chainsync.Range)) *ChainSyncMetrics_RangeRequested_Call
type ChunkAssigner ¶
ChunkAssigner is an autogenerated mock type for the ChunkAssigner type
func NewChunkAssigner ¶ added in v0.26.1
func NewChunkAssigner(t interface {
mock.TestingT
Cleanup(func())
}) *ChunkAssigner
NewChunkAssigner creates a new instance of ChunkAssigner. 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 (*ChunkAssigner) Assign ¶
func (_mock *ChunkAssigner) Assign(result *flow.ExecutionResult, blockID flow.Identifier) (*chunks.Assignment, error)
Assign provides a mock function for the type ChunkAssigner
func (*ChunkAssigner) EXPECT ¶ added in v0.46.0
func (_m *ChunkAssigner) EXPECT() *ChunkAssigner_Expecter
type ChunkAssigner_Assign_Call ¶ added in v0.46.0
ChunkAssigner_Assign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Assign'
func (*ChunkAssigner_Assign_Call) Return ¶ added in v0.46.0
func (_c *ChunkAssigner_Assign_Call) Return(assignment *chunks.Assignment, err error) *ChunkAssigner_Assign_Call
func (*ChunkAssigner_Assign_Call) Run ¶ added in v0.46.0
func (_c *ChunkAssigner_Assign_Call) Run(run func(result *flow.ExecutionResult, blockID flow.Identifier)) *ChunkAssigner_Assign_Call
func (*ChunkAssigner_Assign_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkAssigner_Assign_Call) RunAndReturn(run func(result *flow.ExecutionResult, blockID flow.Identifier) (*chunks.Assignment, error)) *ChunkAssigner_Assign_Call
type ChunkAssigner_Expecter ¶ added in v0.46.0
type ChunkAssigner_Expecter struct {
// contains filtered or unexported fields
}
func (*ChunkAssigner_Expecter) Assign ¶ added in v0.46.0
func (_e *ChunkAssigner_Expecter) Assign(result interface{}, blockID interface{}) *ChunkAssigner_Assign_Call
Assign is a helper method to define mock.On call
- result *flow.ExecutionResult
- blockID flow.Identifier
type ChunkVerifier ¶
ChunkVerifier is an autogenerated mock type for the ChunkVerifier type
func NewChunkVerifier ¶ added in v0.26.1
func NewChunkVerifier(t interface {
mock.TestingT
Cleanup(func())
}) *ChunkVerifier
NewChunkVerifier creates a new instance of ChunkVerifier. 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 (*ChunkVerifier) EXPECT ¶ added in v0.46.0
func (_m *ChunkVerifier) EXPECT() *ChunkVerifier_Expecter
func (*ChunkVerifier) Verify ¶
func (_mock *ChunkVerifier) Verify(ch *verification.VerifiableChunkData) ([]byte, error)
Verify provides a mock function for the type ChunkVerifier
type ChunkVerifier_Expecter ¶ added in v0.46.0
type ChunkVerifier_Expecter struct {
// contains filtered or unexported fields
}
func (*ChunkVerifier_Expecter) Verify ¶ added in v0.46.0
func (_e *ChunkVerifier_Expecter) Verify(ch interface{}) *ChunkVerifier_Verify_Call
Verify is a helper method to define mock.On call
- ch *verification.VerifiableChunkData
type ChunkVerifier_Verify_Call ¶ added in v0.46.0
ChunkVerifier_Verify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Verify'
func (*ChunkVerifier_Verify_Call) Return ¶ added in v0.46.0
func (_c *ChunkVerifier_Verify_Call) Return(bytes []byte, err error) *ChunkVerifier_Verify_Call
func (*ChunkVerifier_Verify_Call) Run ¶ added in v0.46.0
func (_c *ChunkVerifier_Verify_Call) Run(run func(ch *verification.VerifiableChunkData)) *ChunkVerifier_Verify_Call
func (*ChunkVerifier_Verify_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkVerifier_Verify_Call) RunAndReturn(run func(ch *verification.VerifiableChunkData) ([]byte, error)) *ChunkVerifier_Verify_Call
type CleanerMetrics ¶
CleanerMetrics is an autogenerated mock type for the CleanerMetrics type
func NewCleanerMetrics ¶ added in v0.26.1
func NewCleanerMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *CleanerMetrics
NewCleanerMetrics creates a new instance of CleanerMetrics. 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 (*CleanerMetrics) EXPECT ¶ added in v0.46.0
func (_m *CleanerMetrics) EXPECT() *CleanerMetrics_Expecter
func (*CleanerMetrics) RanGC ¶
func (_mock *CleanerMetrics) RanGC(took time.Duration)
RanGC provides a mock function for the type CleanerMetrics
type CleanerMetrics_Expecter ¶ added in v0.46.0
type CleanerMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*CleanerMetrics_Expecter) RanGC ¶ added in v0.46.0
func (_e *CleanerMetrics_Expecter) RanGC(took interface{}) *CleanerMetrics_RanGC_Call
RanGC is a helper method to define mock.On call
- took time.Duration
type CleanerMetrics_RanGC_Call ¶ added in v0.46.0
CleanerMetrics_RanGC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RanGC'
func (*CleanerMetrics_RanGC_Call) Return ¶ added in v0.46.0
func (_c *CleanerMetrics_RanGC_Call) Return() *CleanerMetrics_RanGC_Call
func (*CleanerMetrics_RanGC_Call) Run ¶ added in v0.46.0
func (_c *CleanerMetrics_RanGC_Call) Run(run func(took time.Duration)) *CleanerMetrics_RanGC_Call
func (*CleanerMetrics_RanGC_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CleanerMetrics_RanGC_Call) RunAndReturn(run func(took time.Duration)) *CleanerMetrics_RanGC_Call
type ClusterRootQCVoter ¶
ClusterRootQCVoter is an autogenerated mock type for the ClusterRootQCVoter type
func NewClusterRootQCVoter ¶ added in v0.26.1
func NewClusterRootQCVoter(t interface {
mock.TestingT
Cleanup(func())
}) *ClusterRootQCVoter
NewClusterRootQCVoter creates a new instance of ClusterRootQCVoter. 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 (*ClusterRootQCVoter) EXPECT ¶ added in v0.46.0
func (_m *ClusterRootQCVoter) EXPECT() *ClusterRootQCVoter_Expecter
func (*ClusterRootQCVoter) Vote ¶
func (_mock *ClusterRootQCVoter) Vote(context1 context.Context, tentativeEpoch protocol.TentativeEpoch) error
Vote provides a mock function for the type ClusterRootQCVoter
type ClusterRootQCVoter_Expecter ¶ added in v0.46.0
type ClusterRootQCVoter_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterRootQCVoter_Expecter) Vote ¶ added in v0.46.0
func (_e *ClusterRootQCVoter_Expecter) Vote(context1 interface{}, tentativeEpoch interface{}) *ClusterRootQCVoter_Vote_Call
Vote is a helper method to define mock.On call
- context1 context.Context
- tentativeEpoch protocol.TentativeEpoch
type ClusterRootQCVoter_Vote_Call ¶ added in v0.46.0
ClusterRootQCVoter_Vote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Vote'
func (*ClusterRootQCVoter_Vote_Call) Return ¶ added in v0.46.0
func (_c *ClusterRootQCVoter_Vote_Call) Return(err error) *ClusterRootQCVoter_Vote_Call
func (*ClusterRootQCVoter_Vote_Call) Run ¶ added in v0.46.0
func (_c *ClusterRootQCVoter_Vote_Call) Run(run func(context1 context.Context, tentativeEpoch protocol.TentativeEpoch)) *ClusterRootQCVoter_Vote_Call
func (*ClusterRootQCVoter_Vote_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ClusterRootQCVoter_Vote_Call) RunAndReturn(run func(context1 context.Context, tentativeEpoch protocol.TentativeEpoch) error) *ClusterRootQCVoter_Vote_Call
type CollectionExecutedMetric ¶ added in v0.33.15
CollectionExecutedMetric is an autogenerated mock type for the CollectionExecutedMetric type
func NewCollectionExecutedMetric ¶ added in v0.33.15
func NewCollectionExecutedMetric(t interface {
mock.TestingT
Cleanup(func())
}) *CollectionExecutedMetric
NewCollectionExecutedMetric creates a new instance of CollectionExecutedMetric. 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 (*CollectionExecutedMetric) BlockFinalized ¶ added in v0.33.15
func (_mock *CollectionExecutedMetric) BlockFinalized(block *flow.Block)
BlockFinalized provides a mock function for the type CollectionExecutedMetric
func (*CollectionExecutedMetric) CollectionExecuted ¶ added in v0.33.15
func (_mock *CollectionExecutedMetric) CollectionExecuted(light *flow.LightCollection)
CollectionExecuted provides a mock function for the type CollectionExecutedMetric
func (*CollectionExecutedMetric) CollectionFinalized ¶ added in v0.33.15
func (_mock *CollectionExecutedMetric) CollectionFinalized(light *flow.LightCollection)
CollectionFinalized provides a mock function for the type CollectionExecutedMetric
func (*CollectionExecutedMetric) EXPECT ¶ added in v0.46.0
func (_m *CollectionExecutedMetric) EXPECT() *CollectionExecutedMetric_Expecter
func (*CollectionExecutedMetric) ExecutionReceiptReceived ¶ added in v0.33.15
func (_mock *CollectionExecutedMetric) ExecutionReceiptReceived(r *flow.ExecutionReceipt)
ExecutionReceiptReceived provides a mock function for the type CollectionExecutedMetric
func (*CollectionExecutedMetric) UpdateLastFullBlockHeight ¶ added in v0.33.15
func (_mock *CollectionExecutedMetric) UpdateLastFullBlockHeight(height uint64)
UpdateLastFullBlockHeight provides a mock function for the type CollectionExecutedMetric
type CollectionExecutedMetric_BlockFinalized_Call ¶ added in v0.46.0
CollectionExecutedMetric_BlockFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockFinalized'
func (*CollectionExecutedMetric_BlockFinalized_Call) Return ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_BlockFinalized_Call) Return() *CollectionExecutedMetric_BlockFinalized_Call
func (*CollectionExecutedMetric_BlockFinalized_Call) Run ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_BlockFinalized_Call) Run(run func(block *flow.Block)) *CollectionExecutedMetric_BlockFinalized_Call
func (*CollectionExecutedMetric_BlockFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_BlockFinalized_Call) RunAndReturn(run func(block *flow.Block)) *CollectionExecutedMetric_BlockFinalized_Call
type CollectionExecutedMetric_CollectionExecuted_Call ¶ added in v0.46.0
CollectionExecutedMetric_CollectionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionExecuted'
func (*CollectionExecutedMetric_CollectionExecuted_Call) Run ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_CollectionExecuted_Call) Run(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionExecuted_Call
func (*CollectionExecutedMetric_CollectionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_CollectionExecuted_Call) RunAndReturn(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionExecuted_Call
type CollectionExecutedMetric_CollectionFinalized_Call ¶ added in v0.46.0
CollectionExecutedMetric_CollectionFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionFinalized'
func (*CollectionExecutedMetric_CollectionFinalized_Call) Run ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_CollectionFinalized_Call) Run(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionFinalized_Call
func (*CollectionExecutedMetric_CollectionFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_CollectionFinalized_Call) RunAndReturn(run func(light *flow.LightCollection)) *CollectionExecutedMetric_CollectionFinalized_Call
type CollectionExecutedMetric_ExecutionReceiptReceived_Call ¶ added in v0.46.0
CollectionExecutedMetric_ExecutionReceiptReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionReceiptReceived'
func (*CollectionExecutedMetric_ExecutionReceiptReceived_Call) Run ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_ExecutionReceiptReceived_Call) Run(run func(r *flow.ExecutionReceipt)) *CollectionExecutedMetric_ExecutionReceiptReceived_Call
func (*CollectionExecutedMetric_ExecutionReceiptReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_ExecutionReceiptReceived_Call) RunAndReturn(run func(r *flow.ExecutionReceipt)) *CollectionExecutedMetric_ExecutionReceiptReceived_Call
type CollectionExecutedMetric_Expecter ¶ added in v0.46.0
type CollectionExecutedMetric_Expecter struct {
// contains filtered or unexported fields
}
func (*CollectionExecutedMetric_Expecter) BlockFinalized ¶ added in v0.46.0
func (_e *CollectionExecutedMetric_Expecter) BlockFinalized(block interface{}) *CollectionExecutedMetric_BlockFinalized_Call
BlockFinalized is a helper method to define mock.On call
- block *flow.Block
func (*CollectionExecutedMetric_Expecter) CollectionExecuted ¶ added in v0.46.0
func (_e *CollectionExecutedMetric_Expecter) CollectionExecuted(light interface{}) *CollectionExecutedMetric_CollectionExecuted_Call
CollectionExecuted is a helper method to define mock.On call
- light *flow.LightCollection
func (*CollectionExecutedMetric_Expecter) CollectionFinalized ¶ added in v0.46.0
func (_e *CollectionExecutedMetric_Expecter) CollectionFinalized(light interface{}) *CollectionExecutedMetric_CollectionFinalized_Call
CollectionFinalized is a helper method to define mock.On call
- light *flow.LightCollection
func (*CollectionExecutedMetric_Expecter) ExecutionReceiptReceived ¶ added in v0.46.0
func (_e *CollectionExecutedMetric_Expecter) ExecutionReceiptReceived(r interface{}) *CollectionExecutedMetric_ExecutionReceiptReceived_Call
ExecutionReceiptReceived is a helper method to define mock.On call
- r *flow.ExecutionReceipt
func (*CollectionExecutedMetric_Expecter) UpdateLastFullBlockHeight ¶ added in v0.46.0
func (_e *CollectionExecutedMetric_Expecter) UpdateLastFullBlockHeight(height interface{}) *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
UpdateLastFullBlockHeight is a helper method to define mock.On call
- height uint64
type CollectionExecutedMetric_UpdateLastFullBlockHeight_Call ¶ added in v0.46.0
CollectionExecutedMetric_UpdateLastFullBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLastFullBlockHeight'
func (*CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) Run(run func(height uint64)) *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
func (*CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) RunAndReturn(run func(height uint64)) *CollectionExecutedMetric_UpdateLastFullBlockHeight_Call
type CollectionMetrics ¶
CollectionMetrics is an autogenerated mock type for the CollectionMetrics type
func NewCollectionMetrics ¶ added in v0.26.1
func NewCollectionMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *CollectionMetrics
NewCollectionMetrics creates a new instance of CollectionMetrics. 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 (*CollectionMetrics) ClusterBlockCreated ¶ added in v0.43.2
func (_mock *CollectionMetrics) ClusterBlockCreated(block *cluster.Block, priorityTxnsCount uint)
ClusterBlockCreated provides a mock function for the type CollectionMetrics
func (*CollectionMetrics) ClusterBlockFinalized ¶
func (_mock *CollectionMetrics) ClusterBlockFinalized(block *cluster.Block)
ClusterBlockFinalized provides a mock function for the type CollectionMetrics
func (*CollectionMetrics) CollectionMaxSize ¶ added in v0.43.0
func (_mock *CollectionMetrics) CollectionMaxSize(size uint)
CollectionMaxSize provides a mock function for the type CollectionMetrics
func (*CollectionMetrics) EXPECT ¶ added in v0.46.0
func (_m *CollectionMetrics) EXPECT() *CollectionMetrics_Expecter
func (*CollectionMetrics) TransactionIngested ¶
func (_mock *CollectionMetrics) TransactionIngested(txID flow.Identifier)
TransactionIngested provides a mock function for the type CollectionMetrics
func (*CollectionMetrics) TransactionValidated ¶ added in v0.37.22
func (_mock *CollectionMetrics) TransactionValidated()
TransactionValidated provides a mock function for the type CollectionMetrics
func (*CollectionMetrics) TransactionValidationFailed ¶ added in v0.37.22
func (_mock *CollectionMetrics) TransactionValidationFailed(reason string)
TransactionValidationFailed provides a mock function for the type CollectionMetrics
func (*CollectionMetrics) TransactionValidationSkipped ¶ added in v0.37.22
func (_mock *CollectionMetrics) TransactionValidationSkipped()
TransactionValidationSkipped provides a mock function for the type CollectionMetrics
type CollectionMetrics_ClusterBlockCreated_Call ¶ added in v0.46.0
CollectionMetrics_ClusterBlockCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterBlockCreated'
func (*CollectionMetrics_ClusterBlockCreated_Call) Return ¶ added in v0.46.0
func (_c *CollectionMetrics_ClusterBlockCreated_Call) Return() *CollectionMetrics_ClusterBlockCreated_Call
func (*CollectionMetrics_ClusterBlockCreated_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_ClusterBlockCreated_Call) Run(run func(block *cluster.Block, priorityTxnsCount uint)) *CollectionMetrics_ClusterBlockCreated_Call
func (*CollectionMetrics_ClusterBlockCreated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_ClusterBlockCreated_Call) RunAndReturn(run func(block *cluster.Block, priorityTxnsCount uint)) *CollectionMetrics_ClusterBlockCreated_Call
type CollectionMetrics_ClusterBlockFinalized_Call ¶ added in v0.46.0
CollectionMetrics_ClusterBlockFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterBlockFinalized'
func (*CollectionMetrics_ClusterBlockFinalized_Call) Return ¶ added in v0.46.0
func (_c *CollectionMetrics_ClusterBlockFinalized_Call) Return() *CollectionMetrics_ClusterBlockFinalized_Call
func (*CollectionMetrics_ClusterBlockFinalized_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_ClusterBlockFinalized_Call) Run(run func(block *cluster.Block)) *CollectionMetrics_ClusterBlockFinalized_Call
func (*CollectionMetrics_ClusterBlockFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_ClusterBlockFinalized_Call) RunAndReturn(run func(block *cluster.Block)) *CollectionMetrics_ClusterBlockFinalized_Call
type CollectionMetrics_CollectionMaxSize_Call ¶ added in v0.46.0
CollectionMetrics_CollectionMaxSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionMaxSize'
func (*CollectionMetrics_CollectionMaxSize_Call) Return ¶ added in v0.46.0
func (_c *CollectionMetrics_CollectionMaxSize_Call) Return() *CollectionMetrics_CollectionMaxSize_Call
func (*CollectionMetrics_CollectionMaxSize_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_CollectionMaxSize_Call) Run(run func(size uint)) *CollectionMetrics_CollectionMaxSize_Call
func (*CollectionMetrics_CollectionMaxSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_CollectionMaxSize_Call) RunAndReturn(run func(size uint)) *CollectionMetrics_CollectionMaxSize_Call
type CollectionMetrics_Expecter ¶ added in v0.46.0
type CollectionMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*CollectionMetrics_Expecter) ClusterBlockCreated ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) ClusterBlockCreated(block interface{}, priorityTxnsCount interface{}) *CollectionMetrics_ClusterBlockCreated_Call
ClusterBlockCreated is a helper method to define mock.On call
- block *cluster.Block
- priorityTxnsCount uint
func (*CollectionMetrics_Expecter) ClusterBlockFinalized ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) ClusterBlockFinalized(block interface{}) *CollectionMetrics_ClusterBlockFinalized_Call
ClusterBlockFinalized is a helper method to define mock.On call
- block *cluster.Block
func (*CollectionMetrics_Expecter) CollectionMaxSize ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) CollectionMaxSize(size interface{}) *CollectionMetrics_CollectionMaxSize_Call
CollectionMaxSize is a helper method to define mock.On call
- size uint
func (*CollectionMetrics_Expecter) TransactionIngested ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) TransactionIngested(txID interface{}) *CollectionMetrics_TransactionIngested_Call
TransactionIngested is a helper method to define mock.On call
- txID flow.Identifier
func (*CollectionMetrics_Expecter) TransactionValidated ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) TransactionValidated() *CollectionMetrics_TransactionValidated_Call
TransactionValidated is a helper method to define mock.On call
func (*CollectionMetrics_Expecter) TransactionValidationFailed ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) TransactionValidationFailed(reason interface{}) *CollectionMetrics_TransactionValidationFailed_Call
TransactionValidationFailed is a helper method to define mock.On call
- reason string
func (*CollectionMetrics_Expecter) TransactionValidationSkipped ¶ added in v0.46.0
func (_e *CollectionMetrics_Expecter) TransactionValidationSkipped() *CollectionMetrics_TransactionValidationSkipped_Call
TransactionValidationSkipped is a helper method to define mock.On call
type CollectionMetrics_TransactionIngested_Call ¶ added in v0.46.0
CollectionMetrics_TransactionIngested_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionIngested'
func (*CollectionMetrics_TransactionIngested_Call) Return ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionIngested_Call) Return() *CollectionMetrics_TransactionIngested_Call
func (*CollectionMetrics_TransactionIngested_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionIngested_Call) Run(run func(txID flow.Identifier)) *CollectionMetrics_TransactionIngested_Call
func (*CollectionMetrics_TransactionIngested_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionIngested_Call) RunAndReturn(run func(txID flow.Identifier)) *CollectionMetrics_TransactionIngested_Call
type CollectionMetrics_TransactionValidated_Call ¶ added in v0.46.0
CollectionMetrics_TransactionValidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidated'
func (*CollectionMetrics_TransactionValidated_Call) Return ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidated_Call) Return() *CollectionMetrics_TransactionValidated_Call
func (*CollectionMetrics_TransactionValidated_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidated_Call) Run(run func()) *CollectionMetrics_TransactionValidated_Call
func (*CollectionMetrics_TransactionValidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidated_Call) RunAndReturn(run func()) *CollectionMetrics_TransactionValidated_Call
type CollectionMetrics_TransactionValidationFailed_Call ¶ added in v0.46.0
CollectionMetrics_TransactionValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationFailed'
func (*CollectionMetrics_TransactionValidationFailed_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidationFailed_Call) Run(run func(reason string)) *CollectionMetrics_TransactionValidationFailed_Call
func (*CollectionMetrics_TransactionValidationFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidationFailed_Call) RunAndReturn(run func(reason string)) *CollectionMetrics_TransactionValidationFailed_Call
type CollectionMetrics_TransactionValidationSkipped_Call ¶ added in v0.46.0
CollectionMetrics_TransactionValidationSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationSkipped'
func (*CollectionMetrics_TransactionValidationSkipped_Call) Run ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidationSkipped_Call) Run(run func()) *CollectionMetrics_TransactionValidationSkipped_Call
func (*CollectionMetrics_TransactionValidationSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionMetrics_TransactionValidationSkipped_Call) RunAndReturn(run func()) *CollectionMetrics_TransactionValidationSkipped_Call
type ComplianceMetrics ¶
ComplianceMetrics is an autogenerated mock type for the ComplianceMetrics type
func NewComplianceMetrics ¶ added in v0.26.1
func NewComplianceMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ComplianceMetrics
NewComplianceMetrics creates a new instance of ComplianceMetrics. 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 (*ComplianceMetrics) BlockFinalized ¶
func (_mock *ComplianceMetrics) BlockFinalized(v *flow.Block)
BlockFinalized provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) BlockSealed ¶
func (_mock *ComplianceMetrics) BlockSealed(v *flow.Block)
BlockSealed provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) CurrentDKGPhaseViews ¶ added in v0.37.1
func (_mock *ComplianceMetrics) CurrentDKGPhaseViews(phase1FinalView uint64, phase2FinalView uint64, phase3FinalView uint64)
CurrentDKGPhaseViews provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) CurrentEpochCounter ¶ added in v0.20.0
func (_mock *ComplianceMetrics) CurrentEpochCounter(counter uint64)
CurrentEpochCounter provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) CurrentEpochFinalView ¶ added in v0.21.0
func (_mock *ComplianceMetrics) CurrentEpochFinalView(view uint64)
CurrentEpochFinalView provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) CurrentEpochPhase ¶ added in v0.20.0
func (_mock *ComplianceMetrics) CurrentEpochPhase(phase flow.EpochPhase)
CurrentEpochPhase provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) EXPECT ¶ added in v0.46.0
func (_m *ComplianceMetrics) EXPECT() *ComplianceMetrics_Expecter
func (*ComplianceMetrics) EpochFallbackModeExited ¶ added in v0.37.1
func (_mock *ComplianceMetrics) EpochFallbackModeExited()
EpochFallbackModeExited provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) EpochFallbackModeTriggered ¶ added in v0.37.1
func (_mock *ComplianceMetrics) EpochFallbackModeTriggered()
EpochFallbackModeTriggered provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) EpochTransitionHeight ¶ added in v0.30.0
func (_mock *ComplianceMetrics) EpochTransitionHeight(height uint64)
EpochTransitionHeight provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) FinalizedHeight ¶
func (_mock *ComplianceMetrics) FinalizedHeight(height uint64)
FinalizedHeight provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) ProtocolStateVersion ¶ added in v0.39.0
func (_mock *ComplianceMetrics) ProtocolStateVersion(version uint64)
ProtocolStateVersion provides a mock function for the type ComplianceMetrics
func (*ComplianceMetrics) SealedHeight ¶
func (_mock *ComplianceMetrics) SealedHeight(height uint64)
SealedHeight provides a mock function for the type ComplianceMetrics
type ComplianceMetrics_BlockFinalized_Call ¶ added in v0.46.0
ComplianceMetrics_BlockFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockFinalized'
func (*ComplianceMetrics_BlockFinalized_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_BlockFinalized_Call) Return() *ComplianceMetrics_BlockFinalized_Call
func (*ComplianceMetrics_BlockFinalized_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_BlockFinalized_Call) Run(run func(v *flow.Block)) *ComplianceMetrics_BlockFinalized_Call
func (*ComplianceMetrics_BlockFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_BlockFinalized_Call) RunAndReturn(run func(v *flow.Block)) *ComplianceMetrics_BlockFinalized_Call
type ComplianceMetrics_BlockSealed_Call ¶ added in v0.46.0
ComplianceMetrics_BlockSealed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockSealed'
func (*ComplianceMetrics_BlockSealed_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_BlockSealed_Call) Return() *ComplianceMetrics_BlockSealed_Call
func (*ComplianceMetrics_BlockSealed_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_BlockSealed_Call) Run(run func(v *flow.Block)) *ComplianceMetrics_BlockSealed_Call
func (*ComplianceMetrics_BlockSealed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_BlockSealed_Call) RunAndReturn(run func(v *flow.Block)) *ComplianceMetrics_BlockSealed_Call
type ComplianceMetrics_CurrentDKGPhaseViews_Call ¶ added in v0.46.0
ComplianceMetrics_CurrentDKGPhaseViews_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentDKGPhaseViews'
func (*ComplianceMetrics_CurrentDKGPhaseViews_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentDKGPhaseViews_Call) Return() *ComplianceMetrics_CurrentDKGPhaseViews_Call
func (*ComplianceMetrics_CurrentDKGPhaseViews_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentDKGPhaseViews_Call) Run(run func(phase1FinalView uint64, phase2FinalView uint64, phase3FinalView uint64)) *ComplianceMetrics_CurrentDKGPhaseViews_Call
func (*ComplianceMetrics_CurrentDKGPhaseViews_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentDKGPhaseViews_Call) RunAndReturn(run func(phase1FinalView uint64, phase2FinalView uint64, phase3FinalView uint64)) *ComplianceMetrics_CurrentDKGPhaseViews_Call
type ComplianceMetrics_CurrentEpochCounter_Call ¶ added in v0.46.0
ComplianceMetrics_CurrentEpochCounter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentEpochCounter'
func (*ComplianceMetrics_CurrentEpochCounter_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochCounter_Call) Return() *ComplianceMetrics_CurrentEpochCounter_Call
func (*ComplianceMetrics_CurrentEpochCounter_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochCounter_Call) Run(run func(counter uint64)) *ComplianceMetrics_CurrentEpochCounter_Call
func (*ComplianceMetrics_CurrentEpochCounter_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochCounter_Call) RunAndReturn(run func(counter uint64)) *ComplianceMetrics_CurrentEpochCounter_Call
type ComplianceMetrics_CurrentEpochFinalView_Call ¶ added in v0.46.0
ComplianceMetrics_CurrentEpochFinalView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentEpochFinalView'
func (*ComplianceMetrics_CurrentEpochFinalView_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochFinalView_Call) Return() *ComplianceMetrics_CurrentEpochFinalView_Call
func (*ComplianceMetrics_CurrentEpochFinalView_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochFinalView_Call) Run(run func(view uint64)) *ComplianceMetrics_CurrentEpochFinalView_Call
func (*ComplianceMetrics_CurrentEpochFinalView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochFinalView_Call) RunAndReturn(run func(view uint64)) *ComplianceMetrics_CurrentEpochFinalView_Call
type ComplianceMetrics_CurrentEpochPhase_Call ¶ added in v0.46.0
ComplianceMetrics_CurrentEpochPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentEpochPhase'
func (*ComplianceMetrics_CurrentEpochPhase_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochPhase_Call) Return() *ComplianceMetrics_CurrentEpochPhase_Call
func (*ComplianceMetrics_CurrentEpochPhase_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochPhase_Call) Run(run func(phase flow.EpochPhase)) *ComplianceMetrics_CurrentEpochPhase_Call
func (*ComplianceMetrics_CurrentEpochPhase_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_CurrentEpochPhase_Call) RunAndReturn(run func(phase flow.EpochPhase)) *ComplianceMetrics_CurrentEpochPhase_Call
type ComplianceMetrics_EpochFallbackModeExited_Call ¶ added in v0.46.0
ComplianceMetrics_EpochFallbackModeExited_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EpochFallbackModeExited'
func (*ComplianceMetrics_EpochFallbackModeExited_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochFallbackModeExited_Call) Run(run func()) *ComplianceMetrics_EpochFallbackModeExited_Call
func (*ComplianceMetrics_EpochFallbackModeExited_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochFallbackModeExited_Call) RunAndReturn(run func()) *ComplianceMetrics_EpochFallbackModeExited_Call
type ComplianceMetrics_EpochFallbackModeTriggered_Call ¶ added in v0.46.0
ComplianceMetrics_EpochFallbackModeTriggered_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EpochFallbackModeTriggered'
func (*ComplianceMetrics_EpochFallbackModeTriggered_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochFallbackModeTriggered_Call) Run(run func()) *ComplianceMetrics_EpochFallbackModeTriggered_Call
func (*ComplianceMetrics_EpochFallbackModeTriggered_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochFallbackModeTriggered_Call) RunAndReturn(run func()) *ComplianceMetrics_EpochFallbackModeTriggered_Call
type ComplianceMetrics_EpochTransitionHeight_Call ¶ added in v0.46.0
ComplianceMetrics_EpochTransitionHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EpochTransitionHeight'
func (*ComplianceMetrics_EpochTransitionHeight_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochTransitionHeight_Call) Return() *ComplianceMetrics_EpochTransitionHeight_Call
func (*ComplianceMetrics_EpochTransitionHeight_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochTransitionHeight_Call) Run(run func(height uint64)) *ComplianceMetrics_EpochTransitionHeight_Call
func (*ComplianceMetrics_EpochTransitionHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_EpochTransitionHeight_Call) RunAndReturn(run func(height uint64)) *ComplianceMetrics_EpochTransitionHeight_Call
type ComplianceMetrics_Expecter ¶ added in v0.46.0
type ComplianceMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ComplianceMetrics_Expecter) BlockFinalized ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) BlockFinalized(v interface{}) *ComplianceMetrics_BlockFinalized_Call
BlockFinalized is a helper method to define mock.On call
- v *flow.Block
func (*ComplianceMetrics_Expecter) BlockSealed ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) BlockSealed(v interface{}) *ComplianceMetrics_BlockSealed_Call
BlockSealed is a helper method to define mock.On call
- v *flow.Block
func (*ComplianceMetrics_Expecter) CurrentDKGPhaseViews ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) CurrentDKGPhaseViews(phase1FinalView interface{}, phase2FinalView interface{}, phase3FinalView interface{}) *ComplianceMetrics_CurrentDKGPhaseViews_Call
CurrentDKGPhaseViews is a helper method to define mock.On call
- phase1FinalView uint64
- phase2FinalView uint64
- phase3FinalView uint64
func (*ComplianceMetrics_Expecter) CurrentEpochCounter ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) CurrentEpochCounter(counter interface{}) *ComplianceMetrics_CurrentEpochCounter_Call
CurrentEpochCounter is a helper method to define mock.On call
- counter uint64
func (*ComplianceMetrics_Expecter) CurrentEpochFinalView ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) CurrentEpochFinalView(view interface{}) *ComplianceMetrics_CurrentEpochFinalView_Call
CurrentEpochFinalView is a helper method to define mock.On call
- view uint64
func (*ComplianceMetrics_Expecter) CurrentEpochPhase ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) CurrentEpochPhase(phase interface{}) *ComplianceMetrics_CurrentEpochPhase_Call
CurrentEpochPhase is a helper method to define mock.On call
- phase flow.EpochPhase
func (*ComplianceMetrics_Expecter) EpochFallbackModeExited ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) EpochFallbackModeExited() *ComplianceMetrics_EpochFallbackModeExited_Call
EpochFallbackModeExited is a helper method to define mock.On call
func (*ComplianceMetrics_Expecter) EpochFallbackModeTriggered ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) EpochFallbackModeTriggered() *ComplianceMetrics_EpochFallbackModeTriggered_Call
EpochFallbackModeTriggered is a helper method to define mock.On call
func (*ComplianceMetrics_Expecter) EpochTransitionHeight ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) EpochTransitionHeight(height interface{}) *ComplianceMetrics_EpochTransitionHeight_Call
EpochTransitionHeight is a helper method to define mock.On call
- height uint64
func (*ComplianceMetrics_Expecter) FinalizedHeight ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) FinalizedHeight(height interface{}) *ComplianceMetrics_FinalizedHeight_Call
FinalizedHeight is a helper method to define mock.On call
- height uint64
func (*ComplianceMetrics_Expecter) ProtocolStateVersion ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) ProtocolStateVersion(version interface{}) *ComplianceMetrics_ProtocolStateVersion_Call
ProtocolStateVersion is a helper method to define mock.On call
- version uint64
func (*ComplianceMetrics_Expecter) SealedHeight ¶ added in v0.46.0
func (_e *ComplianceMetrics_Expecter) SealedHeight(height interface{}) *ComplianceMetrics_SealedHeight_Call
SealedHeight is a helper method to define mock.On call
- height uint64
type ComplianceMetrics_FinalizedHeight_Call ¶ added in v0.46.0
ComplianceMetrics_FinalizedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizedHeight'
func (*ComplianceMetrics_FinalizedHeight_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_FinalizedHeight_Call) Return() *ComplianceMetrics_FinalizedHeight_Call
func (*ComplianceMetrics_FinalizedHeight_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_FinalizedHeight_Call) Run(run func(height uint64)) *ComplianceMetrics_FinalizedHeight_Call
func (*ComplianceMetrics_FinalizedHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_FinalizedHeight_Call) RunAndReturn(run func(height uint64)) *ComplianceMetrics_FinalizedHeight_Call
type ComplianceMetrics_ProtocolStateVersion_Call ¶ added in v0.46.0
ComplianceMetrics_ProtocolStateVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProtocolStateVersion'
func (*ComplianceMetrics_ProtocolStateVersion_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_ProtocolStateVersion_Call) Return() *ComplianceMetrics_ProtocolStateVersion_Call
func (*ComplianceMetrics_ProtocolStateVersion_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_ProtocolStateVersion_Call) Run(run func(version uint64)) *ComplianceMetrics_ProtocolStateVersion_Call
func (*ComplianceMetrics_ProtocolStateVersion_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_ProtocolStateVersion_Call) RunAndReturn(run func(version uint64)) *ComplianceMetrics_ProtocolStateVersion_Call
type ComplianceMetrics_SealedHeight_Call ¶ added in v0.46.0
ComplianceMetrics_SealedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SealedHeight'
func (*ComplianceMetrics_SealedHeight_Call) Return ¶ added in v0.46.0
func (_c *ComplianceMetrics_SealedHeight_Call) Return() *ComplianceMetrics_SealedHeight_Call
func (*ComplianceMetrics_SealedHeight_Call) Run ¶ added in v0.46.0
func (_c *ComplianceMetrics_SealedHeight_Call) Run(run func(height uint64)) *ComplianceMetrics_SealedHeight_Call
func (*ComplianceMetrics_SealedHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComplianceMetrics_SealedHeight_Call) RunAndReturn(run func(height uint64)) *ComplianceMetrics_SealedHeight_Call
type ConsensusMetrics ¶
ConsensusMetrics is an autogenerated mock type for the ConsensusMetrics type
func NewConsensusMetrics ¶ added in v0.26.1
func NewConsensusMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ConsensusMetrics
NewConsensusMetrics creates a new instance of ConsensusMetrics. 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 (*ConsensusMetrics) CheckSealingDuration ¶ added in v0.11.0
func (_mock *ConsensusMetrics) CheckSealingDuration(duration time.Duration)
CheckSealingDuration provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) EXPECT ¶ added in v0.46.0
func (_m *ConsensusMetrics) EXPECT() *ConsensusMetrics_Expecter
func (*ConsensusMetrics) EmergencySeal ¶ added in v0.14.0
func (_mock *ConsensusMetrics) EmergencySeal()
EmergencySeal provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) FinishBlockToSeal ¶
func (_mock *ConsensusMetrics) FinishBlockToSeal(blockID flow.Identifier)
FinishBlockToSeal provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) FinishCollectionToFinalized ¶
func (_mock *ConsensusMetrics) FinishCollectionToFinalized(collectionID flow.Identifier)
FinishCollectionToFinalized provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) OnApprovalProcessingDuration ¶ added in v0.14.1
func (_mock *ConsensusMetrics) OnApprovalProcessingDuration(duration time.Duration)
OnApprovalProcessingDuration provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) OnReceiptProcessingDuration ¶ added in v0.14.1
func (_mock *ConsensusMetrics) OnReceiptProcessingDuration(duration time.Duration)
OnReceiptProcessingDuration provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) StartBlockToSeal ¶
func (_mock *ConsensusMetrics) StartBlockToSeal(blockID flow.Identifier)
StartBlockToSeal provides a mock function for the type ConsensusMetrics
func (*ConsensusMetrics) StartCollectionToFinalized ¶
func (_mock *ConsensusMetrics) StartCollectionToFinalized(collectionID flow.Identifier)
StartCollectionToFinalized provides a mock function for the type ConsensusMetrics
type ConsensusMetrics_CheckSealingDuration_Call ¶ added in v0.46.0
ConsensusMetrics_CheckSealingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckSealingDuration'
func (*ConsensusMetrics_CheckSealingDuration_Call) Return ¶ added in v0.46.0
func (_c *ConsensusMetrics_CheckSealingDuration_Call) Return() *ConsensusMetrics_CheckSealingDuration_Call
func (*ConsensusMetrics_CheckSealingDuration_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_CheckSealingDuration_Call) Run(run func(duration time.Duration)) *ConsensusMetrics_CheckSealingDuration_Call
func (*ConsensusMetrics_CheckSealingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_CheckSealingDuration_Call) RunAndReturn(run func(duration time.Duration)) *ConsensusMetrics_CheckSealingDuration_Call
type ConsensusMetrics_EmergencySeal_Call ¶ added in v0.46.0
ConsensusMetrics_EmergencySeal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmergencySeal'
func (*ConsensusMetrics_EmergencySeal_Call) Return ¶ added in v0.46.0
func (_c *ConsensusMetrics_EmergencySeal_Call) Return() *ConsensusMetrics_EmergencySeal_Call
func (*ConsensusMetrics_EmergencySeal_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_EmergencySeal_Call) Run(run func()) *ConsensusMetrics_EmergencySeal_Call
func (*ConsensusMetrics_EmergencySeal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_EmergencySeal_Call) RunAndReturn(run func()) *ConsensusMetrics_EmergencySeal_Call
type ConsensusMetrics_Expecter ¶ added in v0.46.0
type ConsensusMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ConsensusMetrics_Expecter) CheckSealingDuration ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) CheckSealingDuration(duration interface{}) *ConsensusMetrics_CheckSealingDuration_Call
CheckSealingDuration is a helper method to define mock.On call
- duration time.Duration
func (*ConsensusMetrics_Expecter) EmergencySeal ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) EmergencySeal() *ConsensusMetrics_EmergencySeal_Call
EmergencySeal is a helper method to define mock.On call
func (*ConsensusMetrics_Expecter) FinishBlockToSeal ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) FinishBlockToSeal(blockID interface{}) *ConsensusMetrics_FinishBlockToSeal_Call
FinishBlockToSeal is a helper method to define mock.On call
- blockID flow.Identifier
func (*ConsensusMetrics_Expecter) FinishCollectionToFinalized ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) FinishCollectionToFinalized(collectionID interface{}) *ConsensusMetrics_FinishCollectionToFinalized_Call
FinishCollectionToFinalized is a helper method to define mock.On call
- collectionID flow.Identifier
func (*ConsensusMetrics_Expecter) OnApprovalProcessingDuration ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) OnApprovalProcessingDuration(duration interface{}) *ConsensusMetrics_OnApprovalProcessingDuration_Call
OnApprovalProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*ConsensusMetrics_Expecter) OnReceiptProcessingDuration ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) OnReceiptProcessingDuration(duration interface{}) *ConsensusMetrics_OnReceiptProcessingDuration_Call
OnReceiptProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*ConsensusMetrics_Expecter) StartBlockToSeal ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) StartBlockToSeal(blockID interface{}) *ConsensusMetrics_StartBlockToSeal_Call
StartBlockToSeal is a helper method to define mock.On call
- blockID flow.Identifier
func (*ConsensusMetrics_Expecter) StartCollectionToFinalized ¶ added in v0.46.0
func (_e *ConsensusMetrics_Expecter) StartCollectionToFinalized(collectionID interface{}) *ConsensusMetrics_StartCollectionToFinalized_Call
StartCollectionToFinalized is a helper method to define mock.On call
- collectionID flow.Identifier
type ConsensusMetrics_FinishBlockToSeal_Call ¶ added in v0.46.0
ConsensusMetrics_FinishBlockToSeal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishBlockToSeal'
func (*ConsensusMetrics_FinishBlockToSeal_Call) Return ¶ added in v0.46.0
func (_c *ConsensusMetrics_FinishBlockToSeal_Call) Return() *ConsensusMetrics_FinishBlockToSeal_Call
func (*ConsensusMetrics_FinishBlockToSeal_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_FinishBlockToSeal_Call) Run(run func(blockID flow.Identifier)) *ConsensusMetrics_FinishBlockToSeal_Call
func (*ConsensusMetrics_FinishBlockToSeal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_FinishBlockToSeal_Call) RunAndReturn(run func(blockID flow.Identifier)) *ConsensusMetrics_FinishBlockToSeal_Call
type ConsensusMetrics_FinishCollectionToFinalized_Call ¶ added in v0.46.0
ConsensusMetrics_FinishCollectionToFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishCollectionToFinalized'
func (*ConsensusMetrics_FinishCollectionToFinalized_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_FinishCollectionToFinalized_Call) Run(run func(collectionID flow.Identifier)) *ConsensusMetrics_FinishCollectionToFinalized_Call
func (*ConsensusMetrics_FinishCollectionToFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_FinishCollectionToFinalized_Call) RunAndReturn(run func(collectionID flow.Identifier)) *ConsensusMetrics_FinishCollectionToFinalized_Call
type ConsensusMetrics_OnApprovalProcessingDuration_Call ¶ added in v0.46.0
ConsensusMetrics_OnApprovalProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnApprovalProcessingDuration'
func (*ConsensusMetrics_OnApprovalProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_OnApprovalProcessingDuration_Call) Run(run func(duration time.Duration)) *ConsensusMetrics_OnApprovalProcessingDuration_Call
func (*ConsensusMetrics_OnApprovalProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_OnApprovalProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *ConsensusMetrics_OnApprovalProcessingDuration_Call
type ConsensusMetrics_OnReceiptProcessingDuration_Call ¶ added in v0.46.0
ConsensusMetrics_OnReceiptProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReceiptProcessingDuration'
func (*ConsensusMetrics_OnReceiptProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_OnReceiptProcessingDuration_Call) Run(run func(duration time.Duration)) *ConsensusMetrics_OnReceiptProcessingDuration_Call
func (*ConsensusMetrics_OnReceiptProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_OnReceiptProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *ConsensusMetrics_OnReceiptProcessingDuration_Call
type ConsensusMetrics_StartBlockToSeal_Call ¶ added in v0.46.0
ConsensusMetrics_StartBlockToSeal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartBlockToSeal'
func (*ConsensusMetrics_StartBlockToSeal_Call) Return ¶ added in v0.46.0
func (_c *ConsensusMetrics_StartBlockToSeal_Call) Return() *ConsensusMetrics_StartBlockToSeal_Call
func (*ConsensusMetrics_StartBlockToSeal_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_StartBlockToSeal_Call) Run(run func(blockID flow.Identifier)) *ConsensusMetrics_StartBlockToSeal_Call
func (*ConsensusMetrics_StartBlockToSeal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_StartBlockToSeal_Call) RunAndReturn(run func(blockID flow.Identifier)) *ConsensusMetrics_StartBlockToSeal_Call
type ConsensusMetrics_StartCollectionToFinalized_Call ¶ added in v0.46.0
ConsensusMetrics_StartCollectionToFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartCollectionToFinalized'
func (*ConsensusMetrics_StartCollectionToFinalized_Call) Run ¶ added in v0.46.0
func (_c *ConsensusMetrics_StartCollectionToFinalized_Call) Run(run func(collectionID flow.Identifier)) *ConsensusMetrics_StartCollectionToFinalized_Call
func (*ConsensusMetrics_StartCollectionToFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsensusMetrics_StartCollectionToFinalized_Call) RunAndReturn(run func(collectionID flow.Identifier)) *ConsensusMetrics_StartCollectionToFinalized_Call
type CruiseCtlMetrics ¶ added in v0.31.0
CruiseCtlMetrics is an autogenerated mock type for the CruiseCtlMetrics type
func NewCruiseCtlMetrics ¶ added in v0.31.0
func NewCruiseCtlMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *CruiseCtlMetrics
NewCruiseCtlMetrics creates a new instance of CruiseCtlMetrics. 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 (*CruiseCtlMetrics) ControllerOutput ¶ added in v0.31.0
func (_mock *CruiseCtlMetrics) ControllerOutput(duration time.Duration)
ControllerOutput provides a mock function for the type CruiseCtlMetrics
func (*CruiseCtlMetrics) EXPECT ¶ added in v0.46.0
func (_m *CruiseCtlMetrics) EXPECT() *CruiseCtlMetrics_Expecter
func (*CruiseCtlMetrics) PIDError ¶ added in v0.31.0
func (_mock *CruiseCtlMetrics) PIDError(p float64, i float64, d float64)
PIDError provides a mock function for the type CruiseCtlMetrics
func (*CruiseCtlMetrics) ProposalPublicationDelay ¶ added in v0.33.30
func (_mock *CruiseCtlMetrics) ProposalPublicationDelay(duration time.Duration)
ProposalPublicationDelay provides a mock function for the type CruiseCtlMetrics
func (*CruiseCtlMetrics) TargetProposalDuration ¶ added in v0.31.0
func (_mock *CruiseCtlMetrics) TargetProposalDuration(duration time.Duration)
TargetProposalDuration provides a mock function for the type CruiseCtlMetrics
type CruiseCtlMetrics_ControllerOutput_Call ¶ added in v0.46.0
CruiseCtlMetrics_ControllerOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ControllerOutput'
func (*CruiseCtlMetrics_ControllerOutput_Call) Return ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_ControllerOutput_Call) Return() *CruiseCtlMetrics_ControllerOutput_Call
func (*CruiseCtlMetrics_ControllerOutput_Call) Run ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_ControllerOutput_Call) Run(run func(duration time.Duration)) *CruiseCtlMetrics_ControllerOutput_Call
func (*CruiseCtlMetrics_ControllerOutput_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_ControllerOutput_Call) RunAndReturn(run func(duration time.Duration)) *CruiseCtlMetrics_ControllerOutput_Call
type CruiseCtlMetrics_Expecter ¶ added in v0.46.0
type CruiseCtlMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*CruiseCtlMetrics_Expecter) ControllerOutput ¶ added in v0.46.0
func (_e *CruiseCtlMetrics_Expecter) ControllerOutput(duration interface{}) *CruiseCtlMetrics_ControllerOutput_Call
ControllerOutput is a helper method to define mock.On call
- duration time.Duration
func (*CruiseCtlMetrics_Expecter) PIDError ¶ added in v0.46.0
func (_e *CruiseCtlMetrics_Expecter) PIDError(p interface{}, i interface{}, d interface{}) *CruiseCtlMetrics_PIDError_Call
PIDError is a helper method to define mock.On call
- p float64
- i float64
- d float64
func (*CruiseCtlMetrics_Expecter) ProposalPublicationDelay ¶ added in v0.46.0
func (_e *CruiseCtlMetrics_Expecter) ProposalPublicationDelay(duration interface{}) *CruiseCtlMetrics_ProposalPublicationDelay_Call
ProposalPublicationDelay is a helper method to define mock.On call
- duration time.Duration
func (*CruiseCtlMetrics_Expecter) TargetProposalDuration ¶ added in v0.46.0
func (_e *CruiseCtlMetrics_Expecter) TargetProposalDuration(duration interface{}) *CruiseCtlMetrics_TargetProposalDuration_Call
TargetProposalDuration is a helper method to define mock.On call
- duration time.Duration
type CruiseCtlMetrics_PIDError_Call ¶ added in v0.46.0
CruiseCtlMetrics_PIDError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PIDError'
func (*CruiseCtlMetrics_PIDError_Call) Return ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_PIDError_Call) Return() *CruiseCtlMetrics_PIDError_Call
func (*CruiseCtlMetrics_PIDError_Call) Run ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_PIDError_Call) Run(run func(p float64, i float64, d float64)) *CruiseCtlMetrics_PIDError_Call
func (*CruiseCtlMetrics_PIDError_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_PIDError_Call) RunAndReturn(run func(p float64, i float64, d float64)) *CruiseCtlMetrics_PIDError_Call
type CruiseCtlMetrics_ProposalPublicationDelay_Call ¶ added in v0.46.0
CruiseCtlMetrics_ProposalPublicationDelay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalPublicationDelay'
func (*CruiseCtlMetrics_ProposalPublicationDelay_Call) Run ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_ProposalPublicationDelay_Call) Run(run func(duration time.Duration)) *CruiseCtlMetrics_ProposalPublicationDelay_Call
func (*CruiseCtlMetrics_ProposalPublicationDelay_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_ProposalPublicationDelay_Call) RunAndReturn(run func(duration time.Duration)) *CruiseCtlMetrics_ProposalPublicationDelay_Call
type CruiseCtlMetrics_TargetProposalDuration_Call ¶ added in v0.46.0
CruiseCtlMetrics_TargetProposalDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TargetProposalDuration'
func (*CruiseCtlMetrics_TargetProposalDuration_Call) Return ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_TargetProposalDuration_Call) Return() *CruiseCtlMetrics_TargetProposalDuration_Call
func (*CruiseCtlMetrics_TargetProposalDuration_Call) Run ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_TargetProposalDuration_Call) Run(run func(duration time.Duration)) *CruiseCtlMetrics_TargetProposalDuration_Call
func (*CruiseCtlMetrics_TargetProposalDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CruiseCtlMetrics_TargetProposalDuration_Call) RunAndReturn(run func(duration time.Duration)) *CruiseCtlMetrics_TargetProposalDuration_Call
type DHTMetrics ¶ added in v0.26.17
DHTMetrics is an autogenerated mock type for the DHTMetrics type
func NewDHTMetrics ¶ added in v0.26.17
func NewDHTMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *DHTMetrics
NewDHTMetrics creates a new instance of DHTMetrics. 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 (*DHTMetrics) EXPECT ¶ added in v0.46.0
func (_m *DHTMetrics) EXPECT() *DHTMetrics_Expecter
func (*DHTMetrics) RoutingTablePeerAdded ¶ added in v0.26.17
func (_mock *DHTMetrics) RoutingTablePeerAdded()
RoutingTablePeerAdded provides a mock function for the type DHTMetrics
func (*DHTMetrics) RoutingTablePeerRemoved ¶ added in v0.26.17
func (_mock *DHTMetrics) RoutingTablePeerRemoved()
RoutingTablePeerRemoved provides a mock function for the type DHTMetrics
type DHTMetrics_Expecter ¶ added in v0.46.0
type DHTMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*DHTMetrics_Expecter) RoutingTablePeerAdded ¶ added in v0.46.0
func (_e *DHTMetrics_Expecter) RoutingTablePeerAdded() *DHTMetrics_RoutingTablePeerAdded_Call
RoutingTablePeerAdded is a helper method to define mock.On call
func (*DHTMetrics_Expecter) RoutingTablePeerRemoved ¶ added in v0.46.0
func (_e *DHTMetrics_Expecter) RoutingTablePeerRemoved() *DHTMetrics_RoutingTablePeerRemoved_Call
RoutingTablePeerRemoved is a helper method to define mock.On call
type DHTMetrics_RoutingTablePeerAdded_Call ¶ added in v0.46.0
DHTMetrics_RoutingTablePeerAdded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoutingTablePeerAdded'
func (*DHTMetrics_RoutingTablePeerAdded_Call) Return ¶ added in v0.46.0
func (_c *DHTMetrics_RoutingTablePeerAdded_Call) Return() *DHTMetrics_RoutingTablePeerAdded_Call
func (*DHTMetrics_RoutingTablePeerAdded_Call) Run ¶ added in v0.46.0
func (_c *DHTMetrics_RoutingTablePeerAdded_Call) Run(run func()) *DHTMetrics_RoutingTablePeerAdded_Call
func (*DHTMetrics_RoutingTablePeerAdded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DHTMetrics_RoutingTablePeerAdded_Call) RunAndReturn(run func()) *DHTMetrics_RoutingTablePeerAdded_Call
type DHTMetrics_RoutingTablePeerRemoved_Call ¶ added in v0.46.0
DHTMetrics_RoutingTablePeerRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoutingTablePeerRemoved'
func (*DHTMetrics_RoutingTablePeerRemoved_Call) Return ¶ added in v0.46.0
func (_c *DHTMetrics_RoutingTablePeerRemoved_Call) Return() *DHTMetrics_RoutingTablePeerRemoved_Call
func (*DHTMetrics_RoutingTablePeerRemoved_Call) Run ¶ added in v0.46.0
func (_c *DHTMetrics_RoutingTablePeerRemoved_Call) Run(run func()) *DHTMetrics_RoutingTablePeerRemoved_Call
func (*DHTMetrics_RoutingTablePeerRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DHTMetrics_RoutingTablePeerRemoved_Call) RunAndReturn(run func()) *DHTMetrics_RoutingTablePeerRemoved_Call
type DKGBroker ¶ added in v0.20.0
DKGBroker is an autogenerated mock type for the DKGBroker type
func NewDKGBroker ¶ added in v0.26.1
NewDKGBroker creates a new instance of DKGBroker. 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 (*DKGBroker) Broadcast ¶ added in v0.20.0
Broadcast provides a mock function for the type DKGBroker
func (*DKGBroker) Disqualify ¶ added in v0.20.0
Disqualify provides a mock function for the type DKGBroker
func (*DKGBroker) EXPECT ¶ added in v0.46.0
func (_m *DKGBroker) EXPECT() *DKGBroker_Expecter
func (*DKGBroker) FlagMisbehavior ¶ added in v0.20.0
FlagMisbehavior provides a mock function for the type DKGBroker
func (*DKGBroker) GetBroadcastMsgCh ¶ added in v0.20.0
func (_mock *DKGBroker) GetBroadcastMsgCh() <-chan messages.BroadcastDKGMessage
GetBroadcastMsgCh provides a mock function for the type DKGBroker
func (*DKGBroker) GetIndex ¶ added in v0.20.0
GetIndex provides a mock function for the type DKGBroker
func (*DKGBroker) GetPrivateMsgCh ¶ added in v0.20.0
func (_mock *DKGBroker) GetPrivateMsgCh() <-chan messages.PrivDKGMessageIn
GetPrivateMsgCh provides a mock function for the type DKGBroker
func (*DKGBroker) Poll ¶ added in v0.20.0
func (_mock *DKGBroker) Poll(referenceBlock flow.Identifier) error
Poll provides a mock function for the type DKGBroker
func (*DKGBroker) PrivateSend ¶ added in v0.20.0
PrivateSend provides a mock function for the type DKGBroker
type DKGBroker_Broadcast_Call ¶ added in v0.46.0
DKGBroker_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*DKGBroker_Broadcast_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_Broadcast_Call) Return() *DKGBroker_Broadcast_Call
func (*DKGBroker_Broadcast_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_Broadcast_Call) Run(run func(data []byte)) *DKGBroker_Broadcast_Call
func (*DKGBroker_Broadcast_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_Broadcast_Call) RunAndReturn(run func(data []byte)) *DKGBroker_Broadcast_Call
type DKGBroker_Disqualify_Call ¶ added in v0.46.0
DKGBroker_Disqualify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Disqualify'
func (*DKGBroker_Disqualify_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_Disqualify_Call) Return() *DKGBroker_Disqualify_Call
func (*DKGBroker_Disqualify_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_Disqualify_Call) Run(run func(index int, log string)) *DKGBroker_Disqualify_Call
func (*DKGBroker_Disqualify_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_Disqualify_Call) RunAndReturn(run func(index int, log string)) *DKGBroker_Disqualify_Call
type DKGBroker_Expecter ¶ added in v0.46.0
type DKGBroker_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGBroker_Expecter) Broadcast ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) Broadcast(data interface{}) *DKGBroker_Broadcast_Call
Broadcast is a helper method to define mock.On call
- data []byte
func (*DKGBroker_Expecter) Disqualify ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) Disqualify(index interface{}, log interface{}) *DKGBroker_Disqualify_Call
Disqualify is a helper method to define mock.On call
- index int
- log string
func (*DKGBroker_Expecter) FlagMisbehavior ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) FlagMisbehavior(index interface{}, log interface{}) *DKGBroker_FlagMisbehavior_Call
FlagMisbehavior is a helper method to define mock.On call
- index int
- log string
func (*DKGBroker_Expecter) GetBroadcastMsgCh ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) GetBroadcastMsgCh() *DKGBroker_GetBroadcastMsgCh_Call
GetBroadcastMsgCh is a helper method to define mock.On call
func (*DKGBroker_Expecter) GetIndex ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) GetIndex() *DKGBroker_GetIndex_Call
GetIndex is a helper method to define mock.On call
func (*DKGBroker_Expecter) GetPrivateMsgCh ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) GetPrivateMsgCh() *DKGBroker_GetPrivateMsgCh_Call
GetPrivateMsgCh is a helper method to define mock.On call
func (*DKGBroker_Expecter) Poll ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) Poll(referenceBlock interface{}) *DKGBroker_Poll_Call
Poll is a helper method to define mock.On call
- referenceBlock flow.Identifier
func (*DKGBroker_Expecter) PrivateSend ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) PrivateSend(dest interface{}, data interface{}) *DKGBroker_PrivateSend_Call
PrivateSend is a helper method to define mock.On call
- dest int
- data []byte
func (*DKGBroker_Expecter) Shutdown ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) Shutdown() *DKGBroker_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*DKGBroker_Expecter) SubmitResult ¶ added in v0.46.0
func (_e *DKGBroker_Expecter) SubmitResult(publicKey interface{}, publicKeys interface{}) *DKGBroker_SubmitResult_Call
SubmitResult is a helper method to define mock.On call
- publicKey crypto.PublicKey
- publicKeys []crypto.PublicKey
type DKGBroker_FlagMisbehavior_Call ¶ added in v0.46.0
DKGBroker_FlagMisbehavior_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlagMisbehavior'
func (*DKGBroker_FlagMisbehavior_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_FlagMisbehavior_Call) Return() *DKGBroker_FlagMisbehavior_Call
func (*DKGBroker_FlagMisbehavior_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_FlagMisbehavior_Call) Run(run func(index int, log string)) *DKGBroker_FlagMisbehavior_Call
func (*DKGBroker_FlagMisbehavior_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_FlagMisbehavior_Call) RunAndReturn(run func(index int, log string)) *DKGBroker_FlagMisbehavior_Call
type DKGBroker_GetBroadcastMsgCh_Call ¶ added in v0.46.0
DKGBroker_GetBroadcastMsgCh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBroadcastMsgCh'
func (*DKGBroker_GetBroadcastMsgCh_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_GetBroadcastMsgCh_Call) Return(broadcastDKGMessageCh <-chan messages.BroadcastDKGMessage) *DKGBroker_GetBroadcastMsgCh_Call
func (*DKGBroker_GetBroadcastMsgCh_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_GetBroadcastMsgCh_Call) Run(run func()) *DKGBroker_GetBroadcastMsgCh_Call
func (*DKGBroker_GetBroadcastMsgCh_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_GetBroadcastMsgCh_Call) RunAndReturn(run func() <-chan messages.BroadcastDKGMessage) *DKGBroker_GetBroadcastMsgCh_Call
type DKGBroker_GetIndex_Call ¶ added in v0.46.0
DKGBroker_GetIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndex'
func (*DKGBroker_GetIndex_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_GetIndex_Call) Return(n int) *DKGBroker_GetIndex_Call
func (*DKGBroker_GetIndex_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_GetIndex_Call) Run(run func()) *DKGBroker_GetIndex_Call
func (*DKGBroker_GetIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_GetIndex_Call) RunAndReturn(run func() int) *DKGBroker_GetIndex_Call
type DKGBroker_GetPrivateMsgCh_Call ¶ added in v0.46.0
DKGBroker_GetPrivateMsgCh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPrivateMsgCh'
func (*DKGBroker_GetPrivateMsgCh_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_GetPrivateMsgCh_Call) Return(privDKGMessageInCh <-chan messages.PrivDKGMessageIn) *DKGBroker_GetPrivateMsgCh_Call
func (*DKGBroker_GetPrivateMsgCh_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_GetPrivateMsgCh_Call) Run(run func()) *DKGBroker_GetPrivateMsgCh_Call
func (*DKGBroker_GetPrivateMsgCh_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_GetPrivateMsgCh_Call) RunAndReturn(run func() <-chan messages.PrivDKGMessageIn) *DKGBroker_GetPrivateMsgCh_Call
type DKGBroker_Poll_Call ¶ added in v0.46.0
DKGBroker_Poll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Poll'
func (*DKGBroker_Poll_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_Poll_Call) Return(err error) *DKGBroker_Poll_Call
func (*DKGBroker_Poll_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_Poll_Call) Run(run func(referenceBlock flow.Identifier)) *DKGBroker_Poll_Call
func (*DKGBroker_Poll_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_Poll_Call) RunAndReturn(run func(referenceBlock flow.Identifier) error) *DKGBroker_Poll_Call
type DKGBroker_PrivateSend_Call ¶ added in v0.46.0
DKGBroker_PrivateSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrivateSend'
func (*DKGBroker_PrivateSend_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_PrivateSend_Call) Return() *DKGBroker_PrivateSend_Call
func (*DKGBroker_PrivateSend_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_PrivateSend_Call) Run(run func(dest int, data []byte)) *DKGBroker_PrivateSend_Call
func (*DKGBroker_PrivateSend_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_PrivateSend_Call) RunAndReturn(run func(dest int, data []byte)) *DKGBroker_PrivateSend_Call
type DKGBroker_Shutdown_Call ¶ added in v0.46.0
DKGBroker_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*DKGBroker_Shutdown_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_Shutdown_Call) Return() *DKGBroker_Shutdown_Call
func (*DKGBroker_Shutdown_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_Shutdown_Call) Run(run func()) *DKGBroker_Shutdown_Call
func (*DKGBroker_Shutdown_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_Shutdown_Call) RunAndReturn(run func()) *DKGBroker_Shutdown_Call
type DKGBroker_SubmitResult_Call ¶ added in v0.46.0
DKGBroker_SubmitResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitResult'
func (*DKGBroker_SubmitResult_Call) Return ¶ added in v0.46.0
func (_c *DKGBroker_SubmitResult_Call) Return(err error) *DKGBroker_SubmitResult_Call
func (*DKGBroker_SubmitResult_Call) Run ¶ added in v0.46.0
func (_c *DKGBroker_SubmitResult_Call) Run(run func(publicKey crypto.PublicKey, publicKeys []crypto.PublicKey)) *DKGBroker_SubmitResult_Call
func (*DKGBroker_SubmitResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGBroker_SubmitResult_Call) RunAndReturn(run func(publicKey crypto.PublicKey, publicKeys []crypto.PublicKey) error) *DKGBroker_SubmitResult_Call
type DKGContractClient ¶ added in v0.20.0
DKGContractClient is an autogenerated mock type for the DKGContractClient type
func NewDKGContractClient ¶ added in v0.26.1
func NewDKGContractClient(t interface {
mock.TestingT
Cleanup(func())
}) *DKGContractClient
NewDKGContractClient creates a new instance of DKGContractClient. 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 (*DKGContractClient) Broadcast ¶ added in v0.20.0
func (_mock *DKGContractClient) Broadcast(msg messages.BroadcastDKGMessage) error
Broadcast provides a mock function for the type DKGContractClient
func (*DKGContractClient) EXPECT ¶ added in v0.46.0
func (_m *DKGContractClient) EXPECT() *DKGContractClient_Expecter
func (*DKGContractClient) ReadBroadcast ¶ added in v0.20.0
func (_mock *DKGContractClient) ReadBroadcast(fromIndex uint, referenceBlock flow.Identifier) ([]messages.BroadcastDKGMessage, error)
ReadBroadcast provides a mock function for the type DKGContractClient
func (*DKGContractClient) SubmitEmptyResult ¶ added in v0.39.0
func (_mock *DKGContractClient) SubmitEmptyResult() error
SubmitEmptyResult provides a mock function for the type DKGContractClient
func (*DKGContractClient) SubmitParametersAndResult ¶ added in v0.39.0
func (_mock *DKGContractClient) SubmitParametersAndResult(indexMap flow.DKGIndexMap, groupPublicKey crypto.PublicKey, publicKeys []crypto.PublicKey) error
SubmitParametersAndResult provides a mock function for the type DKGContractClient
type DKGContractClient_Broadcast_Call ¶ added in v0.46.0
DKGContractClient_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*DKGContractClient_Broadcast_Call) Return ¶ added in v0.46.0
func (_c *DKGContractClient_Broadcast_Call) Return(err error) *DKGContractClient_Broadcast_Call
func (*DKGContractClient_Broadcast_Call) Run ¶ added in v0.46.0
func (_c *DKGContractClient_Broadcast_Call) Run(run func(msg messages.BroadcastDKGMessage)) *DKGContractClient_Broadcast_Call
func (*DKGContractClient_Broadcast_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGContractClient_Broadcast_Call) RunAndReturn(run func(msg messages.BroadcastDKGMessage) error) *DKGContractClient_Broadcast_Call
type DKGContractClient_Expecter ¶ added in v0.46.0
type DKGContractClient_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGContractClient_Expecter) Broadcast ¶ added in v0.46.0
func (_e *DKGContractClient_Expecter) Broadcast(msg interface{}) *DKGContractClient_Broadcast_Call
Broadcast is a helper method to define mock.On call
- msg messages.BroadcastDKGMessage
func (*DKGContractClient_Expecter) ReadBroadcast ¶ added in v0.46.0
func (_e *DKGContractClient_Expecter) ReadBroadcast(fromIndex interface{}, referenceBlock interface{}) *DKGContractClient_ReadBroadcast_Call
ReadBroadcast is a helper method to define mock.On call
- fromIndex uint
- referenceBlock flow.Identifier
func (*DKGContractClient_Expecter) SubmitEmptyResult ¶ added in v0.46.0
func (_e *DKGContractClient_Expecter) SubmitEmptyResult() *DKGContractClient_SubmitEmptyResult_Call
SubmitEmptyResult is a helper method to define mock.On call
func (*DKGContractClient_Expecter) SubmitParametersAndResult ¶ added in v0.46.0
func (_e *DKGContractClient_Expecter) SubmitParametersAndResult(indexMap interface{}, groupPublicKey interface{}, publicKeys interface{}) *DKGContractClient_SubmitParametersAndResult_Call
SubmitParametersAndResult is a helper method to define mock.On call
- indexMap flow.DKGIndexMap
- groupPublicKey crypto.PublicKey
- publicKeys []crypto.PublicKey
type DKGContractClient_ReadBroadcast_Call ¶ added in v0.46.0
DKGContractClient_ReadBroadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadBroadcast'
func (*DKGContractClient_ReadBroadcast_Call) Return ¶ added in v0.46.0
func (_c *DKGContractClient_ReadBroadcast_Call) Return(broadcastDKGMessages []messages.BroadcastDKGMessage, err error) *DKGContractClient_ReadBroadcast_Call
func (*DKGContractClient_ReadBroadcast_Call) Run ¶ added in v0.46.0
func (_c *DKGContractClient_ReadBroadcast_Call) Run(run func(fromIndex uint, referenceBlock flow.Identifier)) *DKGContractClient_ReadBroadcast_Call
func (*DKGContractClient_ReadBroadcast_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGContractClient_ReadBroadcast_Call) RunAndReturn(run func(fromIndex uint, referenceBlock flow.Identifier) ([]messages.BroadcastDKGMessage, error)) *DKGContractClient_ReadBroadcast_Call
type DKGContractClient_SubmitEmptyResult_Call ¶ added in v0.46.0
DKGContractClient_SubmitEmptyResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitEmptyResult'
func (*DKGContractClient_SubmitEmptyResult_Call) Return ¶ added in v0.46.0
func (_c *DKGContractClient_SubmitEmptyResult_Call) Return(err error) *DKGContractClient_SubmitEmptyResult_Call
func (*DKGContractClient_SubmitEmptyResult_Call) Run ¶ added in v0.46.0
func (_c *DKGContractClient_SubmitEmptyResult_Call) Run(run func()) *DKGContractClient_SubmitEmptyResult_Call
func (*DKGContractClient_SubmitEmptyResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGContractClient_SubmitEmptyResult_Call) RunAndReturn(run func() error) *DKGContractClient_SubmitEmptyResult_Call
type DKGContractClient_SubmitParametersAndResult_Call ¶ added in v0.46.0
DKGContractClient_SubmitParametersAndResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitParametersAndResult'
func (*DKGContractClient_SubmitParametersAndResult_Call) Return ¶ added in v0.46.0
func (_c *DKGContractClient_SubmitParametersAndResult_Call) Return(err error) *DKGContractClient_SubmitParametersAndResult_Call
func (*DKGContractClient_SubmitParametersAndResult_Call) Run ¶ added in v0.46.0
func (_c *DKGContractClient_SubmitParametersAndResult_Call) Run(run func(indexMap flow.DKGIndexMap, groupPublicKey crypto.PublicKey, publicKeys []crypto.PublicKey)) *DKGContractClient_SubmitParametersAndResult_Call
func (*DKGContractClient_SubmitParametersAndResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGContractClient_SubmitParametersAndResult_Call) RunAndReturn(run func(indexMap flow.DKGIndexMap, groupPublicKey crypto.PublicKey, publicKeys []crypto.PublicKey) error) *DKGContractClient_SubmitParametersAndResult_Call
type DKGController ¶ added in v0.20.0
DKGController is an autogenerated mock type for the DKGController type
func NewDKGController ¶ added in v0.26.1
func NewDKGController(t interface {
mock.TestingT
Cleanup(func())
}) *DKGController
NewDKGController creates a new instance of DKGController. 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 (*DKGController) EXPECT ¶ added in v0.46.0
func (_m *DKGController) EXPECT() *DKGController_Expecter
func (*DKGController) End ¶ added in v0.20.0
func (_mock *DKGController) End() error
End provides a mock function for the type DKGController
func (*DKGController) EndPhase1 ¶ added in v0.20.0
func (_mock *DKGController) EndPhase1() error
EndPhase1 provides a mock function for the type DKGController
func (*DKGController) EndPhase2 ¶ added in v0.20.0
func (_mock *DKGController) EndPhase2() error
EndPhase2 provides a mock function for the type DKGController
func (*DKGController) GetArtifacts ¶ added in v0.20.0
func (_mock *DKGController) GetArtifacts() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey)
GetArtifacts provides a mock function for the type DKGController
func (*DKGController) GetIndex ¶ added in v0.20.0
func (_mock *DKGController) GetIndex() int
GetIndex provides a mock function for the type DKGController
func (*DKGController) Poll ¶ added in v0.20.0
func (_mock *DKGController) Poll(blockReference flow.Identifier) error
Poll provides a mock function for the type DKGController
func (*DKGController) Run ¶ added in v0.20.0
func (_mock *DKGController) Run() error
Run provides a mock function for the type DKGController
func (*DKGController) Shutdown ¶ added in v0.20.0
func (_mock *DKGController) Shutdown()
Shutdown provides a mock function for the type DKGController
func (*DKGController) SubmitResult ¶ added in v0.20.0
func (_mock *DKGController) SubmitResult() error
SubmitResult provides a mock function for the type DKGController
type DKGControllerFactory ¶ added in v0.20.0
DKGControllerFactory is an autogenerated mock type for the DKGControllerFactory type
func NewDKGControllerFactory ¶ added in v0.26.1
func NewDKGControllerFactory(t interface {
mock.TestingT
Cleanup(func())
}) *DKGControllerFactory
NewDKGControllerFactory creates a new instance of DKGControllerFactory. 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 (*DKGControllerFactory) Create ¶ added in v0.20.0
func (_mock *DKGControllerFactory) Create(dkgInstanceID string, participants flow.IdentitySkeletonList, seed []byte) (module.DKGController, error)
Create provides a mock function for the type DKGControllerFactory
func (*DKGControllerFactory) EXPECT ¶ added in v0.46.0
func (_m *DKGControllerFactory) EXPECT() *DKGControllerFactory_Expecter
type DKGControllerFactory_Create_Call ¶ added in v0.46.0
DKGControllerFactory_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*DKGControllerFactory_Create_Call) Return ¶ added in v0.46.0
func (_c *DKGControllerFactory_Create_Call) Return(dKGController module.DKGController, err error) *DKGControllerFactory_Create_Call
func (*DKGControllerFactory_Create_Call) Run ¶ added in v0.46.0
func (_c *DKGControllerFactory_Create_Call) Run(run func(dkgInstanceID string, participants flow.IdentitySkeletonList, seed []byte)) *DKGControllerFactory_Create_Call
func (*DKGControllerFactory_Create_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGControllerFactory_Create_Call) RunAndReturn(run func(dkgInstanceID string, participants flow.IdentitySkeletonList, seed []byte) (module.DKGController, error)) *DKGControllerFactory_Create_Call
type DKGControllerFactory_Expecter ¶ added in v0.46.0
type DKGControllerFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGControllerFactory_Expecter) Create ¶ added in v0.46.0
func (_e *DKGControllerFactory_Expecter) Create(dkgInstanceID interface{}, participants interface{}, seed interface{}) *DKGControllerFactory_Create_Call
Create is a helper method to define mock.On call
- dkgInstanceID string
- participants flow.IdentitySkeletonList
- seed []byte
type DKGController_EndPhase1_Call ¶ added in v0.46.0
DKGController_EndPhase1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EndPhase1'
func (*DKGController_EndPhase1_Call) Return ¶ added in v0.46.0
func (_c *DKGController_EndPhase1_Call) Return(err error) *DKGController_EndPhase1_Call
func (*DKGController_EndPhase1_Call) Run ¶ added in v0.46.0
func (_c *DKGController_EndPhase1_Call) Run(run func()) *DKGController_EndPhase1_Call
func (*DKGController_EndPhase1_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_EndPhase1_Call) RunAndReturn(run func() error) *DKGController_EndPhase1_Call
type DKGController_EndPhase2_Call ¶ added in v0.46.0
DKGController_EndPhase2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EndPhase2'
func (*DKGController_EndPhase2_Call) Return ¶ added in v0.46.0
func (_c *DKGController_EndPhase2_Call) Return(err error) *DKGController_EndPhase2_Call
func (*DKGController_EndPhase2_Call) Run ¶ added in v0.46.0
func (_c *DKGController_EndPhase2_Call) Run(run func()) *DKGController_EndPhase2_Call
func (*DKGController_EndPhase2_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_EndPhase2_Call) RunAndReturn(run func() error) *DKGController_EndPhase2_Call
type DKGController_End_Call ¶ added in v0.46.0
DKGController_End_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'End'
func (*DKGController_End_Call) Return ¶ added in v0.46.0
func (_c *DKGController_End_Call) Return(err error) *DKGController_End_Call
func (*DKGController_End_Call) Run ¶ added in v0.46.0
func (_c *DKGController_End_Call) Run(run func()) *DKGController_End_Call
func (*DKGController_End_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_End_Call) RunAndReturn(run func() error) *DKGController_End_Call
type DKGController_Expecter ¶ added in v0.46.0
type DKGController_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGController_Expecter) End ¶ added in v0.46.0
func (_e *DKGController_Expecter) End() *DKGController_End_Call
End is a helper method to define mock.On call
func (*DKGController_Expecter) EndPhase1 ¶ added in v0.46.0
func (_e *DKGController_Expecter) EndPhase1() *DKGController_EndPhase1_Call
EndPhase1 is a helper method to define mock.On call
func (*DKGController_Expecter) EndPhase2 ¶ added in v0.46.0
func (_e *DKGController_Expecter) EndPhase2() *DKGController_EndPhase2_Call
EndPhase2 is a helper method to define mock.On call
func (*DKGController_Expecter) GetArtifacts ¶ added in v0.46.0
func (_e *DKGController_Expecter) GetArtifacts() *DKGController_GetArtifacts_Call
GetArtifacts is a helper method to define mock.On call
func (*DKGController_Expecter) GetIndex ¶ added in v0.46.0
func (_e *DKGController_Expecter) GetIndex() *DKGController_GetIndex_Call
GetIndex is a helper method to define mock.On call
func (*DKGController_Expecter) Poll ¶ added in v0.46.0
func (_e *DKGController_Expecter) Poll(blockReference interface{}) *DKGController_Poll_Call
Poll is a helper method to define mock.On call
- blockReference flow.Identifier
func (*DKGController_Expecter) Run ¶ added in v0.46.0
func (_e *DKGController_Expecter) Run() *DKGController_Run_Call
Run is a helper method to define mock.On call
func (*DKGController_Expecter) Shutdown ¶ added in v0.46.0
func (_e *DKGController_Expecter) Shutdown() *DKGController_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*DKGController_Expecter) SubmitResult ¶ added in v0.46.0
func (_e *DKGController_Expecter) SubmitResult() *DKGController_SubmitResult_Call
SubmitResult is a helper method to define mock.On call
type DKGController_GetArtifacts_Call ¶ added in v0.46.0
DKGController_GetArtifacts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetArtifacts'
func (*DKGController_GetArtifacts_Call) Return ¶ added in v0.46.0
func (_c *DKGController_GetArtifacts_Call) Return(privateKey crypto.PrivateKey, publicKey crypto.PublicKey, publicKeys []crypto.PublicKey) *DKGController_GetArtifacts_Call
func (*DKGController_GetArtifacts_Call) Run ¶ added in v0.46.0
func (_c *DKGController_GetArtifacts_Call) Run(run func()) *DKGController_GetArtifacts_Call
func (*DKGController_GetArtifacts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_GetArtifacts_Call) RunAndReturn(run func() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey)) *DKGController_GetArtifacts_Call
type DKGController_GetIndex_Call ¶ added in v0.46.0
DKGController_GetIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndex'
func (*DKGController_GetIndex_Call) Return ¶ added in v0.46.0
func (_c *DKGController_GetIndex_Call) Return(n int) *DKGController_GetIndex_Call
func (*DKGController_GetIndex_Call) Run ¶ added in v0.46.0
func (_c *DKGController_GetIndex_Call) Run(run func()) *DKGController_GetIndex_Call
func (*DKGController_GetIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_GetIndex_Call) RunAndReturn(run func() int) *DKGController_GetIndex_Call
type DKGController_Poll_Call ¶ added in v0.46.0
DKGController_Poll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Poll'
func (*DKGController_Poll_Call) Return ¶ added in v0.46.0
func (_c *DKGController_Poll_Call) Return(err error) *DKGController_Poll_Call
func (*DKGController_Poll_Call) Run ¶ added in v0.46.0
func (_c *DKGController_Poll_Call) Run(run func(blockReference flow.Identifier)) *DKGController_Poll_Call
func (*DKGController_Poll_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_Poll_Call) RunAndReturn(run func(blockReference flow.Identifier) error) *DKGController_Poll_Call
type DKGController_Run_Call ¶ added in v0.46.0
DKGController_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*DKGController_Run_Call) Return ¶ added in v0.46.0
func (_c *DKGController_Run_Call) Return(err error) *DKGController_Run_Call
func (*DKGController_Run_Call) Run ¶ added in v0.46.0
func (_c *DKGController_Run_Call) Run(run func()) *DKGController_Run_Call
func (*DKGController_Run_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_Run_Call) RunAndReturn(run func() error) *DKGController_Run_Call
type DKGController_Shutdown_Call ¶ added in v0.46.0
DKGController_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*DKGController_Shutdown_Call) Return ¶ added in v0.46.0
func (_c *DKGController_Shutdown_Call) Return() *DKGController_Shutdown_Call
func (*DKGController_Shutdown_Call) Run ¶ added in v0.46.0
func (_c *DKGController_Shutdown_Call) Run(run func()) *DKGController_Shutdown_Call
func (*DKGController_Shutdown_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_Shutdown_Call) RunAndReturn(run func()) *DKGController_Shutdown_Call
type DKGController_SubmitResult_Call ¶ added in v0.46.0
DKGController_SubmitResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitResult'
func (*DKGController_SubmitResult_Call) Return ¶ added in v0.46.0
func (_c *DKGController_SubmitResult_Call) Return(err error) *DKGController_SubmitResult_Call
func (*DKGController_SubmitResult_Call) Run ¶ added in v0.46.0
func (_c *DKGController_SubmitResult_Call) Run(run func()) *DKGController_SubmitResult_Call
func (*DKGController_SubmitResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGController_SubmitResult_Call) RunAndReturn(run func() error) *DKGController_SubmitResult_Call
type DKGProcessor ¶ added in v0.43.2
DKGProcessor is an autogenerated mock type for the DKGProcessor type
func NewDKGProcessor ¶ added in v0.43.2
func NewDKGProcessor(t interface {
mock.TestingT
Cleanup(func())
}) *DKGProcessor
NewDKGProcessor creates a new instance of DKGProcessor. 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 (*DKGProcessor) Broadcast ¶ added in v0.43.2
func (_mock *DKGProcessor) Broadcast(data []byte)
Broadcast provides a mock function for the type DKGProcessor
func (*DKGProcessor) Disqualify ¶ added in v0.43.2
func (_mock *DKGProcessor) Disqualify(index int, log string)
Disqualify provides a mock function for the type DKGProcessor
func (*DKGProcessor) EXPECT ¶ added in v0.46.0
func (_m *DKGProcessor) EXPECT() *DKGProcessor_Expecter
func (*DKGProcessor) FlagMisbehavior ¶ added in v0.43.2
func (_mock *DKGProcessor) FlagMisbehavior(index int, log string)
FlagMisbehavior provides a mock function for the type DKGProcessor
func (*DKGProcessor) PrivateSend ¶ added in v0.43.2
func (_mock *DKGProcessor) PrivateSend(dest int, data []byte)
PrivateSend provides a mock function for the type DKGProcessor
type DKGProcessor_Broadcast_Call ¶ added in v0.46.0
DKGProcessor_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*DKGProcessor_Broadcast_Call) Return ¶ added in v0.46.0
func (_c *DKGProcessor_Broadcast_Call) Return() *DKGProcessor_Broadcast_Call
func (*DKGProcessor_Broadcast_Call) Run ¶ added in v0.46.0
func (_c *DKGProcessor_Broadcast_Call) Run(run func(data []byte)) *DKGProcessor_Broadcast_Call
func (*DKGProcessor_Broadcast_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGProcessor_Broadcast_Call) RunAndReturn(run func(data []byte)) *DKGProcessor_Broadcast_Call
type DKGProcessor_Disqualify_Call ¶ added in v0.46.0
DKGProcessor_Disqualify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Disqualify'
func (*DKGProcessor_Disqualify_Call) Return ¶ added in v0.46.0
func (_c *DKGProcessor_Disqualify_Call) Return() *DKGProcessor_Disqualify_Call
func (*DKGProcessor_Disqualify_Call) Run ¶ added in v0.46.0
func (_c *DKGProcessor_Disqualify_Call) Run(run func(index int, log string)) *DKGProcessor_Disqualify_Call
func (*DKGProcessor_Disqualify_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGProcessor_Disqualify_Call) RunAndReturn(run func(index int, log string)) *DKGProcessor_Disqualify_Call
type DKGProcessor_Expecter ¶ added in v0.46.0
type DKGProcessor_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGProcessor_Expecter) Broadcast ¶ added in v0.46.0
func (_e *DKGProcessor_Expecter) Broadcast(data interface{}) *DKGProcessor_Broadcast_Call
Broadcast is a helper method to define mock.On call
- data []byte
func (*DKGProcessor_Expecter) Disqualify ¶ added in v0.46.0
func (_e *DKGProcessor_Expecter) Disqualify(index interface{}, log interface{}) *DKGProcessor_Disqualify_Call
Disqualify is a helper method to define mock.On call
- index int
- log string
func (*DKGProcessor_Expecter) FlagMisbehavior ¶ added in v0.46.0
func (_e *DKGProcessor_Expecter) FlagMisbehavior(index interface{}, log interface{}) *DKGProcessor_FlagMisbehavior_Call
FlagMisbehavior is a helper method to define mock.On call
- index int
- log string
func (*DKGProcessor_Expecter) PrivateSend ¶ added in v0.46.0
func (_e *DKGProcessor_Expecter) PrivateSend(dest interface{}, data interface{}) *DKGProcessor_PrivateSend_Call
PrivateSend is a helper method to define mock.On call
- dest int
- data []byte
type DKGProcessor_FlagMisbehavior_Call ¶ added in v0.46.0
DKGProcessor_FlagMisbehavior_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlagMisbehavior'
func (*DKGProcessor_FlagMisbehavior_Call) Return ¶ added in v0.46.0
func (_c *DKGProcessor_FlagMisbehavior_Call) Return() *DKGProcessor_FlagMisbehavior_Call
func (*DKGProcessor_FlagMisbehavior_Call) Run ¶ added in v0.46.0
func (_c *DKGProcessor_FlagMisbehavior_Call) Run(run func(index int, log string)) *DKGProcessor_FlagMisbehavior_Call
func (*DKGProcessor_FlagMisbehavior_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGProcessor_FlagMisbehavior_Call) RunAndReturn(run func(index int, log string)) *DKGProcessor_FlagMisbehavior_Call
type DKGProcessor_PrivateSend_Call ¶ added in v0.46.0
DKGProcessor_PrivateSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrivateSend'
func (*DKGProcessor_PrivateSend_Call) Return ¶ added in v0.46.0
func (_c *DKGProcessor_PrivateSend_Call) Return() *DKGProcessor_PrivateSend_Call
func (*DKGProcessor_PrivateSend_Call) Run ¶ added in v0.46.0
func (_c *DKGProcessor_PrivateSend_Call) Run(run func(dest int, data []byte)) *DKGProcessor_PrivateSend_Call
func (*DKGProcessor_PrivateSend_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGProcessor_PrivateSend_Call) RunAndReturn(run func(dest int, data []byte)) *DKGProcessor_PrivateSend_Call
type DKGState ¶ added in v0.43.2
DKGState is an autogenerated mock type for the DKGState type
func NewDKGState ¶ added in v0.43.2
NewDKGState creates a new instance of DKGState. 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 (*DKGState) EXPECT ¶ added in v0.46.0
func (_m *DKGState) EXPECT() *DKGState_Expecter
func (*DKGState) ForceDisqualify ¶ added in v0.43.2
ForceDisqualify provides a mock function for the type DKGState
func (*DKGState) HandleBroadcastMsg ¶ added in v0.43.2
HandleBroadcastMsg provides a mock function for the type DKGState
func (*DKGState) HandlePrivateMsg ¶ added in v0.43.2
HandlePrivateMsg provides a mock function for the type DKGState
func (*DKGState) NextTimeout ¶ added in v0.43.2
NextTimeout provides a mock function for the type DKGState
type DKGState_End_Call ¶ added in v0.46.0
DKGState_End_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'End'
func (*DKGState_End_Call) Return ¶ added in v0.46.0
func (_c *DKGState_End_Call) Return(privateKey crypto.PrivateKey, publicKey crypto.PublicKey, publicKeys []crypto.PublicKey, err error) *DKGState_End_Call
func (*DKGState_End_Call) Run ¶ added in v0.46.0
func (_c *DKGState_End_Call) Run(run func()) *DKGState_End_Call
func (*DKGState_End_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_End_Call) RunAndReturn(run func() (crypto.PrivateKey, crypto.PublicKey, []crypto.PublicKey, error)) *DKGState_End_Call
type DKGState_Expecter ¶ added in v0.46.0
type DKGState_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGState_Expecter) End ¶ added in v0.46.0
func (_e *DKGState_Expecter) End() *DKGState_End_Call
End is a helper method to define mock.On call
func (*DKGState_Expecter) ForceDisqualify ¶ added in v0.46.0
func (_e *DKGState_Expecter) ForceDisqualify(participant interface{}) *DKGState_ForceDisqualify_Call
ForceDisqualify is a helper method to define mock.On call
- participant int
func (*DKGState_Expecter) HandleBroadcastMsg ¶ added in v0.46.0
func (_e *DKGState_Expecter) HandleBroadcastMsg(orig interface{}, msg interface{}) *DKGState_HandleBroadcastMsg_Call
HandleBroadcastMsg is a helper method to define mock.On call
- orig int
- msg []byte
func (*DKGState_Expecter) HandlePrivateMsg ¶ added in v0.46.0
func (_e *DKGState_Expecter) HandlePrivateMsg(orig interface{}, msg interface{}) *DKGState_HandlePrivateMsg_Call
HandlePrivateMsg is a helper method to define mock.On call
- orig int
- msg []byte
func (*DKGState_Expecter) NextTimeout ¶ added in v0.46.0
func (_e *DKGState_Expecter) NextTimeout() *DKGState_NextTimeout_Call
NextTimeout is a helper method to define mock.On call
func (*DKGState_Expecter) Running ¶ added in v0.46.0
func (_e *DKGState_Expecter) Running() *DKGState_Running_Call
Running is a helper method to define mock.On call
func (*DKGState_Expecter) Size ¶ added in v0.46.0
func (_e *DKGState_Expecter) Size() *DKGState_Size_Call
Size is a helper method to define mock.On call
func (*DKGState_Expecter) Start ¶ added in v0.46.0
func (_e *DKGState_Expecter) Start(seed interface{}) *DKGState_Start_Call
Start is a helper method to define mock.On call
- seed []byte
func (*DKGState_Expecter) Threshold ¶ added in v0.46.0
func (_e *DKGState_Expecter) Threshold() *DKGState_Threshold_Call
Threshold is a helper method to define mock.On call
type DKGState_ForceDisqualify_Call ¶ added in v0.46.0
DKGState_ForceDisqualify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDisqualify'
func (*DKGState_ForceDisqualify_Call) Return ¶ added in v0.46.0
func (_c *DKGState_ForceDisqualify_Call) Return(err error) *DKGState_ForceDisqualify_Call
func (*DKGState_ForceDisqualify_Call) Run ¶ added in v0.46.0
func (_c *DKGState_ForceDisqualify_Call) Run(run func(participant int)) *DKGState_ForceDisqualify_Call
func (*DKGState_ForceDisqualify_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_ForceDisqualify_Call) RunAndReturn(run func(participant int) error) *DKGState_ForceDisqualify_Call
type DKGState_HandleBroadcastMsg_Call ¶ added in v0.46.0
DKGState_HandleBroadcastMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleBroadcastMsg'
func (*DKGState_HandleBroadcastMsg_Call) Return ¶ added in v0.46.0
func (_c *DKGState_HandleBroadcastMsg_Call) Return(err error) *DKGState_HandleBroadcastMsg_Call
func (*DKGState_HandleBroadcastMsg_Call) Run ¶ added in v0.46.0
func (_c *DKGState_HandleBroadcastMsg_Call) Run(run func(orig int, msg []byte)) *DKGState_HandleBroadcastMsg_Call
func (*DKGState_HandleBroadcastMsg_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_HandleBroadcastMsg_Call) RunAndReturn(run func(orig int, msg []byte) error) *DKGState_HandleBroadcastMsg_Call
type DKGState_HandlePrivateMsg_Call ¶ added in v0.46.0
DKGState_HandlePrivateMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandlePrivateMsg'
func (*DKGState_HandlePrivateMsg_Call) Return ¶ added in v0.46.0
func (_c *DKGState_HandlePrivateMsg_Call) Return(err error) *DKGState_HandlePrivateMsg_Call
func (*DKGState_HandlePrivateMsg_Call) Run ¶ added in v0.46.0
func (_c *DKGState_HandlePrivateMsg_Call) Run(run func(orig int, msg []byte)) *DKGState_HandlePrivateMsg_Call
func (*DKGState_HandlePrivateMsg_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_HandlePrivateMsg_Call) RunAndReturn(run func(orig int, msg []byte) error) *DKGState_HandlePrivateMsg_Call
type DKGState_NextTimeout_Call ¶ added in v0.46.0
DKGState_NextTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextTimeout'
func (*DKGState_NextTimeout_Call) Return ¶ added in v0.46.0
func (_c *DKGState_NextTimeout_Call) Return(err error) *DKGState_NextTimeout_Call
func (*DKGState_NextTimeout_Call) Run ¶ added in v0.46.0
func (_c *DKGState_NextTimeout_Call) Run(run func()) *DKGState_NextTimeout_Call
func (*DKGState_NextTimeout_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_NextTimeout_Call) RunAndReturn(run func() error) *DKGState_NextTimeout_Call
type DKGState_Running_Call ¶ added in v0.46.0
DKGState_Running_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Running'
func (*DKGState_Running_Call) Return ¶ added in v0.46.0
func (_c *DKGState_Running_Call) Return(b bool) *DKGState_Running_Call
func (*DKGState_Running_Call) Run ¶ added in v0.46.0
func (_c *DKGState_Running_Call) Run(run func()) *DKGState_Running_Call
func (*DKGState_Running_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_Running_Call) RunAndReturn(run func() bool) *DKGState_Running_Call
type DKGState_Size_Call ¶ added in v0.46.0
DKGState_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*DKGState_Size_Call) Return ¶ added in v0.46.0
func (_c *DKGState_Size_Call) Return(n int) *DKGState_Size_Call
func (*DKGState_Size_Call) Run ¶ added in v0.46.0
func (_c *DKGState_Size_Call) Run(run func()) *DKGState_Size_Call
func (*DKGState_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_Size_Call) RunAndReturn(run func() int) *DKGState_Size_Call
type DKGState_Start_Call ¶ added in v0.46.0
DKGState_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*DKGState_Start_Call) Return ¶ added in v0.46.0
func (_c *DKGState_Start_Call) Return(err error) *DKGState_Start_Call
func (*DKGState_Start_Call) Run ¶ added in v0.46.0
func (_c *DKGState_Start_Call) Run(run func(seed []byte)) *DKGState_Start_Call
func (*DKGState_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_Start_Call) RunAndReturn(run func(seed []byte) error) *DKGState_Start_Call
type DKGState_Threshold_Call ¶ added in v0.46.0
DKGState_Threshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Threshold'
func (*DKGState_Threshold_Call) Return ¶ added in v0.46.0
func (_c *DKGState_Threshold_Call) Return(n int) *DKGState_Threshold_Call
func (*DKGState_Threshold_Call) Run ¶ added in v0.46.0
func (_c *DKGState_Threshold_Call) Run(run func()) *DKGState_Threshold_Call
func (*DKGState_Threshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_Threshold_Call) RunAndReturn(run func() int) *DKGState_Threshold_Call
type EVMMetrics ¶ added in v0.36.3
EVMMetrics is an autogenerated mock type for the EVMMetrics type
func NewEVMMetrics ¶ added in v0.36.3
func NewEVMMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *EVMMetrics
NewEVMMetrics creates a new instance of EVMMetrics. 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 (*EVMMetrics) EVMBlockExecuted ¶ added in v0.36.3
func (_mock *EVMMetrics) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
EVMBlockExecuted provides a mock function for the type EVMMetrics
func (*EVMMetrics) EVMTransactionExecuted ¶ added in v0.36.3
func (_mock *EVMMetrics) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
EVMTransactionExecuted provides a mock function for the type EVMMetrics
func (*EVMMetrics) EXPECT ¶ added in v0.46.0
func (_m *EVMMetrics) EXPECT() *EVMMetrics_Expecter
func (*EVMMetrics) SetNumberOfDeployedCOAs ¶ added in v0.36.3
func (_mock *EVMMetrics) SetNumberOfDeployedCOAs(count uint64)
SetNumberOfDeployedCOAs provides a mock function for the type EVMMetrics
type EVMMetrics_EVMBlockExecuted_Call ¶ added in v0.46.0
EVMMetrics_EVMBlockExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMBlockExecuted'
func (*EVMMetrics_EVMBlockExecuted_Call) Return ¶ added in v0.46.0
func (_c *EVMMetrics_EVMBlockExecuted_Call) Return() *EVMMetrics_EVMBlockExecuted_Call
func (*EVMMetrics_EVMBlockExecuted_Call) Run ¶ added in v0.46.0
func (_c *EVMMetrics_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetrics_EVMBlockExecuted_Call
func (*EVMMetrics_EVMBlockExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EVMMetrics_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetrics_EVMBlockExecuted_Call
type EVMMetrics_EVMTransactionExecuted_Call ¶ added in v0.46.0
EVMMetrics_EVMTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMTransactionExecuted'
func (*EVMMetrics_EVMTransactionExecuted_Call) Return ¶ added in v0.46.0
func (_c *EVMMetrics_EVMTransactionExecuted_Call) Return() *EVMMetrics_EVMTransactionExecuted_Call
func (*EVMMetrics_EVMTransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *EVMMetrics_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetrics_EVMTransactionExecuted_Call
func (*EVMMetrics_EVMTransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EVMMetrics_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetrics_EVMTransactionExecuted_Call
type EVMMetrics_Expecter ¶ added in v0.46.0
type EVMMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*EVMMetrics_Expecter) EVMBlockExecuted ¶ added in v0.46.0
func (_e *EVMMetrics_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *EVMMetrics_EVMBlockExecuted_Call
EVMBlockExecuted is a helper method to define mock.On call
- txCount int
- totalGasUsed uint64
- totalSupplyInFlow float64
func (*EVMMetrics_Expecter) EVMTransactionExecuted ¶ added in v0.46.0
func (_e *EVMMetrics_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *EVMMetrics_EVMTransactionExecuted_Call
EVMTransactionExecuted is a helper method to define mock.On call
- gasUsed uint64
- isDirectCall bool
- failed bool
func (*EVMMetrics_Expecter) SetNumberOfDeployedCOAs ¶ added in v0.46.0
func (_e *EVMMetrics_Expecter) SetNumberOfDeployedCOAs(count interface{}) *EVMMetrics_SetNumberOfDeployedCOAs_Call
SetNumberOfDeployedCOAs is a helper method to define mock.On call
- count uint64
type EVMMetrics_SetNumberOfDeployedCOAs_Call ¶ added in v0.46.0
EVMMetrics_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'
func (*EVMMetrics_SetNumberOfDeployedCOAs_Call) Return ¶ added in v0.46.0
func (_c *EVMMetrics_SetNumberOfDeployedCOAs_Call) Return() *EVMMetrics_SetNumberOfDeployedCOAs_Call
func (*EVMMetrics_SetNumberOfDeployedCOAs_Call) Run ¶ added in v0.46.0
func (_c *EVMMetrics_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *EVMMetrics_SetNumberOfDeployedCOAs_Call
func (*EVMMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EVMMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *EVMMetrics_SetNumberOfDeployedCOAs_Call
type EngineMetrics ¶
EngineMetrics is an autogenerated mock type for the EngineMetrics type
func NewEngineMetrics ¶ added in v0.26.1
func NewEngineMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *EngineMetrics
NewEngineMetrics creates a new instance of EngineMetrics. 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 (*EngineMetrics) EXPECT ¶ added in v0.46.0
func (_m *EngineMetrics) EXPECT() *EngineMetrics_Expecter
func (*EngineMetrics) InboundMessageDropped ¶ added in v0.29.0
func (_mock *EngineMetrics) InboundMessageDropped(engine string, messages string)
InboundMessageDropped provides a mock function for the type EngineMetrics
func (*EngineMetrics) MessageHandled ¶
func (_mock *EngineMetrics) MessageHandled(engine string, messages string)
MessageHandled provides a mock function for the type EngineMetrics
func (*EngineMetrics) MessageReceived ¶
func (_mock *EngineMetrics) MessageReceived(engine string, message string)
MessageReceived provides a mock function for the type EngineMetrics
func (*EngineMetrics) MessageSent ¶
func (_mock *EngineMetrics) MessageSent(engine string, message string)
MessageSent provides a mock function for the type EngineMetrics
func (*EngineMetrics) OutboundMessageDropped ¶ added in v0.29.0
func (_mock *EngineMetrics) OutboundMessageDropped(engine string, messages string)
OutboundMessageDropped provides a mock function for the type EngineMetrics
type EngineMetrics_Expecter ¶ added in v0.46.0
type EngineMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*EngineMetrics_Expecter) InboundMessageDropped ¶ added in v0.46.0
func (_e *EngineMetrics_Expecter) InboundMessageDropped(engine interface{}, messages interface{}) *EngineMetrics_InboundMessageDropped_Call
InboundMessageDropped is a helper method to define mock.On call
- engine string
- messages string
func (*EngineMetrics_Expecter) MessageHandled ¶ added in v0.46.0
func (_e *EngineMetrics_Expecter) MessageHandled(engine interface{}, messages interface{}) *EngineMetrics_MessageHandled_Call
MessageHandled is a helper method to define mock.On call
- engine string
- messages string
func (*EngineMetrics_Expecter) MessageReceived ¶ added in v0.46.0
func (_e *EngineMetrics_Expecter) MessageReceived(engine interface{}, message interface{}) *EngineMetrics_MessageReceived_Call
MessageReceived is a helper method to define mock.On call
- engine string
- message string
func (*EngineMetrics_Expecter) MessageSent ¶ added in v0.46.0
func (_e *EngineMetrics_Expecter) MessageSent(engine interface{}, message interface{}) *EngineMetrics_MessageSent_Call
MessageSent is a helper method to define mock.On call
- engine string
- message string
func (*EngineMetrics_Expecter) OutboundMessageDropped ¶ added in v0.46.0
func (_e *EngineMetrics_Expecter) OutboundMessageDropped(engine interface{}, messages interface{}) *EngineMetrics_OutboundMessageDropped_Call
OutboundMessageDropped is a helper method to define mock.On call
- engine string
- messages string
type EngineMetrics_InboundMessageDropped_Call ¶ added in v0.46.0
EngineMetrics_InboundMessageDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundMessageDropped'
func (*EngineMetrics_InboundMessageDropped_Call) Return ¶ added in v0.46.0
func (_c *EngineMetrics_InboundMessageDropped_Call) Return() *EngineMetrics_InboundMessageDropped_Call
func (*EngineMetrics_InboundMessageDropped_Call) Run ¶ added in v0.46.0
func (_c *EngineMetrics_InboundMessageDropped_Call) Run(run func(engine string, messages string)) *EngineMetrics_InboundMessageDropped_Call
func (*EngineMetrics_InboundMessageDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EngineMetrics_InboundMessageDropped_Call) RunAndReturn(run func(engine string, messages string)) *EngineMetrics_InboundMessageDropped_Call
type EngineMetrics_MessageHandled_Call ¶ added in v0.46.0
EngineMetrics_MessageHandled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageHandled'
func (*EngineMetrics_MessageHandled_Call) Return ¶ added in v0.46.0
func (_c *EngineMetrics_MessageHandled_Call) Return() *EngineMetrics_MessageHandled_Call
func (*EngineMetrics_MessageHandled_Call) Run ¶ added in v0.46.0
func (_c *EngineMetrics_MessageHandled_Call) Run(run func(engine string, messages string)) *EngineMetrics_MessageHandled_Call
func (*EngineMetrics_MessageHandled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EngineMetrics_MessageHandled_Call) RunAndReturn(run func(engine string, messages string)) *EngineMetrics_MessageHandled_Call
type EngineMetrics_MessageReceived_Call ¶ added in v0.46.0
EngineMetrics_MessageReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageReceived'
func (*EngineMetrics_MessageReceived_Call) Return ¶ added in v0.46.0
func (_c *EngineMetrics_MessageReceived_Call) Return() *EngineMetrics_MessageReceived_Call
func (*EngineMetrics_MessageReceived_Call) Run ¶ added in v0.46.0
func (_c *EngineMetrics_MessageReceived_Call) Run(run func(engine string, message string)) *EngineMetrics_MessageReceived_Call
func (*EngineMetrics_MessageReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EngineMetrics_MessageReceived_Call) RunAndReturn(run func(engine string, message string)) *EngineMetrics_MessageReceived_Call
type EngineMetrics_MessageSent_Call ¶ added in v0.46.0
EngineMetrics_MessageSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageSent'
func (*EngineMetrics_MessageSent_Call) Return ¶ added in v0.46.0
func (_c *EngineMetrics_MessageSent_Call) Return() *EngineMetrics_MessageSent_Call
func (*EngineMetrics_MessageSent_Call) Run ¶ added in v0.46.0
func (_c *EngineMetrics_MessageSent_Call) Run(run func(engine string, message string)) *EngineMetrics_MessageSent_Call
func (*EngineMetrics_MessageSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EngineMetrics_MessageSent_Call) RunAndReturn(run func(engine string, message string)) *EngineMetrics_MessageSent_Call
type EngineMetrics_OutboundMessageDropped_Call ¶ added in v0.46.0
EngineMetrics_OutboundMessageDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundMessageDropped'
func (*EngineMetrics_OutboundMessageDropped_Call) Return ¶ added in v0.46.0
func (_c *EngineMetrics_OutboundMessageDropped_Call) Return() *EngineMetrics_OutboundMessageDropped_Call
func (*EngineMetrics_OutboundMessageDropped_Call) Run ¶ added in v0.46.0
func (_c *EngineMetrics_OutboundMessageDropped_Call) Run(run func(engine string, messages string)) *EngineMetrics_OutboundMessageDropped_Call
func (*EngineMetrics_OutboundMessageDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EngineMetrics_OutboundMessageDropped_Call) RunAndReturn(run func(engine string, messages string)) *EngineMetrics_OutboundMessageDropped_Call
type EpochLookup ¶ added in v0.20.0
EpochLookup is an autogenerated mock type for the EpochLookup type
func NewEpochLookup ¶ added in v0.26.1
func NewEpochLookup(t interface {
mock.TestingT
Cleanup(func())
}) *EpochLookup
NewEpochLookup creates a new instance of EpochLookup. 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 (*EpochLookup) EXPECT ¶ added in v0.46.0
func (_m *EpochLookup) EXPECT() *EpochLookup_Expecter
func (*EpochLookup) EpochForView ¶ added in v0.20.0
func (_mock *EpochLookup) EpochForView(view uint64) (uint64, error)
EpochForView provides a mock function for the type EpochLookup
type EpochLookup_EpochForView_Call ¶ added in v0.46.0
EpochLookup_EpochForView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EpochForView'
func (*EpochLookup_EpochForView_Call) Return ¶ added in v0.46.0
func (_c *EpochLookup_EpochForView_Call) Return(epochCounter uint64, err error) *EpochLookup_EpochForView_Call
func (*EpochLookup_EpochForView_Call) Run ¶ added in v0.46.0
func (_c *EpochLookup_EpochForView_Call) Run(run func(view uint64)) *EpochLookup_EpochForView_Call
func (*EpochLookup_EpochForView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochLookup_EpochForView_Call) RunAndReturn(run func(view uint64) (uint64, error)) *EpochLookup_EpochForView_Call
type EpochLookup_Expecter ¶ added in v0.46.0
type EpochLookup_Expecter struct {
// contains filtered or unexported fields
}
func (*EpochLookup_Expecter) EpochForView ¶ added in v0.46.0
func (_e *EpochLookup_Expecter) EpochForView(view interface{}) *EpochLookup_EpochForView_Call
EpochForView is a helper method to define mock.On call
- view uint64
type ExecutionDataProviderMetrics ¶ added in v0.27.2
ExecutionDataProviderMetrics is an autogenerated mock type for the ExecutionDataProviderMetrics type
func NewExecutionDataProviderMetrics ¶ added in v0.27.2
func NewExecutionDataProviderMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionDataProviderMetrics
NewExecutionDataProviderMetrics creates a new instance of ExecutionDataProviderMetrics. 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 (*ExecutionDataProviderMetrics) AddBlobsFailed ¶ added in v0.27.2
func (_mock *ExecutionDataProviderMetrics) AddBlobsFailed()
AddBlobsFailed provides a mock function for the type ExecutionDataProviderMetrics
func (*ExecutionDataProviderMetrics) AddBlobsSucceeded ¶ added in v0.27.2
func (_mock *ExecutionDataProviderMetrics) AddBlobsSucceeded(duration time.Duration, totalSize uint64)
AddBlobsSucceeded provides a mock function for the type ExecutionDataProviderMetrics
func (*ExecutionDataProviderMetrics) EXPECT ¶ added in v0.46.0
func (_m *ExecutionDataProviderMetrics) EXPECT() *ExecutionDataProviderMetrics_Expecter
func (*ExecutionDataProviderMetrics) RootIDComputed ¶ added in v0.27.2
func (_mock *ExecutionDataProviderMetrics) RootIDComputed(duration time.Duration, numberOfChunks int)
RootIDComputed provides a mock function for the type ExecutionDataProviderMetrics
type ExecutionDataProviderMetrics_AddBlobsFailed_Call ¶ added in v0.46.0
ExecutionDataProviderMetrics_AddBlobsFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlobsFailed'
func (*ExecutionDataProviderMetrics_AddBlobsFailed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataProviderMetrics_AddBlobsFailed_Call) Run(run func()) *ExecutionDataProviderMetrics_AddBlobsFailed_Call
func (*ExecutionDataProviderMetrics_AddBlobsFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataProviderMetrics_AddBlobsFailed_Call) RunAndReturn(run func()) *ExecutionDataProviderMetrics_AddBlobsFailed_Call
type ExecutionDataProviderMetrics_AddBlobsSucceeded_Call ¶ added in v0.46.0
ExecutionDataProviderMetrics_AddBlobsSucceeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlobsSucceeded'
func (*ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) Run(run func(duration time.Duration, totalSize uint64)) *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
func (*ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) RunAndReturn(run func(duration time.Duration, totalSize uint64)) *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
type ExecutionDataProviderMetrics_Expecter ¶ added in v0.46.0
type ExecutionDataProviderMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionDataProviderMetrics_Expecter) AddBlobsFailed ¶ added in v0.46.0
func (_e *ExecutionDataProviderMetrics_Expecter) AddBlobsFailed() *ExecutionDataProviderMetrics_AddBlobsFailed_Call
AddBlobsFailed is a helper method to define mock.On call
func (*ExecutionDataProviderMetrics_Expecter) AddBlobsSucceeded ¶ added in v0.46.0
func (_e *ExecutionDataProviderMetrics_Expecter) AddBlobsSucceeded(duration interface{}, totalSize interface{}) *ExecutionDataProviderMetrics_AddBlobsSucceeded_Call
AddBlobsSucceeded is a helper method to define mock.On call
- duration time.Duration
- totalSize uint64
func (*ExecutionDataProviderMetrics_Expecter) RootIDComputed ¶ added in v0.46.0
func (_e *ExecutionDataProviderMetrics_Expecter) RootIDComputed(duration interface{}, numberOfChunks interface{}) *ExecutionDataProviderMetrics_RootIDComputed_Call
RootIDComputed is a helper method to define mock.On call
- duration time.Duration
- numberOfChunks int
type ExecutionDataProviderMetrics_RootIDComputed_Call ¶ added in v0.46.0
ExecutionDataProviderMetrics_RootIDComputed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RootIDComputed'
func (*ExecutionDataProviderMetrics_RootIDComputed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataProviderMetrics_RootIDComputed_Call) Run(run func(duration time.Duration, numberOfChunks int)) *ExecutionDataProviderMetrics_RootIDComputed_Call
func (*ExecutionDataProviderMetrics_RootIDComputed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataProviderMetrics_RootIDComputed_Call) RunAndReturn(run func(duration time.Duration, numberOfChunks int)) *ExecutionDataProviderMetrics_RootIDComputed_Call
type ExecutionDataPrunerMetrics ¶ added in v0.27.2
ExecutionDataPrunerMetrics is an autogenerated mock type for the ExecutionDataPrunerMetrics type
func NewExecutionDataPrunerMetrics ¶ added in v0.27.2
func NewExecutionDataPrunerMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionDataPrunerMetrics
NewExecutionDataPrunerMetrics creates a new instance of ExecutionDataPrunerMetrics. 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 (*ExecutionDataPrunerMetrics) EXPECT ¶ added in v0.46.0
func (_m *ExecutionDataPrunerMetrics) EXPECT() *ExecutionDataPrunerMetrics_Expecter
type ExecutionDataPrunerMetrics_Expecter ¶ added in v0.46.0
type ExecutionDataPrunerMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionDataPrunerMetrics_Expecter) Pruned ¶ added in v0.46.0
func (_e *ExecutionDataPrunerMetrics_Expecter) Pruned(height interface{}, duration interface{}) *ExecutionDataPrunerMetrics_Pruned_Call
Pruned is a helper method to define mock.On call
- height uint64
- duration time.Duration
type ExecutionDataPrunerMetrics_Pruned_Call ¶ added in v0.46.0
ExecutionDataPrunerMetrics_Pruned_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pruned'
func (*ExecutionDataPrunerMetrics_Pruned_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataPrunerMetrics_Pruned_Call) Return() *ExecutionDataPrunerMetrics_Pruned_Call
func (*ExecutionDataPrunerMetrics_Pruned_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataPrunerMetrics_Pruned_Call) Run(run func(height uint64, duration time.Duration)) *ExecutionDataPrunerMetrics_Pruned_Call
func (*ExecutionDataPrunerMetrics_Pruned_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataPrunerMetrics_Pruned_Call) RunAndReturn(run func(height uint64, duration time.Duration)) *ExecutionDataPrunerMetrics_Pruned_Call
type ExecutionDataRequesterMetrics ¶ added in v0.26.2
ExecutionDataRequesterMetrics is an autogenerated mock type for the ExecutionDataRequesterMetrics type
func NewExecutionDataRequesterMetrics ¶ added in v0.26.2
func NewExecutionDataRequesterMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionDataRequesterMetrics
NewExecutionDataRequesterMetrics creates a new instance of ExecutionDataRequesterMetrics. 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 (*ExecutionDataRequesterMetrics) EXPECT ¶ added in v0.46.0
func (_m *ExecutionDataRequesterMetrics) EXPECT() *ExecutionDataRequesterMetrics_Expecter
func (*ExecutionDataRequesterMetrics) ExecutionDataFetchFinished ¶ added in v0.26.2
func (_mock *ExecutionDataRequesterMetrics) ExecutionDataFetchFinished(duration time.Duration, success bool, height uint64)
ExecutionDataFetchFinished provides a mock function for the type ExecutionDataRequesterMetrics
func (*ExecutionDataRequesterMetrics) ExecutionDataFetchStarted ¶ added in v0.26.2
func (_mock *ExecutionDataRequesterMetrics) ExecutionDataFetchStarted()
ExecutionDataFetchStarted provides a mock function for the type ExecutionDataRequesterMetrics
func (*ExecutionDataRequesterMetrics) FetchRetried ¶ added in v0.26.2
func (_mock *ExecutionDataRequesterMetrics) FetchRetried()
FetchRetried provides a mock function for the type ExecutionDataRequesterMetrics
func (*ExecutionDataRequesterMetrics) NotificationSent ¶ added in v0.26.2
func (_mock *ExecutionDataRequesterMetrics) NotificationSent(height uint64)
NotificationSent provides a mock function for the type ExecutionDataRequesterMetrics
type ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call ¶ added in v0.46.0
ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionDataFetchFinished'
func (*ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) Run(run func(duration time.Duration, success bool, height uint64)) *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
func (*ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) RunAndReturn(run func(duration time.Duration, success bool, height uint64)) *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
type ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call ¶ added in v0.46.0
ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionDataFetchStarted'
func (*ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) RunAndReturn(run func()) *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
type ExecutionDataRequesterMetrics_Expecter ¶ added in v0.46.0
type ExecutionDataRequesterMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionDataRequesterMetrics_Expecter) ExecutionDataFetchFinished ¶ added in v0.46.0
func (_e *ExecutionDataRequesterMetrics_Expecter) ExecutionDataFetchFinished(duration interface{}, success interface{}, height interface{}) *ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call
ExecutionDataFetchFinished is a helper method to define mock.On call
- duration time.Duration
- success bool
- height uint64
func (*ExecutionDataRequesterMetrics_Expecter) ExecutionDataFetchStarted ¶ added in v0.46.0
func (_e *ExecutionDataRequesterMetrics_Expecter) ExecutionDataFetchStarted() *ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call
ExecutionDataFetchStarted is a helper method to define mock.On call
func (*ExecutionDataRequesterMetrics_Expecter) FetchRetried ¶ added in v0.46.0
func (_e *ExecutionDataRequesterMetrics_Expecter) FetchRetried() *ExecutionDataRequesterMetrics_FetchRetried_Call
FetchRetried is a helper method to define mock.On call
func (*ExecutionDataRequesterMetrics_Expecter) NotificationSent ¶ added in v0.46.0
func (_e *ExecutionDataRequesterMetrics_Expecter) NotificationSent(height interface{}) *ExecutionDataRequesterMetrics_NotificationSent_Call
NotificationSent is a helper method to define mock.On call
- height uint64
type ExecutionDataRequesterMetrics_FetchRetried_Call ¶ added in v0.46.0
ExecutionDataRequesterMetrics_FetchRetried_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchRetried'
func (*ExecutionDataRequesterMetrics_FetchRetried_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_FetchRetried_Call) Run(run func()) *ExecutionDataRequesterMetrics_FetchRetried_Call
func (*ExecutionDataRequesterMetrics_FetchRetried_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_FetchRetried_Call) RunAndReturn(run func()) *ExecutionDataRequesterMetrics_FetchRetried_Call
type ExecutionDataRequesterMetrics_NotificationSent_Call ¶ added in v0.46.0
ExecutionDataRequesterMetrics_NotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotificationSent'
func (*ExecutionDataRequesterMetrics_NotificationSent_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_NotificationSent_Call) Run(run func(height uint64)) *ExecutionDataRequesterMetrics_NotificationSent_Call
func (*ExecutionDataRequesterMetrics_NotificationSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterMetrics_NotificationSent_Call) RunAndReturn(run func(height uint64)) *ExecutionDataRequesterMetrics_NotificationSent_Call
type ExecutionDataRequesterV2Metrics ¶ added in v0.27.2
ExecutionDataRequesterV2Metrics is an autogenerated mock type for the ExecutionDataRequesterV2Metrics type
func NewExecutionDataRequesterV2Metrics ¶ added in v0.27.2
func NewExecutionDataRequesterV2Metrics(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionDataRequesterV2Metrics
NewExecutionDataRequesterV2Metrics creates a new instance of ExecutionDataRequesterV2Metrics. 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 (*ExecutionDataRequesterV2Metrics) EXPECT ¶ added in v0.46.0
func (_m *ExecutionDataRequesterV2Metrics) EXPECT() *ExecutionDataRequesterV2Metrics_Expecter
func (*ExecutionDataRequesterV2Metrics) FulfilledHeight ¶ added in v0.27.2
func (_mock *ExecutionDataRequesterV2Metrics) FulfilledHeight(blockHeight uint64)
FulfilledHeight provides a mock function for the type ExecutionDataRequesterV2Metrics
func (*ExecutionDataRequesterV2Metrics) ReceiptSkipped ¶ added in v0.27.2
func (_mock *ExecutionDataRequesterV2Metrics) ReceiptSkipped()
ReceiptSkipped provides a mock function for the type ExecutionDataRequesterV2Metrics
func (*ExecutionDataRequesterV2Metrics) RequestCanceled ¶ added in v0.27.2
func (_mock *ExecutionDataRequesterV2Metrics) RequestCanceled()
RequestCanceled provides a mock function for the type ExecutionDataRequesterV2Metrics
func (*ExecutionDataRequesterV2Metrics) RequestFailed ¶ added in v0.27.2
func (_mock *ExecutionDataRequesterV2Metrics) RequestFailed(duration time.Duration, retryable bool)
RequestFailed provides a mock function for the type ExecutionDataRequesterV2Metrics
func (*ExecutionDataRequesterV2Metrics) RequestSucceeded ¶ added in v0.27.2
func (_mock *ExecutionDataRequesterV2Metrics) RequestSucceeded(blockHeight uint64, duration time.Duration, totalSize uint64, numberOfAttempts int)
RequestSucceeded provides a mock function for the type ExecutionDataRequesterV2Metrics
func (*ExecutionDataRequesterV2Metrics) ResponseDropped ¶ added in v0.27.2
func (_mock *ExecutionDataRequesterV2Metrics) ResponseDropped()
ResponseDropped provides a mock function for the type ExecutionDataRequesterV2Metrics
type ExecutionDataRequesterV2Metrics_Expecter ¶ added in v0.46.0
type ExecutionDataRequesterV2Metrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionDataRequesterV2Metrics_Expecter) FulfilledHeight ¶ added in v0.46.0
func (_e *ExecutionDataRequesterV2Metrics_Expecter) FulfilledHeight(blockHeight interface{}) *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
FulfilledHeight is a helper method to define mock.On call
- blockHeight uint64
func (*ExecutionDataRequesterV2Metrics_Expecter) ReceiptSkipped ¶ added in v0.46.0
func (_e *ExecutionDataRequesterV2Metrics_Expecter) ReceiptSkipped() *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
ReceiptSkipped is a helper method to define mock.On call
func (*ExecutionDataRequesterV2Metrics_Expecter) RequestCanceled ¶ added in v0.46.0
func (_e *ExecutionDataRequesterV2Metrics_Expecter) RequestCanceled() *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
RequestCanceled is a helper method to define mock.On call
func (*ExecutionDataRequesterV2Metrics_Expecter) RequestFailed ¶ added in v0.46.0
func (_e *ExecutionDataRequesterV2Metrics_Expecter) RequestFailed(duration interface{}, retryable interface{}) *ExecutionDataRequesterV2Metrics_RequestFailed_Call
RequestFailed is a helper method to define mock.On call
- duration time.Duration
- retryable bool
func (*ExecutionDataRequesterV2Metrics_Expecter) RequestSucceeded ¶ added in v0.46.0
func (_e *ExecutionDataRequesterV2Metrics_Expecter) RequestSucceeded(blockHeight interface{}, duration interface{}, totalSize interface{}, numberOfAttempts interface{}) *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
RequestSucceeded is a helper method to define mock.On call
- blockHeight uint64
- duration time.Duration
- totalSize uint64
- numberOfAttempts int
func (*ExecutionDataRequesterV2Metrics_Expecter) ResponseDropped ¶ added in v0.46.0
func (_e *ExecutionDataRequesterV2Metrics_Expecter) ResponseDropped() *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
ResponseDropped is a helper method to define mock.On call
type ExecutionDataRequesterV2Metrics_FulfilledHeight_Call ¶ added in v0.46.0
ExecutionDataRequesterV2Metrics_FulfilledHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FulfilledHeight'
func (*ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) Run(run func(blockHeight uint64)) *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
func (*ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) RunAndReturn(run func(blockHeight uint64)) *ExecutionDataRequesterV2Metrics_FulfilledHeight_Call
type ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call ¶ added in v0.46.0
ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReceiptSkipped'
func (*ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) Run(run func()) *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
func (*ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) RunAndReturn(run func()) *ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call
type ExecutionDataRequesterV2Metrics_RequestCanceled_Call ¶ added in v0.46.0
ExecutionDataRequesterV2Metrics_RequestCanceled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestCanceled'
func (*ExecutionDataRequesterV2Metrics_RequestCanceled_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_RequestCanceled_Call) Run(run func()) *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
func (*ExecutionDataRequesterV2Metrics_RequestCanceled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_RequestCanceled_Call) RunAndReturn(run func()) *ExecutionDataRequesterV2Metrics_RequestCanceled_Call
type ExecutionDataRequesterV2Metrics_RequestFailed_Call ¶ added in v0.46.0
ExecutionDataRequesterV2Metrics_RequestFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestFailed'
func (*ExecutionDataRequesterV2Metrics_RequestFailed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_RequestFailed_Call) Run(run func(duration time.Duration, retryable bool)) *ExecutionDataRequesterV2Metrics_RequestFailed_Call
func (*ExecutionDataRequesterV2Metrics_RequestFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_RequestFailed_Call) RunAndReturn(run func(duration time.Duration, retryable bool)) *ExecutionDataRequesterV2Metrics_RequestFailed_Call
type ExecutionDataRequesterV2Metrics_RequestSucceeded_Call ¶ added in v0.46.0
ExecutionDataRequesterV2Metrics_RequestSucceeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestSucceeded'
func (*ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) Run(run func(blockHeight uint64, duration time.Duration, totalSize uint64, numberOfAttempts int)) *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
func (*ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) RunAndReturn(run func(blockHeight uint64, duration time.Duration, totalSize uint64, numberOfAttempts int)) *ExecutionDataRequesterV2Metrics_RequestSucceeded_Call
type ExecutionDataRequesterV2Metrics_ResponseDropped_Call ¶ added in v0.46.0
ExecutionDataRequesterV2Metrics_ResponseDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResponseDropped'
func (*ExecutionDataRequesterV2Metrics_ResponseDropped_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_ResponseDropped_Call) Run(run func()) *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
func (*ExecutionDataRequesterV2Metrics_ResponseDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequesterV2Metrics_ResponseDropped_Call) RunAndReturn(run func()) *ExecutionDataRequesterV2Metrics_ResponseDropped_Call
type ExecutionMetrics ¶
ExecutionMetrics is an autogenerated mock type for the ExecutionMetrics type
func NewExecutionMetrics ¶ added in v0.26.1
func NewExecutionMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionMetrics
NewExecutionMetrics creates a new instance of ExecutionMetrics. 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 (*ExecutionMetrics) ChunkDataPackRequestProcessed ¶ added in v0.28.0
func (_mock *ExecutionMetrics) ChunkDataPackRequestProcessed()
ChunkDataPackRequestProcessed provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) EVMBlockExecuted ¶ added in v0.36.3
func (_mock *ExecutionMetrics) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
EVMBlockExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) EVMTransactionExecuted ¶ added in v0.36.3
func (_mock *ExecutionMetrics) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
EVMTransactionExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) EXPECT ¶ added in v0.46.0
func (_m *ExecutionMetrics) EXPECT() *ExecutionMetrics_Expecter
func (*ExecutionMetrics) ExecutionBlockCachedPrograms ¶ added in v0.29.17
func (_mock *ExecutionMetrics) ExecutionBlockCachedPrograms(programs int)
ExecutionBlockCachedPrograms provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionBlockDataUploadFinished ¶ added in v0.20.6
func (_mock *ExecutionMetrics) ExecutionBlockDataUploadFinished(dur time.Duration)
ExecutionBlockDataUploadFinished provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionBlockDataUploadStarted ¶ added in v0.20.6
func (_mock *ExecutionMetrics) ExecutionBlockDataUploadStarted()
ExecutionBlockDataUploadStarted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionBlockExecuted ¶ added in v0.18.3
func (_mock *ExecutionMetrics) ExecutionBlockExecuted(dur time.Duration, stats module.BlockExecutionResultStats)
ExecutionBlockExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionBlockExecutionEffortVectorComponent ¶ added in v0.28.2
func (_mock *ExecutionMetrics) ExecutionBlockExecutionEffortVectorComponent(s string, v uint64)
ExecutionBlockExecutionEffortVectorComponent provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionCheckpointSize ¶ added in v0.33.10
func (_mock *ExecutionMetrics) ExecutionCheckpointSize(bytes uint64)
ExecutionCheckpointSize provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionChunkDataPackGenerated ¶ added in v0.28.7
func (_mock *ExecutionMetrics) ExecutionChunkDataPackGenerated(proofSize int, numberOfTransactions int)
ExecutionChunkDataPackGenerated provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionCollectionExecuted ¶ added in v0.18.3
func (_mock *ExecutionMetrics) ExecutionCollectionExecuted(dur time.Duration, stats module.CollectionExecutionResultStats)
ExecutionCollectionExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionCollectionRequestSent ¶
func (_mock *ExecutionMetrics) ExecutionCollectionRequestSent()
ExecutionCollectionRequestSent provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionComputationResultUploadRetried ¶ added in v0.28.0
func (_mock *ExecutionMetrics) ExecutionComputationResultUploadRetried()
ExecutionComputationResultUploadRetried provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionComputationResultUploaded ¶ added in v0.28.0
func (_mock *ExecutionMetrics) ExecutionComputationResultUploaded()
ExecutionComputationResultUploaded provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionLastChunkDataPackPrunedHeight ¶ added in v0.39.1
func (_mock *ExecutionMetrics) ExecutionLastChunkDataPackPrunedHeight(height uint64)
ExecutionLastChunkDataPackPrunedHeight provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionLastExecutedBlockHeight ¶
func (_mock *ExecutionMetrics) ExecutionLastExecutedBlockHeight(height uint64)
ExecutionLastExecutedBlockHeight provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionLastFinalizedExecutedBlockHeight ¶ added in v0.33.1
func (_mock *ExecutionMetrics) ExecutionLastFinalizedExecutedBlockHeight(height uint64)
ExecutionLastFinalizedExecutedBlockHeight provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionScheduledTransactionsExecuted ¶ added in v0.45.0
func (_mock *ExecutionMetrics) ExecutionScheduledTransactionsExecuted(scheduledTransactionCount int, processComputationUsed uint64, executeComputationLimits uint64)
ExecutionScheduledTransactionsExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionScriptExecuted ¶ added in v0.18.3
func (_mock *ExecutionMetrics) ExecutionScriptExecuted(dur time.Duration, compUsed uint64, memoryUsed uint64, memoryEstimate uint64)
ExecutionScriptExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionStorageStateCommitment ¶
func (_mock *ExecutionMetrics) ExecutionStorageStateCommitment(bytes int64)
ExecutionStorageStateCommitment provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionSync ¶
func (_mock *ExecutionMetrics) ExecutionSync(syncing bool)
ExecutionSync provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionTargetChunkDataPackPrunedHeight ¶ added in v0.39.1
func (_mock *ExecutionMetrics) ExecutionTargetChunkDataPackPrunedHeight(height uint64)
ExecutionTargetChunkDataPackPrunedHeight provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ExecutionTransactionExecuted ¶ added in v0.18.3
func (_mock *ExecutionMetrics) ExecutionTransactionExecuted(dur time.Duration, stats module.TransactionExecutionResultStats, info module.TransactionExecutionResultInfo)
ExecutionTransactionExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) FinishBlockReceivedToExecuted ¶
func (_mock *ExecutionMetrics) FinishBlockReceivedToExecuted(blockID flow.Identifier)
FinishBlockReceivedToExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ForestApproxMemorySize ¶
func (_mock *ExecutionMetrics) ForestApproxMemorySize(bytes uint64)
ForestApproxMemorySize provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ForestNumberOfTrees ¶
func (_mock *ExecutionMetrics) ForestNumberOfTrees(number uint64)
ForestNumberOfTrees provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) LatestTrieMaxDepthTouched ¶ added in v0.25.2
func (_mock *ExecutionMetrics) LatestTrieMaxDepthTouched(maxDepth uint16)
LatestTrieMaxDepthTouched provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) LatestTrieRegCount ¶
func (_mock *ExecutionMetrics) LatestTrieRegCount(number uint64)
LatestTrieRegCount provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) LatestTrieRegCountDiff ¶
func (_mock *ExecutionMetrics) LatestTrieRegCountDiff(number int64)
LatestTrieRegCountDiff provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) LatestTrieRegSize ¶ added in v0.25.2
func (_mock *ExecutionMetrics) LatestTrieRegSize(size uint64)
LatestTrieRegSize provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) LatestTrieRegSizeDiff ¶ added in v0.25.2
func (_mock *ExecutionMetrics) LatestTrieRegSizeDiff(size int64)
LatestTrieRegSizeDiff provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ProofSize ¶
func (_mock *ExecutionMetrics) ProofSize(bytes uint32)
ProofSize provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ReadDuration ¶
func (_mock *ExecutionMetrics) ReadDuration(duration time.Duration)
ReadDuration provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ReadDurationPerItem ¶
func (_mock *ExecutionMetrics) ReadDurationPerItem(duration time.Duration)
ReadDurationPerItem provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ReadValuesNumber ¶
func (_mock *ExecutionMetrics) ReadValuesNumber(number uint64)
ReadValuesNumber provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) ReadValuesSize ¶
func (_mock *ExecutionMetrics) ReadValuesSize(byte uint64)
ReadValuesSize provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) RuntimeSetNumberOfAccounts ¶ added in v0.18.3
func (_mock *ExecutionMetrics) RuntimeSetNumberOfAccounts(count uint64)
RuntimeSetNumberOfAccounts provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) RuntimeTransactionChecked ¶ added in v0.18.3
func (_mock *ExecutionMetrics) RuntimeTransactionChecked(dur time.Duration)
RuntimeTransactionChecked provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) RuntimeTransactionInterpreted ¶ added in v0.18.3
func (_mock *ExecutionMetrics) RuntimeTransactionInterpreted(dur time.Duration)
RuntimeTransactionInterpreted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) RuntimeTransactionParsed ¶ added in v0.18.3
func (_mock *ExecutionMetrics) RuntimeTransactionParsed(dur time.Duration)
RuntimeTransactionParsed provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) RuntimeTransactionProgramsCacheHit ¶ added in v0.29.17
func (_mock *ExecutionMetrics) RuntimeTransactionProgramsCacheHit()
RuntimeTransactionProgramsCacheHit provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) RuntimeTransactionProgramsCacheMiss ¶ added in v0.29.17
func (_mock *ExecutionMetrics) RuntimeTransactionProgramsCacheMiss()
RuntimeTransactionProgramsCacheMiss provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) SetNumberOfDeployedCOAs ¶ added in v0.36.3
func (_mock *ExecutionMetrics) SetNumberOfDeployedCOAs(count uint64)
SetNumberOfDeployedCOAs provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) StartBlockReceivedToExecuted ¶
func (_mock *ExecutionMetrics) StartBlockReceivedToExecuted(blockID flow.Identifier)
StartBlockReceivedToExecuted provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) UpdateCollectionMaxHeight ¶ added in v0.27.0
func (_mock *ExecutionMetrics) UpdateCollectionMaxHeight(height uint64)
UpdateCollectionMaxHeight provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) UpdateCount ¶
func (_mock *ExecutionMetrics) UpdateCount()
UpdateCount provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) UpdateDuration ¶
func (_mock *ExecutionMetrics) UpdateDuration(duration time.Duration)
UpdateDuration provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) UpdateDurationPerItem ¶
func (_mock *ExecutionMetrics) UpdateDurationPerItem(duration time.Duration)
UpdateDurationPerItem provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) UpdateValuesNumber ¶
func (_mock *ExecutionMetrics) UpdateValuesNumber(number uint64)
UpdateValuesNumber provides a mock function for the type ExecutionMetrics
func (*ExecutionMetrics) UpdateValuesSize ¶
func (_mock *ExecutionMetrics) UpdateValuesSize(byte uint64)
UpdateValuesSize provides a mock function for the type ExecutionMetrics
type ExecutionMetrics_ChunkDataPackRequestProcessed_Call ¶ added in v0.46.0
ExecutionMetrics_ChunkDataPackRequestProcessed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkDataPackRequestProcessed'
func (*ExecutionMetrics_ChunkDataPackRequestProcessed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ChunkDataPackRequestProcessed_Call) Run(run func()) *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
func (*ExecutionMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn(run func()) *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
type ExecutionMetrics_EVMBlockExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_EVMBlockExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMBlockExecuted'
func (*ExecutionMetrics_EVMBlockExecuted_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_EVMBlockExecuted_Call) Return() *ExecutionMetrics_EVMBlockExecuted_Call
func (*ExecutionMetrics_EVMBlockExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *ExecutionMetrics_EVMBlockExecuted_Call
func (*ExecutionMetrics_EVMBlockExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *ExecutionMetrics_EVMBlockExecuted_Call
type ExecutionMetrics_EVMTransactionExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_EVMTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMTransactionExecuted'
func (*ExecutionMetrics_EVMTransactionExecuted_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_EVMTransactionExecuted_Call) Return() *ExecutionMetrics_EVMTransactionExecuted_Call
func (*ExecutionMetrics_EVMTransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *ExecutionMetrics_EVMTransactionExecuted_Call
func (*ExecutionMetrics_EVMTransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *ExecutionMetrics_EVMTransactionExecuted_Call
type ExecutionMetrics_ExecutionBlockCachedPrograms_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionBlockCachedPrograms_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockCachedPrograms'
func (*ExecutionMetrics_ExecutionBlockCachedPrograms_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockCachedPrograms_Call) Run(run func(programs int)) *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
func (*ExecutionMetrics_ExecutionBlockCachedPrograms_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockCachedPrograms_Call) RunAndReturn(run func(programs int)) *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
type ExecutionMetrics_ExecutionBlockDataUploadFinished_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionBlockDataUploadFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockDataUploadFinished'
func (*ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
func (*ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
type ExecutionMetrics_ExecutionBlockDataUploadStarted_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionBlockDataUploadStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockDataUploadStarted'
func (*ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) Run(run func()) *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
func (*ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
type ExecutionMetrics_ExecutionBlockExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionBlockExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockExecuted'
func (*ExecutionMetrics_ExecutionBlockExecuted_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockExecuted_Call) Return() *ExecutionMetrics_ExecutionBlockExecuted_Call
func (*ExecutionMetrics_ExecutionBlockExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockExecuted_Call) Run(run func(dur time.Duration, stats module.BlockExecutionResultStats)) *ExecutionMetrics_ExecutionBlockExecuted_Call
func (*ExecutionMetrics_ExecutionBlockExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockExecuted_Call) RunAndReturn(run func(dur time.Duration, stats module.BlockExecutionResultStats)) *ExecutionMetrics_ExecutionBlockExecuted_Call
type ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockExecutionEffortVectorComponent'
func (*ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) Return ¶ added in v0.46.0
func (*ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) RunAndReturn(run func(s string, v uint64)) *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
type ExecutionMetrics_ExecutionCheckpointSize_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionCheckpointSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCheckpointSize'
func (*ExecutionMetrics_ExecutionCheckpointSize_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionCheckpointSize_Call) Run(run func(bytes uint64)) *ExecutionMetrics_ExecutionCheckpointSize_Call
func (*ExecutionMetrics_ExecutionCheckpointSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionCheckpointSize_Call) RunAndReturn(run func(bytes uint64)) *ExecutionMetrics_ExecutionCheckpointSize_Call
type ExecutionMetrics_ExecutionChunkDataPackGenerated_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionChunkDataPackGenerated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionChunkDataPackGenerated'
func (*ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) Run(run func(proofSize int, numberOfTransactions int)) *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
func (*ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) RunAndReturn(run func(proofSize int, numberOfTransactions int)) *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
type ExecutionMetrics_ExecutionCollectionExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionCollectionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCollectionExecuted'
func (*ExecutionMetrics_ExecutionCollectionExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionCollectionExecuted_Call) Run(run func(dur time.Duration, stats module.CollectionExecutionResultStats)) *ExecutionMetrics_ExecutionCollectionExecuted_Call
func (*ExecutionMetrics_ExecutionCollectionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionCollectionExecuted_Call) RunAndReturn(run func(dur time.Duration, stats module.CollectionExecutionResultStats)) *ExecutionMetrics_ExecutionCollectionExecuted_Call
type ExecutionMetrics_ExecutionCollectionRequestSent_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionCollectionRequestSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCollectionRequestSent'
func (*ExecutionMetrics_ExecutionCollectionRequestSent_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionCollectionRequestSent_Call) Run(run func()) *ExecutionMetrics_ExecutionCollectionRequestSent_Call
func (*ExecutionMetrics_ExecutionCollectionRequestSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionCollectionRequestSent_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionCollectionRequestSent_Call
type ExecutionMetrics_ExecutionComputationResultUploadRetried_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionComputationResultUploadRetried_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionComputationResultUploadRetried'
func (*ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
type ExecutionMetrics_ExecutionComputationResultUploaded_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionComputationResultUploaded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionComputationResultUploaded'
func (*ExecutionMetrics_ExecutionComputationResultUploaded_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionComputationResultUploaded_Call) Run(run func()) *ExecutionMetrics_ExecutionComputationResultUploaded_Call
func (*ExecutionMetrics_ExecutionComputationResultUploaded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionComputationResultUploaded_Call) RunAndReturn(run func()) *ExecutionMetrics_ExecutionComputationResultUploaded_Call
type ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionLastChunkDataPackPrunedHeight'
func (*ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
func (*ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
type ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionLastExecutedBlockHeight'
func (*ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
func (*ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
type ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionLastFinalizedExecutedBlockHeight'
func (*ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
func (*ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
type ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionScheduledTransactionsExecuted'
func (*ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) Run(run func(scheduledTransactionCount int, processComputationUsed uint64, executeComputationLimits uint64)) *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
func (*ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) RunAndReturn(run func(scheduledTransactionCount int, processComputationUsed uint64, executeComputationLimits uint64)) *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
type ExecutionMetrics_ExecutionScriptExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionScriptExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionScriptExecuted'
func (*ExecutionMetrics_ExecutionScriptExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionScriptExecuted_Call) Run(run func(dur time.Duration, compUsed uint64, memoryUsed uint64, memoryEstimate uint64)) *ExecutionMetrics_ExecutionScriptExecuted_Call
func (*ExecutionMetrics_ExecutionScriptExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionScriptExecuted_Call) RunAndReturn(run func(dur time.Duration, compUsed uint64, memoryUsed uint64, memoryEstimate uint64)) *ExecutionMetrics_ExecutionScriptExecuted_Call
type ExecutionMetrics_ExecutionStorageStateCommitment_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionStorageStateCommitment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionStorageStateCommitment'
func (*ExecutionMetrics_ExecutionStorageStateCommitment_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionStorageStateCommitment_Call) Run(run func(bytes int64)) *ExecutionMetrics_ExecutionStorageStateCommitment_Call
func (*ExecutionMetrics_ExecutionStorageStateCommitment_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionStorageStateCommitment_Call) RunAndReturn(run func(bytes int64)) *ExecutionMetrics_ExecutionStorageStateCommitment_Call
type ExecutionMetrics_ExecutionSync_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionSync'
func (*ExecutionMetrics_ExecutionSync_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionSync_Call) Return() *ExecutionMetrics_ExecutionSync_Call
func (*ExecutionMetrics_ExecutionSync_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionSync_Call) Run(run func(syncing bool)) *ExecutionMetrics_ExecutionSync_Call
func (*ExecutionMetrics_ExecutionSync_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionSync_Call) RunAndReturn(run func(syncing bool)) *ExecutionMetrics_ExecutionSync_Call
type ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionTargetChunkDataPackPrunedHeight'
func (*ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
func (*ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
type ExecutionMetrics_ExecutionTransactionExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_ExecutionTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionTransactionExecuted'
func (*ExecutionMetrics_ExecutionTransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionTransactionExecuted_Call) Run(run func(dur time.Duration, stats module.TransactionExecutionResultStats, info module.TransactionExecutionResultInfo)) *ExecutionMetrics_ExecutionTransactionExecuted_Call
func (*ExecutionMetrics_ExecutionTransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ExecutionTransactionExecuted_Call) RunAndReturn(run func(dur time.Duration, stats module.TransactionExecutionResultStats, info module.TransactionExecutionResultInfo)) *ExecutionMetrics_ExecutionTransactionExecuted_Call
type ExecutionMetrics_Expecter ¶ added in v0.46.0
type ExecutionMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionMetrics_Expecter) ChunkDataPackRequestProcessed ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ChunkDataPackRequestProcessed() *ExecutionMetrics_ChunkDataPackRequestProcessed_Call
ChunkDataPackRequestProcessed is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) EVMBlockExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *ExecutionMetrics_EVMBlockExecuted_Call
EVMBlockExecuted is a helper method to define mock.On call
- txCount int
- totalGasUsed uint64
- totalSupplyInFlow float64
func (*ExecutionMetrics_Expecter) EVMTransactionExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *ExecutionMetrics_EVMTransactionExecuted_Call
EVMTransactionExecuted is a helper method to define mock.On call
- gasUsed uint64
- isDirectCall bool
- failed bool
func (*ExecutionMetrics_Expecter) ExecutionBlockCachedPrograms ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionBlockCachedPrograms(programs interface{}) *ExecutionMetrics_ExecutionBlockCachedPrograms_Call
ExecutionBlockCachedPrograms is a helper method to define mock.On call
- programs int
func (*ExecutionMetrics_Expecter) ExecutionBlockDataUploadFinished ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionBlockDataUploadFinished(dur interface{}) *ExecutionMetrics_ExecutionBlockDataUploadFinished_Call
ExecutionBlockDataUploadFinished is a helper method to define mock.On call
- dur time.Duration
func (*ExecutionMetrics_Expecter) ExecutionBlockDataUploadStarted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionBlockDataUploadStarted() *ExecutionMetrics_ExecutionBlockDataUploadStarted_Call
ExecutionBlockDataUploadStarted is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) ExecutionBlockExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionBlockExecuted(dur interface{}, stats interface{}) *ExecutionMetrics_ExecutionBlockExecuted_Call
ExecutionBlockExecuted is a helper method to define mock.On call
- dur time.Duration
- stats module.BlockExecutionResultStats
func (*ExecutionMetrics_Expecter) ExecutionBlockExecutionEffortVectorComponent ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionBlockExecutionEffortVectorComponent(s interface{}, v interface{}) *ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call
ExecutionBlockExecutionEffortVectorComponent is a helper method to define mock.On call
- s string
- v uint64
func (*ExecutionMetrics_Expecter) ExecutionCheckpointSize ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionCheckpointSize(bytes interface{}) *ExecutionMetrics_ExecutionCheckpointSize_Call
ExecutionCheckpointSize is a helper method to define mock.On call
- bytes uint64
func (*ExecutionMetrics_Expecter) ExecutionChunkDataPackGenerated ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionChunkDataPackGenerated(proofSize interface{}, numberOfTransactions interface{}) *ExecutionMetrics_ExecutionChunkDataPackGenerated_Call
ExecutionChunkDataPackGenerated is a helper method to define mock.On call
- proofSize int
- numberOfTransactions int
func (*ExecutionMetrics_Expecter) ExecutionCollectionExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionCollectionExecuted(dur interface{}, stats interface{}) *ExecutionMetrics_ExecutionCollectionExecuted_Call
ExecutionCollectionExecuted is a helper method to define mock.On call
- dur time.Duration
- stats module.CollectionExecutionResultStats
func (*ExecutionMetrics_Expecter) ExecutionCollectionRequestSent ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionCollectionRequestSent() *ExecutionMetrics_ExecutionCollectionRequestSent_Call
ExecutionCollectionRequestSent is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) ExecutionComputationResultUploadRetried ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionComputationResultUploadRetried() *ExecutionMetrics_ExecutionComputationResultUploadRetried_Call
ExecutionComputationResultUploadRetried is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) ExecutionComputationResultUploaded ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionComputationResultUploaded() *ExecutionMetrics_ExecutionComputationResultUploaded_Call
ExecutionComputationResultUploaded is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) ExecutionLastChunkDataPackPrunedHeight ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionLastChunkDataPackPrunedHeight(height interface{}) *ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call
ExecutionLastChunkDataPackPrunedHeight is a helper method to define mock.On call
- height uint64
func (*ExecutionMetrics_Expecter) ExecutionLastExecutedBlockHeight ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionLastExecutedBlockHeight(height interface{}) *ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call
ExecutionLastExecutedBlockHeight is a helper method to define mock.On call
- height uint64
func (*ExecutionMetrics_Expecter) ExecutionLastFinalizedExecutedBlockHeight ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionLastFinalizedExecutedBlockHeight(height interface{}) *ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call
ExecutionLastFinalizedExecutedBlockHeight is a helper method to define mock.On call
- height uint64
func (*ExecutionMetrics_Expecter) ExecutionScheduledTransactionsExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionScheduledTransactionsExecuted(scheduledTransactionCount interface{}, processComputationUsed interface{}, executeComputationLimits interface{}) *ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call
ExecutionScheduledTransactionsExecuted is a helper method to define mock.On call
- scheduledTransactionCount int
- processComputationUsed uint64
- executeComputationLimits uint64
func (*ExecutionMetrics_Expecter) ExecutionScriptExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionScriptExecuted(dur interface{}, compUsed interface{}, memoryUsed interface{}, memoryEstimate interface{}) *ExecutionMetrics_ExecutionScriptExecuted_Call
ExecutionScriptExecuted is a helper method to define mock.On call
- dur time.Duration
- compUsed uint64
- memoryUsed uint64
- memoryEstimate uint64
func (*ExecutionMetrics_Expecter) ExecutionStorageStateCommitment ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionStorageStateCommitment(bytes interface{}) *ExecutionMetrics_ExecutionStorageStateCommitment_Call
ExecutionStorageStateCommitment is a helper method to define mock.On call
- bytes int64
func (*ExecutionMetrics_Expecter) ExecutionSync ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionSync(syncing interface{}) *ExecutionMetrics_ExecutionSync_Call
ExecutionSync is a helper method to define mock.On call
- syncing bool
func (*ExecutionMetrics_Expecter) ExecutionTargetChunkDataPackPrunedHeight ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionTargetChunkDataPackPrunedHeight(height interface{}) *ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call
ExecutionTargetChunkDataPackPrunedHeight is a helper method to define mock.On call
- height uint64
func (*ExecutionMetrics_Expecter) ExecutionTransactionExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ExecutionTransactionExecuted(dur interface{}, stats interface{}, info interface{}) *ExecutionMetrics_ExecutionTransactionExecuted_Call
ExecutionTransactionExecuted is a helper method to define mock.On call
- dur time.Duration
- stats module.TransactionExecutionResultStats
- info module.TransactionExecutionResultInfo
func (*ExecutionMetrics_Expecter) FinishBlockReceivedToExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) FinishBlockReceivedToExecuted(blockID interface{}) *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
FinishBlockReceivedToExecuted is a helper method to define mock.On call
- blockID flow.Identifier
func (*ExecutionMetrics_Expecter) ForestApproxMemorySize ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ForestApproxMemorySize(bytes interface{}) *ExecutionMetrics_ForestApproxMemorySize_Call
ForestApproxMemorySize is a helper method to define mock.On call
- bytes uint64
func (*ExecutionMetrics_Expecter) ForestNumberOfTrees ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ForestNumberOfTrees(number interface{}) *ExecutionMetrics_ForestNumberOfTrees_Call
ForestNumberOfTrees is a helper method to define mock.On call
- number uint64
func (*ExecutionMetrics_Expecter) LatestTrieMaxDepthTouched ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) LatestTrieMaxDepthTouched(maxDepth interface{}) *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
LatestTrieMaxDepthTouched is a helper method to define mock.On call
- maxDepth uint16
func (*ExecutionMetrics_Expecter) LatestTrieRegCount ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) LatestTrieRegCount(number interface{}) *ExecutionMetrics_LatestTrieRegCount_Call
LatestTrieRegCount is a helper method to define mock.On call
- number uint64
func (*ExecutionMetrics_Expecter) LatestTrieRegCountDiff ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) LatestTrieRegCountDiff(number interface{}) *ExecutionMetrics_LatestTrieRegCountDiff_Call
LatestTrieRegCountDiff is a helper method to define mock.On call
- number int64
func (*ExecutionMetrics_Expecter) LatestTrieRegSize ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) LatestTrieRegSize(size interface{}) *ExecutionMetrics_LatestTrieRegSize_Call
LatestTrieRegSize is a helper method to define mock.On call
- size uint64
func (*ExecutionMetrics_Expecter) LatestTrieRegSizeDiff ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) LatestTrieRegSizeDiff(size interface{}) *ExecutionMetrics_LatestTrieRegSizeDiff_Call
LatestTrieRegSizeDiff is a helper method to define mock.On call
- size int64
func (*ExecutionMetrics_Expecter) ProofSize ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ProofSize(bytes interface{}) *ExecutionMetrics_ProofSize_Call
ProofSize is a helper method to define mock.On call
- bytes uint32
func (*ExecutionMetrics_Expecter) ReadDuration ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ReadDuration(duration interface{}) *ExecutionMetrics_ReadDuration_Call
ReadDuration is a helper method to define mock.On call
- duration time.Duration
func (*ExecutionMetrics_Expecter) ReadDurationPerItem ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ReadDurationPerItem(duration interface{}) *ExecutionMetrics_ReadDurationPerItem_Call
ReadDurationPerItem is a helper method to define mock.On call
- duration time.Duration
func (*ExecutionMetrics_Expecter) ReadValuesNumber ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ReadValuesNumber(number interface{}) *ExecutionMetrics_ReadValuesNumber_Call
ReadValuesNumber is a helper method to define mock.On call
- number uint64
func (*ExecutionMetrics_Expecter) ReadValuesSize ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) ReadValuesSize(byte interface{}) *ExecutionMetrics_ReadValuesSize_Call
ReadValuesSize is a helper method to define mock.On call
- byte uint64
func (*ExecutionMetrics_Expecter) RuntimeSetNumberOfAccounts ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
RuntimeSetNumberOfAccounts is a helper method to define mock.On call
- count uint64
func (*ExecutionMetrics_Expecter) RuntimeTransactionChecked ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) RuntimeTransactionChecked(dur interface{}) *ExecutionMetrics_RuntimeTransactionChecked_Call
RuntimeTransactionChecked is a helper method to define mock.On call
- dur time.Duration
func (*ExecutionMetrics_Expecter) RuntimeTransactionInterpreted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) RuntimeTransactionInterpreted(dur interface{}) *ExecutionMetrics_RuntimeTransactionInterpreted_Call
RuntimeTransactionInterpreted is a helper method to define mock.On call
- dur time.Duration
func (*ExecutionMetrics_Expecter) RuntimeTransactionParsed ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) RuntimeTransactionParsed(dur interface{}) *ExecutionMetrics_RuntimeTransactionParsed_Call
RuntimeTransactionParsed is a helper method to define mock.On call
- dur time.Duration
func (*ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheHit ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheHit() *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheMiss() *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
RuntimeTransactionProgramsCacheMiss is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) SetNumberOfDeployedCOAs ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) SetNumberOfDeployedCOAs(count interface{}) *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
SetNumberOfDeployedCOAs is a helper method to define mock.On call
- count uint64
func (*ExecutionMetrics_Expecter) StartBlockReceivedToExecuted ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) StartBlockReceivedToExecuted(blockID interface{}) *ExecutionMetrics_StartBlockReceivedToExecuted_Call
StartBlockReceivedToExecuted is a helper method to define mock.On call
- blockID flow.Identifier
func (*ExecutionMetrics_Expecter) UpdateCollectionMaxHeight ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) UpdateCollectionMaxHeight(height interface{}) *ExecutionMetrics_UpdateCollectionMaxHeight_Call
UpdateCollectionMaxHeight is a helper method to define mock.On call
- height uint64
func (*ExecutionMetrics_Expecter) UpdateCount ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) UpdateCount() *ExecutionMetrics_UpdateCount_Call
UpdateCount is a helper method to define mock.On call
func (*ExecutionMetrics_Expecter) UpdateDuration ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) UpdateDuration(duration interface{}) *ExecutionMetrics_UpdateDuration_Call
UpdateDuration is a helper method to define mock.On call
- duration time.Duration
func (*ExecutionMetrics_Expecter) UpdateDurationPerItem ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) UpdateDurationPerItem(duration interface{}) *ExecutionMetrics_UpdateDurationPerItem_Call
UpdateDurationPerItem is a helper method to define mock.On call
- duration time.Duration
func (*ExecutionMetrics_Expecter) UpdateValuesNumber ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) UpdateValuesNumber(number interface{}) *ExecutionMetrics_UpdateValuesNumber_Call
UpdateValuesNumber is a helper method to define mock.On call
- number uint64
func (*ExecutionMetrics_Expecter) UpdateValuesSize ¶ added in v0.46.0
func (_e *ExecutionMetrics_Expecter) UpdateValuesSize(byte interface{}) *ExecutionMetrics_UpdateValuesSize_Call
UpdateValuesSize is a helper method to define mock.On call
- byte uint64
type ExecutionMetrics_FinishBlockReceivedToExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_FinishBlockReceivedToExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishBlockReceivedToExecuted'
func (*ExecutionMetrics_FinishBlockReceivedToExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_FinishBlockReceivedToExecuted_Call) Run(run func(blockID flow.Identifier)) *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
func (*ExecutionMetrics_FinishBlockReceivedToExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_FinishBlockReceivedToExecuted_Call) RunAndReturn(run func(blockID flow.Identifier)) *ExecutionMetrics_FinishBlockReceivedToExecuted_Call
type ExecutionMetrics_ForestApproxMemorySize_Call ¶ added in v0.46.0
ExecutionMetrics_ForestApproxMemorySize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForestApproxMemorySize'
func (*ExecutionMetrics_ForestApproxMemorySize_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ForestApproxMemorySize_Call) Return() *ExecutionMetrics_ForestApproxMemorySize_Call
func (*ExecutionMetrics_ForestApproxMemorySize_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ForestApproxMemorySize_Call) Run(run func(bytes uint64)) *ExecutionMetrics_ForestApproxMemorySize_Call
func (*ExecutionMetrics_ForestApproxMemorySize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ForestApproxMemorySize_Call) RunAndReturn(run func(bytes uint64)) *ExecutionMetrics_ForestApproxMemorySize_Call
type ExecutionMetrics_ForestNumberOfTrees_Call ¶ added in v0.46.0
ExecutionMetrics_ForestNumberOfTrees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForestNumberOfTrees'
func (*ExecutionMetrics_ForestNumberOfTrees_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ForestNumberOfTrees_Call) Return() *ExecutionMetrics_ForestNumberOfTrees_Call
func (*ExecutionMetrics_ForestNumberOfTrees_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ForestNumberOfTrees_Call) Run(run func(number uint64)) *ExecutionMetrics_ForestNumberOfTrees_Call
func (*ExecutionMetrics_ForestNumberOfTrees_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ForestNumberOfTrees_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_ForestNumberOfTrees_Call
type ExecutionMetrics_LatestTrieMaxDepthTouched_Call ¶ added in v0.46.0
ExecutionMetrics_LatestTrieMaxDepthTouched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieMaxDepthTouched'
func (*ExecutionMetrics_LatestTrieMaxDepthTouched_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieMaxDepthTouched_Call) Run(run func(maxDepth uint16)) *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
func (*ExecutionMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn(run func(maxDepth uint16)) *ExecutionMetrics_LatestTrieMaxDepthTouched_Call
type ExecutionMetrics_LatestTrieRegCountDiff_Call ¶ added in v0.46.0
ExecutionMetrics_LatestTrieRegCountDiff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegCountDiff'
func (*ExecutionMetrics_LatestTrieRegCountDiff_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegCountDiff_Call) Return() *ExecutionMetrics_LatestTrieRegCountDiff_Call
func (*ExecutionMetrics_LatestTrieRegCountDiff_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegCountDiff_Call) Run(run func(number int64)) *ExecutionMetrics_LatestTrieRegCountDiff_Call
func (*ExecutionMetrics_LatestTrieRegCountDiff_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegCountDiff_Call) RunAndReturn(run func(number int64)) *ExecutionMetrics_LatestTrieRegCountDiff_Call
type ExecutionMetrics_LatestTrieRegCount_Call ¶ added in v0.46.0
ExecutionMetrics_LatestTrieRegCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegCount'
func (*ExecutionMetrics_LatestTrieRegCount_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegCount_Call) Return() *ExecutionMetrics_LatestTrieRegCount_Call
func (*ExecutionMetrics_LatestTrieRegCount_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegCount_Call) Run(run func(number uint64)) *ExecutionMetrics_LatestTrieRegCount_Call
func (*ExecutionMetrics_LatestTrieRegCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegCount_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_LatestTrieRegCount_Call
type ExecutionMetrics_LatestTrieRegSizeDiff_Call ¶ added in v0.46.0
ExecutionMetrics_LatestTrieRegSizeDiff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegSizeDiff'
func (*ExecutionMetrics_LatestTrieRegSizeDiff_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegSizeDiff_Call) Return() *ExecutionMetrics_LatestTrieRegSizeDiff_Call
func (*ExecutionMetrics_LatestTrieRegSizeDiff_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegSizeDiff_Call) Run(run func(size int64)) *ExecutionMetrics_LatestTrieRegSizeDiff_Call
func (*ExecutionMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn(run func(size int64)) *ExecutionMetrics_LatestTrieRegSizeDiff_Call
type ExecutionMetrics_LatestTrieRegSize_Call ¶ added in v0.46.0
ExecutionMetrics_LatestTrieRegSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegSize'
func (*ExecutionMetrics_LatestTrieRegSize_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegSize_Call) Return() *ExecutionMetrics_LatestTrieRegSize_Call
func (*ExecutionMetrics_LatestTrieRegSize_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegSize_Call) Run(run func(size uint64)) *ExecutionMetrics_LatestTrieRegSize_Call
func (*ExecutionMetrics_LatestTrieRegSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_LatestTrieRegSize_Call) RunAndReturn(run func(size uint64)) *ExecutionMetrics_LatestTrieRegSize_Call
type ExecutionMetrics_ProofSize_Call ¶ added in v0.46.0
ExecutionMetrics_ProofSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProofSize'
func (*ExecutionMetrics_ProofSize_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ProofSize_Call) Return() *ExecutionMetrics_ProofSize_Call
func (*ExecutionMetrics_ProofSize_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ProofSize_Call) Run(run func(bytes uint32)) *ExecutionMetrics_ProofSize_Call
func (*ExecutionMetrics_ProofSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ProofSize_Call) RunAndReturn(run func(bytes uint32)) *ExecutionMetrics_ProofSize_Call
type ExecutionMetrics_ReadDurationPerItem_Call ¶ added in v0.46.0
ExecutionMetrics_ReadDurationPerItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadDurationPerItem'
func (*ExecutionMetrics_ReadDurationPerItem_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadDurationPerItem_Call) Return() *ExecutionMetrics_ReadDurationPerItem_Call
func (*ExecutionMetrics_ReadDurationPerItem_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadDurationPerItem_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_ReadDurationPerItem_Call
func (*ExecutionMetrics_ReadDurationPerItem_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_ReadDurationPerItem_Call
type ExecutionMetrics_ReadDuration_Call ¶ added in v0.46.0
ExecutionMetrics_ReadDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadDuration'
func (*ExecutionMetrics_ReadDuration_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadDuration_Call) Return() *ExecutionMetrics_ReadDuration_Call
func (*ExecutionMetrics_ReadDuration_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadDuration_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_ReadDuration_Call
func (*ExecutionMetrics_ReadDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadDuration_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_ReadDuration_Call
type ExecutionMetrics_ReadValuesNumber_Call ¶ added in v0.46.0
ExecutionMetrics_ReadValuesNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadValuesNumber'
func (*ExecutionMetrics_ReadValuesNumber_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadValuesNumber_Call) Return() *ExecutionMetrics_ReadValuesNumber_Call
func (*ExecutionMetrics_ReadValuesNumber_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadValuesNumber_Call) Run(run func(number uint64)) *ExecutionMetrics_ReadValuesNumber_Call
func (*ExecutionMetrics_ReadValuesNumber_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadValuesNumber_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_ReadValuesNumber_Call
type ExecutionMetrics_ReadValuesSize_Call ¶ added in v0.46.0
ExecutionMetrics_ReadValuesSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadValuesSize'
func (*ExecutionMetrics_ReadValuesSize_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadValuesSize_Call) Return() *ExecutionMetrics_ReadValuesSize_Call
func (*ExecutionMetrics_ReadValuesSize_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadValuesSize_Call) Run(run func(byte uint64)) *ExecutionMetrics_ReadValuesSize_Call
func (*ExecutionMetrics_ReadValuesSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_ReadValuesSize_Call) RunAndReturn(run func(byte uint64)) *ExecutionMetrics_ReadValuesSize_Call
type ExecutionMetrics_RuntimeSetNumberOfAccounts_Call ¶ added in v0.46.0
ExecutionMetrics_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'
func (*ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
func (*ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *ExecutionMetrics_RuntimeSetNumberOfAccounts_Call
type ExecutionMetrics_RuntimeTransactionChecked_Call ¶ added in v0.46.0
ExecutionMetrics_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'
func (*ExecutionMetrics_RuntimeTransactionChecked_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionChecked_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionChecked_Call
func (*ExecutionMetrics_RuntimeTransactionChecked_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionChecked_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionChecked_Call
type ExecutionMetrics_RuntimeTransactionInterpreted_Call ¶ added in v0.46.0
ExecutionMetrics_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'
func (*ExecutionMetrics_RuntimeTransactionInterpreted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionInterpreted_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionInterpreted_Call
func (*ExecutionMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionInterpreted_Call
type ExecutionMetrics_RuntimeTransactionParsed_Call ¶ added in v0.46.0
ExecutionMetrics_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'
func (*ExecutionMetrics_RuntimeTransactionParsed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionParsed_Call) Run(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionParsed_Call
func (*ExecutionMetrics_RuntimeTransactionParsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionParsed_Call) RunAndReturn(run func(dur time.Duration)) *ExecutionMetrics_RuntimeTransactionParsed_Call
type ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call ¶ added in v0.46.0
ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'
func (*ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
func (*ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call
type ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call ¶ added in v0.46.0
ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'
func (*ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
func (*ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call
type ExecutionMetrics_SetNumberOfDeployedCOAs_Call ¶ added in v0.46.0
ExecutionMetrics_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'
func (*ExecutionMetrics_SetNumberOfDeployedCOAs_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
func (*ExecutionMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *ExecutionMetrics_SetNumberOfDeployedCOAs_Call
type ExecutionMetrics_StartBlockReceivedToExecuted_Call ¶ added in v0.46.0
ExecutionMetrics_StartBlockReceivedToExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartBlockReceivedToExecuted'
func (*ExecutionMetrics_StartBlockReceivedToExecuted_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_StartBlockReceivedToExecuted_Call) Run(run func(blockID flow.Identifier)) *ExecutionMetrics_StartBlockReceivedToExecuted_Call
func (*ExecutionMetrics_StartBlockReceivedToExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_StartBlockReceivedToExecuted_Call) RunAndReturn(run func(blockID flow.Identifier)) *ExecutionMetrics_StartBlockReceivedToExecuted_Call
type ExecutionMetrics_UpdateCollectionMaxHeight_Call ¶ added in v0.46.0
ExecutionMetrics_UpdateCollectionMaxHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCollectionMaxHeight'
func (*ExecutionMetrics_UpdateCollectionMaxHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateCollectionMaxHeight_Call) Run(run func(height uint64)) *ExecutionMetrics_UpdateCollectionMaxHeight_Call
func (*ExecutionMetrics_UpdateCollectionMaxHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateCollectionMaxHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionMetrics_UpdateCollectionMaxHeight_Call
type ExecutionMetrics_UpdateCount_Call ¶ added in v0.46.0
ExecutionMetrics_UpdateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCount'
func (*ExecutionMetrics_UpdateCount_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateCount_Call) Return() *ExecutionMetrics_UpdateCount_Call
func (*ExecutionMetrics_UpdateCount_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateCount_Call) Run(run func()) *ExecutionMetrics_UpdateCount_Call
func (*ExecutionMetrics_UpdateCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateCount_Call) RunAndReturn(run func()) *ExecutionMetrics_UpdateCount_Call
type ExecutionMetrics_UpdateDurationPerItem_Call ¶ added in v0.46.0
ExecutionMetrics_UpdateDurationPerItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDurationPerItem'
func (*ExecutionMetrics_UpdateDurationPerItem_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateDurationPerItem_Call) Return() *ExecutionMetrics_UpdateDurationPerItem_Call
func (*ExecutionMetrics_UpdateDurationPerItem_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateDurationPerItem_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_UpdateDurationPerItem_Call
func (*ExecutionMetrics_UpdateDurationPerItem_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_UpdateDurationPerItem_Call
type ExecutionMetrics_UpdateDuration_Call ¶ added in v0.46.0
ExecutionMetrics_UpdateDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDuration'
func (*ExecutionMetrics_UpdateDuration_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateDuration_Call) Return() *ExecutionMetrics_UpdateDuration_Call
func (*ExecutionMetrics_UpdateDuration_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateDuration_Call) Run(run func(duration time.Duration)) *ExecutionMetrics_UpdateDuration_Call
func (*ExecutionMetrics_UpdateDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateDuration_Call) RunAndReturn(run func(duration time.Duration)) *ExecutionMetrics_UpdateDuration_Call
type ExecutionMetrics_UpdateValuesNumber_Call ¶ added in v0.46.0
ExecutionMetrics_UpdateValuesNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateValuesNumber'
func (*ExecutionMetrics_UpdateValuesNumber_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateValuesNumber_Call) Return() *ExecutionMetrics_UpdateValuesNumber_Call
func (*ExecutionMetrics_UpdateValuesNumber_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateValuesNumber_Call) Run(run func(number uint64)) *ExecutionMetrics_UpdateValuesNumber_Call
func (*ExecutionMetrics_UpdateValuesNumber_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateValuesNumber_Call) RunAndReturn(run func(number uint64)) *ExecutionMetrics_UpdateValuesNumber_Call
type ExecutionMetrics_UpdateValuesSize_Call ¶ added in v0.46.0
ExecutionMetrics_UpdateValuesSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateValuesSize'
func (*ExecutionMetrics_UpdateValuesSize_Call) Return ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateValuesSize_Call) Return() *ExecutionMetrics_UpdateValuesSize_Call
func (*ExecutionMetrics_UpdateValuesSize_Call) Run ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateValuesSize_Call) Run(run func(byte uint64)) *ExecutionMetrics_UpdateValuesSize_Call
func (*ExecutionMetrics_UpdateValuesSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionMetrics_UpdateValuesSize_Call) RunAndReturn(run func(byte uint64)) *ExecutionMetrics_UpdateValuesSize_Call
type ExecutionStateIndexerMetrics ¶ added in v0.32.1
ExecutionStateIndexerMetrics is an autogenerated mock type for the ExecutionStateIndexerMetrics type
func NewExecutionStateIndexerMetrics ¶ added in v0.32.1
func NewExecutionStateIndexerMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionStateIndexerMetrics
NewExecutionStateIndexerMetrics creates a new instance of ExecutionStateIndexerMetrics. 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 (*ExecutionStateIndexerMetrics) BlockIndexed ¶ added in v0.32.1
func (_mock *ExecutionStateIndexerMetrics) BlockIndexed(height uint64, duration time.Duration, events int, registers int, transactionResults int)
BlockIndexed provides a mock function for the type ExecutionStateIndexerMetrics
func (*ExecutionStateIndexerMetrics) BlockReindexed ¶ added in v0.32.1
func (_mock *ExecutionStateIndexerMetrics) BlockReindexed()
BlockReindexed provides a mock function for the type ExecutionStateIndexerMetrics
func (*ExecutionStateIndexerMetrics) EXPECT ¶ added in v0.46.0
func (_m *ExecutionStateIndexerMetrics) EXPECT() *ExecutionStateIndexerMetrics_Expecter
func (*ExecutionStateIndexerMetrics) InitializeLatestHeight ¶ added in v0.32.2
func (_mock *ExecutionStateIndexerMetrics) InitializeLatestHeight(height uint64)
InitializeLatestHeight provides a mock function for the type ExecutionStateIndexerMetrics
type ExecutionStateIndexerMetrics_BlockIndexed_Call ¶ added in v0.46.0
ExecutionStateIndexerMetrics_BlockIndexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIndexed'
func (*ExecutionStateIndexerMetrics_BlockIndexed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionStateIndexerMetrics_BlockIndexed_Call) Run(run func(height uint64, duration time.Duration, events int, registers int, transactionResults int)) *ExecutionStateIndexerMetrics_BlockIndexed_Call
func (*ExecutionStateIndexerMetrics_BlockIndexed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionStateIndexerMetrics_BlockIndexed_Call) RunAndReturn(run func(height uint64, duration time.Duration, events int, registers int, transactionResults int)) *ExecutionStateIndexerMetrics_BlockIndexed_Call
type ExecutionStateIndexerMetrics_BlockReindexed_Call ¶ added in v0.46.0
ExecutionStateIndexerMetrics_BlockReindexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockReindexed'
func (*ExecutionStateIndexerMetrics_BlockReindexed_Call) Run ¶ added in v0.46.0
func (_c *ExecutionStateIndexerMetrics_BlockReindexed_Call) Run(run func()) *ExecutionStateIndexerMetrics_BlockReindexed_Call
func (*ExecutionStateIndexerMetrics_BlockReindexed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionStateIndexerMetrics_BlockReindexed_Call) RunAndReturn(run func()) *ExecutionStateIndexerMetrics_BlockReindexed_Call
type ExecutionStateIndexerMetrics_Expecter ¶ added in v0.46.0
type ExecutionStateIndexerMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionStateIndexerMetrics_Expecter) BlockIndexed ¶ added in v0.46.0
func (_e *ExecutionStateIndexerMetrics_Expecter) BlockIndexed(height interface{}, duration interface{}, events interface{}, registers interface{}, transactionResults interface{}) *ExecutionStateIndexerMetrics_BlockIndexed_Call
BlockIndexed is a helper method to define mock.On call
- height uint64
- duration time.Duration
- events int
- registers int
- transactionResults int
func (*ExecutionStateIndexerMetrics_Expecter) BlockReindexed ¶ added in v0.46.0
func (_e *ExecutionStateIndexerMetrics_Expecter) BlockReindexed() *ExecutionStateIndexerMetrics_BlockReindexed_Call
BlockReindexed is a helper method to define mock.On call
func (*ExecutionStateIndexerMetrics_Expecter) InitializeLatestHeight ¶ added in v0.46.0
func (_e *ExecutionStateIndexerMetrics_Expecter) InitializeLatestHeight(height interface{}) *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
InitializeLatestHeight is a helper method to define mock.On call
- height uint64
type ExecutionStateIndexerMetrics_InitializeLatestHeight_Call ¶ added in v0.46.0
ExecutionStateIndexerMetrics_InitializeLatestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitializeLatestHeight'
func (*ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) Run(run func(height uint64)) *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
func (*ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) RunAndReturn(run func(height uint64)) *ExecutionStateIndexerMetrics_InitializeLatestHeight_Call
type FinalizedHeaderCache ¶ added in v0.31.0
FinalizedHeaderCache is an autogenerated mock type for the FinalizedHeaderCache type
func NewFinalizedHeaderCache ¶ added in v0.31.0
func NewFinalizedHeaderCache(t interface {
mock.TestingT
Cleanup(func())
}) *FinalizedHeaderCache
NewFinalizedHeaderCache creates a new instance of FinalizedHeaderCache. 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 (*FinalizedHeaderCache) EXPECT ¶ added in v0.46.0
func (_m *FinalizedHeaderCache) EXPECT() *FinalizedHeaderCache_Expecter
func (*FinalizedHeaderCache) Get ¶ added in v0.31.0
func (_mock *FinalizedHeaderCache) Get() *flow.Header
Get provides a mock function for the type FinalizedHeaderCache
type FinalizedHeaderCache_Expecter ¶ added in v0.46.0
type FinalizedHeaderCache_Expecter struct {
// contains filtered or unexported fields
}
func (*FinalizedHeaderCache_Expecter) Get ¶ added in v0.46.0
func (_e *FinalizedHeaderCache_Expecter) Get() *FinalizedHeaderCache_Get_Call
Get is a helper method to define mock.On call
type FinalizedHeaderCache_Get_Call ¶ added in v0.46.0
FinalizedHeaderCache_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*FinalizedHeaderCache_Get_Call) Return ¶ added in v0.46.0
func (_c *FinalizedHeaderCache_Get_Call) Return(header *flow.Header) *FinalizedHeaderCache_Get_Call
func (*FinalizedHeaderCache_Get_Call) Run ¶ added in v0.46.0
func (_c *FinalizedHeaderCache_Get_Call) Run(run func()) *FinalizedHeaderCache_Get_Call
func (*FinalizedHeaderCache_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *FinalizedHeaderCache_Get_Call) RunAndReturn(run func() *flow.Header) *FinalizedHeaderCache_Get_Call
type Finalizer ¶
Finalizer is an autogenerated mock type for the Finalizer type
func NewFinalizer ¶ added in v0.26.1
NewFinalizer creates a new instance of Finalizer. 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 (*Finalizer) EXPECT ¶ added in v0.46.0
func (_m *Finalizer) EXPECT() *Finalizer_Expecter
type Finalizer_Expecter ¶ added in v0.46.0
type Finalizer_Expecter struct {
// contains filtered or unexported fields
}
func (*Finalizer_Expecter) MakeFinal ¶ added in v0.46.0
func (_e *Finalizer_Expecter) MakeFinal(blockID interface{}) *Finalizer_MakeFinal_Call
MakeFinal is a helper method to define mock.On call
- blockID flow.Identifier
type Finalizer_MakeFinal_Call ¶ added in v0.46.0
Finalizer_MakeFinal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeFinal'
func (*Finalizer_MakeFinal_Call) Return ¶ added in v0.46.0
func (_c *Finalizer_MakeFinal_Call) Return(err error) *Finalizer_MakeFinal_Call
func (*Finalizer_MakeFinal_Call) Run ¶ added in v0.46.0
func (_c *Finalizer_MakeFinal_Call) Run(run func(blockID flow.Identifier)) *Finalizer_MakeFinal_Call
func (*Finalizer_MakeFinal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Finalizer_MakeFinal_Call) RunAndReturn(run func(blockID flow.Identifier) error) *Finalizer_MakeFinal_Call
type GRPCConnectionPoolMetrics ¶ added in v0.31.10
GRPCConnectionPoolMetrics is an autogenerated mock type for the GRPCConnectionPoolMetrics type
func NewGRPCConnectionPoolMetrics ¶ added in v0.31.10
func NewGRPCConnectionPoolMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *GRPCConnectionPoolMetrics
NewGRPCConnectionPoolMetrics creates a new instance of GRPCConnectionPoolMetrics. 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 (*GRPCConnectionPoolMetrics) ConnectionAddedToPool ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) ConnectionAddedToPool()
ConnectionAddedToPool provides a mock function for the type GRPCConnectionPoolMetrics
func (*GRPCConnectionPoolMetrics) ConnectionFromPoolEvicted ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolEvicted()
ConnectionFromPoolEvicted provides a mock function for the type GRPCConnectionPoolMetrics
func (*GRPCConnectionPoolMetrics) ConnectionFromPoolInvalidated ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolInvalidated()
ConnectionFromPoolInvalidated provides a mock function for the type GRPCConnectionPoolMetrics
func (*GRPCConnectionPoolMetrics) ConnectionFromPoolReused ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolReused()
ConnectionFromPoolReused provides a mock function for the type GRPCConnectionPoolMetrics
func (*GRPCConnectionPoolMetrics) ConnectionFromPoolUpdated ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) ConnectionFromPoolUpdated()
ConnectionFromPoolUpdated provides a mock function for the type GRPCConnectionPoolMetrics
func (*GRPCConnectionPoolMetrics) EXPECT ¶ added in v0.46.0
func (_m *GRPCConnectionPoolMetrics) EXPECT() *GRPCConnectionPoolMetrics_Expecter
func (*GRPCConnectionPoolMetrics) NewConnectionEstablished ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) NewConnectionEstablished()
NewConnectionEstablished provides a mock function for the type GRPCConnectionPoolMetrics
func (*GRPCConnectionPoolMetrics) TotalConnectionsInPool ¶ added in v0.31.10
func (_mock *GRPCConnectionPoolMetrics) TotalConnectionsInPool(connectionCount uint, connectionPoolSize uint)
TotalConnectionsInPool provides a mock function for the type GRPCConnectionPoolMetrics
type GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionAddedToPool'
func (*GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) Run ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
func (*GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
type GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolEvicted'
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) Run ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
type GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolInvalidated'
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
type GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolReused'
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) Run ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
type GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolUpdated'
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) Run ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) Run(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
func (*GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
type GRPCConnectionPoolMetrics_Expecter ¶ added in v0.46.0
type GRPCConnectionPoolMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*GRPCConnectionPoolMetrics_Expecter) ConnectionAddedToPool ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionAddedToPool() *GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call
ConnectionAddedToPool is a helper method to define mock.On call
func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolEvicted ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolEvicted() *GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call
ConnectionFromPoolEvicted is a helper method to define mock.On call
func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolInvalidated ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolInvalidated() *GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call
ConnectionFromPoolInvalidated is a helper method to define mock.On call
func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolReused ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolReused() *GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call
ConnectionFromPoolReused is a helper method to define mock.On call
func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolUpdated ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolUpdated() *GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call
ConnectionFromPoolUpdated is a helper method to define mock.On call
func (*GRPCConnectionPoolMetrics_Expecter) NewConnectionEstablished ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) NewConnectionEstablished() *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
NewConnectionEstablished is a helper method to define mock.On call
func (*GRPCConnectionPoolMetrics_Expecter) TotalConnectionsInPool ¶ added in v0.46.0
func (_e *GRPCConnectionPoolMetrics_Expecter) TotalConnectionsInPool(connectionCount interface{}, connectionPoolSize interface{}) *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
TotalConnectionsInPool is a helper method to define mock.On call
- connectionCount uint
- connectionPoolSize uint
type GRPCConnectionPoolMetrics_NewConnectionEstablished_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_NewConnectionEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewConnectionEstablished'
func (*GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) Run ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) Run(run func()) *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
func (*GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) RunAndReturn(run func()) *GRPCConnectionPoolMetrics_NewConnectionEstablished_Call
type GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call ¶ added in v0.46.0
GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalConnectionsInPool'
func (*GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) Run ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) Run(run func(connectionCount uint, connectionPoolSize uint)) *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
func (*GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) RunAndReturn(run func(connectionCount uint, connectionPoolSize uint)) *GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call
type GossipSubMetrics ¶ added in v0.30.0
GossipSubMetrics is an autogenerated mock type for the GossipSubMetrics type
func NewGossipSubMetrics ¶ added in v0.30.0
func NewGossipSubMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *GossipSubMetrics
NewGossipSubMetrics creates a new instance of GossipSubMetrics. 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 (*GossipSubMetrics) AsyncProcessingFinished ¶ added in v0.31.0
func (_mock *GossipSubMetrics) AsyncProcessingFinished(duration time.Duration)
AsyncProcessingFinished provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) AsyncProcessingStarted ¶ added in v0.31.0
func (_mock *GossipSubMetrics) AsyncProcessingStarted()
AsyncProcessingStarted provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) EXPECT ¶ added in v0.46.0
func (_m *GossipSubMetrics) EXPECT() *GossipSubMetrics_Expecter
func (*GossipSubMetrics) OnActiveClusterIDsNotSetErr ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnActiveClusterIDsNotSetErr()
OnActiveClusterIDsNotSetErr provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnAppSpecificScoreUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnAppSpecificScoreUpdated(f float64)
OnAppSpecificScoreUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnBehaviourPenaltyUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnBehaviourPenaltyUpdated(f float64)
OnBehaviourPenaltyUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnControlMessagesTruncated ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
OnControlMessagesTruncated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnFirstMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
OnFirstMessageDeliveredUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
OnGraftDuplicateTopicIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *GossipSubMetrics) OnGraftInvalidTopicIdsExceedThreshold()
OnGraftInvalidTopicIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnGraftMessageInspected ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnGraftMessageInspected provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIHaveControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnIHaveControlMessageIdsTruncated(diff int)
OnIHaveControlMessageIdsTruncated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
OnIHaveDuplicateMessageIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
OnIHaveDuplicateTopicIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *GossipSubMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
OnIHaveInvalidTopicIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIHaveMessageIDsReceived ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
OnIHaveMessageIDsReceived provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIHaveMessagesInspected ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
OnIHaveMessagesInspected provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIPColocationFactorUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnIPColocationFactorUpdated(f float64)
OnIPColocationFactorUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
OnIWantCacheMissMessageIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIWantControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnIWantControlMessageIdsTruncated(diff int)
OnIWantControlMessageIdsTruncated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
OnIWantDuplicateMessageIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIWantMessageIDsReceived ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnIWantMessageIDsReceived(msgIdCount int)
OnIWantMessageIDsReceived provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIWantMessagesInspected ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
OnIWantMessagesInspected provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnIncomingRpcReceived ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
OnIncomingRpcReceived provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnInvalidControlMessageNotificationSent ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnInvalidControlMessageNotificationSent()
OnInvalidControlMessageNotificationSent provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnInvalidMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
OnInvalidMessageDeliveredUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
OnInvalidTopicIdDetectedForControlMessage provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnLocalMeshSizeUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnLocalMeshSizeUpdated(topic string, size int)
OnLocalMeshSizeUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnLocalPeerJoinedTopic ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnLocalPeerJoinedTopic()
OnLocalPeerJoinedTopic provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnLocalPeerLeftTopic ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnLocalPeerLeftTopic()
OnLocalPeerLeftTopic provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnMeshMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
OnMeshMessageDeliveredUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnMessageDeliveredToAllSubscribers ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnMessageDeliveredToAllSubscribers(size int)
OnMessageDeliveredToAllSubscribers provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnMessageDuplicate ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnMessageDuplicate(size int)
OnMessageDuplicate provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnMessageEnteredValidation ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnMessageEnteredValidation(size int)
OnMessageEnteredValidation provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnMessageRejected ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnMessageRejected(size int, reason string)
OnMessageRejected provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnOutboundRpcDropped ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnOutboundRpcDropped()
OnOutboundRpcDropped provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnOverallPeerScoreUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnOverallPeerScoreUpdated(f float64)
OnOverallPeerScoreUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPeerAddedToProtocol ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnPeerAddedToProtocol(protocol string)
OnPeerAddedToProtocol provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPeerGraftTopic ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnPeerGraftTopic(topic string)
OnPeerGraftTopic provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPeerPruneTopic ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnPeerPruneTopic(topic string)
OnPeerPruneTopic provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPeerRemovedFromProtocol ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnPeerRemovedFromProtocol()
OnPeerRemovedFromProtocol provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPeerThrottled ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnPeerThrottled()
OnPeerThrottled provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
OnPruneDuplicateTopicIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *GossipSubMetrics) OnPruneInvalidTopicIdsExceedThreshold()
OnPruneInvalidTopicIdsExceedThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPruneMessageInspected ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnPruneMessageInspected provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPublishMessageInspected ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)
OnPublishMessageInspected provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
OnPublishMessagesInspectionErrorExceedsThreshold provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnRpcReceived ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcReceived provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnRpcRejectedFromUnknownSender ¶ added in v0.33.30
func (_mock *GossipSubMetrics) OnRpcRejectedFromUnknownSender()
OnRpcRejectedFromUnknownSender provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnRpcSent ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcSent provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnTimeInMeshUpdated ¶ added in v0.30.0
func (_mock *GossipSubMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
OnTimeInMeshUpdated provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnUndeliveredMessage ¶ added in v0.33.1
func (_mock *GossipSubMetrics) OnUndeliveredMessage()
OnUndeliveredMessage provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) OnUnstakedPeerInspectionFailed ¶ added in v0.33.7
func (_mock *GossipSubMetrics) OnUnstakedPeerInspectionFailed()
OnUnstakedPeerInspectionFailed provides a mock function for the type GossipSubMetrics
func (*GossipSubMetrics) SetWarningStateCount ¶ added in v0.30.0
func (_mock *GossipSubMetrics) SetWarningStateCount(v uint)
SetWarningStateCount provides a mock function for the type GossipSubMetrics
type GossipSubMetrics_AsyncProcessingFinished_Call ¶ added in v0.46.0
GossipSubMetrics_AsyncProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingFinished'
func (*GossipSubMetrics_AsyncProcessingFinished_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *GossipSubMetrics_AsyncProcessingFinished_Call
func (*GossipSubMetrics_AsyncProcessingFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *GossipSubMetrics_AsyncProcessingFinished_Call
type GossipSubMetrics_AsyncProcessingStarted_Call ¶ added in v0.46.0
GossipSubMetrics_AsyncProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingStarted'
func (*GossipSubMetrics_AsyncProcessingStarted_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_AsyncProcessingStarted_Call) Return() *GossipSubMetrics_AsyncProcessingStarted_Call
func (*GossipSubMetrics_AsyncProcessingStarted_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_AsyncProcessingStarted_Call) Run(run func()) *GossipSubMetrics_AsyncProcessingStarted_Call
func (*GossipSubMetrics_AsyncProcessingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *GossipSubMetrics_AsyncProcessingStarted_Call
type GossipSubMetrics_Expecter ¶ added in v0.46.0
type GossipSubMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*GossipSubMetrics_Expecter) AsyncProcessingFinished ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *GossipSubMetrics_AsyncProcessingFinished_Call
AsyncProcessingFinished is a helper method to define mock.On call
- duration time.Duration
func (*GossipSubMetrics_Expecter) AsyncProcessingStarted ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) AsyncProcessingStarted() *GossipSubMetrics_AsyncProcessingStarted_Call
AsyncProcessingStarted is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnActiveClusterIDsNotSetErr ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnActiveClusterIDsNotSetErr() *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
OnActiveClusterIDsNotSetErr is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnAppSpecificScoreUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
OnAppSpecificScoreUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubMetrics_Expecter) OnBehaviourPenaltyUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
OnBehaviourPenaltyUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubMetrics_Expecter) OnControlMessagesTruncated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *GossipSubMetrics_OnControlMessagesTruncated_Call
OnControlMessagesTruncated is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
- diff int
func (*GossipSubMetrics_Expecter) OnFirstMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
OnFirstMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*GossipSubMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
OnGraftDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
OnGraftInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnGraftMessageInspected ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubMetrics_OnGraftMessageInspected_Call
OnGraftMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*GossipSubMetrics_Expecter) OnIHaveControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
OnIHaveControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*GossipSubMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
OnIHaveDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
OnIHaveDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
OnIHaveInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnIHaveMessageIDsReceived ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
OnIHaveMessageIDsReceived is a helper method to define mock.On call
- channel string
- msgIdCount int
func (*GossipSubMetrics_Expecter) OnIHaveMessagesInspected ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, invalidTopicIds interface{}) *GossipSubMetrics_OnIHaveMessagesInspected_Call
OnIHaveMessagesInspected is a helper method to define mock.On call
- duplicateTopicIds int
- duplicateMessageIds int
- invalidTopicIds int
func (*GossipSubMetrics_Expecter) OnIPColocationFactorUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *GossipSubMetrics_OnIPColocationFactorUpdated_Call
OnIPColocationFactorUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
OnIWantCacheMissMessageIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnIWantControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
OnIWantControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*GossipSubMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
OnIWantDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnIWantMessageIDsReceived ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *GossipSubMetrics_OnIWantMessageIDsReceived_Call
OnIWantMessageIDsReceived is a helper method to define mock.On call
- msgIdCount int
func (*GossipSubMetrics_Expecter) OnIWantMessagesInspected ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *GossipSubMetrics_OnIWantMessagesInspected_Call
OnIWantMessagesInspected is a helper method to define mock.On call
- duplicateCount int
- cacheMissCount int
func (*GossipSubMetrics_Expecter) OnIncomingRpcReceived ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}, msgCount interface{}) *GossipSubMetrics_OnIncomingRpcReceived_Call
OnIncomingRpcReceived is a helper method to define mock.On call
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
- msgCount int
func (*GossipSubMetrics_Expecter) OnInvalidControlMessageNotificationSent ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnInvalidControlMessageNotificationSent() *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
OnInvalidControlMessageNotificationSent is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnInvalidMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
OnInvalidMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*GossipSubMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
OnInvalidTopicIdDetectedForControlMessage is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
func (*GossipSubMetrics_Expecter) OnLocalMeshSizeUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
OnLocalMeshSizeUpdated is a helper method to define mock.On call
- topic string
- size int
func (*GossipSubMetrics_Expecter) OnLocalPeerJoinedTopic ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnLocalPeerJoinedTopic() *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
OnLocalPeerJoinedTopic is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnLocalPeerLeftTopic ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnLocalPeerLeftTopic() *GossipSubMetrics_OnLocalPeerLeftTopic_Call
OnLocalPeerLeftTopic is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnMeshMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
OnMeshMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*GossipSubMetrics_Expecter) OnMessageDeliveredToAllSubscribers ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
OnMessageDeliveredToAllSubscribers is a helper method to define mock.On call
- size int
func (*GossipSubMetrics_Expecter) OnMessageDuplicate ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnMessageDuplicate(size interface{}) *GossipSubMetrics_OnMessageDuplicate_Call
OnMessageDuplicate is a helper method to define mock.On call
- size int
func (*GossipSubMetrics_Expecter) OnMessageEnteredValidation ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *GossipSubMetrics_OnMessageEnteredValidation_Call
OnMessageEnteredValidation is a helper method to define mock.On call
- size int
func (*GossipSubMetrics_Expecter) OnMessageRejected ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *GossipSubMetrics_OnMessageRejected_Call
OnMessageRejected is a helper method to define mock.On call
- size int
- reason string
func (*GossipSubMetrics_Expecter) OnOutboundRpcDropped ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnOutboundRpcDropped() *GossipSubMetrics_OnOutboundRpcDropped_Call
OnOutboundRpcDropped is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnOverallPeerScoreUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
OnOverallPeerScoreUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubMetrics_Expecter) OnPeerAddedToProtocol ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPeerAddedToProtocol(protocol interface{}) *GossipSubMetrics_OnPeerAddedToProtocol_Call
OnPeerAddedToProtocol is a helper method to define mock.On call
- protocol string
func (*GossipSubMetrics_Expecter) OnPeerGraftTopic ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *GossipSubMetrics_OnPeerGraftTopic_Call
OnPeerGraftTopic is a helper method to define mock.On call
- topic string
func (*GossipSubMetrics_Expecter) OnPeerPruneTopic ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *GossipSubMetrics_OnPeerPruneTopic_Call
OnPeerPruneTopic is a helper method to define mock.On call
- topic string
func (*GossipSubMetrics_Expecter) OnPeerRemovedFromProtocol ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPeerRemovedFromProtocol() *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
OnPeerRemovedFromProtocol is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnPeerThrottled ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPeerThrottled() *GossipSubMetrics_OnPeerThrottled_Call
OnPeerThrottled is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
OnPruneDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
OnPruneInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnPruneMessageInspected ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubMetrics_OnPruneMessageInspected_Call
OnPruneMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*GossipSubMetrics_Expecter) OnPublishMessageInspected ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, invalidSubscriptionsCount interface{}, invalidSendersCount interface{}) *GossipSubMetrics_OnPublishMessageInspected_Call
OnPublishMessageInspected is a helper method to define mock.On call
- totalErrCount int
- invalidTopicIdsCount int
- invalidSubscriptionsCount int
- invalidSendersCount int
func (*GossipSubMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
OnPublishMessagesInspectionErrorExceedsThreshold is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnRpcReceived ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *GossipSubMetrics_OnRpcReceived_Call
OnRpcReceived is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*GossipSubMetrics_Expecter) OnRpcRejectedFromUnknownSender ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnRpcRejectedFromUnknownSender() *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
OnRpcRejectedFromUnknownSender is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnRpcSent ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *GossipSubMetrics_OnRpcSent_Call
OnRpcSent is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*GossipSubMetrics_Expecter) OnTimeInMeshUpdated ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *GossipSubMetrics_OnTimeInMeshUpdated_Call
OnTimeInMeshUpdated is a helper method to define mock.On call
- topic channels.Topic
- duration time.Duration
func (*GossipSubMetrics_Expecter) OnUndeliveredMessage ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnUndeliveredMessage() *GossipSubMetrics_OnUndeliveredMessage_Call
OnUndeliveredMessage is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) OnUnstakedPeerInspectionFailed ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) OnUnstakedPeerInspectionFailed() *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
OnUnstakedPeerInspectionFailed is a helper method to define mock.On call
func (*GossipSubMetrics_Expecter) SetWarningStateCount ¶ added in v0.46.0
func (_e *GossipSubMetrics_Expecter) SetWarningStateCount(v interface{}) *GossipSubMetrics_SetWarningStateCount_Call
SetWarningStateCount is a helper method to define mock.On call
- v uint
type GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call ¶ added in v0.46.0
GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'
func (*GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
func (*GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call
type GossipSubMetrics_OnAppSpecificScoreUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'
func (*GossipSubMetrics_OnAppSpecificScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
func (*GossipSubMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnAppSpecificScoreUpdated_Call
type GossipSubMetrics_OnBehaviourPenaltyUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'
func (*GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
func (*GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnBehaviourPenaltyUpdated_Call
type GossipSubMetrics_OnControlMessagesTruncated_Call ¶ added in v0.46.0
GossipSubMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'
func (*GossipSubMetrics_OnControlMessagesTruncated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubMetrics_OnControlMessagesTruncated_Call
func (*GossipSubMetrics_OnControlMessagesTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubMetrics_OnControlMessagesTruncated_Call
type GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'
func (*GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
func (*GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call
type GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'
func (*GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
type GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'
func (*GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
type GossipSubMetrics_OnGraftMessageInspected_Call ¶ added in v0.46.0
GossipSubMetrics_OnGraftMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftMessageInspected'
func (*GossipSubMetrics_OnGraftMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnGraftMessageInspected_Call
func (*GossipSubMetrics_OnGraftMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnGraftMessageInspected_Call
type GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call ¶ added in v0.46.0
GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'
func (*GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
func (*GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call
type GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'
func (*GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
type GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'
func (*GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
type GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'
func (*GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
type GossipSubMetrics_OnIHaveMessageIDsReceived_Call ¶ added in v0.46.0
GossipSubMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'
func (*GossipSubMetrics_OnIHaveMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
func (*GossipSubMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *GossipSubMetrics_OnIHaveMessageIDsReceived_Call
type GossipSubMetrics_OnIHaveMessagesInspected_Call ¶ added in v0.46.0
GossipSubMetrics_OnIHaveMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessagesInspected'
func (*GossipSubMetrics_OnIHaveMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubMetrics_OnIHaveMessagesInspected_Call
func (*GossipSubMetrics_OnIHaveMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubMetrics_OnIHaveMessagesInspected_Call
type GossipSubMetrics_OnIPColocationFactorUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'
func (*GossipSubMetrics_OnIPColocationFactorUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnIPColocationFactorUpdated_Call
func (*GossipSubMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnIPColocationFactorUpdated_Call
type GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'
func (*GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
type GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call ¶ added in v0.46.0
GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'
func (*GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
func (*GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call
type GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'
func (*GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
type GossipSubMetrics_OnIWantMessageIDsReceived_Call ¶ added in v0.46.0
GossipSubMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'
func (*GossipSubMetrics_OnIWantMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *GossipSubMetrics_OnIWantMessageIDsReceived_Call
func (*GossipSubMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *GossipSubMetrics_OnIWantMessageIDsReceived_Call
type GossipSubMetrics_OnIWantMessagesInspected_Call ¶ added in v0.46.0
GossipSubMetrics_OnIWantMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessagesInspected'
func (*GossipSubMetrics_OnIWantMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *GossipSubMetrics_OnIWantMessagesInspected_Call
func (*GossipSubMetrics_OnIWantMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *GossipSubMetrics_OnIWantMessagesInspected_Call
type GossipSubMetrics_OnIncomingRpcReceived_Call ¶ added in v0.46.0
GossipSubMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'
func (*GossipSubMetrics_OnIncomingRpcReceived_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIncomingRpcReceived_Call) Return() *GossipSubMetrics_OnIncomingRpcReceived_Call
func (*GossipSubMetrics_OnIncomingRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIncomingRpcReceived_Call) Run(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *GossipSubMetrics_OnIncomingRpcReceived_Call
func (*GossipSubMetrics_OnIncomingRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnIncomingRpcReceived_Call) RunAndReturn(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *GossipSubMetrics_OnIncomingRpcReceived_Call
type GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call ¶ added in v0.46.0
GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'
func (*GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) *GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call
type GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'
func (*GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
func (*GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call
type GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call ¶ added in v0.46.0
GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'
func (*GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
func (*GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
type GossipSubMetrics_OnLocalMeshSizeUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnLocalMeshSizeUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalMeshSizeUpdated'
func (*GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Return() *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
func (*GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
func (*GossipSubMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *GossipSubMetrics_OnLocalMeshSizeUpdated_Call
type GossipSubMetrics_OnLocalPeerJoinedTopic_Call ¶ added in v0.46.0
GossipSubMetrics_OnLocalPeerJoinedTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerJoinedTopic'
func (*GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Return() *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
func (*GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
func (*GossipSubMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *GossipSubMetrics_OnLocalPeerJoinedTopic_Call
type GossipSubMetrics_OnLocalPeerLeftTopic_Call ¶ added in v0.46.0
GossipSubMetrics_OnLocalPeerLeftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerLeftTopic'
func (*GossipSubMetrics_OnLocalPeerLeftTopic_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalPeerLeftTopic_Call) Return() *GossipSubMetrics_OnLocalPeerLeftTopic_Call
func (*GossipSubMetrics_OnLocalPeerLeftTopic_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *GossipSubMetrics_OnLocalPeerLeftTopic_Call
func (*GossipSubMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *GossipSubMetrics_OnLocalPeerLeftTopic_Call
type GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'
func (*GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
func (*GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call
type GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call ¶ added in v0.46.0
GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'
func (*GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
func (*GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call
type GossipSubMetrics_OnMessageDuplicate_Call ¶ added in v0.46.0
GossipSubMetrics_OnMessageDuplicate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDuplicate'
func (*GossipSubMetrics_OnMessageDuplicate_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageDuplicate_Call) Return() *GossipSubMetrics_OnMessageDuplicate_Call
func (*GossipSubMetrics_OnMessageDuplicate_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *GossipSubMetrics_OnMessageDuplicate_Call
func (*GossipSubMetrics_OnMessageDuplicate_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *GossipSubMetrics_OnMessageDuplicate_Call
type GossipSubMetrics_OnMessageEnteredValidation_Call ¶ added in v0.46.0
GossipSubMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'
func (*GossipSubMetrics_OnMessageEnteredValidation_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *GossipSubMetrics_OnMessageEnteredValidation_Call
func (*GossipSubMetrics_OnMessageEnteredValidation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *GossipSubMetrics_OnMessageEnteredValidation_Call
type GossipSubMetrics_OnMessageRejected_Call ¶ added in v0.46.0
GossipSubMetrics_OnMessageRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageRejected'
func (*GossipSubMetrics_OnMessageRejected_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageRejected_Call) Return() *GossipSubMetrics_OnMessageRejected_Call
func (*GossipSubMetrics_OnMessageRejected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *GossipSubMetrics_OnMessageRejected_Call
func (*GossipSubMetrics_OnMessageRejected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *GossipSubMetrics_OnMessageRejected_Call
type GossipSubMetrics_OnOutboundRpcDropped_Call ¶ added in v0.46.0
GossipSubMetrics_OnOutboundRpcDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOutboundRpcDropped'
func (*GossipSubMetrics_OnOutboundRpcDropped_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnOutboundRpcDropped_Call) Return() *GossipSubMetrics_OnOutboundRpcDropped_Call
func (*GossipSubMetrics_OnOutboundRpcDropped_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnOutboundRpcDropped_Call) Run(run func()) *GossipSubMetrics_OnOutboundRpcDropped_Call
func (*GossipSubMetrics_OnOutboundRpcDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *GossipSubMetrics_OnOutboundRpcDropped_Call
type GossipSubMetrics_OnOverallPeerScoreUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'
func (*GossipSubMetrics_OnOverallPeerScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
func (*GossipSubMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubMetrics_OnOverallPeerScoreUpdated_Call
type GossipSubMetrics_OnPeerAddedToProtocol_Call ¶ added in v0.46.0
GossipSubMetrics_OnPeerAddedToProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerAddedToProtocol'
func (*GossipSubMetrics_OnPeerAddedToProtocol_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerAddedToProtocol_Call) Return() *GossipSubMetrics_OnPeerAddedToProtocol_Call
func (*GossipSubMetrics_OnPeerAddedToProtocol_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol string)) *GossipSubMetrics_OnPeerAddedToProtocol_Call
func (*GossipSubMetrics_OnPeerAddedToProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol string)) *GossipSubMetrics_OnPeerAddedToProtocol_Call
type GossipSubMetrics_OnPeerGraftTopic_Call ¶ added in v0.46.0
GossipSubMetrics_OnPeerGraftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerGraftTopic'
func (*GossipSubMetrics_OnPeerGraftTopic_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerGraftTopic_Call) Return() *GossipSubMetrics_OnPeerGraftTopic_Call
func (*GossipSubMetrics_OnPeerGraftTopic_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *GossipSubMetrics_OnPeerGraftTopic_Call
func (*GossipSubMetrics_OnPeerGraftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *GossipSubMetrics_OnPeerGraftTopic_Call
type GossipSubMetrics_OnPeerPruneTopic_Call ¶ added in v0.46.0
GossipSubMetrics_OnPeerPruneTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerPruneTopic'
func (*GossipSubMetrics_OnPeerPruneTopic_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerPruneTopic_Call) Return() *GossipSubMetrics_OnPeerPruneTopic_Call
func (*GossipSubMetrics_OnPeerPruneTopic_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *GossipSubMetrics_OnPeerPruneTopic_Call
func (*GossipSubMetrics_OnPeerPruneTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *GossipSubMetrics_OnPeerPruneTopic_Call
type GossipSubMetrics_OnPeerRemovedFromProtocol_Call ¶ added in v0.46.0
GossipSubMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'
func (*GossipSubMetrics_OnPeerRemovedFromProtocol_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
func (*GossipSubMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPeerRemovedFromProtocol_Call
type GossipSubMetrics_OnPeerThrottled_Call ¶ added in v0.46.0
GossipSubMetrics_OnPeerThrottled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerThrottled'
func (*GossipSubMetrics_OnPeerThrottled_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerThrottled_Call) Return() *GossipSubMetrics_OnPeerThrottled_Call
func (*GossipSubMetrics_OnPeerThrottled_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerThrottled_Call) Run(run func()) *GossipSubMetrics_OnPeerThrottled_Call
func (*GossipSubMetrics_OnPeerThrottled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPeerThrottled_Call
type GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'
func (*GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
type GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'
func (*GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
type GossipSubMetrics_OnPruneMessageInspected_Call ¶ added in v0.46.0
GossipSubMetrics_OnPruneMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneMessageInspected'
func (*GossipSubMetrics_OnPruneMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnPruneMessageInspected_Call
func (*GossipSubMetrics_OnPruneMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubMetrics_OnPruneMessageInspected_Call
type GossipSubMetrics_OnPublishMessageInspected_Call ¶ added in v0.46.0
GossipSubMetrics_OnPublishMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessageInspected'
func (*GossipSubMetrics_OnPublishMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPublishMessageInspected_Call) Run(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *GossipSubMetrics_OnPublishMessageInspected_Call
func (*GossipSubMetrics_OnPublishMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPublishMessageInspected_Call) RunAndReturn(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *GossipSubMetrics_OnPublishMessageInspected_Call
type GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call ¶ added in v0.46.0
GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessagesInspectionErrorExceedsThreshold'
func (*GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) *GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
type GossipSubMetrics_OnRpcReceived_Call ¶ added in v0.46.0
GossipSubMetrics_OnRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcReceived'
func (*GossipSubMetrics_OnRpcReceived_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcReceived_Call) Return() *GossipSubMetrics_OnRpcReceived_Call
func (*GossipSubMetrics_OnRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcReceived_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *GossipSubMetrics_OnRpcReceived_Call
func (*GossipSubMetrics_OnRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcReceived_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *GossipSubMetrics_OnRpcReceived_Call
type GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call ¶ added in v0.46.0
GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'
func (*GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
func (*GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call
type GossipSubMetrics_OnRpcSent_Call ¶ added in v0.46.0
GossipSubMetrics_OnRpcSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcSent'
func (*GossipSubMetrics_OnRpcSent_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcSent_Call) Return() *GossipSubMetrics_OnRpcSent_Call
func (*GossipSubMetrics_OnRpcSent_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcSent_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *GossipSubMetrics_OnRpcSent_Call
func (*GossipSubMetrics_OnRpcSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnRpcSent_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *GossipSubMetrics_OnRpcSent_Call
type GossipSubMetrics_OnTimeInMeshUpdated_Call ¶ added in v0.46.0
GossipSubMetrics_OnTimeInMeshUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTimeInMeshUpdated'
func (*GossipSubMetrics_OnTimeInMeshUpdated_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnTimeInMeshUpdated_Call) Return() *GossipSubMetrics_OnTimeInMeshUpdated_Call
func (*GossipSubMetrics_OnTimeInMeshUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *GossipSubMetrics_OnTimeInMeshUpdated_Call
func (*GossipSubMetrics_OnTimeInMeshUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *GossipSubMetrics_OnTimeInMeshUpdated_Call
type GossipSubMetrics_OnUndeliveredMessage_Call ¶ added in v0.46.0
GossipSubMetrics_OnUndeliveredMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUndeliveredMessage'
func (*GossipSubMetrics_OnUndeliveredMessage_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnUndeliveredMessage_Call) Return() *GossipSubMetrics_OnUndeliveredMessage_Call
func (*GossipSubMetrics_OnUndeliveredMessage_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnUndeliveredMessage_Call) Run(run func()) *GossipSubMetrics_OnUndeliveredMessage_Call
func (*GossipSubMetrics_OnUndeliveredMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *GossipSubMetrics_OnUndeliveredMessage_Call
type GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call ¶ added in v0.46.0
GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'
func (*GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
func (*GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call
type GossipSubMetrics_SetWarningStateCount_Call ¶ added in v0.46.0
GossipSubMetrics_SetWarningStateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWarningStateCount'
func (*GossipSubMetrics_SetWarningStateCount_Call) Return ¶ added in v0.46.0
func (_c *GossipSubMetrics_SetWarningStateCount_Call) Return() *GossipSubMetrics_SetWarningStateCount_Call
func (*GossipSubMetrics_SetWarningStateCount_Call) Run ¶ added in v0.46.0
func (_c *GossipSubMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *GossipSubMetrics_SetWarningStateCount_Call
func (*GossipSubMetrics_SetWarningStateCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *GossipSubMetrics_SetWarningStateCount_Call
type GossipSubRpcInspectorMetrics ¶ added in v0.33.1
GossipSubRpcInspectorMetrics is an autogenerated mock type for the GossipSubRpcInspectorMetrics type
func NewGossipSubRpcInspectorMetrics ¶ added in v0.33.1
func NewGossipSubRpcInspectorMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *GossipSubRpcInspectorMetrics
NewGossipSubRpcInspectorMetrics creates a new instance of GossipSubRpcInspectorMetrics. 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 (*GossipSubRpcInspectorMetrics) EXPECT ¶ added in v0.46.0
func (_m *GossipSubRpcInspectorMetrics) EXPECT() *GossipSubRpcInspectorMetrics_Expecter
func (*GossipSubRpcInspectorMetrics) OnIHaveMessageIDsReceived ¶ added in v0.33.1
func (_mock *GossipSubRpcInspectorMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
OnIHaveMessageIDsReceived provides a mock function for the type GossipSubRpcInspectorMetrics
func (*GossipSubRpcInspectorMetrics) OnIWantMessageIDsReceived ¶ added in v0.33.1
func (_mock *GossipSubRpcInspectorMetrics) OnIWantMessageIDsReceived(msgIdCount int)
OnIWantMessageIDsReceived provides a mock function for the type GossipSubRpcInspectorMetrics
func (*GossipSubRpcInspectorMetrics) OnIncomingRpcReceived ¶ added in v0.33.1
func (_mock *GossipSubRpcInspectorMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
OnIncomingRpcReceived provides a mock function for the type GossipSubRpcInspectorMetrics
type GossipSubRpcInspectorMetrics_Expecter ¶ added in v0.46.0
type GossipSubRpcInspectorMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*GossipSubRpcInspectorMetrics_Expecter) OnIHaveMessageIDsReceived ¶ added in v0.46.0
func (_e *GossipSubRpcInspectorMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
OnIHaveMessageIDsReceived is a helper method to define mock.On call
- channel string
- msgIdCount int
func (*GossipSubRpcInspectorMetrics_Expecter) OnIWantMessageIDsReceived ¶ added in v0.46.0
func (_e *GossipSubRpcInspectorMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
OnIWantMessageIDsReceived is a helper method to define mock.On call
- msgIdCount int
func (*GossipSubRpcInspectorMetrics_Expecter) OnIncomingRpcReceived ¶ added in v0.46.0
func (_e *GossipSubRpcInspectorMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}, msgCount interface{}) *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
OnIncomingRpcReceived is a helper method to define mock.On call
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
- msgCount int
type GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call ¶ added in v0.46.0
GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'
func (*GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
func (*GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call
type GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call ¶ added in v0.46.0
GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'
func (*GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
func (*GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call
type GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call ¶ added in v0.46.0
GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'
func (*GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) Run(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
func (*GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) RunAndReturn(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call
type GossipSubRpcValidationInspectorMetrics ¶ added in v0.31.0
GossipSubRpcValidationInspectorMetrics is an autogenerated mock type for the GossipSubRpcValidationInspectorMetrics type
func NewGossipSubRpcValidationInspectorMetrics ¶ added in v0.31.0
func NewGossipSubRpcValidationInspectorMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *GossipSubRpcValidationInspectorMetrics
NewGossipSubRpcValidationInspectorMetrics creates a new instance of GossipSubRpcValidationInspectorMetrics. 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 (*GossipSubRpcValidationInspectorMetrics) AsyncProcessingFinished ¶ added in v0.31.0
func (_mock *GossipSubRpcValidationInspectorMetrics) AsyncProcessingFinished(duration time.Duration)
AsyncProcessingFinished provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) AsyncProcessingStarted ¶ added in v0.31.0
func (_mock *GossipSubRpcValidationInspectorMetrics) AsyncProcessingStarted()
AsyncProcessingStarted provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) EXPECT ¶ added in v0.46.0
func (_m *GossipSubRpcValidationInspectorMetrics) EXPECT() *GossipSubRpcValidationInspectorMetrics_Expecter
func (*GossipSubRpcValidationInspectorMetrics) OnActiveClusterIDsNotSetErr ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnActiveClusterIDsNotSetErr()
OnActiveClusterIDsNotSetErr provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnControlMessagesTruncated ¶ added in v0.33.1
func (_mock *GossipSubRpcValidationInspectorMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
OnControlMessagesTruncated provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
OnGraftDuplicateTopicIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *GossipSubRpcValidationInspectorMetrics) OnGraftInvalidTopicIdsExceedThreshold()
OnGraftInvalidTopicIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnGraftMessageInspected ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnGraftMessageInspected provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIHaveControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveControlMessageIdsTruncated(diff int)
OnIHaveControlMessageIdsTruncated provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
OnIHaveDuplicateMessageIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
OnIHaveDuplicateTopicIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
OnIHaveInvalidTopicIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIHaveMessageIDsReceived ¶ added in v0.33.1
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
OnIHaveMessageIDsReceived provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIHaveMessagesInspected ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
OnIHaveMessagesInspected provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
OnIWantCacheMissMessageIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIWantControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantControlMessageIdsTruncated(diff int)
OnIWantControlMessageIdsTruncated provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
OnIWantDuplicateMessageIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIWantMessageIDsReceived ¶ added in v0.33.1
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantMessageIDsReceived(msgIdCount int)
OnIWantMessageIDsReceived provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIWantMessagesInspected ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
OnIWantMessagesInspected provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnIncomingRpcReceived ¶ added in v0.33.1
func (_mock *GossipSubRpcValidationInspectorMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
OnIncomingRpcReceived provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnInvalidControlMessageNotificationSent ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnInvalidControlMessageNotificationSent()
OnInvalidControlMessageNotificationSent provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
OnInvalidTopicIdDetectedForControlMessage provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
OnPruneDuplicateTopicIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *GossipSubRpcValidationInspectorMetrics) OnPruneInvalidTopicIdsExceedThreshold()
OnPruneInvalidTopicIdsExceedThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnPruneMessageInspected ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnPruneMessageInspected provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnPublishMessageInspected ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)
OnPublishMessageInspected provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
OnPublishMessagesInspectionErrorExceedsThreshold provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnRpcRejectedFromUnknownSender ¶ added in v0.33.30
func (_mock *GossipSubRpcValidationInspectorMetrics) OnRpcRejectedFromUnknownSender()
OnRpcRejectedFromUnknownSender provides a mock function for the type GossipSubRpcValidationInspectorMetrics
func (*GossipSubRpcValidationInspectorMetrics) OnUnstakedPeerInspectionFailed ¶ added in v0.33.7
func (_mock *GossipSubRpcValidationInspectorMetrics) OnUnstakedPeerInspectionFailed()
OnUnstakedPeerInspectionFailed provides a mock function for the type GossipSubRpcValidationInspectorMetrics
type GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingFinished'
func (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
func (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
type GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingStarted'
func (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
type GossipSubRpcValidationInspectorMetrics_Expecter ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingFinished ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call
AsyncProcessingFinished is a helper method to define mock.On call
- duration time.Duration
func (*GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingStarted ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingStarted() *GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call
AsyncProcessingStarted is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnActiveClusterIDsNotSetErr ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnActiveClusterIDsNotSetErr() *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
OnActiveClusterIDsNotSetErr is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnControlMessagesTruncated ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
OnControlMessagesTruncated is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
- diff int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
OnGraftDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
OnGraftInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftMessageInspected ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
OnGraftMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
OnIHaveControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
OnIHaveDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
OnIHaveDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
OnIHaveInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveMessageIDsReceived ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
OnIHaveMessageIDsReceived is a helper method to define mock.On call
- channel string
- msgIdCount int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveMessagesInspected ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, invalidTopicIds interface{}) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
OnIHaveMessagesInspected is a helper method to define mock.On call
- duplicateTopicIds int
- duplicateMessageIds int
- invalidTopicIds int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
OnIWantCacheMissMessageIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
OnIWantControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
OnIWantDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessageIDsReceived ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
OnIWantMessageIDsReceived is a helper method to define mock.On call
- msgIdCount int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessagesInspected ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
OnIWantMessagesInspected is a helper method to define mock.On call
- duplicateCount int
- cacheMissCount int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIncomingRpcReceived ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}, msgCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
OnIncomingRpcReceived is a helper method to define mock.On call
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
- msgCount int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidControlMessageNotificationSent ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidControlMessageNotificationSent() *GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call
OnInvalidControlMessageNotificationSent is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
OnInvalidTopicIdDetectedForControlMessage is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
OnPruneDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
OnPruneInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneMessageInspected ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
OnPruneMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPublishMessageInspected ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, invalidSubscriptionsCount interface{}, invalidSendersCount interface{}) *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
OnPublishMessageInspected is a helper method to define mock.On call
- totalErrCount int
- invalidTopicIdsCount int
- invalidSubscriptionsCount int
- invalidSendersCount int
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
OnPublishMessagesInspectionErrorExceedsThreshold is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnRpcRejectedFromUnknownSender ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnRpcRejectedFromUnknownSender() *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
OnRpcRejectedFromUnknownSender is a helper method to define mock.On call
func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnUnstakedPeerInspectionFailed ¶ added in v0.46.0
func (_e *GossipSubRpcValidationInspectorMetrics_Expecter) OnUnstakedPeerInspectionFailed() *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
OnUnstakedPeerInspectionFailed is a helper method to define mock.On call
type GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'
func (*GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call
type GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'
func (*GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
func (*GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call
type GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftMessageInspected'
func (*GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
func (*GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call
type GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveControlMessageIdsTruncated_Call
type GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call
type GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessagesInspected'
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
func (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call
type GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'
func (*GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *GossipSubRpcValidationInspectorMetrics_OnIWantControlMessageIdsTruncated_Call
type GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'
func (*GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
func (*GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call
type GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessagesInspected'
func (*GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
func (*GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call
type GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'
func (*GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) Run(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
func (*GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) RunAndReturn(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call
type GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'
func (*GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'
func (*GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
func (*GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
type GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneMessageInspected'
func (*GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
func (*GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call
type GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call ¶ added in v0.46.0
GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessageInspected'
func (*GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) Run(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
func (*GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call) RunAndReturn(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call
type GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessagesInspectionErrorExceedsThreshold'
func (*GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'
func (*GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_OnRpcRejectedFromUnknownSender_Call
type GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call ¶ added in v0.46.0
type GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call struct {
*mock.Call
}
GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'
func (*GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) Return ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) Run ¶ added in v0.46.0
func (*GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *GossipSubRpcValidationInspectorMetrics_OnUnstakedPeerInspectionFailed_Call
type GossipSubScoringMetrics ¶ added in v0.30.0
GossipSubScoringMetrics is an autogenerated mock type for the GossipSubScoringMetrics type
func NewGossipSubScoringMetrics ¶ added in v0.30.0
func NewGossipSubScoringMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *GossipSubScoringMetrics
NewGossipSubScoringMetrics creates a new instance of GossipSubScoringMetrics. 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 (*GossipSubScoringMetrics) EXPECT ¶ added in v0.46.0
func (_m *GossipSubScoringMetrics) EXPECT() *GossipSubScoringMetrics_Expecter
func (*GossipSubScoringMetrics) OnAppSpecificScoreUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnAppSpecificScoreUpdated(f float64)
OnAppSpecificScoreUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnBehaviourPenaltyUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnBehaviourPenaltyUpdated(f float64)
OnBehaviourPenaltyUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnFirstMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
OnFirstMessageDeliveredUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnIPColocationFactorUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnIPColocationFactorUpdated(f float64)
OnIPColocationFactorUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnInvalidMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
OnInvalidMessageDeliveredUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnMeshMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
OnMeshMessageDeliveredUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnOverallPeerScoreUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnOverallPeerScoreUpdated(f float64)
OnOverallPeerScoreUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) OnTimeInMeshUpdated ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
OnTimeInMeshUpdated provides a mock function for the type GossipSubScoringMetrics
func (*GossipSubScoringMetrics) SetWarningStateCount ¶ added in v0.30.0
func (_mock *GossipSubScoringMetrics) SetWarningStateCount(v uint)
SetWarningStateCount provides a mock function for the type GossipSubScoringMetrics
type GossipSubScoringMetrics_Expecter ¶ added in v0.46.0
type GossipSubScoringMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*GossipSubScoringMetrics_Expecter) OnAppSpecificScoreUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
OnAppSpecificScoreUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubScoringMetrics_Expecter) OnBehaviourPenaltyUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
OnBehaviourPenaltyUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubScoringMetrics_Expecter) OnFirstMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
OnFirstMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*GossipSubScoringMetrics_Expecter) OnIPColocationFactorUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
OnIPColocationFactorUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubScoringMetrics_Expecter) OnInvalidMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
OnInvalidMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*GossipSubScoringMetrics_Expecter) OnMeshMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
OnMeshMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*GossipSubScoringMetrics_Expecter) OnOverallPeerScoreUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
OnOverallPeerScoreUpdated is a helper method to define mock.On call
- f float64
func (*GossipSubScoringMetrics_Expecter) OnTimeInMeshUpdated ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
OnTimeInMeshUpdated is a helper method to define mock.On call
- topic channels.Topic
- duration time.Duration
func (*GossipSubScoringMetrics_Expecter) SetWarningStateCount ¶ added in v0.46.0
func (_e *GossipSubScoringMetrics_Expecter) SetWarningStateCount(v interface{}) *GossipSubScoringMetrics_SetWarningStateCount_Call
SetWarningStateCount is a helper method to define mock.On call
- v uint
type GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'
func (*GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
func (*GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call
type GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'
func (*GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
func (*GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call
type GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'
func (*GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
func (*GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call
type GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'
func (*GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
func (*GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call
type GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'
func (*GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
func (*GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call
type GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'
func (*GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
func (*GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call
type GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'
func (*GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
func (*GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call
type GossipSubScoringMetrics_OnTimeInMeshUpdated_Call ¶ added in v0.46.0
GossipSubScoringMetrics_OnTimeInMeshUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTimeInMeshUpdated'
func (*GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
func (*GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *GossipSubScoringMetrics_OnTimeInMeshUpdated_Call
type GossipSubScoringMetrics_SetWarningStateCount_Call ¶ added in v0.46.0
GossipSubScoringMetrics_SetWarningStateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWarningStateCount'
func (*GossipSubScoringMetrics_SetWarningStateCount_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *GossipSubScoringMetrics_SetWarningStateCount_Call
func (*GossipSubScoringMetrics_SetWarningStateCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *GossipSubScoringMetrics_SetWarningStateCount_Call
type GossipSubScoringRegistryMetrics ¶ added in v0.33.30
GossipSubScoringRegistryMetrics is an autogenerated mock type for the GossipSubScoringRegistryMetrics type
func NewGossipSubScoringRegistryMetrics ¶ added in v0.33.30
func NewGossipSubScoringRegistryMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *GossipSubScoringRegistryMetrics
NewGossipSubScoringRegistryMetrics creates a new instance of GossipSubScoringRegistryMetrics. 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 (*GossipSubScoringRegistryMetrics) DuplicateMessagePenalties ¶ added in v0.33.30
func (_mock *GossipSubScoringRegistryMetrics) DuplicateMessagePenalties(penalty float64)
DuplicateMessagePenalties provides a mock function for the type GossipSubScoringRegistryMetrics
func (*GossipSubScoringRegistryMetrics) DuplicateMessagesCounts ¶ added in v0.33.30
func (_mock *GossipSubScoringRegistryMetrics) DuplicateMessagesCounts(count float64)
DuplicateMessagesCounts provides a mock function for the type GossipSubScoringRegistryMetrics
func (*GossipSubScoringRegistryMetrics) EXPECT ¶ added in v0.46.0
func (_m *GossipSubScoringRegistryMetrics) EXPECT() *GossipSubScoringRegistryMetrics_Expecter
type GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call ¶ added in v0.46.0
GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagePenalties'
func (*GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) Run(run func(penalty float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
func (*GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) RunAndReturn(run func(penalty float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
type GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call ¶ added in v0.46.0
GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagesCounts'
func (*GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) Run ¶ added in v0.46.0
func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) Run(run func(count float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
func (*GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) RunAndReturn(run func(count float64)) *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
type GossipSubScoringRegistryMetrics_Expecter ¶ added in v0.46.0
type GossipSubScoringRegistryMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagePenalties ¶ added in v0.46.0
func (_e *GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagePenalties(penalty interface{}) *GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call
DuplicateMessagePenalties is a helper method to define mock.On call
- penalty float64
func (*GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagesCounts ¶ added in v0.46.0
func (_e *GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagesCounts(count interface{}) *GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call
DuplicateMessagesCounts is a helper method to define mock.On call
- count float64
type HeroCacheMetrics ¶ added in v0.24.11
HeroCacheMetrics is an autogenerated mock type for the HeroCacheMetrics type
func NewHeroCacheMetrics ¶ added in v0.26.1
func NewHeroCacheMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *HeroCacheMetrics
NewHeroCacheMetrics creates a new instance of HeroCacheMetrics. 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 (*HeroCacheMetrics) BucketAvailableSlots ¶ added in v0.24.11
func (_mock *HeroCacheMetrics) BucketAvailableSlots(v uint64, v1 uint64)
BucketAvailableSlots provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) EXPECT ¶ added in v0.46.0
func (_m *HeroCacheMetrics) EXPECT() *HeroCacheMetrics_Expecter
func (*HeroCacheMetrics) OnEntityEjectionDueToEmergency ¶ added in v0.24.11
func (_mock *HeroCacheMetrics) OnEntityEjectionDueToEmergency()
OnEntityEjectionDueToEmergency provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnEntityEjectionDueToFullCapacity ¶ added in v0.24.11
func (_mock *HeroCacheMetrics) OnEntityEjectionDueToFullCapacity()
OnEntityEjectionDueToFullCapacity provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyGetFailure ¶ added in v0.24.11
func (_mock *HeroCacheMetrics) OnKeyGetFailure()
OnKeyGetFailure provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyGetSuccess ¶ added in v0.24.11
func (_mock *HeroCacheMetrics) OnKeyGetSuccess()
OnKeyGetSuccess provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyPutAttempt ¶ added in v0.29.0
func (_mock *HeroCacheMetrics) OnKeyPutAttempt(size uint32)
OnKeyPutAttempt provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyPutDeduplicated ¶ added in v0.29.0
func (_mock *HeroCacheMetrics) OnKeyPutDeduplicated()
OnKeyPutDeduplicated provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyPutDrop ¶ added in v0.29.0
func (_mock *HeroCacheMetrics) OnKeyPutDrop()
OnKeyPutDrop provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyPutSuccess ¶ added in v0.24.11
func (_mock *HeroCacheMetrics) OnKeyPutSuccess(size uint32)
OnKeyPutSuccess provides a mock function for the type HeroCacheMetrics
func (*HeroCacheMetrics) OnKeyRemoved ¶ added in v0.29.0
func (_mock *HeroCacheMetrics) OnKeyRemoved(size uint32)
OnKeyRemoved provides a mock function for the type HeroCacheMetrics
type HeroCacheMetrics_BucketAvailableSlots_Call ¶ added in v0.46.0
HeroCacheMetrics_BucketAvailableSlots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BucketAvailableSlots'
func (*HeroCacheMetrics_BucketAvailableSlots_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_BucketAvailableSlots_Call) Return() *HeroCacheMetrics_BucketAvailableSlots_Call
func (*HeroCacheMetrics_BucketAvailableSlots_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_BucketAvailableSlots_Call) Run(run func(v uint64, v1 uint64)) *HeroCacheMetrics_BucketAvailableSlots_Call
func (*HeroCacheMetrics_BucketAvailableSlots_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_BucketAvailableSlots_Call) RunAndReturn(run func(v uint64, v1 uint64)) *HeroCacheMetrics_BucketAvailableSlots_Call
type HeroCacheMetrics_Expecter ¶ added in v0.46.0
type HeroCacheMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*HeroCacheMetrics_Expecter) BucketAvailableSlots ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) BucketAvailableSlots(v interface{}, v1 interface{}) *HeroCacheMetrics_BucketAvailableSlots_Call
BucketAvailableSlots is a helper method to define mock.On call
- v uint64
- v1 uint64
func (*HeroCacheMetrics_Expecter) OnEntityEjectionDueToEmergency ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnEntityEjectionDueToEmergency() *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
OnEntityEjectionDueToEmergency is a helper method to define mock.On call
func (*HeroCacheMetrics_Expecter) OnEntityEjectionDueToFullCapacity ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnEntityEjectionDueToFullCapacity() *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
OnEntityEjectionDueToFullCapacity is a helper method to define mock.On call
func (*HeroCacheMetrics_Expecter) OnKeyGetFailure ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyGetFailure() *HeroCacheMetrics_OnKeyGetFailure_Call
OnKeyGetFailure is a helper method to define mock.On call
func (*HeroCacheMetrics_Expecter) OnKeyGetSuccess ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyGetSuccess() *HeroCacheMetrics_OnKeyGetSuccess_Call
OnKeyGetSuccess is a helper method to define mock.On call
func (*HeroCacheMetrics_Expecter) OnKeyPutAttempt ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyPutAttempt(size interface{}) *HeroCacheMetrics_OnKeyPutAttempt_Call
OnKeyPutAttempt is a helper method to define mock.On call
- size uint32
func (*HeroCacheMetrics_Expecter) OnKeyPutDeduplicated ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyPutDeduplicated() *HeroCacheMetrics_OnKeyPutDeduplicated_Call
OnKeyPutDeduplicated is a helper method to define mock.On call
func (*HeroCacheMetrics_Expecter) OnKeyPutDrop ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyPutDrop() *HeroCacheMetrics_OnKeyPutDrop_Call
OnKeyPutDrop is a helper method to define mock.On call
func (*HeroCacheMetrics_Expecter) OnKeyPutSuccess ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyPutSuccess(size interface{}) *HeroCacheMetrics_OnKeyPutSuccess_Call
OnKeyPutSuccess is a helper method to define mock.On call
- size uint32
func (*HeroCacheMetrics_Expecter) OnKeyRemoved ¶ added in v0.46.0
func (_e *HeroCacheMetrics_Expecter) OnKeyRemoved(size interface{}) *HeroCacheMetrics_OnKeyRemoved_Call
OnKeyRemoved is a helper method to define mock.On call
- size uint32
type HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call ¶ added in v0.46.0
HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEntityEjectionDueToEmergency'
func (*HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) Run(run func()) *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
func (*HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call
type HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call ¶ added in v0.46.0
HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEntityEjectionDueToFullCapacity'
func (*HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) Run(run func()) *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
func (*HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call
type HeroCacheMetrics_OnKeyGetFailure_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyGetFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyGetFailure'
func (*HeroCacheMetrics_OnKeyGetFailure_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyGetFailure_Call) Return() *HeroCacheMetrics_OnKeyGetFailure_Call
func (*HeroCacheMetrics_OnKeyGetFailure_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyGetFailure_Call) Run(run func()) *HeroCacheMetrics_OnKeyGetFailure_Call
func (*HeroCacheMetrics_OnKeyGetFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyGetFailure_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyGetFailure_Call
type HeroCacheMetrics_OnKeyGetSuccess_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyGetSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyGetSuccess'
func (*HeroCacheMetrics_OnKeyGetSuccess_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyGetSuccess_Call) Return() *HeroCacheMetrics_OnKeyGetSuccess_Call
func (*HeroCacheMetrics_OnKeyGetSuccess_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyGetSuccess_Call) Run(run func()) *HeroCacheMetrics_OnKeyGetSuccess_Call
func (*HeroCacheMetrics_OnKeyGetSuccess_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyGetSuccess_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyGetSuccess_Call
type HeroCacheMetrics_OnKeyPutAttempt_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyPutAttempt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyPutAttempt'
func (*HeroCacheMetrics_OnKeyPutAttempt_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutAttempt_Call) Return() *HeroCacheMetrics_OnKeyPutAttempt_Call
func (*HeroCacheMetrics_OnKeyPutAttempt_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutAttempt_Call) Run(run func(size uint32)) *HeroCacheMetrics_OnKeyPutAttempt_Call
func (*HeroCacheMetrics_OnKeyPutAttempt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutAttempt_Call) RunAndReturn(run func(size uint32)) *HeroCacheMetrics_OnKeyPutAttempt_Call
type HeroCacheMetrics_OnKeyPutDeduplicated_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyPutDeduplicated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyPutDeduplicated'
func (*HeroCacheMetrics_OnKeyPutDeduplicated_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutDeduplicated_Call) Return() *HeroCacheMetrics_OnKeyPutDeduplicated_Call
func (*HeroCacheMetrics_OnKeyPutDeduplicated_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutDeduplicated_Call) Run(run func()) *HeroCacheMetrics_OnKeyPutDeduplicated_Call
func (*HeroCacheMetrics_OnKeyPutDeduplicated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutDeduplicated_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyPutDeduplicated_Call
type HeroCacheMetrics_OnKeyPutDrop_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyPutDrop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyPutDrop'
func (*HeroCacheMetrics_OnKeyPutDrop_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutDrop_Call) Return() *HeroCacheMetrics_OnKeyPutDrop_Call
func (*HeroCacheMetrics_OnKeyPutDrop_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutDrop_Call) Run(run func()) *HeroCacheMetrics_OnKeyPutDrop_Call
func (*HeroCacheMetrics_OnKeyPutDrop_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutDrop_Call) RunAndReturn(run func()) *HeroCacheMetrics_OnKeyPutDrop_Call
type HeroCacheMetrics_OnKeyPutSuccess_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyPutSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyPutSuccess'
func (*HeroCacheMetrics_OnKeyPutSuccess_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutSuccess_Call) Return() *HeroCacheMetrics_OnKeyPutSuccess_Call
func (*HeroCacheMetrics_OnKeyPutSuccess_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutSuccess_Call) Run(run func(size uint32)) *HeroCacheMetrics_OnKeyPutSuccess_Call
func (*HeroCacheMetrics_OnKeyPutSuccess_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyPutSuccess_Call) RunAndReturn(run func(size uint32)) *HeroCacheMetrics_OnKeyPutSuccess_Call
type HeroCacheMetrics_OnKeyRemoved_Call ¶ added in v0.46.0
HeroCacheMetrics_OnKeyRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnKeyRemoved'
func (*HeroCacheMetrics_OnKeyRemoved_Call) Return ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyRemoved_Call) Return() *HeroCacheMetrics_OnKeyRemoved_Call
func (*HeroCacheMetrics_OnKeyRemoved_Call) Run ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyRemoved_Call) Run(run func(size uint32)) *HeroCacheMetrics_OnKeyRemoved_Call
func (*HeroCacheMetrics_OnKeyRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeroCacheMetrics_OnKeyRemoved_Call) RunAndReturn(run func(size uint32)) *HeroCacheMetrics_OnKeyRemoved_Call
type HotStuff ¶
HotStuff is an autogenerated mock type for the HotStuff type
func NewHotStuff ¶ added in v0.26.1
NewHotStuff creates a new instance of HotStuff. 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 (*HotStuff) Done ¶
func (_mock *HotStuff) Done() <-chan struct{}
Done provides a mock function for the type HotStuff
func (*HotStuff) EXPECT ¶ added in v0.46.0
func (_m *HotStuff) EXPECT() *HotStuff_Expecter
func (*HotStuff) Ready ¶
func (_mock *HotStuff) Ready() <-chan struct{}
Ready provides a mock function for the type HotStuff
func (*HotStuff) Start ¶ added in v0.23.9
func (_mock *HotStuff) Start(signalerContext irrecoverable.SignalerContext)
Start provides a mock function for the type HotStuff
func (*HotStuff) SubmitProposal ¶
func (_mock *HotStuff) SubmitProposal(proposal *model.SignedProposal)
SubmitProposal provides a mock function for the type HotStuff
type HotStuffFollower ¶
HotStuffFollower is an autogenerated mock type for the HotStuffFollower type
func NewHotStuffFollower ¶ added in v0.26.1
func NewHotStuffFollower(t interface {
mock.TestingT
Cleanup(func())
}) *HotStuffFollower
NewHotStuffFollower creates a new instance of HotStuffFollower. 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 (*HotStuffFollower) AddCertifiedBlock ¶ added in v0.31.0
func (_mock *HotStuffFollower) AddCertifiedBlock(certifiedBlock *model.CertifiedBlock)
AddCertifiedBlock provides a mock function for the type HotStuffFollower
func (*HotStuffFollower) Done ¶
func (_mock *HotStuffFollower) Done() <-chan struct{}
Done provides a mock function for the type HotStuffFollower
func (*HotStuffFollower) EXPECT ¶ added in v0.46.0
func (_m *HotStuffFollower) EXPECT() *HotStuffFollower_Expecter
func (*HotStuffFollower) Ready ¶
func (_mock *HotStuffFollower) Ready() <-chan struct{}
Ready provides a mock function for the type HotStuffFollower
func (*HotStuffFollower) Start ¶ added in v0.29.0
func (_mock *HotStuffFollower) Start(signalerContext irrecoverable.SignalerContext)
Start provides a mock function for the type HotStuffFollower
type HotStuffFollower_AddCertifiedBlock_Call ¶ added in v0.46.0
HotStuffFollower_AddCertifiedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCertifiedBlock'
func (*HotStuffFollower_AddCertifiedBlock_Call) Return ¶ added in v0.46.0
func (_c *HotStuffFollower_AddCertifiedBlock_Call) Return() *HotStuffFollower_AddCertifiedBlock_Call
func (*HotStuffFollower_AddCertifiedBlock_Call) Run ¶ added in v0.46.0
func (_c *HotStuffFollower_AddCertifiedBlock_Call) Run(run func(certifiedBlock *model.CertifiedBlock)) *HotStuffFollower_AddCertifiedBlock_Call
func (*HotStuffFollower_AddCertifiedBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuffFollower_AddCertifiedBlock_Call) RunAndReturn(run func(certifiedBlock *model.CertifiedBlock)) *HotStuffFollower_AddCertifiedBlock_Call
type HotStuffFollower_Done_Call ¶ added in v0.46.0
HotStuffFollower_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*HotStuffFollower_Done_Call) Return ¶ added in v0.46.0
func (_c *HotStuffFollower_Done_Call) Return(valCh <-chan struct{}) *HotStuffFollower_Done_Call
func (*HotStuffFollower_Done_Call) Run ¶ added in v0.46.0
func (_c *HotStuffFollower_Done_Call) Run(run func()) *HotStuffFollower_Done_Call
func (*HotStuffFollower_Done_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuffFollower_Done_Call) RunAndReturn(run func() <-chan struct{}) *HotStuffFollower_Done_Call
type HotStuffFollower_Expecter ¶ added in v0.46.0
type HotStuffFollower_Expecter struct {
// contains filtered or unexported fields
}
func (*HotStuffFollower_Expecter) AddCertifiedBlock ¶ added in v0.46.0
func (_e *HotStuffFollower_Expecter) AddCertifiedBlock(certifiedBlock interface{}) *HotStuffFollower_AddCertifiedBlock_Call
AddCertifiedBlock is a helper method to define mock.On call
- certifiedBlock *model.CertifiedBlock
func (*HotStuffFollower_Expecter) Done ¶ added in v0.46.0
func (_e *HotStuffFollower_Expecter) Done() *HotStuffFollower_Done_Call
Done is a helper method to define mock.On call
func (*HotStuffFollower_Expecter) Ready ¶ added in v0.46.0
func (_e *HotStuffFollower_Expecter) Ready() *HotStuffFollower_Ready_Call
Ready is a helper method to define mock.On call
func (*HotStuffFollower_Expecter) Start ¶ added in v0.46.0
func (_e *HotStuffFollower_Expecter) Start(signalerContext interface{}) *HotStuffFollower_Start_Call
Start is a helper method to define mock.On call
- signalerContext irrecoverable.SignalerContext
type HotStuffFollower_Ready_Call ¶ added in v0.46.0
HotStuffFollower_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*HotStuffFollower_Ready_Call) Return ¶ added in v0.46.0
func (_c *HotStuffFollower_Ready_Call) Return(valCh <-chan struct{}) *HotStuffFollower_Ready_Call
func (*HotStuffFollower_Ready_Call) Run ¶ added in v0.46.0
func (_c *HotStuffFollower_Ready_Call) Run(run func()) *HotStuffFollower_Ready_Call
func (*HotStuffFollower_Ready_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuffFollower_Ready_Call) RunAndReturn(run func() <-chan struct{}) *HotStuffFollower_Ready_Call
type HotStuffFollower_Start_Call ¶ added in v0.46.0
HotStuffFollower_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*HotStuffFollower_Start_Call) Return ¶ added in v0.46.0
func (_c *HotStuffFollower_Start_Call) Return() *HotStuffFollower_Start_Call
func (*HotStuffFollower_Start_Call) Run ¶ added in v0.46.0
func (_c *HotStuffFollower_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *HotStuffFollower_Start_Call
func (*HotStuffFollower_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuffFollower_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *HotStuffFollower_Start_Call
type HotStuff_Done_Call ¶ added in v0.46.0
HotStuff_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*HotStuff_Done_Call) Return ¶ added in v0.46.0
func (_c *HotStuff_Done_Call) Return(valCh <-chan struct{}) *HotStuff_Done_Call
func (*HotStuff_Done_Call) Run ¶ added in v0.46.0
func (_c *HotStuff_Done_Call) Run(run func()) *HotStuff_Done_Call
func (*HotStuff_Done_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuff_Done_Call) RunAndReturn(run func() <-chan struct{}) *HotStuff_Done_Call
type HotStuff_Expecter ¶ added in v0.46.0
type HotStuff_Expecter struct {
// contains filtered or unexported fields
}
func (*HotStuff_Expecter) Done ¶ added in v0.46.0
func (_e *HotStuff_Expecter) Done() *HotStuff_Done_Call
Done is a helper method to define mock.On call
func (*HotStuff_Expecter) Ready ¶ added in v0.46.0
func (_e *HotStuff_Expecter) Ready() *HotStuff_Ready_Call
Ready is a helper method to define mock.On call
func (*HotStuff_Expecter) Start ¶ added in v0.46.0
func (_e *HotStuff_Expecter) Start(signalerContext interface{}) *HotStuff_Start_Call
Start is a helper method to define mock.On call
- signalerContext irrecoverable.SignalerContext
func (*HotStuff_Expecter) SubmitProposal ¶ added in v0.46.0
func (_e *HotStuff_Expecter) SubmitProposal(proposal interface{}) *HotStuff_SubmitProposal_Call
SubmitProposal is a helper method to define mock.On call
- proposal *model.SignedProposal
type HotStuff_Ready_Call ¶ added in v0.46.0
HotStuff_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*HotStuff_Ready_Call) Return ¶ added in v0.46.0
func (_c *HotStuff_Ready_Call) Return(valCh <-chan struct{}) *HotStuff_Ready_Call
func (*HotStuff_Ready_Call) Run ¶ added in v0.46.0
func (_c *HotStuff_Ready_Call) Run(run func()) *HotStuff_Ready_Call
func (*HotStuff_Ready_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuff_Ready_Call) RunAndReturn(run func() <-chan struct{}) *HotStuff_Ready_Call
type HotStuff_Start_Call ¶ added in v0.46.0
HotStuff_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*HotStuff_Start_Call) Return ¶ added in v0.46.0
func (_c *HotStuff_Start_Call) Return() *HotStuff_Start_Call
func (*HotStuff_Start_Call) Run ¶ added in v0.46.0
func (_c *HotStuff_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *HotStuff_Start_Call
func (*HotStuff_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuff_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *HotStuff_Start_Call
type HotStuff_SubmitProposal_Call ¶ added in v0.46.0
HotStuff_SubmitProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitProposal'
func (*HotStuff_SubmitProposal_Call) Return ¶ added in v0.46.0
func (_c *HotStuff_SubmitProposal_Call) Return() *HotStuff_SubmitProposal_Call
func (*HotStuff_SubmitProposal_Call) Run ¶ added in v0.46.0
func (_c *HotStuff_SubmitProposal_Call) Run(run func(proposal *model.SignedProposal)) *HotStuff_SubmitProposal_Call
func (*HotStuff_SubmitProposal_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotStuff_SubmitProposal_Call) RunAndReturn(run func(proposal *model.SignedProposal)) *HotStuff_SubmitProposal_Call
type HotstuffMetrics ¶
HotstuffMetrics is an autogenerated mock type for the HotstuffMetrics type
func NewHotstuffMetrics ¶ added in v0.26.1
func NewHotstuffMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *HotstuffMetrics
NewHotstuffMetrics creates a new instance of HotstuffMetrics. 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 (*HotstuffMetrics) BlockProcessingDuration ¶ added in v0.29.0
func (_mock *HotstuffMetrics) BlockProcessingDuration(duration time.Duration)
BlockProcessingDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) CommitteeProcessingDuration ¶
func (_mock *HotstuffMetrics) CommitteeProcessingDuration(duration time.Duration)
CommitteeProcessingDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) CountSkipped ¶
func (_mock *HotstuffMetrics) CountSkipped()
CountSkipped provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) CountTimeout ¶
func (_mock *HotstuffMetrics) CountTimeout()
CountTimeout provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) EXPECT ¶ added in v0.46.0
func (_m *HotstuffMetrics) EXPECT() *HotstuffMetrics_Expecter
func (*HotstuffMetrics) HotStuffBusyDuration ¶
func (_mock *HotstuffMetrics) HotStuffBusyDuration(duration time.Duration, event string)
HotStuffBusyDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) HotStuffIdleDuration ¶
func (_mock *HotstuffMetrics) HotStuffIdleDuration(duration time.Duration)
HotStuffIdleDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) HotStuffWaitDuration ¶
func (_mock *HotstuffMetrics) HotStuffWaitDuration(duration time.Duration, event string)
HotStuffWaitDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) PayloadProductionDuration ¶
func (_mock *HotstuffMetrics) PayloadProductionDuration(duration time.Duration)
PayloadProductionDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) SetCurView ¶
func (_mock *HotstuffMetrics) SetCurView(view uint64)
SetCurView provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) SetQCView ¶
func (_mock *HotstuffMetrics) SetQCView(view uint64)
SetQCView provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) SetTCView ¶ added in v0.29.0
func (_mock *HotstuffMetrics) SetTCView(view uint64)
SetTCView provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) SetTimeout ¶
func (_mock *HotstuffMetrics) SetTimeout(duration time.Duration)
SetTimeout provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) SignerProcessingDuration ¶
func (_mock *HotstuffMetrics) SignerProcessingDuration(duration time.Duration)
SignerProcessingDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) TimeoutCollectorsRange ¶ added in v0.32.0
func (_mock *HotstuffMetrics) TimeoutCollectorsRange(lowestRetainedView uint64, newestViewCreatedCollector uint64, activeCollectors int)
TimeoutCollectorsRange provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) TimeoutObjectProcessingDuration ¶ added in v0.29.0
func (_mock *HotstuffMetrics) TimeoutObjectProcessingDuration(duration time.Duration)
TimeoutObjectProcessingDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) ValidatorProcessingDuration ¶
func (_mock *HotstuffMetrics) ValidatorProcessingDuration(duration time.Duration)
ValidatorProcessingDuration provides a mock function for the type HotstuffMetrics
func (*HotstuffMetrics) VoteProcessingDuration ¶ added in v0.29.0
func (_mock *HotstuffMetrics) VoteProcessingDuration(duration time.Duration)
VoteProcessingDuration provides a mock function for the type HotstuffMetrics
type HotstuffMetrics_BlockProcessingDuration_Call ¶ added in v0.46.0
HotstuffMetrics_BlockProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockProcessingDuration'
func (*HotstuffMetrics_BlockProcessingDuration_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_BlockProcessingDuration_Call) Return() *HotstuffMetrics_BlockProcessingDuration_Call
func (*HotstuffMetrics_BlockProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_BlockProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_BlockProcessingDuration_Call
func (*HotstuffMetrics_BlockProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_BlockProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_BlockProcessingDuration_Call
type HotstuffMetrics_CommitteeProcessingDuration_Call ¶ added in v0.46.0
HotstuffMetrics_CommitteeProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommitteeProcessingDuration'
func (*HotstuffMetrics_CommitteeProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_CommitteeProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_CommitteeProcessingDuration_Call
func (*HotstuffMetrics_CommitteeProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_CommitteeProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_CommitteeProcessingDuration_Call
type HotstuffMetrics_CountSkipped_Call ¶ added in v0.46.0
HotstuffMetrics_CountSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountSkipped'
func (*HotstuffMetrics_CountSkipped_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_CountSkipped_Call) Return() *HotstuffMetrics_CountSkipped_Call
func (*HotstuffMetrics_CountSkipped_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_CountSkipped_Call) Run(run func()) *HotstuffMetrics_CountSkipped_Call
func (*HotstuffMetrics_CountSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_CountSkipped_Call) RunAndReturn(run func()) *HotstuffMetrics_CountSkipped_Call
type HotstuffMetrics_CountTimeout_Call ¶ added in v0.46.0
HotstuffMetrics_CountTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTimeout'
func (*HotstuffMetrics_CountTimeout_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_CountTimeout_Call) Return() *HotstuffMetrics_CountTimeout_Call
func (*HotstuffMetrics_CountTimeout_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_CountTimeout_Call) Run(run func()) *HotstuffMetrics_CountTimeout_Call
func (*HotstuffMetrics_CountTimeout_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_CountTimeout_Call) RunAndReturn(run func()) *HotstuffMetrics_CountTimeout_Call
type HotstuffMetrics_Expecter ¶ added in v0.46.0
type HotstuffMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*HotstuffMetrics_Expecter) BlockProcessingDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) BlockProcessingDuration(duration interface{}) *HotstuffMetrics_BlockProcessingDuration_Call
BlockProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) CommitteeProcessingDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) CommitteeProcessingDuration(duration interface{}) *HotstuffMetrics_CommitteeProcessingDuration_Call
CommitteeProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) CountSkipped ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) CountSkipped() *HotstuffMetrics_CountSkipped_Call
CountSkipped is a helper method to define mock.On call
func (*HotstuffMetrics_Expecter) CountTimeout ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) CountTimeout() *HotstuffMetrics_CountTimeout_Call
CountTimeout is a helper method to define mock.On call
func (*HotstuffMetrics_Expecter) HotStuffBusyDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) HotStuffBusyDuration(duration interface{}, event interface{}) *HotstuffMetrics_HotStuffBusyDuration_Call
HotStuffBusyDuration is a helper method to define mock.On call
- duration time.Duration
- event string
func (*HotstuffMetrics_Expecter) HotStuffIdleDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) HotStuffIdleDuration(duration interface{}) *HotstuffMetrics_HotStuffIdleDuration_Call
HotStuffIdleDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) HotStuffWaitDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) HotStuffWaitDuration(duration interface{}, event interface{}) *HotstuffMetrics_HotStuffWaitDuration_Call
HotStuffWaitDuration is a helper method to define mock.On call
- duration time.Duration
- event string
func (*HotstuffMetrics_Expecter) PayloadProductionDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) PayloadProductionDuration(duration interface{}) *HotstuffMetrics_PayloadProductionDuration_Call
PayloadProductionDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) SetCurView ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) SetCurView(view interface{}) *HotstuffMetrics_SetCurView_Call
SetCurView is a helper method to define mock.On call
- view uint64
func (*HotstuffMetrics_Expecter) SetQCView ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) SetQCView(view interface{}) *HotstuffMetrics_SetQCView_Call
SetQCView is a helper method to define mock.On call
- view uint64
func (*HotstuffMetrics_Expecter) SetTCView ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) SetTCView(view interface{}) *HotstuffMetrics_SetTCView_Call
SetTCView is a helper method to define mock.On call
- view uint64
func (*HotstuffMetrics_Expecter) SetTimeout ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) SetTimeout(duration interface{}) *HotstuffMetrics_SetTimeout_Call
SetTimeout is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) SignerProcessingDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) SignerProcessingDuration(duration interface{}) *HotstuffMetrics_SignerProcessingDuration_Call
SignerProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) TimeoutCollectorsRange ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) TimeoutCollectorsRange(lowestRetainedView interface{}, newestViewCreatedCollector interface{}, activeCollectors interface{}) *HotstuffMetrics_TimeoutCollectorsRange_Call
TimeoutCollectorsRange is a helper method to define mock.On call
- lowestRetainedView uint64
- newestViewCreatedCollector uint64
- activeCollectors int
func (*HotstuffMetrics_Expecter) TimeoutObjectProcessingDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) TimeoutObjectProcessingDuration(duration interface{}) *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
TimeoutObjectProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) ValidatorProcessingDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) ValidatorProcessingDuration(duration interface{}) *HotstuffMetrics_ValidatorProcessingDuration_Call
ValidatorProcessingDuration is a helper method to define mock.On call
- duration time.Duration
func (*HotstuffMetrics_Expecter) VoteProcessingDuration ¶ added in v0.46.0
func (_e *HotstuffMetrics_Expecter) VoteProcessingDuration(duration interface{}) *HotstuffMetrics_VoteProcessingDuration_Call
VoteProcessingDuration is a helper method to define mock.On call
- duration time.Duration
type HotstuffMetrics_HotStuffBusyDuration_Call ¶ added in v0.46.0
HotstuffMetrics_HotStuffBusyDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HotStuffBusyDuration'
func (*HotstuffMetrics_HotStuffBusyDuration_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffBusyDuration_Call) Return() *HotstuffMetrics_HotStuffBusyDuration_Call
func (*HotstuffMetrics_HotStuffBusyDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffBusyDuration_Call) Run(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffBusyDuration_Call
func (*HotstuffMetrics_HotStuffBusyDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffBusyDuration_Call) RunAndReturn(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffBusyDuration_Call
type HotstuffMetrics_HotStuffIdleDuration_Call ¶ added in v0.46.0
HotstuffMetrics_HotStuffIdleDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HotStuffIdleDuration'
func (*HotstuffMetrics_HotStuffIdleDuration_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffIdleDuration_Call) Return() *HotstuffMetrics_HotStuffIdleDuration_Call
func (*HotstuffMetrics_HotStuffIdleDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffIdleDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_HotStuffIdleDuration_Call
func (*HotstuffMetrics_HotStuffIdleDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffIdleDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_HotStuffIdleDuration_Call
type HotstuffMetrics_HotStuffWaitDuration_Call ¶ added in v0.46.0
HotstuffMetrics_HotStuffWaitDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HotStuffWaitDuration'
func (*HotstuffMetrics_HotStuffWaitDuration_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffWaitDuration_Call) Return() *HotstuffMetrics_HotStuffWaitDuration_Call
func (*HotstuffMetrics_HotStuffWaitDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffWaitDuration_Call) Run(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffWaitDuration_Call
func (*HotstuffMetrics_HotStuffWaitDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_HotStuffWaitDuration_Call) RunAndReturn(run func(duration time.Duration, event string)) *HotstuffMetrics_HotStuffWaitDuration_Call
type HotstuffMetrics_PayloadProductionDuration_Call ¶ added in v0.46.0
HotstuffMetrics_PayloadProductionDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PayloadProductionDuration'
func (*HotstuffMetrics_PayloadProductionDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_PayloadProductionDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_PayloadProductionDuration_Call
func (*HotstuffMetrics_PayloadProductionDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_PayloadProductionDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_PayloadProductionDuration_Call
type HotstuffMetrics_SetCurView_Call ¶ added in v0.46.0
HotstuffMetrics_SetCurView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCurView'
func (*HotstuffMetrics_SetCurView_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetCurView_Call) Return() *HotstuffMetrics_SetCurView_Call
func (*HotstuffMetrics_SetCurView_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetCurView_Call) Run(run func(view uint64)) *HotstuffMetrics_SetCurView_Call
func (*HotstuffMetrics_SetCurView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetCurView_Call) RunAndReturn(run func(view uint64)) *HotstuffMetrics_SetCurView_Call
type HotstuffMetrics_SetQCView_Call ¶ added in v0.46.0
HotstuffMetrics_SetQCView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetQCView'
func (*HotstuffMetrics_SetQCView_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetQCView_Call) Return() *HotstuffMetrics_SetQCView_Call
func (*HotstuffMetrics_SetQCView_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetQCView_Call) Run(run func(view uint64)) *HotstuffMetrics_SetQCView_Call
func (*HotstuffMetrics_SetQCView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetQCView_Call) RunAndReturn(run func(view uint64)) *HotstuffMetrics_SetQCView_Call
type HotstuffMetrics_SetTCView_Call ¶ added in v0.46.0
HotstuffMetrics_SetTCView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTCView'
func (*HotstuffMetrics_SetTCView_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetTCView_Call) Return() *HotstuffMetrics_SetTCView_Call
func (*HotstuffMetrics_SetTCView_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetTCView_Call) Run(run func(view uint64)) *HotstuffMetrics_SetTCView_Call
func (*HotstuffMetrics_SetTCView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetTCView_Call) RunAndReturn(run func(view uint64)) *HotstuffMetrics_SetTCView_Call
type HotstuffMetrics_SetTimeout_Call ¶ added in v0.46.0
HotstuffMetrics_SetTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTimeout'
func (*HotstuffMetrics_SetTimeout_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetTimeout_Call) Return() *HotstuffMetrics_SetTimeout_Call
func (*HotstuffMetrics_SetTimeout_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetTimeout_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_SetTimeout_Call
func (*HotstuffMetrics_SetTimeout_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_SetTimeout_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_SetTimeout_Call
type HotstuffMetrics_SignerProcessingDuration_Call ¶ added in v0.46.0
HotstuffMetrics_SignerProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignerProcessingDuration'
func (*HotstuffMetrics_SignerProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_SignerProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_SignerProcessingDuration_Call
func (*HotstuffMetrics_SignerProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_SignerProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_SignerProcessingDuration_Call
type HotstuffMetrics_TimeoutCollectorsRange_Call ¶ added in v0.46.0
HotstuffMetrics_TimeoutCollectorsRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeoutCollectorsRange'
func (*HotstuffMetrics_TimeoutCollectorsRange_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_TimeoutCollectorsRange_Call) Return() *HotstuffMetrics_TimeoutCollectorsRange_Call
func (*HotstuffMetrics_TimeoutCollectorsRange_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_TimeoutCollectorsRange_Call) Run(run func(lowestRetainedView uint64, newestViewCreatedCollector uint64, activeCollectors int)) *HotstuffMetrics_TimeoutCollectorsRange_Call
func (*HotstuffMetrics_TimeoutCollectorsRange_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_TimeoutCollectorsRange_Call) RunAndReturn(run func(lowestRetainedView uint64, newestViewCreatedCollector uint64, activeCollectors int)) *HotstuffMetrics_TimeoutCollectorsRange_Call
type HotstuffMetrics_TimeoutObjectProcessingDuration_Call ¶ added in v0.46.0
HotstuffMetrics_TimeoutObjectProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeoutObjectProcessingDuration'
func (*HotstuffMetrics_TimeoutObjectProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_TimeoutObjectProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
func (*HotstuffMetrics_TimeoutObjectProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_TimeoutObjectProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_TimeoutObjectProcessingDuration_Call
type HotstuffMetrics_ValidatorProcessingDuration_Call ¶ added in v0.46.0
HotstuffMetrics_ValidatorProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatorProcessingDuration'
func (*HotstuffMetrics_ValidatorProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_ValidatorProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_ValidatorProcessingDuration_Call
func (*HotstuffMetrics_ValidatorProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_ValidatorProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_ValidatorProcessingDuration_Call
type HotstuffMetrics_VoteProcessingDuration_Call ¶ added in v0.46.0
HotstuffMetrics_VoteProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoteProcessingDuration'
func (*HotstuffMetrics_VoteProcessingDuration_Call) Return ¶ added in v0.46.0
func (_c *HotstuffMetrics_VoteProcessingDuration_Call) Return() *HotstuffMetrics_VoteProcessingDuration_Call
func (*HotstuffMetrics_VoteProcessingDuration_Call) Run ¶ added in v0.46.0
func (_c *HotstuffMetrics_VoteProcessingDuration_Call) Run(run func(duration time.Duration)) *HotstuffMetrics_VoteProcessingDuration_Call
func (*HotstuffMetrics_VoteProcessingDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HotstuffMetrics_VoteProcessingDuration_Call) RunAndReturn(run func(duration time.Duration)) *HotstuffMetrics_VoteProcessingDuration_Call
type IdentifierProvider ¶ added in v0.28.0
IdentifierProvider is an autogenerated mock type for the IdentifierProvider type
func NewIdentifierProvider ¶ added in v0.28.0
func NewIdentifierProvider(t interface {
mock.TestingT
Cleanup(func())
}) *IdentifierProvider
NewIdentifierProvider creates a new instance of IdentifierProvider. 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 (*IdentifierProvider) EXPECT ¶ added in v0.46.0
func (_m *IdentifierProvider) EXPECT() *IdentifierProvider_Expecter
func (*IdentifierProvider) Identifiers ¶ added in v0.28.0
func (_mock *IdentifierProvider) Identifiers() flow.IdentifierList
Identifiers provides a mock function for the type IdentifierProvider
type IdentifierProvider_Expecter ¶ added in v0.46.0
type IdentifierProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentifierProvider_Expecter) Identifiers ¶ added in v0.46.0
func (_e *IdentifierProvider_Expecter) Identifiers() *IdentifierProvider_Identifiers_Call
Identifiers is a helper method to define mock.On call
type IdentifierProvider_Identifiers_Call ¶ added in v0.46.0
IdentifierProvider_Identifiers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Identifiers'
func (*IdentifierProvider_Identifiers_Call) Return ¶ added in v0.46.0
func (_c *IdentifierProvider_Identifiers_Call) Return(identifierList flow.IdentifierList) *IdentifierProvider_Identifiers_Call
func (*IdentifierProvider_Identifiers_Call) Run ¶ added in v0.46.0
func (_c *IdentifierProvider_Identifiers_Call) Run(run func()) *IdentifierProvider_Identifiers_Call
func (*IdentifierProvider_Identifiers_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierProvider_Identifiers_Call) RunAndReturn(run func() flow.IdentifierList) *IdentifierProvider_Identifiers_Call
type IdentityProvider ¶ added in v0.28.0
IdentityProvider is an autogenerated mock type for the IdentityProvider type
func NewIdentityProvider ¶ added in v0.28.0
func NewIdentityProvider(t interface {
mock.TestingT
Cleanup(func())
}) *IdentityProvider
NewIdentityProvider creates a new instance of IdentityProvider. 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 (*IdentityProvider) ByNodeID ¶ added in v0.28.0
func (_mock *IdentityProvider) ByNodeID(identifier flow.Identifier) (*flow.Identity, bool)
ByNodeID provides a mock function for the type IdentityProvider
func (*IdentityProvider) ByPeerID ¶ added in v0.28.0
ByPeerID provides a mock function for the type IdentityProvider
func (*IdentityProvider) EXPECT ¶ added in v0.46.0
func (_m *IdentityProvider) EXPECT() *IdentityProvider_Expecter
func (*IdentityProvider) Identities ¶ added in v0.28.0
func (_mock *IdentityProvider) Identities(identityFilter flow.IdentityFilter[flow.Identity]) flow.IdentityList
Identities provides a mock function for the type IdentityProvider
type IdentityProvider_ByNodeID_Call ¶ added in v0.46.0
IdentityProvider_ByNodeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByNodeID'
func (*IdentityProvider_ByNodeID_Call) Return ¶ added in v0.46.0
func (_c *IdentityProvider_ByNodeID_Call) Return(identity *flow.Identity, b bool) *IdentityProvider_ByNodeID_Call
func (*IdentityProvider_ByNodeID_Call) Run ¶ added in v0.46.0
func (_c *IdentityProvider_ByNodeID_Call) Run(run func(identifier flow.Identifier)) *IdentityProvider_ByNodeID_Call
func (*IdentityProvider_ByNodeID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentityProvider_ByNodeID_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.Identity, bool)) *IdentityProvider_ByNodeID_Call
type IdentityProvider_ByPeerID_Call ¶ added in v0.46.0
IdentityProvider_ByPeerID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByPeerID'
func (*IdentityProvider_ByPeerID_Call) Return ¶ added in v0.46.0
func (_c *IdentityProvider_ByPeerID_Call) Return(identity *flow.Identity, b bool) *IdentityProvider_ByPeerID_Call
func (*IdentityProvider_ByPeerID_Call) Run ¶ added in v0.46.0
func (_c *IdentityProvider_ByPeerID_Call) Run(run func(iD peer.ID)) *IdentityProvider_ByPeerID_Call
func (*IdentityProvider_ByPeerID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentityProvider_ByPeerID_Call) RunAndReturn(run func(iD peer.ID) (*flow.Identity, bool)) *IdentityProvider_ByPeerID_Call
type IdentityProvider_Expecter ¶ added in v0.46.0
type IdentityProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityProvider_Expecter) ByNodeID ¶ added in v0.46.0
func (_e *IdentityProvider_Expecter) ByNodeID(identifier interface{}) *IdentityProvider_ByNodeID_Call
ByNodeID is a helper method to define mock.On call
- identifier flow.Identifier
func (*IdentityProvider_Expecter) ByPeerID ¶ added in v0.46.0
func (_e *IdentityProvider_Expecter) ByPeerID(iD interface{}) *IdentityProvider_ByPeerID_Call
ByPeerID is a helper method to define mock.On call
- iD peer.ID
func (*IdentityProvider_Expecter) Identities ¶ added in v0.46.0
func (_e *IdentityProvider_Expecter) Identities(identityFilter interface{}) *IdentityProvider_Identities_Call
Identities is a helper method to define mock.On call
- identityFilter flow.IdentityFilter[flow.Identity]
type IdentityProvider_Identities_Call ¶ added in v0.46.0
IdentityProvider_Identities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Identities'
func (*IdentityProvider_Identities_Call) Return ¶ added in v0.46.0
func (_c *IdentityProvider_Identities_Call) Return(v flow.IdentityList) *IdentityProvider_Identities_Call
func (*IdentityProvider_Identities_Call) Run ¶ added in v0.46.0
func (_c *IdentityProvider_Identities_Call) Run(run func(identityFilter flow.IdentityFilter[flow.Identity])) *IdentityProvider_Identities_Call
func (*IdentityProvider_Identities_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentityProvider_Identities_Call) RunAndReturn(run func(identityFilter flow.IdentityFilter[flow.Identity]) flow.IdentityList) *IdentityProvider_Identities_Call
type IteratorCreator ¶ added in v0.39.1
IteratorCreator is an autogenerated mock type for the IteratorCreator type
func NewIteratorCreator ¶ added in v0.39.1
func NewIteratorCreator(t interface {
mock.TestingT
Cleanup(func())
}) *IteratorCreator
NewIteratorCreator creates a new instance of IteratorCreator. 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 (*IteratorCreator) Create ¶ added in v0.39.1
func (_mock *IteratorCreator) Create() (module.BlockIterator, bool, error)
Create provides a mock function for the type IteratorCreator
func (*IteratorCreator) EXPECT ¶ added in v0.46.0
func (_m *IteratorCreator) EXPECT() *IteratorCreator_Expecter
func (*IteratorCreator) IteratorState ¶ added in v0.39.1
func (_mock *IteratorCreator) IteratorState() module.IteratorStateReader
IteratorState provides a mock function for the type IteratorCreator
type IteratorCreator_Create_Call ¶ added in v0.46.0
IteratorCreator_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*IteratorCreator_Create_Call) Return ¶ added in v0.46.0
func (_c *IteratorCreator_Create_Call) Return(fromSavedIndexToLatest module.BlockIterator, hasNext bool, exception error) *IteratorCreator_Create_Call
func (*IteratorCreator_Create_Call) Run ¶ added in v0.46.0
func (_c *IteratorCreator_Create_Call) Run(run func()) *IteratorCreator_Create_Call
func (*IteratorCreator_Create_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IteratorCreator_Create_Call) RunAndReturn(run func() (module.BlockIterator, bool, error)) *IteratorCreator_Create_Call
type IteratorCreator_Expecter ¶ added in v0.46.0
type IteratorCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*IteratorCreator_Expecter) Create ¶ added in v0.46.0
func (_e *IteratorCreator_Expecter) Create() *IteratorCreator_Create_Call
Create is a helper method to define mock.On call
func (*IteratorCreator_Expecter) IteratorState ¶ added in v0.46.0
func (_e *IteratorCreator_Expecter) IteratorState() *IteratorCreator_IteratorState_Call
IteratorState is a helper method to define mock.On call
type IteratorCreator_IteratorState_Call ¶ added in v0.46.0
IteratorCreator_IteratorState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IteratorState'
func (*IteratorCreator_IteratorState_Call) Return ¶ added in v0.46.0
func (_c *IteratorCreator_IteratorState_Call) Return(iteratorStateReader module.IteratorStateReader) *IteratorCreator_IteratorState_Call
func (*IteratorCreator_IteratorState_Call) Run ¶ added in v0.46.0
func (_c *IteratorCreator_IteratorState_Call) Run(run func()) *IteratorCreator_IteratorState_Call
func (*IteratorCreator_IteratorState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IteratorCreator_IteratorState_Call) RunAndReturn(run func() module.IteratorStateReader) *IteratorCreator_IteratorState_Call
type IteratorState ¶ added in v0.39.1
IteratorState is an autogenerated mock type for the IteratorState type
func NewIteratorState ¶ added in v0.39.1
func NewIteratorState(t interface {
mock.TestingT
Cleanup(func())
}) *IteratorState
NewIteratorState creates a new instance of IteratorState. 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 (*IteratorState) EXPECT ¶ added in v0.46.0
func (_m *IteratorState) EXPECT() *IteratorState_Expecter
func (*IteratorState) LoadState ¶ added in v0.39.1
func (_mock *IteratorState) LoadState() (uint64, error)
LoadState provides a mock function for the type IteratorState
func (*IteratorState) SaveState ¶ added in v0.39.1
func (_mock *IteratorState) SaveState(v uint64) error
SaveState provides a mock function for the type IteratorState
type IteratorStateReader ¶ added in v0.39.1
IteratorStateReader is an autogenerated mock type for the IteratorStateReader type
func NewIteratorStateReader ¶ added in v0.39.1
func NewIteratorStateReader(t interface {
mock.TestingT
Cleanup(func())
}) *IteratorStateReader
NewIteratorStateReader creates a new instance of IteratorStateReader. 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 (*IteratorStateReader) EXPECT ¶ added in v0.46.0
func (_m *IteratorStateReader) EXPECT() *IteratorStateReader_Expecter
func (*IteratorStateReader) LoadState ¶ added in v0.39.1
func (_mock *IteratorStateReader) LoadState() (uint64, error)
LoadState provides a mock function for the type IteratorStateReader
type IteratorStateReader_Expecter ¶ added in v0.46.0
type IteratorStateReader_Expecter struct {
// contains filtered or unexported fields
}
func (*IteratorStateReader_Expecter) LoadState ¶ added in v0.46.0
func (_e *IteratorStateReader_Expecter) LoadState() *IteratorStateReader_LoadState_Call
LoadState is a helper method to define mock.On call
type IteratorStateReader_LoadState_Call ¶ added in v0.46.0
IteratorStateReader_LoadState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadState'
func (*IteratorStateReader_LoadState_Call) Return ¶ added in v0.46.0
func (_c *IteratorStateReader_LoadState_Call) Return(progress uint64, exception error) *IteratorStateReader_LoadState_Call
func (*IteratorStateReader_LoadState_Call) Run ¶ added in v0.46.0
func (_c *IteratorStateReader_LoadState_Call) Run(run func()) *IteratorStateReader_LoadState_Call
func (*IteratorStateReader_LoadState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IteratorStateReader_LoadState_Call) RunAndReturn(run func() (uint64, error)) *IteratorStateReader_LoadState_Call
type IteratorStateWriter ¶ added in v0.39.1
IteratorStateWriter is an autogenerated mock type for the IteratorStateWriter type
func NewIteratorStateWriter ¶ added in v0.39.1
func NewIteratorStateWriter(t interface {
mock.TestingT
Cleanup(func())
}) *IteratorStateWriter
NewIteratorStateWriter creates a new instance of IteratorStateWriter. 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 (*IteratorStateWriter) EXPECT ¶ added in v0.46.0
func (_m *IteratorStateWriter) EXPECT() *IteratorStateWriter_Expecter
func (*IteratorStateWriter) SaveState ¶ added in v0.39.1
func (_mock *IteratorStateWriter) SaveState(v uint64) error
SaveState provides a mock function for the type IteratorStateWriter
type IteratorStateWriter_Expecter ¶ added in v0.46.0
type IteratorStateWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*IteratorStateWriter_Expecter) SaveState ¶ added in v0.46.0
func (_e *IteratorStateWriter_Expecter) SaveState(v interface{}) *IteratorStateWriter_SaveState_Call
SaveState is a helper method to define mock.On call
- v uint64
type IteratorStateWriter_SaveState_Call ¶ added in v0.46.0
IteratorStateWriter_SaveState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveState'
func (*IteratorStateWriter_SaveState_Call) Return ¶ added in v0.46.0
func (_c *IteratorStateWriter_SaveState_Call) Return(exception error) *IteratorStateWriter_SaveState_Call
func (*IteratorStateWriter_SaveState_Call) Run ¶ added in v0.46.0
func (_c *IteratorStateWriter_SaveState_Call) Run(run func(v uint64)) *IteratorStateWriter_SaveState_Call
func (*IteratorStateWriter_SaveState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IteratorStateWriter_SaveState_Call) RunAndReturn(run func(v uint64) error) *IteratorStateWriter_SaveState_Call
type IteratorState_Expecter ¶ added in v0.46.0
type IteratorState_Expecter struct {
// contains filtered or unexported fields
}
func (*IteratorState_Expecter) LoadState ¶ added in v0.46.0
func (_e *IteratorState_Expecter) LoadState() *IteratorState_LoadState_Call
LoadState is a helper method to define mock.On call
func (*IteratorState_Expecter) SaveState ¶ added in v0.46.0
func (_e *IteratorState_Expecter) SaveState(v interface{}) *IteratorState_SaveState_Call
SaveState is a helper method to define mock.On call
- v uint64
type IteratorState_LoadState_Call ¶ added in v0.46.0
IteratorState_LoadState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadState'
func (*IteratorState_LoadState_Call) Return ¶ added in v0.46.0
func (_c *IteratorState_LoadState_Call) Return(progress uint64, exception error) *IteratorState_LoadState_Call
func (*IteratorState_LoadState_Call) Run ¶ added in v0.46.0
func (_c *IteratorState_LoadState_Call) Run(run func()) *IteratorState_LoadState_Call
func (*IteratorState_LoadState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IteratorState_LoadState_Call) RunAndReturn(run func() (uint64, error)) *IteratorState_LoadState_Call
type IteratorState_SaveState_Call ¶ added in v0.46.0
IteratorState_SaveState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveState'
func (*IteratorState_SaveState_Call) Return ¶ added in v0.46.0
func (_c *IteratorState_SaveState_Call) Return(exception error) *IteratorState_SaveState_Call
func (*IteratorState_SaveState_Call) Run ¶ added in v0.46.0
func (_c *IteratorState_SaveState_Call) Run(run func(v uint64)) *IteratorState_SaveState_Call
func (*IteratorState_SaveState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IteratorState_SaveState_Call) RunAndReturn(run func(v uint64) error) *IteratorState_SaveState_Call
type Job ¶ added in v0.15.0
Job is an autogenerated mock type for the Job type
func NewJob ¶ added in v0.26.1
NewJob creates a new instance of Job. 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 (*Job) EXPECT ¶ added in v0.46.0
func (_m *Job) EXPECT() *Job_Expecter
type JobConsumer ¶ added in v0.15.0
JobConsumer is an autogenerated mock type for the JobConsumer type
func NewJobConsumer ¶ added in v0.26.1
func NewJobConsumer(t interface {
mock.TestingT
Cleanup(func())
}) *JobConsumer
NewJobConsumer creates a new instance of JobConsumer. 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 (*JobConsumer) Check ¶ added in v0.15.0
func (_mock *JobConsumer) Check()
Check provides a mock function for the type JobConsumer
func (*JobConsumer) EXPECT ¶ added in v0.46.0
func (_m *JobConsumer) EXPECT() *JobConsumer_Expecter
func (*JobConsumer) LastProcessedIndex ¶ added in v0.26.2
func (_mock *JobConsumer) LastProcessedIndex() uint64
LastProcessedIndex provides a mock function for the type JobConsumer
func (*JobConsumer) NotifyJobIsDone ¶ added in v0.15.0
func (_mock *JobConsumer) NotifyJobIsDone(jobID module.JobID) uint64
NotifyJobIsDone provides a mock function for the type JobConsumer
func (*JobConsumer) Size ¶ added in v0.17.6
func (_mock *JobConsumer) Size() uint
Size provides a mock function for the type JobConsumer
func (*JobConsumer) Start ¶ added in v0.15.0
func (_mock *JobConsumer) Start() error
Start provides a mock function for the type JobConsumer
func (*JobConsumer) Stop ¶ added in v0.15.0
func (_mock *JobConsumer) Stop()
Stop provides a mock function for the type JobConsumer
type JobConsumer_Check_Call ¶ added in v0.46.0
JobConsumer_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*JobConsumer_Check_Call) Return ¶ added in v0.46.0
func (_c *JobConsumer_Check_Call) Return() *JobConsumer_Check_Call
func (*JobConsumer_Check_Call) Run ¶ added in v0.46.0
func (_c *JobConsumer_Check_Call) Run(run func()) *JobConsumer_Check_Call
func (*JobConsumer_Check_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobConsumer_Check_Call) RunAndReturn(run func()) *JobConsumer_Check_Call
type JobConsumer_Expecter ¶ added in v0.46.0
type JobConsumer_Expecter struct {
// contains filtered or unexported fields
}
func (*JobConsumer_Expecter) Check ¶ added in v0.46.0
func (_e *JobConsumer_Expecter) Check() *JobConsumer_Check_Call
Check is a helper method to define mock.On call
func (*JobConsumer_Expecter) LastProcessedIndex ¶ added in v0.46.0
func (_e *JobConsumer_Expecter) LastProcessedIndex() *JobConsumer_LastProcessedIndex_Call
LastProcessedIndex is a helper method to define mock.On call
func (*JobConsumer_Expecter) NotifyJobIsDone ¶ added in v0.46.0
func (_e *JobConsumer_Expecter) NotifyJobIsDone(jobID interface{}) *JobConsumer_NotifyJobIsDone_Call
NotifyJobIsDone is a helper method to define mock.On call
- jobID module.JobID
func (*JobConsumer_Expecter) Size ¶ added in v0.46.0
func (_e *JobConsumer_Expecter) Size() *JobConsumer_Size_Call
Size is a helper method to define mock.On call
func (*JobConsumer_Expecter) Start ¶ added in v0.46.0
func (_e *JobConsumer_Expecter) Start() *JobConsumer_Start_Call
Start is a helper method to define mock.On call
func (*JobConsumer_Expecter) Stop ¶ added in v0.46.0
func (_e *JobConsumer_Expecter) Stop() *JobConsumer_Stop_Call
Stop is a helper method to define mock.On call
type JobConsumer_LastProcessedIndex_Call ¶ added in v0.46.0
JobConsumer_LastProcessedIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastProcessedIndex'
func (*JobConsumer_LastProcessedIndex_Call) Return ¶ added in v0.46.0
func (_c *JobConsumer_LastProcessedIndex_Call) Return(v uint64) *JobConsumer_LastProcessedIndex_Call
func (*JobConsumer_LastProcessedIndex_Call) Run ¶ added in v0.46.0
func (_c *JobConsumer_LastProcessedIndex_Call) Run(run func()) *JobConsumer_LastProcessedIndex_Call
func (*JobConsumer_LastProcessedIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobConsumer_LastProcessedIndex_Call) RunAndReturn(run func() uint64) *JobConsumer_LastProcessedIndex_Call
type JobConsumer_NotifyJobIsDone_Call ¶ added in v0.46.0
JobConsumer_NotifyJobIsDone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotifyJobIsDone'
func (*JobConsumer_NotifyJobIsDone_Call) Return ¶ added in v0.46.0
func (_c *JobConsumer_NotifyJobIsDone_Call) Return(v uint64) *JobConsumer_NotifyJobIsDone_Call
func (*JobConsumer_NotifyJobIsDone_Call) Run ¶ added in v0.46.0
func (_c *JobConsumer_NotifyJobIsDone_Call) Run(run func(jobID module.JobID)) *JobConsumer_NotifyJobIsDone_Call
func (*JobConsumer_NotifyJobIsDone_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobConsumer_NotifyJobIsDone_Call) RunAndReturn(run func(jobID module.JobID) uint64) *JobConsumer_NotifyJobIsDone_Call
type JobConsumer_Size_Call ¶ added in v0.46.0
JobConsumer_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*JobConsumer_Size_Call) Return ¶ added in v0.46.0
func (_c *JobConsumer_Size_Call) Return(v uint) *JobConsumer_Size_Call
func (*JobConsumer_Size_Call) Run ¶ added in v0.46.0
func (_c *JobConsumer_Size_Call) Run(run func()) *JobConsumer_Size_Call
func (*JobConsumer_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobConsumer_Size_Call) RunAndReturn(run func() uint) *JobConsumer_Size_Call
type JobConsumer_Start_Call ¶ added in v0.46.0
JobConsumer_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*JobConsumer_Start_Call) Return ¶ added in v0.46.0
func (_c *JobConsumer_Start_Call) Return(err error) *JobConsumer_Start_Call
func (*JobConsumer_Start_Call) Run ¶ added in v0.46.0
func (_c *JobConsumer_Start_Call) Run(run func()) *JobConsumer_Start_Call
func (*JobConsumer_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobConsumer_Start_Call) RunAndReturn(run func() error) *JobConsumer_Start_Call
type JobConsumer_Stop_Call ¶ added in v0.46.0
JobConsumer_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*JobConsumer_Stop_Call) Return ¶ added in v0.46.0
func (_c *JobConsumer_Stop_Call) Return() *JobConsumer_Stop_Call
func (*JobConsumer_Stop_Call) Run ¶ added in v0.46.0
func (_c *JobConsumer_Stop_Call) Run(run func()) *JobConsumer_Stop_Call
func (*JobConsumer_Stop_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobConsumer_Stop_Call) RunAndReturn(run func()) *JobConsumer_Stop_Call
type JobQueue ¶ added in v0.15.0
JobQueue is an autogenerated mock type for the JobQueue type
func NewJobQueue ¶ added in v0.26.1
NewJobQueue creates a new instance of JobQueue. 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 (*JobQueue) EXPECT ¶ added in v0.46.0
func (_m *JobQueue) EXPECT() *JobQueue_Expecter
type JobQueue_Add_Call ¶ added in v0.46.0
JobQueue_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*JobQueue_Add_Call) Return ¶ added in v0.46.0
func (_c *JobQueue_Add_Call) Return(err error) *JobQueue_Add_Call
func (*JobQueue_Add_Call) Run ¶ added in v0.46.0
func (_c *JobQueue_Add_Call) Run(run func(job module.Job)) *JobQueue_Add_Call
func (*JobQueue_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *JobQueue_Add_Call) RunAndReturn(run func(job module.Job) error) *JobQueue_Add_Call
type JobQueue_Expecter ¶ added in v0.46.0
type JobQueue_Expecter struct {
// contains filtered or unexported fields
}
func (*JobQueue_Expecter) Add ¶ added in v0.46.0
func (_e *JobQueue_Expecter) Add(job interface{}) *JobQueue_Add_Call
Add is a helper method to define mock.On call
- job module.Job
type Job_Expecter ¶ added in v0.46.0
type Job_Expecter struct {
// contains filtered or unexported fields
}
func (*Job_Expecter) ID ¶ added in v0.46.0
func (_e *Job_Expecter) ID() *Job_ID_Call
ID is a helper method to define mock.On call
type Job_ID_Call ¶ added in v0.46.0
Job_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*Job_ID_Call) Return ¶ added in v0.46.0
func (_c *Job_ID_Call) Return(jobID module.JobID) *Job_ID_Call
func (*Job_ID_Call) Run ¶ added in v0.46.0
func (_c *Job_ID_Call) Run(run func()) *Job_ID_Call
func (*Job_ID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Job_ID_Call) RunAndReturn(run func() module.JobID) *Job_ID_Call
type Jobs ¶ added in v0.15.0
Jobs is an autogenerated mock type for the Jobs type
func NewJobs ¶ added in v0.26.1
NewJobs creates a new instance of Jobs. 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 (*Jobs) EXPECT ¶ added in v0.46.0
func (_m *Jobs) EXPECT() *Jobs_Expecter
type Jobs_AtIndex_Call ¶ added in v0.46.0
Jobs_AtIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AtIndex'
func (*Jobs_AtIndex_Call) Return ¶ added in v0.46.0
func (_c *Jobs_AtIndex_Call) Return(job module.Job, err error) *Jobs_AtIndex_Call
func (*Jobs_AtIndex_Call) Run ¶ added in v0.46.0
func (_c *Jobs_AtIndex_Call) Run(run func(index uint64)) *Jobs_AtIndex_Call
func (*Jobs_AtIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Jobs_AtIndex_Call) RunAndReturn(run func(index uint64) (module.Job, error)) *Jobs_AtIndex_Call
type Jobs_Expecter ¶ added in v0.46.0
type Jobs_Expecter struct {
// contains filtered or unexported fields
}
func (*Jobs_Expecter) AtIndex ¶ added in v0.46.0
func (_e *Jobs_Expecter) AtIndex(index interface{}) *Jobs_AtIndex_Call
AtIndex is a helper method to define mock.On call
- index uint64
func (*Jobs_Expecter) Head ¶ added in v0.46.0
func (_e *Jobs_Expecter) Head() *Jobs_Head_Call
Head is a helper method to define mock.On call
type Jobs_Head_Call ¶ added in v0.46.0
Jobs_Head_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Head'
func (*Jobs_Head_Call) Return ¶ added in v0.46.0
func (_c *Jobs_Head_Call) Return(v uint64, err error) *Jobs_Head_Call
func (*Jobs_Head_Call) Run ¶ added in v0.46.0
func (_c *Jobs_Head_Call) Run(run func()) *Jobs_Head_Call
func (*Jobs_Head_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Jobs_Head_Call) RunAndReturn(run func() (uint64, error)) *Jobs_Head_Call
type LedgerMetrics ¶
LedgerMetrics is an autogenerated mock type for the LedgerMetrics type
func NewLedgerMetrics ¶ added in v0.26.1
func NewLedgerMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *LedgerMetrics
NewLedgerMetrics creates a new instance of LedgerMetrics. 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 (*LedgerMetrics) EXPECT ¶ added in v0.46.0
func (_m *LedgerMetrics) EXPECT() *LedgerMetrics_Expecter
func (*LedgerMetrics) ForestApproxMemorySize ¶
func (_mock *LedgerMetrics) ForestApproxMemorySize(bytes uint64)
ForestApproxMemorySize provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) ForestNumberOfTrees ¶
func (_mock *LedgerMetrics) ForestNumberOfTrees(number uint64)
ForestNumberOfTrees provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) LatestTrieMaxDepthTouched ¶ added in v0.25.2
func (_mock *LedgerMetrics) LatestTrieMaxDepthTouched(maxDepth uint16)
LatestTrieMaxDepthTouched provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) LatestTrieRegCount ¶
func (_mock *LedgerMetrics) LatestTrieRegCount(number uint64)
LatestTrieRegCount provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) LatestTrieRegCountDiff ¶
func (_mock *LedgerMetrics) LatestTrieRegCountDiff(number int64)
LatestTrieRegCountDiff provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) LatestTrieRegSize ¶ added in v0.25.2
func (_mock *LedgerMetrics) LatestTrieRegSize(size uint64)
LatestTrieRegSize provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) LatestTrieRegSizeDiff ¶ added in v0.25.2
func (_mock *LedgerMetrics) LatestTrieRegSizeDiff(size int64)
LatestTrieRegSizeDiff provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) ProofSize ¶
func (_mock *LedgerMetrics) ProofSize(bytes uint32)
ProofSize provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) ReadDuration ¶
func (_mock *LedgerMetrics) ReadDuration(duration time.Duration)
ReadDuration provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) ReadDurationPerItem ¶
func (_mock *LedgerMetrics) ReadDurationPerItem(duration time.Duration)
ReadDurationPerItem provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) ReadValuesNumber ¶
func (_mock *LedgerMetrics) ReadValuesNumber(number uint64)
ReadValuesNumber provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) ReadValuesSize ¶
func (_mock *LedgerMetrics) ReadValuesSize(byte uint64)
ReadValuesSize provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) UpdateCount ¶
func (_mock *LedgerMetrics) UpdateCount()
UpdateCount provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) UpdateDuration ¶
func (_mock *LedgerMetrics) UpdateDuration(duration time.Duration)
UpdateDuration provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) UpdateDurationPerItem ¶
func (_mock *LedgerMetrics) UpdateDurationPerItem(duration time.Duration)
UpdateDurationPerItem provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) UpdateValuesNumber ¶
func (_mock *LedgerMetrics) UpdateValuesNumber(number uint64)
UpdateValuesNumber provides a mock function for the type LedgerMetrics
func (*LedgerMetrics) UpdateValuesSize ¶
func (_mock *LedgerMetrics) UpdateValuesSize(byte uint64)
UpdateValuesSize provides a mock function for the type LedgerMetrics
type LedgerMetrics_Expecter ¶ added in v0.46.0
type LedgerMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*LedgerMetrics_Expecter) ForestApproxMemorySize ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ForestApproxMemorySize(bytes interface{}) *LedgerMetrics_ForestApproxMemorySize_Call
ForestApproxMemorySize is a helper method to define mock.On call
- bytes uint64
func (*LedgerMetrics_Expecter) ForestNumberOfTrees ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ForestNumberOfTrees(number interface{}) *LedgerMetrics_ForestNumberOfTrees_Call
ForestNumberOfTrees is a helper method to define mock.On call
- number uint64
func (*LedgerMetrics_Expecter) LatestTrieMaxDepthTouched ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) LatestTrieMaxDepthTouched(maxDepth interface{}) *LedgerMetrics_LatestTrieMaxDepthTouched_Call
LatestTrieMaxDepthTouched is a helper method to define mock.On call
- maxDepth uint16
func (*LedgerMetrics_Expecter) LatestTrieRegCount ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) LatestTrieRegCount(number interface{}) *LedgerMetrics_LatestTrieRegCount_Call
LatestTrieRegCount is a helper method to define mock.On call
- number uint64
func (*LedgerMetrics_Expecter) LatestTrieRegCountDiff ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) LatestTrieRegCountDiff(number interface{}) *LedgerMetrics_LatestTrieRegCountDiff_Call
LatestTrieRegCountDiff is a helper method to define mock.On call
- number int64
func (*LedgerMetrics_Expecter) LatestTrieRegSize ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) LatestTrieRegSize(size interface{}) *LedgerMetrics_LatestTrieRegSize_Call
LatestTrieRegSize is a helper method to define mock.On call
- size uint64
func (*LedgerMetrics_Expecter) LatestTrieRegSizeDiff ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) LatestTrieRegSizeDiff(size interface{}) *LedgerMetrics_LatestTrieRegSizeDiff_Call
LatestTrieRegSizeDiff is a helper method to define mock.On call
- size int64
func (*LedgerMetrics_Expecter) ProofSize ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ProofSize(bytes interface{}) *LedgerMetrics_ProofSize_Call
ProofSize is a helper method to define mock.On call
- bytes uint32
func (*LedgerMetrics_Expecter) ReadDuration ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ReadDuration(duration interface{}) *LedgerMetrics_ReadDuration_Call
ReadDuration is a helper method to define mock.On call
- duration time.Duration
func (*LedgerMetrics_Expecter) ReadDurationPerItem ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ReadDurationPerItem(duration interface{}) *LedgerMetrics_ReadDurationPerItem_Call
ReadDurationPerItem is a helper method to define mock.On call
- duration time.Duration
func (*LedgerMetrics_Expecter) ReadValuesNumber ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ReadValuesNumber(number interface{}) *LedgerMetrics_ReadValuesNumber_Call
ReadValuesNumber is a helper method to define mock.On call
- number uint64
func (*LedgerMetrics_Expecter) ReadValuesSize ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) ReadValuesSize(byte interface{}) *LedgerMetrics_ReadValuesSize_Call
ReadValuesSize is a helper method to define mock.On call
- byte uint64
func (*LedgerMetrics_Expecter) UpdateCount ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) UpdateCount() *LedgerMetrics_UpdateCount_Call
UpdateCount is a helper method to define mock.On call
func (*LedgerMetrics_Expecter) UpdateDuration ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) UpdateDuration(duration interface{}) *LedgerMetrics_UpdateDuration_Call
UpdateDuration is a helper method to define mock.On call
- duration time.Duration
func (*LedgerMetrics_Expecter) UpdateDurationPerItem ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) UpdateDurationPerItem(duration interface{}) *LedgerMetrics_UpdateDurationPerItem_Call
UpdateDurationPerItem is a helper method to define mock.On call
- duration time.Duration
func (*LedgerMetrics_Expecter) UpdateValuesNumber ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) UpdateValuesNumber(number interface{}) *LedgerMetrics_UpdateValuesNumber_Call
UpdateValuesNumber is a helper method to define mock.On call
- number uint64
func (*LedgerMetrics_Expecter) UpdateValuesSize ¶ added in v0.46.0
func (_e *LedgerMetrics_Expecter) UpdateValuesSize(byte interface{}) *LedgerMetrics_UpdateValuesSize_Call
UpdateValuesSize is a helper method to define mock.On call
- byte uint64
type LedgerMetrics_ForestApproxMemorySize_Call ¶ added in v0.46.0
LedgerMetrics_ForestApproxMemorySize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForestApproxMemorySize'
func (*LedgerMetrics_ForestApproxMemorySize_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ForestApproxMemorySize_Call) Return() *LedgerMetrics_ForestApproxMemorySize_Call
func (*LedgerMetrics_ForestApproxMemorySize_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ForestApproxMemorySize_Call) Run(run func(bytes uint64)) *LedgerMetrics_ForestApproxMemorySize_Call
func (*LedgerMetrics_ForestApproxMemorySize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ForestApproxMemorySize_Call) RunAndReturn(run func(bytes uint64)) *LedgerMetrics_ForestApproxMemorySize_Call
type LedgerMetrics_ForestNumberOfTrees_Call ¶ added in v0.46.0
LedgerMetrics_ForestNumberOfTrees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForestNumberOfTrees'
func (*LedgerMetrics_ForestNumberOfTrees_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ForestNumberOfTrees_Call) Return() *LedgerMetrics_ForestNumberOfTrees_Call
func (*LedgerMetrics_ForestNumberOfTrees_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ForestNumberOfTrees_Call) Run(run func(number uint64)) *LedgerMetrics_ForestNumberOfTrees_Call
func (*LedgerMetrics_ForestNumberOfTrees_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ForestNumberOfTrees_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_ForestNumberOfTrees_Call
type LedgerMetrics_LatestTrieMaxDepthTouched_Call ¶ added in v0.46.0
LedgerMetrics_LatestTrieMaxDepthTouched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieMaxDepthTouched'
func (*LedgerMetrics_LatestTrieMaxDepthTouched_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieMaxDepthTouched_Call) Return() *LedgerMetrics_LatestTrieMaxDepthTouched_Call
func (*LedgerMetrics_LatestTrieMaxDepthTouched_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieMaxDepthTouched_Call) Run(run func(maxDepth uint16)) *LedgerMetrics_LatestTrieMaxDepthTouched_Call
func (*LedgerMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn(run func(maxDepth uint16)) *LedgerMetrics_LatestTrieMaxDepthTouched_Call
type LedgerMetrics_LatestTrieRegCountDiff_Call ¶ added in v0.46.0
LedgerMetrics_LatestTrieRegCountDiff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegCountDiff'
func (*LedgerMetrics_LatestTrieRegCountDiff_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegCountDiff_Call) Return() *LedgerMetrics_LatestTrieRegCountDiff_Call
func (*LedgerMetrics_LatestTrieRegCountDiff_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegCountDiff_Call) Run(run func(number int64)) *LedgerMetrics_LatestTrieRegCountDiff_Call
func (*LedgerMetrics_LatestTrieRegCountDiff_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegCountDiff_Call) RunAndReturn(run func(number int64)) *LedgerMetrics_LatestTrieRegCountDiff_Call
type LedgerMetrics_LatestTrieRegCount_Call ¶ added in v0.46.0
LedgerMetrics_LatestTrieRegCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegCount'
func (*LedgerMetrics_LatestTrieRegCount_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegCount_Call) Return() *LedgerMetrics_LatestTrieRegCount_Call
func (*LedgerMetrics_LatestTrieRegCount_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegCount_Call) Run(run func(number uint64)) *LedgerMetrics_LatestTrieRegCount_Call
func (*LedgerMetrics_LatestTrieRegCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegCount_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_LatestTrieRegCount_Call
type LedgerMetrics_LatestTrieRegSizeDiff_Call ¶ added in v0.46.0
LedgerMetrics_LatestTrieRegSizeDiff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegSizeDiff'
func (*LedgerMetrics_LatestTrieRegSizeDiff_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegSizeDiff_Call) Return() *LedgerMetrics_LatestTrieRegSizeDiff_Call
func (*LedgerMetrics_LatestTrieRegSizeDiff_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegSizeDiff_Call) Run(run func(size int64)) *LedgerMetrics_LatestTrieRegSizeDiff_Call
func (*LedgerMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn(run func(size int64)) *LedgerMetrics_LatestTrieRegSizeDiff_Call
type LedgerMetrics_LatestTrieRegSize_Call ¶ added in v0.46.0
LedgerMetrics_LatestTrieRegSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieRegSize'
func (*LedgerMetrics_LatestTrieRegSize_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegSize_Call) Return() *LedgerMetrics_LatestTrieRegSize_Call
func (*LedgerMetrics_LatestTrieRegSize_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegSize_Call) Run(run func(size uint64)) *LedgerMetrics_LatestTrieRegSize_Call
func (*LedgerMetrics_LatestTrieRegSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_LatestTrieRegSize_Call) RunAndReturn(run func(size uint64)) *LedgerMetrics_LatestTrieRegSize_Call
type LedgerMetrics_ProofSize_Call ¶ added in v0.46.0
LedgerMetrics_ProofSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProofSize'
func (*LedgerMetrics_ProofSize_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ProofSize_Call) Return() *LedgerMetrics_ProofSize_Call
func (*LedgerMetrics_ProofSize_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ProofSize_Call) Run(run func(bytes uint32)) *LedgerMetrics_ProofSize_Call
func (*LedgerMetrics_ProofSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ProofSize_Call) RunAndReturn(run func(bytes uint32)) *LedgerMetrics_ProofSize_Call
type LedgerMetrics_ReadDurationPerItem_Call ¶ added in v0.46.0
LedgerMetrics_ReadDurationPerItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadDurationPerItem'
func (*LedgerMetrics_ReadDurationPerItem_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadDurationPerItem_Call) Return() *LedgerMetrics_ReadDurationPerItem_Call
func (*LedgerMetrics_ReadDurationPerItem_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadDurationPerItem_Call) Run(run func(duration time.Duration)) *LedgerMetrics_ReadDurationPerItem_Call
func (*LedgerMetrics_ReadDurationPerItem_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_ReadDurationPerItem_Call
type LedgerMetrics_ReadDuration_Call ¶ added in v0.46.0
LedgerMetrics_ReadDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadDuration'
func (*LedgerMetrics_ReadDuration_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadDuration_Call) Return() *LedgerMetrics_ReadDuration_Call
func (*LedgerMetrics_ReadDuration_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadDuration_Call) Run(run func(duration time.Duration)) *LedgerMetrics_ReadDuration_Call
func (*LedgerMetrics_ReadDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadDuration_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_ReadDuration_Call
type LedgerMetrics_ReadValuesNumber_Call ¶ added in v0.46.0
LedgerMetrics_ReadValuesNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadValuesNumber'
func (*LedgerMetrics_ReadValuesNumber_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadValuesNumber_Call) Return() *LedgerMetrics_ReadValuesNumber_Call
func (*LedgerMetrics_ReadValuesNumber_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadValuesNumber_Call) Run(run func(number uint64)) *LedgerMetrics_ReadValuesNumber_Call
func (*LedgerMetrics_ReadValuesNumber_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadValuesNumber_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_ReadValuesNumber_Call
type LedgerMetrics_ReadValuesSize_Call ¶ added in v0.46.0
LedgerMetrics_ReadValuesSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadValuesSize'
func (*LedgerMetrics_ReadValuesSize_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadValuesSize_Call) Return() *LedgerMetrics_ReadValuesSize_Call
func (*LedgerMetrics_ReadValuesSize_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadValuesSize_Call) Run(run func(byte uint64)) *LedgerMetrics_ReadValuesSize_Call
func (*LedgerMetrics_ReadValuesSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_ReadValuesSize_Call) RunAndReturn(run func(byte uint64)) *LedgerMetrics_ReadValuesSize_Call
type LedgerMetrics_UpdateCount_Call ¶ added in v0.46.0
LedgerMetrics_UpdateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCount'
func (*LedgerMetrics_UpdateCount_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateCount_Call) Return() *LedgerMetrics_UpdateCount_Call
func (*LedgerMetrics_UpdateCount_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateCount_Call) Run(run func()) *LedgerMetrics_UpdateCount_Call
func (*LedgerMetrics_UpdateCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateCount_Call) RunAndReturn(run func()) *LedgerMetrics_UpdateCount_Call
type LedgerMetrics_UpdateDurationPerItem_Call ¶ added in v0.46.0
LedgerMetrics_UpdateDurationPerItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDurationPerItem'
func (*LedgerMetrics_UpdateDurationPerItem_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateDurationPerItem_Call) Return() *LedgerMetrics_UpdateDurationPerItem_Call
func (*LedgerMetrics_UpdateDurationPerItem_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateDurationPerItem_Call) Run(run func(duration time.Duration)) *LedgerMetrics_UpdateDurationPerItem_Call
func (*LedgerMetrics_UpdateDurationPerItem_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateDurationPerItem_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_UpdateDurationPerItem_Call
type LedgerMetrics_UpdateDuration_Call ¶ added in v0.46.0
LedgerMetrics_UpdateDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDuration'
func (*LedgerMetrics_UpdateDuration_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateDuration_Call) Return() *LedgerMetrics_UpdateDuration_Call
func (*LedgerMetrics_UpdateDuration_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateDuration_Call) Run(run func(duration time.Duration)) *LedgerMetrics_UpdateDuration_Call
func (*LedgerMetrics_UpdateDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateDuration_Call) RunAndReturn(run func(duration time.Duration)) *LedgerMetrics_UpdateDuration_Call
type LedgerMetrics_UpdateValuesNumber_Call ¶ added in v0.46.0
LedgerMetrics_UpdateValuesNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateValuesNumber'
func (*LedgerMetrics_UpdateValuesNumber_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateValuesNumber_Call) Return() *LedgerMetrics_UpdateValuesNumber_Call
func (*LedgerMetrics_UpdateValuesNumber_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateValuesNumber_Call) Run(run func(number uint64)) *LedgerMetrics_UpdateValuesNumber_Call
func (*LedgerMetrics_UpdateValuesNumber_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateValuesNumber_Call) RunAndReturn(run func(number uint64)) *LedgerMetrics_UpdateValuesNumber_Call
type LedgerMetrics_UpdateValuesSize_Call ¶ added in v0.46.0
LedgerMetrics_UpdateValuesSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateValuesSize'
func (*LedgerMetrics_UpdateValuesSize_Call) Return ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateValuesSize_Call) Return() *LedgerMetrics_UpdateValuesSize_Call
func (*LedgerMetrics_UpdateValuesSize_Call) Run ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateValuesSize_Call) Run(run func(byte uint64)) *LedgerMetrics_UpdateValuesSize_Call
func (*LedgerMetrics_UpdateValuesSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerMetrics_UpdateValuesSize_Call) RunAndReturn(run func(byte uint64)) *LedgerMetrics_UpdateValuesSize_Call
type LibP2PConnectionMetrics ¶ added in v0.29.1
LibP2PConnectionMetrics is an autogenerated mock type for the LibP2PConnectionMetrics type
func NewLibP2PConnectionMetrics ¶ added in v0.29.1
func NewLibP2PConnectionMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *LibP2PConnectionMetrics
NewLibP2PConnectionMetrics creates a new instance of LibP2PConnectionMetrics. 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 (*LibP2PConnectionMetrics) EXPECT ¶ added in v0.46.0
func (_m *LibP2PConnectionMetrics) EXPECT() *LibP2PConnectionMetrics_Expecter
func (*LibP2PConnectionMetrics) InboundConnections ¶ added in v0.29.1
func (_mock *LibP2PConnectionMetrics) InboundConnections(connectionCount uint)
InboundConnections provides a mock function for the type LibP2PConnectionMetrics
func (*LibP2PConnectionMetrics) OutboundConnections ¶ added in v0.29.1
func (_mock *LibP2PConnectionMetrics) OutboundConnections(connectionCount uint)
OutboundConnections provides a mock function for the type LibP2PConnectionMetrics
type LibP2PConnectionMetrics_Expecter ¶ added in v0.46.0
type LibP2PConnectionMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*LibP2PConnectionMetrics_Expecter) InboundConnections ¶ added in v0.46.0
func (_e *LibP2PConnectionMetrics_Expecter) InboundConnections(connectionCount interface{}) *LibP2PConnectionMetrics_InboundConnections_Call
InboundConnections is a helper method to define mock.On call
- connectionCount uint
func (*LibP2PConnectionMetrics_Expecter) OutboundConnections ¶ added in v0.46.0
func (_e *LibP2PConnectionMetrics_Expecter) OutboundConnections(connectionCount interface{}) *LibP2PConnectionMetrics_OutboundConnections_Call
OutboundConnections is a helper method to define mock.On call
- connectionCount uint
type LibP2PConnectionMetrics_InboundConnections_Call ¶ added in v0.46.0
LibP2PConnectionMetrics_InboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundConnections'
func (*LibP2PConnectionMetrics_InboundConnections_Call) Run ¶ added in v0.46.0
func (_c *LibP2PConnectionMetrics_InboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PConnectionMetrics_InboundConnections_Call
func (*LibP2PConnectionMetrics_InboundConnections_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PConnectionMetrics_InboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PConnectionMetrics_InboundConnections_Call
type LibP2PConnectionMetrics_OutboundConnections_Call ¶ added in v0.46.0
LibP2PConnectionMetrics_OutboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundConnections'
func (*LibP2PConnectionMetrics_OutboundConnections_Call) Run ¶ added in v0.46.0
func (_c *LibP2PConnectionMetrics_OutboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PConnectionMetrics_OutboundConnections_Call
func (*LibP2PConnectionMetrics_OutboundConnections_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PConnectionMetrics_OutboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PConnectionMetrics_OutboundConnections_Call
type LibP2PMetrics ¶ added in v0.29.0
LibP2PMetrics is an autogenerated mock type for the LibP2PMetrics type
func NewLibP2PMetrics ¶ added in v0.29.0
func NewLibP2PMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *LibP2PMetrics
NewLibP2PMetrics creates a new instance of LibP2PMetrics. 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 (*LibP2PMetrics) AllowConn ¶ added in v0.29.0
func (_mock *LibP2PMetrics) AllowConn(dir network.Direction, usefd bool)
AllowConn provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AllowMemory ¶ added in v0.29.0
func (_mock *LibP2PMetrics) AllowMemory(size int)
AllowMemory provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AllowPeer ¶ added in v0.29.0
func (_mock *LibP2PMetrics) AllowPeer(p peer.ID)
AllowPeer provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AllowProtocol ¶ added in v0.29.0
func (_mock *LibP2PMetrics) AllowProtocol(proto protocol.ID)
AllowProtocol provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AllowService ¶ added in v0.29.0
func (_mock *LibP2PMetrics) AllowService(svc string)
AllowService provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AllowStream ¶ added in v0.29.0
func (_mock *LibP2PMetrics) AllowStream(p peer.ID, dir network.Direction)
AllowStream provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AsyncProcessingFinished ¶ added in v0.31.0
func (_mock *LibP2PMetrics) AsyncProcessingFinished(duration time.Duration)
AsyncProcessingFinished provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) AsyncProcessingStarted ¶ added in v0.31.0
func (_mock *LibP2PMetrics) AsyncProcessingStarted()
AsyncProcessingStarted provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockConn ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockConn(dir network.Direction, usefd bool)
BlockConn provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockMemory ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockMemory(size int)
BlockMemory provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockPeer ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockPeer(p peer.ID)
BlockPeer provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockProtocol ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockProtocol(proto protocol.ID)
BlockProtocol provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockProtocolPeer ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockProtocolPeer(proto protocol.ID, p peer.ID)
BlockProtocolPeer provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockService ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockService(svc string)
BlockService provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockServicePeer ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockServicePeer(svc string, p peer.ID)
BlockServicePeer provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) BlockStream ¶ added in v0.29.0
func (_mock *LibP2PMetrics) BlockStream(p peer.ID, dir network.Direction)
BlockStream provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) DNSLookupDuration ¶ added in v0.29.0
func (_mock *LibP2PMetrics) DNSLookupDuration(duration time.Duration)
DNSLookupDuration provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) DuplicateMessagePenalties ¶ added in v0.33.30
func (_mock *LibP2PMetrics) DuplicateMessagePenalties(penalty float64)
DuplicateMessagePenalties provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) DuplicateMessagesCounts ¶ added in v0.33.30
func (_mock *LibP2PMetrics) DuplicateMessagesCounts(count float64)
DuplicateMessagesCounts provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) EXPECT ¶ added in v0.46.0
func (_m *LibP2PMetrics) EXPECT() *LibP2PMetrics_Expecter
func (*LibP2PMetrics) InboundConnections ¶ added in v0.29.1
func (_mock *LibP2PMetrics) InboundConnections(connectionCount uint)
InboundConnections provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnActiveClusterIDsNotSetErr ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnActiveClusterIDsNotSetErr()
OnActiveClusterIDsNotSetErr provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnAppSpecificScoreUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnAppSpecificScoreUpdated(f float64)
OnAppSpecificScoreUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnBehaviourPenaltyUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnBehaviourPenaltyUpdated(f float64)
OnBehaviourPenaltyUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnControlMessagesTruncated ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
OnControlMessagesTruncated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnDNSCacheHit ¶ added in v0.29.0
func (_mock *LibP2PMetrics) OnDNSCacheHit()
OnDNSCacheHit provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnDNSCacheInvalidated ¶ added in v0.29.0
func (_mock *LibP2PMetrics) OnDNSCacheInvalidated()
OnDNSCacheInvalidated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnDNSCacheMiss ¶ added in v0.29.0
func (_mock *LibP2PMetrics) OnDNSCacheMiss()
OnDNSCacheMiss provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnDNSLookupRequestDropped ¶ added in v0.29.0
func (_mock *LibP2PMetrics) OnDNSLookupRequestDropped()
OnDNSLookupRequestDropped provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnDialRetryBudgetResetToDefault ¶ added in v0.32.2
func (_mock *LibP2PMetrics) OnDialRetryBudgetResetToDefault()
OnDialRetryBudgetResetToDefault provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnDialRetryBudgetUpdated ¶ added in v0.32.2
func (_mock *LibP2PMetrics) OnDialRetryBudgetUpdated(budget uint64)
OnDialRetryBudgetUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnEstablishStreamFailure ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnEstablishStreamFailure(duration time.Duration, attempts int)
OnEstablishStreamFailure provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnFirstMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
OnFirstMessageDeliveredUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
OnGraftDuplicateTopicIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *LibP2PMetrics) OnGraftInvalidTopicIdsExceedThreshold()
OnGraftInvalidTopicIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnGraftMessageInspected ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnGraftMessageInspected provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIHaveControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnIHaveControlMessageIdsTruncated(diff int)
OnIHaveControlMessageIdsTruncated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
OnIHaveDuplicateMessageIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
OnIHaveDuplicateTopicIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *LibP2PMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
OnIHaveInvalidTopicIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIHaveMessageIDsReceived ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
OnIHaveMessageIDsReceived provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIHaveMessagesInspected ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
OnIHaveMessagesInspected provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIPColocationFactorUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnIPColocationFactorUpdated(f float64)
OnIPColocationFactorUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
OnIWantCacheMissMessageIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIWantControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnIWantControlMessageIdsTruncated(diff int)
OnIWantControlMessageIdsTruncated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
OnIWantDuplicateMessageIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIWantMessageIDsReceived ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnIWantMessageIDsReceived(msgIdCount int)
OnIWantMessageIDsReceived provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIWantMessagesInspected ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
OnIWantMessagesInspected provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnIncomingRpcReceived ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
OnIncomingRpcReceived provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnInvalidControlMessageNotificationSent ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnInvalidControlMessageNotificationSent()
OnInvalidControlMessageNotificationSent provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnInvalidMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
OnInvalidMessageDeliveredUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
OnInvalidTopicIdDetectedForControlMessage provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnLocalMeshSizeUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnLocalMeshSizeUpdated(topic string, size int)
OnLocalMeshSizeUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnLocalPeerJoinedTopic ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnLocalPeerJoinedTopic()
OnLocalPeerJoinedTopic provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnLocalPeerLeftTopic ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnLocalPeerLeftTopic()
OnLocalPeerLeftTopic provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnMeshMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
OnMeshMessageDeliveredUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnMessageDeliveredToAllSubscribers ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnMessageDeliveredToAllSubscribers(size int)
OnMessageDeliveredToAllSubscribers provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnMessageDuplicate ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnMessageDuplicate(size int)
OnMessageDuplicate provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnMessageEnteredValidation ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnMessageEnteredValidation(size int)
OnMessageEnteredValidation provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnMessageRejected ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnMessageRejected(size int, reason string)
OnMessageRejected provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnOutboundRpcDropped ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnOutboundRpcDropped()
OnOutboundRpcDropped provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnOverallPeerScoreUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnOverallPeerScoreUpdated(f float64)
OnOverallPeerScoreUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerAddedToProtocol ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnPeerAddedToProtocol(protocol1 string)
OnPeerAddedToProtocol provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerDialFailure ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnPeerDialFailure(duration time.Duration, attempts int)
OnPeerDialFailure provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerDialed ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnPeerDialed(duration time.Duration, attempts int)
OnPeerDialed provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerGraftTopic ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnPeerGraftTopic(topic string)
OnPeerGraftTopic provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerPruneTopic ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnPeerPruneTopic(topic string)
OnPeerPruneTopic provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerRemovedFromProtocol ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnPeerRemovedFromProtocol()
OnPeerRemovedFromProtocol provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPeerThrottled ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnPeerThrottled()
OnPeerThrottled provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
OnPruneDuplicateTopicIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *LibP2PMetrics) OnPruneInvalidTopicIdsExceedThreshold()
OnPruneInvalidTopicIdsExceedThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPruneMessageInspected ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnPruneMessageInspected provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPublishMessageInspected ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)
OnPublishMessageInspected provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
OnPublishMessagesInspectionErrorExceedsThreshold provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnRpcReceived ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcReceived provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnRpcRejectedFromUnknownSender ¶ added in v0.33.30
func (_mock *LibP2PMetrics) OnRpcRejectedFromUnknownSender()
OnRpcRejectedFromUnknownSender provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnRpcSent ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcSent provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnStreamCreated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnStreamCreated(duration time.Duration, attempts int)
OnStreamCreated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnStreamCreationFailure ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnStreamCreationFailure(duration time.Duration, attempts int)
OnStreamCreationFailure provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnStreamCreationRetryBudgetResetToDefault ¶ added in v0.32.2
func (_mock *LibP2PMetrics) OnStreamCreationRetryBudgetResetToDefault()
OnStreamCreationRetryBudgetResetToDefault provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnStreamCreationRetryBudgetUpdated ¶ added in v0.32.2
func (_mock *LibP2PMetrics) OnStreamCreationRetryBudgetUpdated(budget uint64)
OnStreamCreationRetryBudgetUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnStreamEstablished ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnStreamEstablished(duration time.Duration, attempts int)
OnStreamEstablished provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnTimeInMeshUpdated ¶ added in v0.30.0
func (_mock *LibP2PMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
OnTimeInMeshUpdated provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnUndeliveredMessage ¶ added in v0.33.1
func (_mock *LibP2PMetrics) OnUndeliveredMessage()
OnUndeliveredMessage provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OnUnstakedPeerInspectionFailed ¶ added in v0.33.7
func (_mock *LibP2PMetrics) OnUnstakedPeerInspectionFailed()
OnUnstakedPeerInspectionFailed provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) OutboundConnections ¶ added in v0.29.1
func (_mock *LibP2PMetrics) OutboundConnections(connectionCount uint)
OutboundConnections provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) RoutingTablePeerAdded ¶ added in v0.29.0
func (_mock *LibP2PMetrics) RoutingTablePeerAdded()
RoutingTablePeerAdded provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) RoutingTablePeerRemoved ¶ added in v0.29.0
func (_mock *LibP2PMetrics) RoutingTablePeerRemoved()
RoutingTablePeerRemoved provides a mock function for the type LibP2PMetrics
func (*LibP2PMetrics) SetWarningStateCount ¶ added in v0.30.0
func (_mock *LibP2PMetrics) SetWarningStateCount(v uint)
SetWarningStateCount provides a mock function for the type LibP2PMetrics
type LibP2PMetrics_AllowConn_Call ¶ added in v0.46.0
LibP2PMetrics_AllowConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowConn'
func (*LibP2PMetrics_AllowConn_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowConn_Call) Return() *LibP2PMetrics_AllowConn_Call
func (*LibP2PMetrics_AllowConn_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowConn_Call) Run(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_AllowConn_Call
func (*LibP2PMetrics_AllowConn_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_AllowConn_Call
type LibP2PMetrics_AllowMemory_Call ¶ added in v0.46.0
LibP2PMetrics_AllowMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowMemory'
func (*LibP2PMetrics_AllowMemory_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowMemory_Call) Return() *LibP2PMetrics_AllowMemory_Call
func (*LibP2PMetrics_AllowMemory_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowMemory_Call) Run(run func(size int)) *LibP2PMetrics_AllowMemory_Call
func (*LibP2PMetrics_AllowMemory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowMemory_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_AllowMemory_Call
type LibP2PMetrics_AllowPeer_Call ¶ added in v0.46.0
LibP2PMetrics_AllowPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowPeer'
func (*LibP2PMetrics_AllowPeer_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowPeer_Call) Return() *LibP2PMetrics_AllowPeer_Call
func (*LibP2PMetrics_AllowPeer_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowPeer_Call) Run(run func(p peer.ID)) *LibP2PMetrics_AllowPeer_Call
func (*LibP2PMetrics_AllowPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowPeer_Call) RunAndReturn(run func(p peer.ID)) *LibP2PMetrics_AllowPeer_Call
type LibP2PMetrics_AllowProtocol_Call ¶ added in v0.46.0
LibP2PMetrics_AllowProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowProtocol'
func (*LibP2PMetrics_AllowProtocol_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowProtocol_Call) Return() *LibP2PMetrics_AllowProtocol_Call
func (*LibP2PMetrics_AllowProtocol_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowProtocol_Call) Run(run func(proto protocol.ID)) *LibP2PMetrics_AllowProtocol_Call
func (*LibP2PMetrics_AllowProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *LibP2PMetrics_AllowProtocol_Call
type LibP2PMetrics_AllowService_Call ¶ added in v0.46.0
LibP2PMetrics_AllowService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowService'
func (*LibP2PMetrics_AllowService_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowService_Call) Return() *LibP2PMetrics_AllowService_Call
func (*LibP2PMetrics_AllowService_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowService_Call) Run(run func(svc string)) *LibP2PMetrics_AllowService_Call
func (*LibP2PMetrics_AllowService_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowService_Call) RunAndReturn(run func(svc string)) *LibP2PMetrics_AllowService_Call
type LibP2PMetrics_AllowStream_Call ¶ added in v0.46.0
LibP2PMetrics_AllowStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowStream'
func (*LibP2PMetrics_AllowStream_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowStream_Call) Return() *LibP2PMetrics_AllowStream_Call
func (*LibP2PMetrics_AllowStream_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowStream_Call) Run(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_AllowStream_Call
func (*LibP2PMetrics_AllowStream_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AllowStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_AllowStream_Call
type LibP2PMetrics_AsyncProcessingFinished_Call ¶ added in v0.46.0
LibP2PMetrics_AsyncProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingFinished'
func (*LibP2PMetrics_AsyncProcessingFinished_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AsyncProcessingFinished_Call) Return() *LibP2PMetrics_AsyncProcessingFinished_Call
func (*LibP2PMetrics_AsyncProcessingFinished_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *LibP2PMetrics_AsyncProcessingFinished_Call
func (*LibP2PMetrics_AsyncProcessingFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *LibP2PMetrics_AsyncProcessingFinished_Call
type LibP2PMetrics_AsyncProcessingStarted_Call ¶ added in v0.46.0
LibP2PMetrics_AsyncProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingStarted'
func (*LibP2PMetrics_AsyncProcessingStarted_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_AsyncProcessingStarted_Call) Return() *LibP2PMetrics_AsyncProcessingStarted_Call
func (*LibP2PMetrics_AsyncProcessingStarted_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_AsyncProcessingStarted_Call) Run(run func()) *LibP2PMetrics_AsyncProcessingStarted_Call
func (*LibP2PMetrics_AsyncProcessingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *LibP2PMetrics_AsyncProcessingStarted_Call
type LibP2PMetrics_BlockConn_Call ¶ added in v0.46.0
LibP2PMetrics_BlockConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockConn'
func (*LibP2PMetrics_BlockConn_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockConn_Call) Return() *LibP2PMetrics_BlockConn_Call
func (*LibP2PMetrics_BlockConn_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockConn_Call) Run(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_BlockConn_Call
func (*LibP2PMetrics_BlockConn_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *LibP2PMetrics_BlockConn_Call
type LibP2PMetrics_BlockMemory_Call ¶ added in v0.46.0
LibP2PMetrics_BlockMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockMemory'
func (*LibP2PMetrics_BlockMemory_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockMemory_Call) Return() *LibP2PMetrics_BlockMemory_Call
func (*LibP2PMetrics_BlockMemory_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockMemory_Call) Run(run func(size int)) *LibP2PMetrics_BlockMemory_Call
func (*LibP2PMetrics_BlockMemory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockMemory_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_BlockMemory_Call
type LibP2PMetrics_BlockPeer_Call ¶ added in v0.46.0
LibP2PMetrics_BlockPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockPeer'
func (*LibP2PMetrics_BlockPeer_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockPeer_Call) Return() *LibP2PMetrics_BlockPeer_Call
func (*LibP2PMetrics_BlockPeer_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockPeer_Call) Run(run func(p peer.ID)) *LibP2PMetrics_BlockPeer_Call
func (*LibP2PMetrics_BlockPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockPeer_Call) RunAndReturn(run func(p peer.ID)) *LibP2PMetrics_BlockPeer_Call
type LibP2PMetrics_BlockProtocolPeer_Call ¶ added in v0.46.0
LibP2PMetrics_BlockProtocolPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockProtocolPeer'
func (*LibP2PMetrics_BlockProtocolPeer_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockProtocolPeer_Call) Return() *LibP2PMetrics_BlockProtocolPeer_Call
func (*LibP2PMetrics_BlockProtocolPeer_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockProtocolPeer_Call) Run(run func(proto protocol.ID, p peer.ID)) *LibP2PMetrics_BlockProtocolPeer_Call
func (*LibP2PMetrics_BlockProtocolPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockProtocolPeer_Call) RunAndReturn(run func(proto protocol.ID, p peer.ID)) *LibP2PMetrics_BlockProtocolPeer_Call
type LibP2PMetrics_BlockProtocol_Call ¶ added in v0.46.0
LibP2PMetrics_BlockProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockProtocol'
func (*LibP2PMetrics_BlockProtocol_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockProtocol_Call) Return() *LibP2PMetrics_BlockProtocol_Call
func (*LibP2PMetrics_BlockProtocol_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockProtocol_Call) Run(run func(proto protocol.ID)) *LibP2PMetrics_BlockProtocol_Call
func (*LibP2PMetrics_BlockProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *LibP2PMetrics_BlockProtocol_Call
type LibP2PMetrics_BlockServicePeer_Call ¶ added in v0.46.0
LibP2PMetrics_BlockServicePeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockServicePeer'
func (*LibP2PMetrics_BlockServicePeer_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockServicePeer_Call) Return() *LibP2PMetrics_BlockServicePeer_Call
func (*LibP2PMetrics_BlockServicePeer_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockServicePeer_Call) Run(run func(svc string, p peer.ID)) *LibP2PMetrics_BlockServicePeer_Call
func (*LibP2PMetrics_BlockServicePeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockServicePeer_Call) RunAndReturn(run func(svc string, p peer.ID)) *LibP2PMetrics_BlockServicePeer_Call
type LibP2PMetrics_BlockService_Call ¶ added in v0.46.0
LibP2PMetrics_BlockService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockService'
func (*LibP2PMetrics_BlockService_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockService_Call) Return() *LibP2PMetrics_BlockService_Call
func (*LibP2PMetrics_BlockService_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockService_Call) Run(run func(svc string)) *LibP2PMetrics_BlockService_Call
func (*LibP2PMetrics_BlockService_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockService_Call) RunAndReturn(run func(svc string)) *LibP2PMetrics_BlockService_Call
type LibP2PMetrics_BlockStream_Call ¶ added in v0.46.0
LibP2PMetrics_BlockStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockStream'
func (*LibP2PMetrics_BlockStream_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockStream_Call) Return() *LibP2PMetrics_BlockStream_Call
func (*LibP2PMetrics_BlockStream_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockStream_Call) Run(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_BlockStream_Call
func (*LibP2PMetrics_BlockStream_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_BlockStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *LibP2PMetrics_BlockStream_Call
type LibP2PMetrics_DNSLookupDuration_Call ¶ added in v0.46.0
LibP2PMetrics_DNSLookupDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DNSLookupDuration'
func (*LibP2PMetrics_DNSLookupDuration_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_DNSLookupDuration_Call) Return() *LibP2PMetrics_DNSLookupDuration_Call
func (*LibP2PMetrics_DNSLookupDuration_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_DNSLookupDuration_Call) Run(run func(duration time.Duration)) *LibP2PMetrics_DNSLookupDuration_Call
func (*LibP2PMetrics_DNSLookupDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_DNSLookupDuration_Call) RunAndReturn(run func(duration time.Duration)) *LibP2PMetrics_DNSLookupDuration_Call
type LibP2PMetrics_DuplicateMessagePenalties_Call ¶ added in v0.46.0
LibP2PMetrics_DuplicateMessagePenalties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagePenalties'
func (*LibP2PMetrics_DuplicateMessagePenalties_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_DuplicateMessagePenalties_Call) Return() *LibP2PMetrics_DuplicateMessagePenalties_Call
func (*LibP2PMetrics_DuplicateMessagePenalties_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_DuplicateMessagePenalties_Call) Run(run func(penalty float64)) *LibP2PMetrics_DuplicateMessagePenalties_Call
func (*LibP2PMetrics_DuplicateMessagePenalties_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_DuplicateMessagePenalties_Call) RunAndReturn(run func(penalty float64)) *LibP2PMetrics_DuplicateMessagePenalties_Call
type LibP2PMetrics_DuplicateMessagesCounts_Call ¶ added in v0.46.0
LibP2PMetrics_DuplicateMessagesCounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagesCounts'
func (*LibP2PMetrics_DuplicateMessagesCounts_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_DuplicateMessagesCounts_Call) Return() *LibP2PMetrics_DuplicateMessagesCounts_Call
func (*LibP2PMetrics_DuplicateMessagesCounts_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_DuplicateMessagesCounts_Call) Run(run func(count float64)) *LibP2PMetrics_DuplicateMessagesCounts_Call
func (*LibP2PMetrics_DuplicateMessagesCounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_DuplicateMessagesCounts_Call) RunAndReturn(run func(count float64)) *LibP2PMetrics_DuplicateMessagesCounts_Call
type LibP2PMetrics_Expecter ¶ added in v0.46.0
type LibP2PMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*LibP2PMetrics_Expecter) AllowConn ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AllowConn(dir interface{}, usefd interface{}) *LibP2PMetrics_AllowConn_Call
AllowConn is a helper method to define mock.On call
- dir network.Direction
- usefd bool
func (*LibP2PMetrics_Expecter) AllowMemory ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AllowMemory(size interface{}) *LibP2PMetrics_AllowMemory_Call
AllowMemory is a helper method to define mock.On call
- size int
func (*LibP2PMetrics_Expecter) AllowPeer ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AllowPeer(p interface{}) *LibP2PMetrics_AllowPeer_Call
AllowPeer is a helper method to define mock.On call
- p peer.ID
func (*LibP2PMetrics_Expecter) AllowProtocol ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AllowProtocol(proto interface{}) *LibP2PMetrics_AllowProtocol_Call
AllowProtocol is a helper method to define mock.On call
- proto protocol.ID
func (*LibP2PMetrics_Expecter) AllowService ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AllowService(svc interface{}) *LibP2PMetrics_AllowService_Call
AllowService is a helper method to define mock.On call
- svc string
func (*LibP2PMetrics_Expecter) AllowStream ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AllowStream(p interface{}, dir interface{}) *LibP2PMetrics_AllowStream_Call
AllowStream is a helper method to define mock.On call
- p peer.ID
- dir network.Direction
func (*LibP2PMetrics_Expecter) AsyncProcessingFinished ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *LibP2PMetrics_AsyncProcessingFinished_Call
AsyncProcessingFinished is a helper method to define mock.On call
- duration time.Duration
func (*LibP2PMetrics_Expecter) AsyncProcessingStarted ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) AsyncProcessingStarted() *LibP2PMetrics_AsyncProcessingStarted_Call
AsyncProcessingStarted is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) BlockConn ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockConn(dir interface{}, usefd interface{}) *LibP2PMetrics_BlockConn_Call
BlockConn is a helper method to define mock.On call
- dir network.Direction
- usefd bool
func (*LibP2PMetrics_Expecter) BlockMemory ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockMemory(size interface{}) *LibP2PMetrics_BlockMemory_Call
BlockMemory is a helper method to define mock.On call
- size int
func (*LibP2PMetrics_Expecter) BlockPeer ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockPeer(p interface{}) *LibP2PMetrics_BlockPeer_Call
BlockPeer is a helper method to define mock.On call
- p peer.ID
func (*LibP2PMetrics_Expecter) BlockProtocol ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockProtocol(proto interface{}) *LibP2PMetrics_BlockProtocol_Call
BlockProtocol is a helper method to define mock.On call
- proto protocol.ID
func (*LibP2PMetrics_Expecter) BlockProtocolPeer ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockProtocolPeer(proto interface{}, p interface{}) *LibP2PMetrics_BlockProtocolPeer_Call
BlockProtocolPeer is a helper method to define mock.On call
- proto protocol.ID
- p peer.ID
func (*LibP2PMetrics_Expecter) BlockService ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockService(svc interface{}) *LibP2PMetrics_BlockService_Call
BlockService is a helper method to define mock.On call
- svc string
func (*LibP2PMetrics_Expecter) BlockServicePeer ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockServicePeer(svc interface{}, p interface{}) *LibP2PMetrics_BlockServicePeer_Call
BlockServicePeer is a helper method to define mock.On call
- svc string
- p peer.ID
func (*LibP2PMetrics_Expecter) BlockStream ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) BlockStream(p interface{}, dir interface{}) *LibP2PMetrics_BlockStream_Call
BlockStream is a helper method to define mock.On call
- p peer.ID
- dir network.Direction
func (*LibP2PMetrics_Expecter) DNSLookupDuration ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) DNSLookupDuration(duration interface{}) *LibP2PMetrics_DNSLookupDuration_Call
DNSLookupDuration is a helper method to define mock.On call
- duration time.Duration
func (*LibP2PMetrics_Expecter) DuplicateMessagePenalties ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) DuplicateMessagePenalties(penalty interface{}) *LibP2PMetrics_DuplicateMessagePenalties_Call
DuplicateMessagePenalties is a helper method to define mock.On call
- penalty float64
func (*LibP2PMetrics_Expecter) DuplicateMessagesCounts ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) DuplicateMessagesCounts(count interface{}) *LibP2PMetrics_DuplicateMessagesCounts_Call
DuplicateMessagesCounts is a helper method to define mock.On call
- count float64
func (*LibP2PMetrics_Expecter) InboundConnections ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) InboundConnections(connectionCount interface{}) *LibP2PMetrics_InboundConnections_Call
InboundConnections is a helper method to define mock.On call
- connectionCount uint
func (*LibP2PMetrics_Expecter) OnActiveClusterIDsNotSetErr ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnActiveClusterIDsNotSetErr() *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
OnActiveClusterIDsNotSetErr is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnAppSpecificScoreUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
OnAppSpecificScoreUpdated is a helper method to define mock.On call
- f float64
func (*LibP2PMetrics_Expecter) OnBehaviourPenaltyUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
OnBehaviourPenaltyUpdated is a helper method to define mock.On call
- f float64
func (*LibP2PMetrics_Expecter) OnControlMessagesTruncated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *LibP2PMetrics_OnControlMessagesTruncated_Call
OnControlMessagesTruncated is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
- diff int
func (*LibP2PMetrics_Expecter) OnDNSCacheHit ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnDNSCacheHit() *LibP2PMetrics_OnDNSCacheHit_Call
OnDNSCacheHit is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnDNSCacheInvalidated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnDNSCacheInvalidated() *LibP2PMetrics_OnDNSCacheInvalidated_Call
OnDNSCacheInvalidated is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnDNSCacheMiss ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnDNSCacheMiss() *LibP2PMetrics_OnDNSCacheMiss_Call
OnDNSCacheMiss is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnDNSLookupRequestDropped ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnDNSLookupRequestDropped() *LibP2PMetrics_OnDNSLookupRequestDropped_Call
OnDNSLookupRequestDropped is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnDialRetryBudgetResetToDefault ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnDialRetryBudgetResetToDefault() *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
OnDialRetryBudgetResetToDefault is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnDialRetryBudgetUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnDialRetryBudgetUpdated(budget interface{}) *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
OnDialRetryBudgetUpdated is a helper method to define mock.On call
- budget uint64
func (*LibP2PMetrics_Expecter) OnEstablishStreamFailure ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnEstablishStreamFailure(duration interface{}, attempts interface{}) *LibP2PMetrics_OnEstablishStreamFailure_Call
OnEstablishStreamFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*LibP2PMetrics_Expecter) OnFirstMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
OnFirstMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*LibP2PMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
OnGraftDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
OnGraftInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnGraftMessageInspected ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *LibP2PMetrics_OnGraftMessageInspected_Call
OnGraftMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*LibP2PMetrics_Expecter) OnIHaveControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
OnIHaveControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*LibP2PMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
OnIHaveDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
OnIHaveDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
OnIHaveInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnIHaveMessageIDsReceived ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
OnIHaveMessageIDsReceived is a helper method to define mock.On call
- channel string
- msgIdCount int
func (*LibP2PMetrics_Expecter) OnIHaveMessagesInspected ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, invalidTopicIds interface{}) *LibP2PMetrics_OnIHaveMessagesInspected_Call
OnIHaveMessagesInspected is a helper method to define mock.On call
- duplicateTopicIds int
- duplicateMessageIds int
- invalidTopicIds int
func (*LibP2PMetrics_Expecter) OnIPColocationFactorUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *LibP2PMetrics_OnIPColocationFactorUpdated_Call
OnIPColocationFactorUpdated is a helper method to define mock.On call
- f float64
func (*LibP2PMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
OnIWantCacheMissMessageIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnIWantControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
OnIWantControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*LibP2PMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
OnIWantDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnIWantMessageIDsReceived ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *LibP2PMetrics_OnIWantMessageIDsReceived_Call
OnIWantMessageIDsReceived is a helper method to define mock.On call
- msgIdCount int
func (*LibP2PMetrics_Expecter) OnIWantMessagesInspected ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *LibP2PMetrics_OnIWantMessagesInspected_Call
OnIWantMessagesInspected is a helper method to define mock.On call
- duplicateCount int
- cacheMissCount int
func (*LibP2PMetrics_Expecter) OnIncomingRpcReceived ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}, msgCount interface{}) *LibP2PMetrics_OnIncomingRpcReceived_Call
OnIncomingRpcReceived is a helper method to define mock.On call
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
- msgCount int
func (*LibP2PMetrics_Expecter) OnInvalidControlMessageNotificationSent ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnInvalidControlMessageNotificationSent() *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
OnInvalidControlMessageNotificationSent is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnInvalidMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
OnInvalidMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*LibP2PMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
OnInvalidTopicIdDetectedForControlMessage is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
func (*LibP2PMetrics_Expecter) OnLocalMeshSizeUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
OnLocalMeshSizeUpdated is a helper method to define mock.On call
- topic string
- size int
func (*LibP2PMetrics_Expecter) OnLocalPeerJoinedTopic ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnLocalPeerJoinedTopic() *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
OnLocalPeerJoinedTopic is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnLocalPeerLeftTopic ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnLocalPeerLeftTopic() *LibP2PMetrics_OnLocalPeerLeftTopic_Call
OnLocalPeerLeftTopic is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnMeshMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
OnMeshMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*LibP2PMetrics_Expecter) OnMessageDeliveredToAllSubscribers ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
OnMessageDeliveredToAllSubscribers is a helper method to define mock.On call
- size int
func (*LibP2PMetrics_Expecter) OnMessageDuplicate ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnMessageDuplicate(size interface{}) *LibP2PMetrics_OnMessageDuplicate_Call
OnMessageDuplicate is a helper method to define mock.On call
- size int
func (*LibP2PMetrics_Expecter) OnMessageEnteredValidation ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *LibP2PMetrics_OnMessageEnteredValidation_Call
OnMessageEnteredValidation is a helper method to define mock.On call
- size int
func (*LibP2PMetrics_Expecter) OnMessageRejected ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *LibP2PMetrics_OnMessageRejected_Call
OnMessageRejected is a helper method to define mock.On call
- size int
- reason string
func (*LibP2PMetrics_Expecter) OnOutboundRpcDropped ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnOutboundRpcDropped() *LibP2PMetrics_OnOutboundRpcDropped_Call
OnOutboundRpcDropped is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnOverallPeerScoreUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
OnOverallPeerScoreUpdated is a helper method to define mock.On call
- f float64
func (*LibP2PMetrics_Expecter) OnPeerAddedToProtocol ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerAddedToProtocol(protocol1 interface{}) *LibP2PMetrics_OnPeerAddedToProtocol_Call
OnPeerAddedToProtocol is a helper method to define mock.On call
- protocol1 string
func (*LibP2PMetrics_Expecter) OnPeerDialFailure ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerDialFailure(duration interface{}, attempts interface{}) *LibP2PMetrics_OnPeerDialFailure_Call
OnPeerDialFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*LibP2PMetrics_Expecter) OnPeerDialed ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerDialed(duration interface{}, attempts interface{}) *LibP2PMetrics_OnPeerDialed_Call
OnPeerDialed is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*LibP2PMetrics_Expecter) OnPeerGraftTopic ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *LibP2PMetrics_OnPeerGraftTopic_Call
OnPeerGraftTopic is a helper method to define mock.On call
- topic string
func (*LibP2PMetrics_Expecter) OnPeerPruneTopic ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *LibP2PMetrics_OnPeerPruneTopic_Call
OnPeerPruneTopic is a helper method to define mock.On call
- topic string
func (*LibP2PMetrics_Expecter) OnPeerRemovedFromProtocol ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerRemovedFromProtocol() *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
OnPeerRemovedFromProtocol is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnPeerThrottled ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPeerThrottled() *LibP2PMetrics_OnPeerThrottled_Call
OnPeerThrottled is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
OnPruneDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
OnPruneInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnPruneMessageInspected ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *LibP2PMetrics_OnPruneMessageInspected_Call
OnPruneMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*LibP2PMetrics_Expecter) OnPublishMessageInspected ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, invalidSubscriptionsCount interface{}, invalidSendersCount interface{}) *LibP2PMetrics_OnPublishMessageInspected_Call
OnPublishMessageInspected is a helper method to define mock.On call
- totalErrCount int
- invalidTopicIdsCount int
- invalidSubscriptionsCount int
- invalidSendersCount int
func (*LibP2PMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
OnPublishMessagesInspectionErrorExceedsThreshold is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnRpcReceived ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *LibP2PMetrics_OnRpcReceived_Call
OnRpcReceived is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*LibP2PMetrics_Expecter) OnRpcRejectedFromUnknownSender ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnRpcRejectedFromUnknownSender() *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
OnRpcRejectedFromUnknownSender is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnRpcSent ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *LibP2PMetrics_OnRpcSent_Call
OnRpcSent is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*LibP2PMetrics_Expecter) OnStreamCreated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnStreamCreated(duration interface{}, attempts interface{}) *LibP2PMetrics_OnStreamCreated_Call
OnStreamCreated is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*LibP2PMetrics_Expecter) OnStreamCreationFailure ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnStreamCreationFailure(duration interface{}, attempts interface{}) *LibP2PMetrics_OnStreamCreationFailure_Call
OnStreamCreationFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*LibP2PMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault() *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
OnStreamCreationRetryBudgetResetToDefault is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnStreamCreationRetryBudgetUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnStreamCreationRetryBudgetUpdated(budget interface{}) *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
OnStreamCreationRetryBudgetUpdated is a helper method to define mock.On call
- budget uint64
func (*LibP2PMetrics_Expecter) OnStreamEstablished ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnStreamEstablished(duration interface{}, attempts interface{}) *LibP2PMetrics_OnStreamEstablished_Call
OnStreamEstablished is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*LibP2PMetrics_Expecter) OnTimeInMeshUpdated ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *LibP2PMetrics_OnTimeInMeshUpdated_Call
OnTimeInMeshUpdated is a helper method to define mock.On call
- topic channels.Topic
- duration time.Duration
func (*LibP2PMetrics_Expecter) OnUndeliveredMessage ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnUndeliveredMessage() *LibP2PMetrics_OnUndeliveredMessage_Call
OnUndeliveredMessage is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OnUnstakedPeerInspectionFailed ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OnUnstakedPeerInspectionFailed() *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
OnUnstakedPeerInspectionFailed is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) OutboundConnections ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) OutboundConnections(connectionCount interface{}) *LibP2PMetrics_OutboundConnections_Call
OutboundConnections is a helper method to define mock.On call
- connectionCount uint
func (*LibP2PMetrics_Expecter) RoutingTablePeerAdded ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) RoutingTablePeerAdded() *LibP2PMetrics_RoutingTablePeerAdded_Call
RoutingTablePeerAdded is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) RoutingTablePeerRemoved ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) RoutingTablePeerRemoved() *LibP2PMetrics_RoutingTablePeerRemoved_Call
RoutingTablePeerRemoved is a helper method to define mock.On call
func (*LibP2PMetrics_Expecter) SetWarningStateCount ¶ added in v0.46.0
func (_e *LibP2PMetrics_Expecter) SetWarningStateCount(v interface{}) *LibP2PMetrics_SetWarningStateCount_Call
SetWarningStateCount is a helper method to define mock.On call
- v uint
type LibP2PMetrics_InboundConnections_Call ¶ added in v0.46.0
LibP2PMetrics_InboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundConnections'
func (*LibP2PMetrics_InboundConnections_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_InboundConnections_Call) Return() *LibP2PMetrics_InboundConnections_Call
func (*LibP2PMetrics_InboundConnections_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_InboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PMetrics_InboundConnections_Call
func (*LibP2PMetrics_InboundConnections_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_InboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PMetrics_InboundConnections_Call
type LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call ¶ added in v0.46.0
LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'
func (*LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
func (*LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call
type LibP2PMetrics_OnAppSpecificScoreUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'
func (*LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Return() *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
func (*LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
func (*LibP2PMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnAppSpecificScoreUpdated_Call
type LibP2PMetrics_OnBehaviourPenaltyUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'
func (*LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Return() *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
func (*LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
func (*LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnBehaviourPenaltyUpdated_Call
type LibP2PMetrics_OnControlMessagesTruncated_Call ¶ added in v0.46.0
LibP2PMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'
func (*LibP2PMetrics_OnControlMessagesTruncated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *LibP2PMetrics_OnControlMessagesTruncated_Call
func (*LibP2PMetrics_OnControlMessagesTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *LibP2PMetrics_OnControlMessagesTruncated_Call
type LibP2PMetrics_OnDNSCacheHit_Call ¶ added in v0.46.0
LibP2PMetrics_OnDNSCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheHit'
func (*LibP2PMetrics_OnDNSCacheHit_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheHit_Call) Return() *LibP2PMetrics_OnDNSCacheHit_Call
func (*LibP2PMetrics_OnDNSCacheHit_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheHit_Call) Run(run func()) *LibP2PMetrics_OnDNSCacheHit_Call
func (*LibP2PMetrics_OnDNSCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheHit_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDNSCacheHit_Call
type LibP2PMetrics_OnDNSCacheInvalidated_Call ¶ added in v0.46.0
LibP2PMetrics_OnDNSCacheInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheInvalidated'
func (*LibP2PMetrics_OnDNSCacheInvalidated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheInvalidated_Call) Return() *LibP2PMetrics_OnDNSCacheInvalidated_Call
func (*LibP2PMetrics_OnDNSCacheInvalidated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheInvalidated_Call) Run(run func()) *LibP2PMetrics_OnDNSCacheInvalidated_Call
func (*LibP2PMetrics_OnDNSCacheInvalidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheInvalidated_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDNSCacheInvalidated_Call
type LibP2PMetrics_OnDNSCacheMiss_Call ¶ added in v0.46.0
LibP2PMetrics_OnDNSCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheMiss'
func (*LibP2PMetrics_OnDNSCacheMiss_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheMiss_Call) Return() *LibP2PMetrics_OnDNSCacheMiss_Call
func (*LibP2PMetrics_OnDNSCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheMiss_Call) Run(run func()) *LibP2PMetrics_OnDNSCacheMiss_Call
func (*LibP2PMetrics_OnDNSCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSCacheMiss_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDNSCacheMiss_Call
type LibP2PMetrics_OnDNSLookupRequestDropped_Call ¶ added in v0.46.0
LibP2PMetrics_OnDNSLookupRequestDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSLookupRequestDropped'
func (*LibP2PMetrics_OnDNSLookupRequestDropped_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSLookupRequestDropped_Call) Return() *LibP2PMetrics_OnDNSLookupRequestDropped_Call
func (*LibP2PMetrics_OnDNSLookupRequestDropped_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSLookupRequestDropped_Call) Run(run func()) *LibP2PMetrics_OnDNSLookupRequestDropped_Call
func (*LibP2PMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDNSLookupRequestDropped_Call
type LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call ¶ added in v0.46.0
LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetResetToDefault'
func (*LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) Run(run func()) *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
func (*LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call
type LibP2PMetrics_OnDialRetryBudgetUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnDialRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetUpdated'
func (*LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Return() *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
func (*LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Run(run func(budget uint64)) *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
func (*LibP2PMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *LibP2PMetrics_OnDialRetryBudgetUpdated_Call
type LibP2PMetrics_OnEstablishStreamFailure_Call ¶ added in v0.46.0
LibP2PMetrics_OnEstablishStreamFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEstablishStreamFailure'
func (*LibP2PMetrics_OnEstablishStreamFailure_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnEstablishStreamFailure_Call) Return() *LibP2PMetrics_OnEstablishStreamFailure_Call
func (*LibP2PMetrics_OnEstablishStreamFailure_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnEstablishStreamFailure_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnEstablishStreamFailure_Call
func (*LibP2PMetrics_OnEstablishStreamFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnEstablishStreamFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnEstablishStreamFailure_Call
type LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'
func (*LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
func (*LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call
type LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'
func (*LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
func (*LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
type LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'
func (*LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
func (*LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
type LibP2PMetrics_OnGraftMessageInspected_Call ¶ added in v0.46.0
LibP2PMetrics_OnGraftMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftMessageInspected'
func (*LibP2PMetrics_OnGraftMessageInspected_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftMessageInspected_Call) Return() *LibP2PMetrics_OnGraftMessageInspected_Call
func (*LibP2PMetrics_OnGraftMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnGraftMessageInspected_Call
func (*LibP2PMetrics_OnGraftMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnGraftMessageInspected_Call
type LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call ¶ added in v0.46.0
LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'
func (*LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
func (*LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call
type LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'
func (*LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
type LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'
func (*LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
func (*LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
type LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'
func (*LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
func (*LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
type LibP2PMetrics_OnIHaveMessageIDsReceived_Call ¶ added in v0.46.0
LibP2PMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'
func (*LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Return() *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
func (*LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
func (*LibP2PMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *LibP2PMetrics_OnIHaveMessageIDsReceived_Call
type LibP2PMetrics_OnIHaveMessagesInspected_Call ¶ added in v0.46.0
LibP2PMetrics_OnIHaveMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessagesInspected'
func (*LibP2PMetrics_OnIHaveMessagesInspected_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveMessagesInspected_Call) Return() *LibP2PMetrics_OnIHaveMessagesInspected_Call
func (*LibP2PMetrics_OnIHaveMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *LibP2PMetrics_OnIHaveMessagesInspected_Call
func (*LibP2PMetrics_OnIHaveMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *LibP2PMetrics_OnIHaveMessagesInspected_Call
type LibP2PMetrics_OnIPColocationFactorUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'
func (*LibP2PMetrics_OnIPColocationFactorUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnIPColocationFactorUpdated_Call
func (*LibP2PMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnIPColocationFactorUpdated_Call
type LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'
func (*LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
type LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call ¶ added in v0.46.0
LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'
func (*LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
func (*LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call
type LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'
func (*LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
type LibP2PMetrics_OnIWantMessageIDsReceived_Call ¶ added in v0.46.0
LibP2PMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'
func (*LibP2PMetrics_OnIWantMessageIDsReceived_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantMessageIDsReceived_Call) Return() *LibP2PMetrics_OnIWantMessageIDsReceived_Call
func (*LibP2PMetrics_OnIWantMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *LibP2PMetrics_OnIWantMessageIDsReceived_Call
func (*LibP2PMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *LibP2PMetrics_OnIWantMessageIDsReceived_Call
type LibP2PMetrics_OnIWantMessagesInspected_Call ¶ added in v0.46.0
LibP2PMetrics_OnIWantMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessagesInspected'
func (*LibP2PMetrics_OnIWantMessagesInspected_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantMessagesInspected_Call) Return() *LibP2PMetrics_OnIWantMessagesInspected_Call
func (*LibP2PMetrics_OnIWantMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *LibP2PMetrics_OnIWantMessagesInspected_Call
func (*LibP2PMetrics_OnIWantMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *LibP2PMetrics_OnIWantMessagesInspected_Call
type LibP2PMetrics_OnIncomingRpcReceived_Call ¶ added in v0.46.0
LibP2PMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'
func (*LibP2PMetrics_OnIncomingRpcReceived_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIncomingRpcReceived_Call) Return() *LibP2PMetrics_OnIncomingRpcReceived_Call
func (*LibP2PMetrics_OnIncomingRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIncomingRpcReceived_Call) Run(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *LibP2PMetrics_OnIncomingRpcReceived_Call
func (*LibP2PMetrics_OnIncomingRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnIncomingRpcReceived_Call) RunAndReturn(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *LibP2PMetrics_OnIncomingRpcReceived_Call
type LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call ¶ added in v0.46.0
LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'
func (*LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) Run(run func()) *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
func (*LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) *LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call
type LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'
func (*LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
func (*LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call
type LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call ¶ added in v0.46.0
LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'
func (*LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
func (*LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
type LibP2PMetrics_OnLocalMeshSizeUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnLocalMeshSizeUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalMeshSizeUpdated'
func (*LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Return() *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
func (*LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
func (*LibP2PMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *LibP2PMetrics_OnLocalMeshSizeUpdated_Call
type LibP2PMetrics_OnLocalPeerJoinedTopic_Call ¶ added in v0.46.0
LibP2PMetrics_OnLocalPeerJoinedTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerJoinedTopic'
func (*LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Return() *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
func (*LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
func (*LibP2PMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *LibP2PMetrics_OnLocalPeerJoinedTopic_Call
type LibP2PMetrics_OnLocalPeerLeftTopic_Call ¶ added in v0.46.0
LibP2PMetrics_OnLocalPeerLeftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerLeftTopic'
func (*LibP2PMetrics_OnLocalPeerLeftTopic_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalPeerLeftTopic_Call) Return() *LibP2PMetrics_OnLocalPeerLeftTopic_Call
func (*LibP2PMetrics_OnLocalPeerLeftTopic_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *LibP2PMetrics_OnLocalPeerLeftTopic_Call
func (*LibP2PMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *LibP2PMetrics_OnLocalPeerLeftTopic_Call
type LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'
func (*LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
func (*LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call
type LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call ¶ added in v0.46.0
LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'
func (*LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
func (*LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call
type LibP2PMetrics_OnMessageDuplicate_Call ¶ added in v0.46.0
LibP2PMetrics_OnMessageDuplicate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDuplicate'
func (*LibP2PMetrics_OnMessageDuplicate_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageDuplicate_Call) Return() *LibP2PMetrics_OnMessageDuplicate_Call
func (*LibP2PMetrics_OnMessageDuplicate_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *LibP2PMetrics_OnMessageDuplicate_Call
func (*LibP2PMetrics_OnMessageDuplicate_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_OnMessageDuplicate_Call
type LibP2PMetrics_OnMessageEnteredValidation_Call ¶ added in v0.46.0
LibP2PMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'
func (*LibP2PMetrics_OnMessageEnteredValidation_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *LibP2PMetrics_OnMessageEnteredValidation_Call
func (*LibP2PMetrics_OnMessageEnteredValidation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *LibP2PMetrics_OnMessageEnteredValidation_Call
type LibP2PMetrics_OnMessageRejected_Call ¶ added in v0.46.0
LibP2PMetrics_OnMessageRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageRejected'
func (*LibP2PMetrics_OnMessageRejected_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageRejected_Call) Return() *LibP2PMetrics_OnMessageRejected_Call
func (*LibP2PMetrics_OnMessageRejected_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *LibP2PMetrics_OnMessageRejected_Call
func (*LibP2PMetrics_OnMessageRejected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *LibP2PMetrics_OnMessageRejected_Call
type LibP2PMetrics_OnOutboundRpcDropped_Call ¶ added in v0.46.0
LibP2PMetrics_OnOutboundRpcDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOutboundRpcDropped'
func (*LibP2PMetrics_OnOutboundRpcDropped_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnOutboundRpcDropped_Call) Return() *LibP2PMetrics_OnOutboundRpcDropped_Call
func (*LibP2PMetrics_OnOutboundRpcDropped_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnOutboundRpcDropped_Call) Run(run func()) *LibP2PMetrics_OnOutboundRpcDropped_Call
func (*LibP2PMetrics_OnOutboundRpcDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *LibP2PMetrics_OnOutboundRpcDropped_Call
type LibP2PMetrics_OnOverallPeerScoreUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'
func (*LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Return() *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
func (*LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
func (*LibP2PMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *LibP2PMetrics_OnOverallPeerScoreUpdated_Call
type LibP2PMetrics_OnPeerAddedToProtocol_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerAddedToProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerAddedToProtocol'
func (*LibP2PMetrics_OnPeerAddedToProtocol_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerAddedToProtocol_Call) Return() *LibP2PMetrics_OnPeerAddedToProtocol_Call
func (*LibP2PMetrics_OnPeerAddedToProtocol_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol1 string)) *LibP2PMetrics_OnPeerAddedToProtocol_Call
func (*LibP2PMetrics_OnPeerAddedToProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol1 string)) *LibP2PMetrics_OnPeerAddedToProtocol_Call
type LibP2PMetrics_OnPeerDialFailure_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerDialFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerDialFailure'
func (*LibP2PMetrics_OnPeerDialFailure_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerDialFailure_Call) Return() *LibP2PMetrics_OnPeerDialFailure_Call
func (*LibP2PMetrics_OnPeerDialFailure_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerDialFailure_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialFailure_Call
func (*LibP2PMetrics_OnPeerDialFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerDialFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialFailure_Call
type LibP2PMetrics_OnPeerDialed_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerDialed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerDialed'
func (*LibP2PMetrics_OnPeerDialed_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerDialed_Call) Return() *LibP2PMetrics_OnPeerDialed_Call
func (*LibP2PMetrics_OnPeerDialed_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerDialed_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialed_Call
func (*LibP2PMetrics_OnPeerDialed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerDialed_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnPeerDialed_Call
type LibP2PMetrics_OnPeerGraftTopic_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerGraftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerGraftTopic'
func (*LibP2PMetrics_OnPeerGraftTopic_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerGraftTopic_Call) Return() *LibP2PMetrics_OnPeerGraftTopic_Call
func (*LibP2PMetrics_OnPeerGraftTopic_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *LibP2PMetrics_OnPeerGraftTopic_Call
func (*LibP2PMetrics_OnPeerGraftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *LibP2PMetrics_OnPeerGraftTopic_Call
type LibP2PMetrics_OnPeerPruneTopic_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerPruneTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerPruneTopic'
func (*LibP2PMetrics_OnPeerPruneTopic_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerPruneTopic_Call) Return() *LibP2PMetrics_OnPeerPruneTopic_Call
func (*LibP2PMetrics_OnPeerPruneTopic_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *LibP2PMetrics_OnPeerPruneTopic_Call
func (*LibP2PMetrics_OnPeerPruneTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *LibP2PMetrics_OnPeerPruneTopic_Call
type LibP2PMetrics_OnPeerRemovedFromProtocol_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'
func (*LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Return() *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
func (*LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
func (*LibP2PMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPeerRemovedFromProtocol_Call
type LibP2PMetrics_OnPeerThrottled_Call ¶ added in v0.46.0
LibP2PMetrics_OnPeerThrottled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerThrottled'
func (*LibP2PMetrics_OnPeerThrottled_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerThrottled_Call) Return() *LibP2PMetrics_OnPeerThrottled_Call
func (*LibP2PMetrics_OnPeerThrottled_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerThrottled_Call) Run(run func()) *LibP2PMetrics_OnPeerThrottled_Call
func (*LibP2PMetrics_OnPeerThrottled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPeerThrottled_Call
type LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'
func (*LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
func (*LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
type LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'
func (*LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run(run func()) *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
func (*LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
type LibP2PMetrics_OnPruneMessageInspected_Call ¶ added in v0.46.0
LibP2PMetrics_OnPruneMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneMessageInspected'
func (*LibP2PMetrics_OnPruneMessageInspected_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneMessageInspected_Call) Return() *LibP2PMetrics_OnPruneMessageInspected_Call
func (*LibP2PMetrics_OnPruneMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnPruneMessageInspected_Call
func (*LibP2PMetrics_OnPruneMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *LibP2PMetrics_OnPruneMessageInspected_Call
type LibP2PMetrics_OnPublishMessageInspected_Call ¶ added in v0.46.0
LibP2PMetrics_OnPublishMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessageInspected'
func (*LibP2PMetrics_OnPublishMessageInspected_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPublishMessageInspected_Call) Return() *LibP2PMetrics_OnPublishMessageInspected_Call
func (*LibP2PMetrics_OnPublishMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPublishMessageInspected_Call) Run(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *LibP2PMetrics_OnPublishMessageInspected_Call
func (*LibP2PMetrics_OnPublishMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPublishMessageInspected_Call) RunAndReturn(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *LibP2PMetrics_OnPublishMessageInspected_Call
type LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call ¶ added in v0.46.0
LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessagesInspectionErrorExceedsThreshold'
func (*LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return ¶ added in v0.46.0
func (*LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) *LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
type LibP2PMetrics_OnRpcReceived_Call ¶ added in v0.46.0
LibP2PMetrics_OnRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcReceived'
func (*LibP2PMetrics_OnRpcReceived_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcReceived_Call) Return() *LibP2PMetrics_OnRpcReceived_Call
func (*LibP2PMetrics_OnRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcReceived_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LibP2PMetrics_OnRpcReceived_Call
func (*LibP2PMetrics_OnRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcReceived_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LibP2PMetrics_OnRpcReceived_Call
type LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call ¶ added in v0.46.0
LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'
func (*LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
func (*LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call
type LibP2PMetrics_OnRpcSent_Call ¶ added in v0.46.0
LibP2PMetrics_OnRpcSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcSent'
func (*LibP2PMetrics_OnRpcSent_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcSent_Call) Return() *LibP2PMetrics_OnRpcSent_Call
func (*LibP2PMetrics_OnRpcSent_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcSent_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LibP2PMetrics_OnRpcSent_Call
func (*LibP2PMetrics_OnRpcSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnRpcSent_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LibP2PMetrics_OnRpcSent_Call
type LibP2PMetrics_OnStreamCreated_Call ¶ added in v0.46.0
LibP2PMetrics_OnStreamCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreated'
func (*LibP2PMetrics_OnStreamCreated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreated_Call) Return() *LibP2PMetrics_OnStreamCreated_Call
func (*LibP2PMetrics_OnStreamCreated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreated_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreated_Call
func (*LibP2PMetrics_OnStreamCreated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreated_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreated_Call
type LibP2PMetrics_OnStreamCreationFailure_Call ¶ added in v0.46.0
LibP2PMetrics_OnStreamCreationFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationFailure'
func (*LibP2PMetrics_OnStreamCreationFailure_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreationFailure_Call) Return() *LibP2PMetrics_OnStreamCreationFailure_Call
func (*LibP2PMetrics_OnStreamCreationFailure_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreationFailure_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreationFailure_Call
func (*LibP2PMetrics_OnStreamCreationFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreationFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamCreationFailure_Call
type LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call ¶ added in v0.46.0
LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetResetToDefault'
func (*LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
type LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetUpdated'
func (*LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run(run func(budget uint64)) *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
func (*LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call
type LibP2PMetrics_OnStreamEstablished_Call ¶ added in v0.46.0
LibP2PMetrics_OnStreamEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamEstablished'
func (*LibP2PMetrics_OnStreamEstablished_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamEstablished_Call) Return() *LibP2PMetrics_OnStreamEstablished_Call
func (*LibP2PMetrics_OnStreamEstablished_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamEstablished_Call) Run(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamEstablished_Call
func (*LibP2PMetrics_OnStreamEstablished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnStreamEstablished_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *LibP2PMetrics_OnStreamEstablished_Call
type LibP2PMetrics_OnTimeInMeshUpdated_Call ¶ added in v0.46.0
LibP2PMetrics_OnTimeInMeshUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTimeInMeshUpdated'
func (*LibP2PMetrics_OnTimeInMeshUpdated_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnTimeInMeshUpdated_Call) Return() *LibP2PMetrics_OnTimeInMeshUpdated_Call
func (*LibP2PMetrics_OnTimeInMeshUpdated_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *LibP2PMetrics_OnTimeInMeshUpdated_Call
func (*LibP2PMetrics_OnTimeInMeshUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *LibP2PMetrics_OnTimeInMeshUpdated_Call
type LibP2PMetrics_OnUndeliveredMessage_Call ¶ added in v0.46.0
LibP2PMetrics_OnUndeliveredMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUndeliveredMessage'
func (*LibP2PMetrics_OnUndeliveredMessage_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnUndeliveredMessage_Call) Return() *LibP2PMetrics_OnUndeliveredMessage_Call
func (*LibP2PMetrics_OnUndeliveredMessage_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnUndeliveredMessage_Call) Run(run func()) *LibP2PMetrics_OnUndeliveredMessage_Call
func (*LibP2PMetrics_OnUndeliveredMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *LibP2PMetrics_OnUndeliveredMessage_Call
type LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call ¶ added in v0.46.0
LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'
func (*LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
func (*LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call
type LibP2PMetrics_OutboundConnections_Call ¶ added in v0.46.0
LibP2PMetrics_OutboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundConnections'
func (*LibP2PMetrics_OutboundConnections_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_OutboundConnections_Call) Return() *LibP2PMetrics_OutboundConnections_Call
func (*LibP2PMetrics_OutboundConnections_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_OutboundConnections_Call) Run(run func(connectionCount uint)) *LibP2PMetrics_OutboundConnections_Call
func (*LibP2PMetrics_OutboundConnections_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_OutboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *LibP2PMetrics_OutboundConnections_Call
type LibP2PMetrics_RoutingTablePeerAdded_Call ¶ added in v0.46.0
LibP2PMetrics_RoutingTablePeerAdded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoutingTablePeerAdded'
func (*LibP2PMetrics_RoutingTablePeerAdded_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_RoutingTablePeerAdded_Call) Return() *LibP2PMetrics_RoutingTablePeerAdded_Call
func (*LibP2PMetrics_RoutingTablePeerAdded_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_RoutingTablePeerAdded_Call) Run(run func()) *LibP2PMetrics_RoutingTablePeerAdded_Call
func (*LibP2PMetrics_RoutingTablePeerAdded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_RoutingTablePeerAdded_Call) RunAndReturn(run func()) *LibP2PMetrics_RoutingTablePeerAdded_Call
type LibP2PMetrics_RoutingTablePeerRemoved_Call ¶ added in v0.46.0
LibP2PMetrics_RoutingTablePeerRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoutingTablePeerRemoved'
func (*LibP2PMetrics_RoutingTablePeerRemoved_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_RoutingTablePeerRemoved_Call) Return() *LibP2PMetrics_RoutingTablePeerRemoved_Call
func (*LibP2PMetrics_RoutingTablePeerRemoved_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_RoutingTablePeerRemoved_Call) Run(run func()) *LibP2PMetrics_RoutingTablePeerRemoved_Call
func (*LibP2PMetrics_RoutingTablePeerRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_RoutingTablePeerRemoved_Call) RunAndReturn(run func()) *LibP2PMetrics_RoutingTablePeerRemoved_Call
type LibP2PMetrics_SetWarningStateCount_Call ¶ added in v0.46.0
LibP2PMetrics_SetWarningStateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWarningStateCount'
func (*LibP2PMetrics_SetWarningStateCount_Call) Return ¶ added in v0.46.0
func (_c *LibP2PMetrics_SetWarningStateCount_Call) Return() *LibP2PMetrics_SetWarningStateCount_Call
func (*LibP2PMetrics_SetWarningStateCount_Call) Run ¶ added in v0.46.0
func (_c *LibP2PMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *LibP2PMetrics_SetWarningStateCount_Call
func (*LibP2PMetrics_SetWarningStateCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LibP2PMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *LibP2PMetrics_SetWarningStateCount_Call
type Local ¶
Local is an autogenerated mock type for the Local type
func NewLocal ¶ added in v0.26.1
NewLocal creates a new instance of Local. 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 (*Local) EXPECT ¶ added in v0.46.0
func (_m *Local) EXPECT() *Local_Expecter
func (*Local) NodeID ¶
func (_mock *Local) NodeID() flow.Identifier
NodeID provides a mock function for the type Local
func (*Local) NotMeFilter ¶
func (_mock *Local) NotMeFilter() flow.IdentityFilter[flow.Identity]
NotMeFilter provides a mock function for the type Local
type LocalGossipSubRouterMetrics ¶ added in v0.33.1
LocalGossipSubRouterMetrics is an autogenerated mock type for the LocalGossipSubRouterMetrics type
func NewLocalGossipSubRouterMetrics ¶ added in v0.33.1
func NewLocalGossipSubRouterMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *LocalGossipSubRouterMetrics
NewLocalGossipSubRouterMetrics creates a new instance of LocalGossipSubRouterMetrics. 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 (*LocalGossipSubRouterMetrics) EXPECT ¶ added in v0.46.0
func (_m *LocalGossipSubRouterMetrics) EXPECT() *LocalGossipSubRouterMetrics_Expecter
func (*LocalGossipSubRouterMetrics) OnLocalMeshSizeUpdated ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnLocalMeshSizeUpdated(topic string, size int)
OnLocalMeshSizeUpdated provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnLocalPeerJoinedTopic ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnLocalPeerJoinedTopic()
OnLocalPeerJoinedTopic provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnLocalPeerLeftTopic ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnLocalPeerLeftTopic()
OnLocalPeerLeftTopic provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnMessageDeliveredToAllSubscribers ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnMessageDeliveredToAllSubscribers(size int)
OnMessageDeliveredToAllSubscribers provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnMessageDuplicate ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnMessageDuplicate(size int)
OnMessageDuplicate provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnMessageEnteredValidation ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnMessageEnteredValidation(size int)
OnMessageEnteredValidation provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnMessageRejected ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnMessageRejected(size int, reason string)
OnMessageRejected provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnOutboundRpcDropped ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnOutboundRpcDropped()
OnOutboundRpcDropped provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnPeerAddedToProtocol ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnPeerAddedToProtocol(protocol string)
OnPeerAddedToProtocol provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnPeerGraftTopic ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnPeerGraftTopic(topic string)
OnPeerGraftTopic provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnPeerPruneTopic ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnPeerPruneTopic(topic string)
OnPeerPruneTopic provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnPeerRemovedFromProtocol ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnPeerRemovedFromProtocol()
OnPeerRemovedFromProtocol provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnPeerThrottled ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnPeerThrottled()
OnPeerThrottled provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnRpcReceived ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcReceived provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnRpcSent ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcSent provides a mock function for the type LocalGossipSubRouterMetrics
func (*LocalGossipSubRouterMetrics) OnUndeliveredMessage ¶ added in v0.33.1
func (_mock *LocalGossipSubRouterMetrics) OnUndeliveredMessage()
OnUndeliveredMessage provides a mock function for the type LocalGossipSubRouterMetrics
type LocalGossipSubRouterMetrics_Expecter ¶ added in v0.46.0
type LocalGossipSubRouterMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*LocalGossipSubRouterMetrics_Expecter) OnLocalMeshSizeUpdated ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
OnLocalMeshSizeUpdated is a helper method to define mock.On call
- topic string
- size int
func (*LocalGossipSubRouterMetrics_Expecter) OnLocalPeerJoinedTopic ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnLocalPeerJoinedTopic() *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
OnLocalPeerJoinedTopic is a helper method to define mock.On call
func (*LocalGossipSubRouterMetrics_Expecter) OnLocalPeerLeftTopic ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnLocalPeerLeftTopic() *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
OnLocalPeerLeftTopic is a helper method to define mock.On call
func (*LocalGossipSubRouterMetrics_Expecter) OnMessageDeliveredToAllSubscribers ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
OnMessageDeliveredToAllSubscribers is a helper method to define mock.On call
- size int
func (*LocalGossipSubRouterMetrics_Expecter) OnMessageDuplicate ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageDuplicate(size interface{}) *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
OnMessageDuplicate is a helper method to define mock.On call
- size int
func (*LocalGossipSubRouterMetrics_Expecter) OnMessageEnteredValidation ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
OnMessageEnteredValidation is a helper method to define mock.On call
- size int
func (*LocalGossipSubRouterMetrics_Expecter) OnMessageRejected ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *LocalGossipSubRouterMetrics_OnMessageRejected_Call
OnMessageRejected is a helper method to define mock.On call
- size int
- reason string
func (*LocalGossipSubRouterMetrics_Expecter) OnOutboundRpcDropped ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnOutboundRpcDropped() *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
OnOutboundRpcDropped is a helper method to define mock.On call
func (*LocalGossipSubRouterMetrics_Expecter) OnPeerAddedToProtocol ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerAddedToProtocol(protocol interface{}) *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
OnPeerAddedToProtocol is a helper method to define mock.On call
- protocol string
func (*LocalGossipSubRouterMetrics_Expecter) OnPeerGraftTopic ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
OnPeerGraftTopic is a helper method to define mock.On call
- topic string
func (*LocalGossipSubRouterMetrics_Expecter) OnPeerPruneTopic ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
OnPeerPruneTopic is a helper method to define mock.On call
- topic string
func (*LocalGossipSubRouterMetrics_Expecter) OnPeerRemovedFromProtocol ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerRemovedFromProtocol() *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
OnPeerRemovedFromProtocol is a helper method to define mock.On call
func (*LocalGossipSubRouterMetrics_Expecter) OnPeerThrottled ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnPeerThrottled() *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
OnPeerThrottled is a helper method to define mock.On call
func (*LocalGossipSubRouterMetrics_Expecter) OnRpcReceived ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *LocalGossipSubRouterMetrics_OnRpcReceived_Call
OnRpcReceived is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*LocalGossipSubRouterMetrics_Expecter) OnRpcSent ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *LocalGossipSubRouterMetrics_OnRpcSent_Call
OnRpcSent is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*LocalGossipSubRouterMetrics_Expecter) OnUndeliveredMessage ¶ added in v0.46.0
func (_e *LocalGossipSubRouterMetrics_Expecter) OnUndeliveredMessage() *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
OnUndeliveredMessage is a helper method to define mock.On call
type LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalMeshSizeUpdated'
func (*LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
func (*LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call
type LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerJoinedTopic'
func (*LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
func (*LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call
type LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerLeftTopic'
func (*LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
func (*LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call
type LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'
func (*LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) Return ¶ added in v0.46.0
func (*LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call
type LocalGossipSubRouterMetrics_OnMessageDuplicate_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnMessageDuplicate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDuplicate'
func (*LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
func (*LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageDuplicate_Call
type LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'
func (*LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
func (*LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call
type LocalGossipSubRouterMetrics_OnMessageRejected_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnMessageRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageRejected'
func (*LocalGossipSubRouterMetrics_OnMessageRejected_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *LocalGossipSubRouterMetrics_OnMessageRejected_Call
func (*LocalGossipSubRouterMetrics_OnMessageRejected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *LocalGossipSubRouterMetrics_OnMessageRejected_Call
type LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOutboundRpcDropped'
func (*LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
func (*LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call
type LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerAddedToProtocol'
func (*LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol string)) *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
func (*LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol string)) *LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call
type LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerGraftTopic'
func (*LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
func (*LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call
type LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerPruneTopic'
func (*LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
func (*LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call
type LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'
func (*LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
func (*LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call
type LocalGossipSubRouterMetrics_OnPeerThrottled_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnPeerThrottled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerThrottled'
func (*LocalGossipSubRouterMetrics_OnPeerThrottled_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerThrottled_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
func (*LocalGossipSubRouterMetrics_OnPeerThrottled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnPeerThrottled_Call
type LocalGossipSubRouterMetrics_OnRpcReceived_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcReceived'
func (*LocalGossipSubRouterMetrics_OnRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnRpcReceived_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LocalGossipSubRouterMetrics_OnRpcReceived_Call
func (*LocalGossipSubRouterMetrics_OnRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnRpcReceived_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LocalGossipSubRouterMetrics_OnRpcReceived_Call
type LocalGossipSubRouterMetrics_OnRpcSent_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnRpcSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcSent'
func (*LocalGossipSubRouterMetrics_OnRpcSent_Call) Return ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnRpcSent_Call) Return() *LocalGossipSubRouterMetrics_OnRpcSent_Call
func (*LocalGossipSubRouterMetrics_OnRpcSent_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnRpcSent_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LocalGossipSubRouterMetrics_OnRpcSent_Call
func (*LocalGossipSubRouterMetrics_OnRpcSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnRpcSent_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *LocalGossipSubRouterMetrics_OnRpcSent_Call
type LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call ¶ added in v0.46.0
LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUndeliveredMessage'
func (*LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) Run ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) Run(run func()) *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
func (*LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call
type Local_Address_Call ¶ added in v0.46.0
Local_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'
func (*Local_Address_Call) Return ¶ added in v0.46.0
func (_c *Local_Address_Call) Return(s string) *Local_Address_Call
func (*Local_Address_Call) Run ¶ added in v0.46.0
func (_c *Local_Address_Call) Run(run func()) *Local_Address_Call
func (*Local_Address_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Local_Address_Call) RunAndReturn(run func() string) *Local_Address_Call
type Local_Expecter ¶ added in v0.46.0
type Local_Expecter struct {
// contains filtered or unexported fields
}
func (*Local_Expecter) Address ¶ added in v0.46.0
func (_e *Local_Expecter) Address() *Local_Address_Call
Address is a helper method to define mock.On call
func (*Local_Expecter) NodeID ¶ added in v0.46.0
func (_e *Local_Expecter) NodeID() *Local_NodeID_Call
NodeID is a helper method to define mock.On call
func (*Local_Expecter) NotMeFilter ¶ added in v0.46.0
func (_e *Local_Expecter) NotMeFilter() *Local_NotMeFilter_Call
NotMeFilter is a helper method to define mock.On call
func (*Local_Expecter) Sign ¶ added in v0.46.0
func (_e *Local_Expecter) Sign(bytes interface{}, hasher interface{}) *Local_Sign_Call
Sign is a helper method to define mock.On call
- bytes []byte
- hasher hash.Hasher
func (*Local_Expecter) SignFunc ¶ added in v0.46.0
func (_e *Local_Expecter) SignFunc(bytes interface{}, hasher interface{}, fn interface{}) *Local_SignFunc_Call
SignFunc is a helper method to define mock.On call
- bytes []byte
- hasher hash.Hasher
- fn func(crypto.PrivateKey, []byte, hash.Hasher) (crypto.Signature, error)
type Local_NodeID_Call ¶ added in v0.46.0
Local_NodeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeID'
func (*Local_NodeID_Call) Return ¶ added in v0.46.0
func (_c *Local_NodeID_Call) Return(identifier flow.Identifier) *Local_NodeID_Call
func (*Local_NodeID_Call) Run ¶ added in v0.46.0
func (_c *Local_NodeID_Call) Run(run func()) *Local_NodeID_Call
func (*Local_NodeID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Local_NodeID_Call) RunAndReturn(run func() flow.Identifier) *Local_NodeID_Call
type Local_NotMeFilter_Call ¶ added in v0.46.0
Local_NotMeFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotMeFilter'
func (*Local_NotMeFilter_Call) Return ¶ added in v0.46.0
func (_c *Local_NotMeFilter_Call) Return(identityFilter flow.IdentityFilter[flow.Identity]) *Local_NotMeFilter_Call
func (*Local_NotMeFilter_Call) Run ¶ added in v0.46.0
func (_c *Local_NotMeFilter_Call) Run(run func()) *Local_NotMeFilter_Call
func (*Local_NotMeFilter_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Local_NotMeFilter_Call) RunAndReturn(run func() flow.IdentityFilter[flow.Identity]) *Local_NotMeFilter_Call
type Local_SignFunc_Call ¶ added in v0.46.0
Local_SignFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignFunc'
func (*Local_SignFunc_Call) Return ¶ added in v0.46.0
func (_c *Local_SignFunc_Call) Return(signature crypto.Signature, err error) *Local_SignFunc_Call
func (*Local_SignFunc_Call) Run ¶ added in v0.46.0
func (_c *Local_SignFunc_Call) Run(run func(bytes []byte, hasher hash.Hasher, fn func(crypto.PrivateKey, []byte, hash.Hasher) (crypto.Signature, error))) *Local_SignFunc_Call
func (*Local_SignFunc_Call) RunAndReturn ¶ added in v0.46.0
type Local_Sign_Call ¶ added in v0.46.0
Local_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*Local_Sign_Call) Return ¶ added in v0.46.0
func (_c *Local_Sign_Call) Return(signature crypto.Signature, err error) *Local_Sign_Call
func (*Local_Sign_Call) Run ¶ added in v0.46.0
func (_c *Local_Sign_Call) Run(run func(bytes []byte, hasher hash.Hasher)) *Local_Sign_Call
func (*Local_Sign_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Local_Sign_Call) RunAndReturn(run func(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)) *Local_Sign_Call
type MachineAccountMetrics ¶ added in v0.33.22
MachineAccountMetrics is an autogenerated mock type for the MachineAccountMetrics type
func NewMachineAccountMetrics ¶ added in v0.33.22
func NewMachineAccountMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *MachineAccountMetrics
NewMachineAccountMetrics creates a new instance of MachineAccountMetrics. 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 (*MachineAccountMetrics) AccountBalance ¶ added in v0.33.22
func (_mock *MachineAccountMetrics) AccountBalance(bal float64)
AccountBalance provides a mock function for the type MachineAccountMetrics
func (*MachineAccountMetrics) EXPECT ¶ added in v0.46.0
func (_m *MachineAccountMetrics) EXPECT() *MachineAccountMetrics_Expecter
func (*MachineAccountMetrics) IsMisconfigured ¶ added in v0.33.22
func (_mock *MachineAccountMetrics) IsMisconfigured(misconfigured bool)
IsMisconfigured provides a mock function for the type MachineAccountMetrics
func (*MachineAccountMetrics) RecommendedMinBalance ¶ added in v0.33.22
func (_mock *MachineAccountMetrics) RecommendedMinBalance(bal float64)
RecommendedMinBalance provides a mock function for the type MachineAccountMetrics
type MachineAccountMetrics_AccountBalance_Call ¶ added in v0.46.0
MachineAccountMetrics_AccountBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountBalance'
func (*MachineAccountMetrics_AccountBalance_Call) Return ¶ added in v0.46.0
func (_c *MachineAccountMetrics_AccountBalance_Call) Return() *MachineAccountMetrics_AccountBalance_Call
func (*MachineAccountMetrics_AccountBalance_Call) Run ¶ added in v0.46.0
func (_c *MachineAccountMetrics_AccountBalance_Call) Run(run func(bal float64)) *MachineAccountMetrics_AccountBalance_Call
func (*MachineAccountMetrics_AccountBalance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MachineAccountMetrics_AccountBalance_Call) RunAndReturn(run func(bal float64)) *MachineAccountMetrics_AccountBalance_Call
type MachineAccountMetrics_Expecter ¶ added in v0.46.0
type MachineAccountMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*MachineAccountMetrics_Expecter) AccountBalance ¶ added in v0.46.0
func (_e *MachineAccountMetrics_Expecter) AccountBalance(bal interface{}) *MachineAccountMetrics_AccountBalance_Call
AccountBalance is a helper method to define mock.On call
- bal float64
func (*MachineAccountMetrics_Expecter) IsMisconfigured ¶ added in v0.46.0
func (_e *MachineAccountMetrics_Expecter) IsMisconfigured(misconfigured interface{}) *MachineAccountMetrics_IsMisconfigured_Call
IsMisconfigured is a helper method to define mock.On call
- misconfigured bool
func (*MachineAccountMetrics_Expecter) RecommendedMinBalance ¶ added in v0.46.0
func (_e *MachineAccountMetrics_Expecter) RecommendedMinBalance(bal interface{}) *MachineAccountMetrics_RecommendedMinBalance_Call
RecommendedMinBalance is a helper method to define mock.On call
- bal float64
type MachineAccountMetrics_IsMisconfigured_Call ¶ added in v0.46.0
MachineAccountMetrics_IsMisconfigured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsMisconfigured'
func (*MachineAccountMetrics_IsMisconfigured_Call) Return ¶ added in v0.46.0
func (_c *MachineAccountMetrics_IsMisconfigured_Call) Return() *MachineAccountMetrics_IsMisconfigured_Call
func (*MachineAccountMetrics_IsMisconfigured_Call) Run ¶ added in v0.46.0
func (_c *MachineAccountMetrics_IsMisconfigured_Call) Run(run func(misconfigured bool)) *MachineAccountMetrics_IsMisconfigured_Call
func (*MachineAccountMetrics_IsMisconfigured_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MachineAccountMetrics_IsMisconfigured_Call) RunAndReturn(run func(misconfigured bool)) *MachineAccountMetrics_IsMisconfigured_Call
type MachineAccountMetrics_RecommendedMinBalance_Call ¶ added in v0.46.0
MachineAccountMetrics_RecommendedMinBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecommendedMinBalance'
func (*MachineAccountMetrics_RecommendedMinBalance_Call) Run ¶ added in v0.46.0
func (_c *MachineAccountMetrics_RecommendedMinBalance_Call) Run(run func(bal float64)) *MachineAccountMetrics_RecommendedMinBalance_Call
func (*MachineAccountMetrics_RecommendedMinBalance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MachineAccountMetrics_RecommendedMinBalance_Call) RunAndReturn(run func(bal float64)) *MachineAccountMetrics_RecommendedMinBalance_Call
type MempoolMetrics ¶
MempoolMetrics is an autogenerated mock type for the MempoolMetrics type
func NewMempoolMetrics ¶ added in v0.26.1
func NewMempoolMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *MempoolMetrics
NewMempoolMetrics creates a new instance of MempoolMetrics. 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 (*MempoolMetrics) EXPECT ¶ added in v0.46.0
func (_m *MempoolMetrics) EXPECT() *MempoolMetrics_Expecter
func (*MempoolMetrics) MempoolEntries ¶
func (_mock *MempoolMetrics) MempoolEntries(resource string, entries uint)
MempoolEntries provides a mock function for the type MempoolMetrics
func (*MempoolMetrics) Register ¶
func (_mock *MempoolMetrics) Register(resource string, entriesFunc module.EntriesFunc) error
Register provides a mock function for the type MempoolMetrics
type MempoolMetrics_Expecter ¶ added in v0.46.0
type MempoolMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*MempoolMetrics_Expecter) MempoolEntries ¶ added in v0.46.0
func (_e *MempoolMetrics_Expecter) MempoolEntries(resource interface{}, entries interface{}) *MempoolMetrics_MempoolEntries_Call
MempoolEntries is a helper method to define mock.On call
- resource string
- entries uint
func (*MempoolMetrics_Expecter) Register ¶ added in v0.46.0
func (_e *MempoolMetrics_Expecter) Register(resource interface{}, entriesFunc interface{}) *MempoolMetrics_Register_Call
Register is a helper method to define mock.On call
- resource string
- entriesFunc module.EntriesFunc
type MempoolMetrics_MempoolEntries_Call ¶ added in v0.46.0
MempoolMetrics_MempoolEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MempoolEntries'
func (*MempoolMetrics_MempoolEntries_Call) Return ¶ added in v0.46.0
func (_c *MempoolMetrics_MempoolEntries_Call) Return() *MempoolMetrics_MempoolEntries_Call
func (*MempoolMetrics_MempoolEntries_Call) Run ¶ added in v0.46.0
func (_c *MempoolMetrics_MempoolEntries_Call) Run(run func(resource string, entries uint)) *MempoolMetrics_MempoolEntries_Call
func (*MempoolMetrics_MempoolEntries_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MempoolMetrics_MempoolEntries_Call) RunAndReturn(run func(resource string, entries uint)) *MempoolMetrics_MempoolEntries_Call
type MempoolMetrics_Register_Call ¶ added in v0.46.0
MempoolMetrics_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*MempoolMetrics_Register_Call) Return ¶ added in v0.46.0
func (_c *MempoolMetrics_Register_Call) Return(err error) *MempoolMetrics_Register_Call
func (*MempoolMetrics_Register_Call) Run ¶ added in v0.46.0
func (_c *MempoolMetrics_Register_Call) Run(run func(resource string, entriesFunc module.EntriesFunc)) *MempoolMetrics_Register_Call
func (*MempoolMetrics_Register_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MempoolMetrics_Register_Call) RunAndReturn(run func(resource string, entriesFunc module.EntriesFunc) error) *MempoolMetrics_Register_Call
type NetworkCoreMetrics ¶ added in v0.29.1
NetworkCoreMetrics is an autogenerated mock type for the NetworkCoreMetrics type
func NewNetworkCoreMetrics ¶ added in v0.29.1
func NewNetworkCoreMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *NetworkCoreMetrics
NewNetworkCoreMetrics creates a new instance of NetworkCoreMetrics. 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 (*NetworkCoreMetrics) DuplicateInboundMessagesDropped ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) DuplicateInboundMessagesDropped(topic string, protocol string, messageType string)
DuplicateInboundMessagesDropped provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) EXPECT ¶ added in v0.46.0
func (_m *NetworkCoreMetrics) EXPECT() *NetworkCoreMetrics_Expecter
func (*NetworkCoreMetrics) InboundMessageReceived ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) InboundMessageReceived(sizeBytes int, topic string, protocol string, messageType string)
InboundMessageReceived provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) MessageAdded ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) MessageAdded(priority int)
MessageAdded provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) MessageProcessingFinished ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) MessageProcessingFinished(topic string, duration time.Duration)
MessageProcessingFinished provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) MessageProcessingStarted ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) MessageProcessingStarted(topic string)
MessageProcessingStarted provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) MessageRemoved ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) MessageRemoved(priority int)
MessageRemoved provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) OnMisbehaviorReported ¶ added in v0.31.0
func (_mock *NetworkCoreMetrics) OnMisbehaviorReported(channel string, misbehaviorType string)
OnMisbehaviorReported provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) OnRateLimitedPeer ¶ added in v0.32.0
func (_mock *NetworkCoreMetrics) OnRateLimitedPeer(pid peer.ID, role string, msgType string, topic string, reason string)
OnRateLimitedPeer provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) OnUnauthorizedMessage ¶ added in v0.32.0
func (_mock *NetworkCoreMetrics) OnUnauthorizedMessage(role string, msgType string, topic string, offense string)
OnUnauthorizedMessage provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) OnViolationReportSkipped ¶ added in v0.32.0
func (_mock *NetworkCoreMetrics) OnViolationReportSkipped()
OnViolationReportSkipped provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) OutboundMessageSent ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) OutboundMessageSent(sizeBytes int, topic string, protocol string, messageType string)
OutboundMessageSent provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) QueueDuration ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) QueueDuration(duration time.Duration, priority int)
QueueDuration provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) UnicastMessageSendingCompleted ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) UnicastMessageSendingCompleted(topic string)
UnicastMessageSendingCompleted provides a mock function for the type NetworkCoreMetrics
func (*NetworkCoreMetrics) UnicastMessageSendingStarted ¶ added in v0.29.1
func (_mock *NetworkCoreMetrics) UnicastMessageSendingStarted(topic string)
UnicastMessageSendingStarted provides a mock function for the type NetworkCoreMetrics
type NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call ¶ added in v0.46.0
NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateInboundMessagesDropped'
func (*NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) Run(run func(topic string, protocol string, messageType string)) *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
func (*NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn(run func(topic string, protocol string, messageType string)) *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
type NetworkCoreMetrics_Expecter ¶ added in v0.46.0
type NetworkCoreMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*NetworkCoreMetrics_Expecter) DuplicateInboundMessagesDropped ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) DuplicateInboundMessagesDropped(topic interface{}, protocol interface{}, messageType interface{}) *NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call
DuplicateInboundMessagesDropped is a helper method to define mock.On call
- topic string
- protocol string
- messageType string
func (*NetworkCoreMetrics_Expecter) InboundMessageReceived ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) InboundMessageReceived(sizeBytes interface{}, topic interface{}, protocol interface{}, messageType interface{}) *NetworkCoreMetrics_InboundMessageReceived_Call
InboundMessageReceived is a helper method to define mock.On call
- sizeBytes int
- topic string
- protocol string
- messageType string
func (*NetworkCoreMetrics_Expecter) MessageAdded ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) MessageAdded(priority interface{}) *NetworkCoreMetrics_MessageAdded_Call
MessageAdded is a helper method to define mock.On call
- priority int
func (*NetworkCoreMetrics_Expecter) MessageProcessingFinished ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) MessageProcessingFinished(topic interface{}, duration interface{}) *NetworkCoreMetrics_MessageProcessingFinished_Call
MessageProcessingFinished is a helper method to define mock.On call
- topic string
- duration time.Duration
func (*NetworkCoreMetrics_Expecter) MessageProcessingStarted ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) MessageProcessingStarted(topic interface{}) *NetworkCoreMetrics_MessageProcessingStarted_Call
MessageProcessingStarted is a helper method to define mock.On call
- topic string
func (*NetworkCoreMetrics_Expecter) MessageRemoved ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) MessageRemoved(priority interface{}) *NetworkCoreMetrics_MessageRemoved_Call
MessageRemoved is a helper method to define mock.On call
- priority int
func (*NetworkCoreMetrics_Expecter) OnMisbehaviorReported ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) OnMisbehaviorReported(channel interface{}, misbehaviorType interface{}) *NetworkCoreMetrics_OnMisbehaviorReported_Call
OnMisbehaviorReported is a helper method to define mock.On call
- channel string
- misbehaviorType string
func (*NetworkCoreMetrics_Expecter) OnRateLimitedPeer ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) OnRateLimitedPeer(pid interface{}, role interface{}, msgType interface{}, topic interface{}, reason interface{}) *NetworkCoreMetrics_OnRateLimitedPeer_Call
OnRateLimitedPeer is a helper method to define mock.On call
- pid peer.ID
- role string
- msgType string
- topic string
- reason string
func (*NetworkCoreMetrics_Expecter) OnUnauthorizedMessage ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) OnUnauthorizedMessage(role interface{}, msgType interface{}, topic interface{}, offense interface{}) *NetworkCoreMetrics_OnUnauthorizedMessage_Call
OnUnauthorizedMessage is a helper method to define mock.On call
- role string
- msgType string
- topic string
- offense string
func (*NetworkCoreMetrics_Expecter) OnViolationReportSkipped ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) OnViolationReportSkipped() *NetworkCoreMetrics_OnViolationReportSkipped_Call
OnViolationReportSkipped is a helper method to define mock.On call
func (*NetworkCoreMetrics_Expecter) OutboundMessageSent ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) OutboundMessageSent(sizeBytes interface{}, topic interface{}, protocol interface{}, messageType interface{}) *NetworkCoreMetrics_OutboundMessageSent_Call
OutboundMessageSent is a helper method to define mock.On call
- sizeBytes int
- topic string
- protocol string
- messageType string
func (*NetworkCoreMetrics_Expecter) QueueDuration ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) QueueDuration(duration interface{}, priority interface{}) *NetworkCoreMetrics_QueueDuration_Call
QueueDuration is a helper method to define mock.On call
- duration time.Duration
- priority int
func (*NetworkCoreMetrics_Expecter) UnicastMessageSendingCompleted ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) UnicastMessageSendingCompleted(topic interface{}) *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
UnicastMessageSendingCompleted is a helper method to define mock.On call
- topic string
func (*NetworkCoreMetrics_Expecter) UnicastMessageSendingStarted ¶ added in v0.46.0
func (_e *NetworkCoreMetrics_Expecter) UnicastMessageSendingStarted(topic interface{}) *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
UnicastMessageSendingStarted is a helper method to define mock.On call
- topic string
type NetworkCoreMetrics_InboundMessageReceived_Call ¶ added in v0.46.0
NetworkCoreMetrics_InboundMessageReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundMessageReceived'
func (*NetworkCoreMetrics_InboundMessageReceived_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_InboundMessageReceived_Call) Run(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_InboundMessageReceived_Call
func (*NetworkCoreMetrics_InboundMessageReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_InboundMessageReceived_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_InboundMessageReceived_Call
type NetworkCoreMetrics_MessageAdded_Call ¶ added in v0.46.0
NetworkCoreMetrics_MessageAdded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageAdded'
func (*NetworkCoreMetrics_MessageAdded_Call) Return ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageAdded_Call) Return() *NetworkCoreMetrics_MessageAdded_Call
func (*NetworkCoreMetrics_MessageAdded_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageAdded_Call) Run(run func(priority int)) *NetworkCoreMetrics_MessageAdded_Call
func (*NetworkCoreMetrics_MessageAdded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageAdded_Call) RunAndReturn(run func(priority int)) *NetworkCoreMetrics_MessageAdded_Call
type NetworkCoreMetrics_MessageProcessingFinished_Call ¶ added in v0.46.0
NetworkCoreMetrics_MessageProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingFinished'
func (*NetworkCoreMetrics_MessageProcessingFinished_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageProcessingFinished_Call) Run(run func(topic string, duration time.Duration)) *NetworkCoreMetrics_MessageProcessingFinished_Call
func (*NetworkCoreMetrics_MessageProcessingFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageProcessingFinished_Call) RunAndReturn(run func(topic string, duration time.Duration)) *NetworkCoreMetrics_MessageProcessingFinished_Call
type NetworkCoreMetrics_MessageProcessingStarted_Call ¶ added in v0.46.0
NetworkCoreMetrics_MessageProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingStarted'
func (*NetworkCoreMetrics_MessageProcessingStarted_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageProcessingStarted_Call) Run(run func(topic string)) *NetworkCoreMetrics_MessageProcessingStarted_Call
func (*NetworkCoreMetrics_MessageProcessingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageProcessingStarted_Call) RunAndReturn(run func(topic string)) *NetworkCoreMetrics_MessageProcessingStarted_Call
type NetworkCoreMetrics_MessageRemoved_Call ¶ added in v0.46.0
NetworkCoreMetrics_MessageRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageRemoved'
func (*NetworkCoreMetrics_MessageRemoved_Call) Return ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageRemoved_Call) Return() *NetworkCoreMetrics_MessageRemoved_Call
func (*NetworkCoreMetrics_MessageRemoved_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageRemoved_Call) Run(run func(priority int)) *NetworkCoreMetrics_MessageRemoved_Call
func (*NetworkCoreMetrics_MessageRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_MessageRemoved_Call) RunAndReturn(run func(priority int)) *NetworkCoreMetrics_MessageRemoved_Call
type NetworkCoreMetrics_OnMisbehaviorReported_Call ¶ added in v0.46.0
NetworkCoreMetrics_OnMisbehaviorReported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMisbehaviorReported'
func (*NetworkCoreMetrics_OnMisbehaviorReported_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnMisbehaviorReported_Call) Run(run func(channel string, misbehaviorType string)) *NetworkCoreMetrics_OnMisbehaviorReported_Call
func (*NetworkCoreMetrics_OnMisbehaviorReported_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnMisbehaviorReported_Call) RunAndReturn(run func(channel string, misbehaviorType string)) *NetworkCoreMetrics_OnMisbehaviorReported_Call
type NetworkCoreMetrics_OnRateLimitedPeer_Call ¶ added in v0.46.0
NetworkCoreMetrics_OnRateLimitedPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRateLimitedPeer'
func (*NetworkCoreMetrics_OnRateLimitedPeer_Call) Return ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnRateLimitedPeer_Call) Return() *NetworkCoreMetrics_OnRateLimitedPeer_Call
func (*NetworkCoreMetrics_OnRateLimitedPeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnRateLimitedPeer_Call) Run(run func(pid peer.ID, role string, msgType string, topic string, reason string)) *NetworkCoreMetrics_OnRateLimitedPeer_Call
func (*NetworkCoreMetrics_OnRateLimitedPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnRateLimitedPeer_Call) RunAndReturn(run func(pid peer.ID, role string, msgType string, topic string, reason string)) *NetworkCoreMetrics_OnRateLimitedPeer_Call
type NetworkCoreMetrics_OnUnauthorizedMessage_Call ¶ added in v0.46.0
type NetworkCoreMetrics_OnUnauthorizedMessage_Call struct {
}
NetworkCoreMetrics_OnUnauthorizedMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnauthorizedMessage'
func (*NetworkCoreMetrics_OnUnauthorizedMessage_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnUnauthorizedMessage_Call) Run(run func(role string, msgType string, topic string, offense string)) *NetworkCoreMetrics_OnUnauthorizedMessage_Call
func (*NetworkCoreMetrics_OnUnauthorizedMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnUnauthorizedMessage_Call) RunAndReturn(run func(role string, msgType string, topic string, offense string)) *NetworkCoreMetrics_OnUnauthorizedMessage_Call
type NetworkCoreMetrics_OnViolationReportSkipped_Call ¶ added in v0.46.0
NetworkCoreMetrics_OnViolationReportSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnViolationReportSkipped'
func (*NetworkCoreMetrics_OnViolationReportSkipped_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnViolationReportSkipped_Call) Run(run func()) *NetworkCoreMetrics_OnViolationReportSkipped_Call
func (*NetworkCoreMetrics_OnViolationReportSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OnViolationReportSkipped_Call) RunAndReturn(run func()) *NetworkCoreMetrics_OnViolationReportSkipped_Call
type NetworkCoreMetrics_OutboundMessageSent_Call ¶ added in v0.46.0
NetworkCoreMetrics_OutboundMessageSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundMessageSent'
func (*NetworkCoreMetrics_OutboundMessageSent_Call) Return ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OutboundMessageSent_Call) Return() *NetworkCoreMetrics_OutboundMessageSent_Call
func (*NetworkCoreMetrics_OutboundMessageSent_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OutboundMessageSent_Call) Run(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_OutboundMessageSent_Call
func (*NetworkCoreMetrics_OutboundMessageSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_OutboundMessageSent_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol string, messageType string)) *NetworkCoreMetrics_OutboundMessageSent_Call
type NetworkCoreMetrics_QueueDuration_Call ¶ added in v0.46.0
NetworkCoreMetrics_QueueDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueueDuration'
func (*NetworkCoreMetrics_QueueDuration_Call) Return ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_QueueDuration_Call) Return() *NetworkCoreMetrics_QueueDuration_Call
func (*NetworkCoreMetrics_QueueDuration_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_QueueDuration_Call) Run(run func(duration time.Duration, priority int)) *NetworkCoreMetrics_QueueDuration_Call
func (*NetworkCoreMetrics_QueueDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_QueueDuration_Call) RunAndReturn(run func(duration time.Duration, priority int)) *NetworkCoreMetrics_QueueDuration_Call
type NetworkCoreMetrics_UnicastMessageSendingCompleted_Call ¶ added in v0.46.0
NetworkCoreMetrics_UnicastMessageSendingCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingCompleted'
func (*NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) Run(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
func (*NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingCompleted_Call
type NetworkCoreMetrics_UnicastMessageSendingStarted_Call ¶ added in v0.46.0
NetworkCoreMetrics_UnicastMessageSendingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingStarted'
func (*NetworkCoreMetrics_UnicastMessageSendingStarted_Call) Run ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_UnicastMessageSendingStarted_Call) Run(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
func (*NetworkCoreMetrics_UnicastMessageSendingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkCoreMetrics_UnicastMessageSendingStarted_Call) RunAndReturn(run func(topic string)) *NetworkCoreMetrics_UnicastMessageSendingStarted_Call
type NetworkInboundQueueMetrics ¶ added in v0.29.1
NetworkInboundQueueMetrics is an autogenerated mock type for the NetworkInboundQueueMetrics type
func NewNetworkInboundQueueMetrics ¶ added in v0.29.1
func NewNetworkInboundQueueMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *NetworkInboundQueueMetrics
NewNetworkInboundQueueMetrics creates a new instance of NetworkInboundQueueMetrics. 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 (*NetworkInboundQueueMetrics) EXPECT ¶ added in v0.46.0
func (_m *NetworkInboundQueueMetrics) EXPECT() *NetworkInboundQueueMetrics_Expecter
func (*NetworkInboundQueueMetrics) MessageAdded ¶ added in v0.29.1
func (_mock *NetworkInboundQueueMetrics) MessageAdded(priority int)
MessageAdded provides a mock function for the type NetworkInboundQueueMetrics
func (*NetworkInboundQueueMetrics) MessageRemoved ¶ added in v0.29.1
func (_mock *NetworkInboundQueueMetrics) MessageRemoved(priority int)
MessageRemoved provides a mock function for the type NetworkInboundQueueMetrics
func (*NetworkInboundQueueMetrics) QueueDuration ¶ added in v0.29.1
func (_mock *NetworkInboundQueueMetrics) QueueDuration(duration time.Duration, priority int)
QueueDuration provides a mock function for the type NetworkInboundQueueMetrics
type NetworkInboundQueueMetrics_Expecter ¶ added in v0.46.0
type NetworkInboundQueueMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*NetworkInboundQueueMetrics_Expecter) MessageAdded ¶ added in v0.46.0
func (_e *NetworkInboundQueueMetrics_Expecter) MessageAdded(priority interface{}) *NetworkInboundQueueMetrics_MessageAdded_Call
MessageAdded is a helper method to define mock.On call
- priority int
func (*NetworkInboundQueueMetrics_Expecter) MessageRemoved ¶ added in v0.46.0
func (_e *NetworkInboundQueueMetrics_Expecter) MessageRemoved(priority interface{}) *NetworkInboundQueueMetrics_MessageRemoved_Call
MessageRemoved is a helper method to define mock.On call
- priority int
func (*NetworkInboundQueueMetrics_Expecter) QueueDuration ¶ added in v0.46.0
func (_e *NetworkInboundQueueMetrics_Expecter) QueueDuration(duration interface{}, priority interface{}) *NetworkInboundQueueMetrics_QueueDuration_Call
QueueDuration is a helper method to define mock.On call
- duration time.Duration
- priority int
type NetworkInboundQueueMetrics_MessageAdded_Call ¶ added in v0.46.0
NetworkInboundQueueMetrics_MessageAdded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageAdded'
func (*NetworkInboundQueueMetrics_MessageAdded_Call) Return ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_MessageAdded_Call) Return() *NetworkInboundQueueMetrics_MessageAdded_Call
func (*NetworkInboundQueueMetrics_MessageAdded_Call) Run ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_MessageAdded_Call) Run(run func(priority int)) *NetworkInboundQueueMetrics_MessageAdded_Call
func (*NetworkInboundQueueMetrics_MessageAdded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_MessageAdded_Call) RunAndReturn(run func(priority int)) *NetworkInboundQueueMetrics_MessageAdded_Call
type NetworkInboundQueueMetrics_MessageRemoved_Call ¶ added in v0.46.0
NetworkInboundQueueMetrics_MessageRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageRemoved'
func (*NetworkInboundQueueMetrics_MessageRemoved_Call) Run ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_MessageRemoved_Call) Run(run func(priority int)) *NetworkInboundQueueMetrics_MessageRemoved_Call
func (*NetworkInboundQueueMetrics_MessageRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_MessageRemoved_Call) RunAndReturn(run func(priority int)) *NetworkInboundQueueMetrics_MessageRemoved_Call
type NetworkInboundQueueMetrics_QueueDuration_Call ¶ added in v0.46.0
NetworkInboundQueueMetrics_QueueDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueueDuration'
func (*NetworkInboundQueueMetrics_QueueDuration_Call) Run ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_QueueDuration_Call) Run(run func(duration time.Duration, priority int)) *NetworkInboundQueueMetrics_QueueDuration_Call
func (*NetworkInboundQueueMetrics_QueueDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkInboundQueueMetrics_QueueDuration_Call) RunAndReturn(run func(duration time.Duration, priority int)) *NetworkInboundQueueMetrics_QueueDuration_Call
type NetworkMetrics ¶
NetworkMetrics is an autogenerated mock type for the NetworkMetrics type
func NewNetworkMetrics ¶ added in v0.26.1
func NewNetworkMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *NetworkMetrics
NewNetworkMetrics creates a new instance of NetworkMetrics. 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 (*NetworkMetrics) AllowConn ¶ added in v0.29.0
func (_mock *NetworkMetrics) AllowConn(dir network.Direction, usefd bool)
AllowConn provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AllowMemory ¶ added in v0.29.0
func (_mock *NetworkMetrics) AllowMemory(size int)
AllowMemory provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AllowPeer ¶ added in v0.29.0
func (_mock *NetworkMetrics) AllowPeer(p peer.ID)
AllowPeer provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AllowProtocol ¶ added in v0.29.0
func (_mock *NetworkMetrics) AllowProtocol(proto protocol.ID)
AllowProtocol provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AllowService ¶ added in v0.29.0
func (_mock *NetworkMetrics) AllowService(svc string)
AllowService provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AllowStream ¶ added in v0.29.0
func (_mock *NetworkMetrics) AllowStream(p peer.ID, dir network.Direction)
AllowStream provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AsyncProcessingFinished ¶ added in v0.31.0
func (_mock *NetworkMetrics) AsyncProcessingFinished(duration time.Duration)
AsyncProcessingFinished provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) AsyncProcessingStarted ¶ added in v0.31.0
func (_mock *NetworkMetrics) AsyncProcessingStarted()
AsyncProcessingStarted provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockConn ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockConn(dir network.Direction, usefd bool)
BlockConn provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockMemory ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockMemory(size int)
BlockMemory provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockPeer ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockPeer(p peer.ID)
BlockPeer provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockProtocol ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockProtocol(proto protocol.ID)
BlockProtocol provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockProtocolPeer ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockProtocolPeer(proto protocol.ID, p peer.ID)
BlockProtocolPeer provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockService ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockService(svc string)
BlockService provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockServicePeer ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockServicePeer(svc string, p peer.ID)
BlockServicePeer provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) BlockStream ¶ added in v0.29.0
func (_mock *NetworkMetrics) BlockStream(p peer.ID, dir network.Direction)
BlockStream provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) DNSLookupDuration ¶ added in v0.21.0
func (_mock *NetworkMetrics) DNSLookupDuration(duration time.Duration)
DNSLookupDuration provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) DuplicateInboundMessagesDropped ¶ added in v0.29.1
func (_mock *NetworkMetrics) DuplicateInboundMessagesDropped(topic string, protocol1 string, messageType string)
DuplicateInboundMessagesDropped provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) DuplicateMessagePenalties ¶ added in v0.33.30
func (_mock *NetworkMetrics) DuplicateMessagePenalties(penalty float64)
DuplicateMessagePenalties provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) DuplicateMessagesCounts ¶ added in v0.33.30
func (_mock *NetworkMetrics) DuplicateMessagesCounts(count float64)
DuplicateMessagesCounts provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) EXPECT ¶ added in v0.46.0
func (_m *NetworkMetrics) EXPECT() *NetworkMetrics_Expecter
func (*NetworkMetrics) InboundConnections ¶ added in v0.12.0
func (_mock *NetworkMetrics) InboundConnections(connectionCount uint)
InboundConnections provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) InboundMessageReceived ¶ added in v0.29.1
func (_mock *NetworkMetrics) InboundMessageReceived(sizeBytes int, topic string, protocol1 string, messageType string)
InboundMessageReceived provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) MessageAdded ¶
func (_mock *NetworkMetrics) MessageAdded(priority int)
MessageAdded provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) MessageProcessingFinished ¶ added in v0.24.7
func (_mock *NetworkMetrics) MessageProcessingFinished(topic string, duration time.Duration)
MessageProcessingFinished provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) MessageProcessingStarted ¶ added in v0.24.7
func (_mock *NetworkMetrics) MessageProcessingStarted(topic string)
MessageProcessingStarted provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) MessageRemoved ¶
func (_mock *NetworkMetrics) MessageRemoved(priority int)
MessageRemoved provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnActiveClusterIDsNotSetErr ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnActiveClusterIDsNotSetErr()
OnActiveClusterIDsNotSetErr provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnAppSpecificScoreUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnAppSpecificScoreUpdated(f float64)
OnAppSpecificScoreUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnBehaviourPenaltyUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnBehaviourPenaltyUpdated(f float64)
OnBehaviourPenaltyUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnControlMessagesTruncated ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnControlMessagesTruncated(messageType p2pmsg.ControlMessageType, diff int)
OnControlMessagesTruncated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnDNSCacheHit ¶ added in v0.21.0
func (_mock *NetworkMetrics) OnDNSCacheHit()
OnDNSCacheHit provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnDNSCacheInvalidated ¶ added in v0.21.1
func (_mock *NetworkMetrics) OnDNSCacheInvalidated()
OnDNSCacheInvalidated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnDNSCacheMiss ¶ added in v0.21.0
func (_mock *NetworkMetrics) OnDNSCacheMiss()
OnDNSCacheMiss provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnDNSLookupRequestDropped ¶ added in v0.23.9
func (_mock *NetworkMetrics) OnDNSLookupRequestDropped()
OnDNSLookupRequestDropped provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnDialRetryBudgetResetToDefault ¶ added in v0.32.2
func (_mock *NetworkMetrics) OnDialRetryBudgetResetToDefault()
OnDialRetryBudgetResetToDefault provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnDialRetryBudgetUpdated ¶ added in v0.32.2
func (_mock *NetworkMetrics) OnDialRetryBudgetUpdated(budget uint64)
OnDialRetryBudgetUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnEstablishStreamFailure ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnEstablishStreamFailure(duration time.Duration, attempts int)
OnEstablishStreamFailure provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnFirstMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnFirstMessageDeliveredUpdated(topic channels.Topic, f float64)
OnFirstMessageDeliveredUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnGraftDuplicateTopicIdsExceedThreshold()
OnGraftDuplicateTopicIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *NetworkMetrics) OnGraftInvalidTopicIdsExceedThreshold()
OnGraftInvalidTopicIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnGraftMessageInspected ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnGraftMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnGraftMessageInspected provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIHaveControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnIHaveControlMessageIdsTruncated(diff int)
OnIHaveControlMessageIdsTruncated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnIHaveDuplicateMessageIdsExceedThreshold()
OnIHaveDuplicateMessageIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnIHaveDuplicateTopicIdsExceedThreshold()
OnIHaveDuplicateTopicIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *NetworkMetrics) OnIHaveInvalidTopicIdsExceedThreshold()
OnIHaveInvalidTopicIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIHaveMessageIDsReceived ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnIHaveMessageIDsReceived(channel string, msgIdCount int)
OnIHaveMessageIDsReceived provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIHaveMessagesInspected ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnIHaveMessagesInspected(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)
OnIHaveMessagesInspected provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIPColocationFactorUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnIPColocationFactorUpdated(f float64)
OnIPColocationFactorUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnIWantCacheMissMessageIdsExceedThreshold()
OnIWantCacheMissMessageIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIWantControlMessageIdsTruncated ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnIWantControlMessageIdsTruncated(diff int)
OnIWantControlMessageIdsTruncated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnIWantDuplicateMessageIdsExceedThreshold()
OnIWantDuplicateMessageIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIWantMessageIDsReceived ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnIWantMessageIDsReceived(msgIdCount int)
OnIWantMessageIDsReceived provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIWantMessagesInspected ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnIWantMessagesInspected(duplicateCount int, cacheMissCount int)
OnIWantMessagesInspected provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnIncomingRpcReceived ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnIncomingRpcReceived(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)
OnIncomingRpcReceived provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnInvalidControlMessageNotificationSent ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnInvalidControlMessageNotificationSent()
OnInvalidControlMessageNotificationSent provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnInvalidMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnInvalidMessageDeliveredUpdated(topic channels.Topic, f float64)
OnInvalidMessageDeliveredUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnInvalidTopicIdDetectedForControlMessage(messageType p2pmsg.ControlMessageType)
OnInvalidTopicIdDetectedForControlMessage provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnLocalMeshSizeUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnLocalMeshSizeUpdated(topic string, size int)
OnLocalMeshSizeUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnLocalPeerJoinedTopic ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnLocalPeerJoinedTopic()
OnLocalPeerJoinedTopic provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnLocalPeerLeftTopic ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnLocalPeerLeftTopic()
OnLocalPeerLeftTopic provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnMeshMessageDeliveredUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnMeshMessageDeliveredUpdated(topic channels.Topic, f float64)
OnMeshMessageDeliveredUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnMessageDeliveredToAllSubscribers ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnMessageDeliveredToAllSubscribers(size int)
OnMessageDeliveredToAllSubscribers provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnMessageDuplicate ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnMessageDuplicate(size int)
OnMessageDuplicate provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnMessageEnteredValidation ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnMessageEnteredValidation(size int)
OnMessageEnteredValidation provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnMessageRejected ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnMessageRejected(size int, reason string)
OnMessageRejected provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnMisbehaviorReported ¶ added in v0.31.0
func (_mock *NetworkMetrics) OnMisbehaviorReported(channel string, misbehaviorType string)
OnMisbehaviorReported provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnOutboundRpcDropped ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnOutboundRpcDropped()
OnOutboundRpcDropped provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnOverallPeerScoreUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnOverallPeerScoreUpdated(f float64)
OnOverallPeerScoreUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerAddedToProtocol ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnPeerAddedToProtocol(protocol1 string)
OnPeerAddedToProtocol provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerDialFailure ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnPeerDialFailure(duration time.Duration, attempts int)
OnPeerDialFailure provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerDialed ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnPeerDialed(duration time.Duration, attempts int)
OnPeerDialed provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerGraftTopic ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnPeerGraftTopic(topic string)
OnPeerGraftTopic provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerPruneTopic ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnPeerPruneTopic(topic string)
OnPeerPruneTopic provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerRemovedFromProtocol ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnPeerRemovedFromProtocol()
OnPeerRemovedFromProtocol provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPeerThrottled ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnPeerThrottled()
OnPeerThrottled provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnPruneDuplicateTopicIdsExceedThreshold()
OnPruneDuplicateTopicIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.33.30
func (_mock *NetworkMetrics) OnPruneInvalidTopicIdsExceedThreshold()
OnPruneInvalidTopicIdsExceedThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPruneMessageInspected ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnPruneMessageInspected(duplicateTopicIds int, invalidTopicIds int)
OnPruneMessageInspected provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPublishMessageInspected ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnPublishMessageInspected(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)
OnPublishMessageInspected provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnPublishMessagesInspectionErrorExceedsThreshold()
OnPublishMessagesInspectionErrorExceedsThreshold provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnRateLimitedPeer ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnRateLimitedPeer(pid peer.ID, role string, msgType string, topic string, reason string)
OnRateLimitedPeer provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnRpcReceived ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnRpcReceived(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcReceived provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnRpcRejectedFromUnknownSender ¶ added in v0.33.30
func (_mock *NetworkMetrics) OnRpcRejectedFromUnknownSender()
OnRpcRejectedFromUnknownSender provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnRpcSent ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnRpcSent(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)
OnRpcSent provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnStreamCreated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnStreamCreated(duration time.Duration, attempts int)
OnStreamCreated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnStreamCreationFailure ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnStreamCreationFailure(duration time.Duration, attempts int)
OnStreamCreationFailure provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnStreamCreationRetryBudgetResetToDefault ¶ added in v0.32.2
func (_mock *NetworkMetrics) OnStreamCreationRetryBudgetResetToDefault()
OnStreamCreationRetryBudgetResetToDefault provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnStreamCreationRetryBudgetUpdated ¶ added in v0.32.2
func (_mock *NetworkMetrics) OnStreamCreationRetryBudgetUpdated(budget uint64)
OnStreamCreationRetryBudgetUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnStreamEstablished ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnStreamEstablished(duration time.Duration, attempts int)
OnStreamEstablished provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnTimeInMeshUpdated ¶ added in v0.30.0
func (_mock *NetworkMetrics) OnTimeInMeshUpdated(topic channels.Topic, duration time.Duration)
OnTimeInMeshUpdated provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnUnauthorizedMessage ¶ added in v0.28.0
func (_mock *NetworkMetrics) OnUnauthorizedMessage(role string, msgType string, topic string, offense string)
OnUnauthorizedMessage provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnUndeliveredMessage ¶ added in v0.33.1
func (_mock *NetworkMetrics) OnUndeliveredMessage()
OnUndeliveredMessage provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnUnstakedPeerInspectionFailed ¶ added in v0.33.7
func (_mock *NetworkMetrics) OnUnstakedPeerInspectionFailed()
OnUnstakedPeerInspectionFailed provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OnViolationReportSkipped ¶ added in v0.32.0
func (_mock *NetworkMetrics) OnViolationReportSkipped()
OnViolationReportSkipped provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OutboundConnections ¶ added in v0.12.0
func (_mock *NetworkMetrics) OutboundConnections(connectionCount uint)
OutboundConnections provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) OutboundMessageSent ¶ added in v0.29.1
func (_mock *NetworkMetrics) OutboundMessageSent(sizeBytes int, topic string, protocol1 string, messageType string)
OutboundMessageSent provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) QueueDuration ¶
func (_mock *NetworkMetrics) QueueDuration(duration time.Duration, priority int)
QueueDuration provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) RoutingTablePeerAdded ¶ added in v0.26.16
func (_mock *NetworkMetrics) RoutingTablePeerAdded()
RoutingTablePeerAdded provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) RoutingTablePeerRemoved ¶ added in v0.26.16
func (_mock *NetworkMetrics) RoutingTablePeerRemoved()
RoutingTablePeerRemoved provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) SetWarningStateCount ¶ added in v0.30.0
func (_mock *NetworkMetrics) SetWarningStateCount(v uint)
SetWarningStateCount provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) UnicastMessageSendingCompleted ¶ added in v0.29.1
func (_mock *NetworkMetrics) UnicastMessageSendingCompleted(topic string)
UnicastMessageSendingCompleted provides a mock function for the type NetworkMetrics
func (*NetworkMetrics) UnicastMessageSendingStarted ¶ added in v0.29.1
func (_mock *NetworkMetrics) UnicastMessageSendingStarted(topic string)
UnicastMessageSendingStarted provides a mock function for the type NetworkMetrics
type NetworkMetrics_AllowConn_Call ¶ added in v0.46.0
NetworkMetrics_AllowConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowConn'
func (*NetworkMetrics_AllowConn_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowConn_Call) Return() *NetworkMetrics_AllowConn_Call
func (*NetworkMetrics_AllowConn_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowConn_Call) Run(run func(dir network.Direction, usefd bool)) *NetworkMetrics_AllowConn_Call
func (*NetworkMetrics_AllowConn_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *NetworkMetrics_AllowConn_Call
type NetworkMetrics_AllowMemory_Call ¶ added in v0.46.0
NetworkMetrics_AllowMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowMemory'
func (*NetworkMetrics_AllowMemory_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowMemory_Call) Return() *NetworkMetrics_AllowMemory_Call
func (*NetworkMetrics_AllowMemory_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowMemory_Call) Run(run func(size int)) *NetworkMetrics_AllowMemory_Call
func (*NetworkMetrics_AllowMemory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowMemory_Call) RunAndReturn(run func(size int)) *NetworkMetrics_AllowMemory_Call
type NetworkMetrics_AllowPeer_Call ¶ added in v0.46.0
NetworkMetrics_AllowPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowPeer'
func (*NetworkMetrics_AllowPeer_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowPeer_Call) Return() *NetworkMetrics_AllowPeer_Call
func (*NetworkMetrics_AllowPeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowPeer_Call) Run(run func(p peer.ID)) *NetworkMetrics_AllowPeer_Call
func (*NetworkMetrics_AllowPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowPeer_Call) RunAndReturn(run func(p peer.ID)) *NetworkMetrics_AllowPeer_Call
type NetworkMetrics_AllowProtocol_Call ¶ added in v0.46.0
NetworkMetrics_AllowProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowProtocol'
func (*NetworkMetrics_AllowProtocol_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowProtocol_Call) Return() *NetworkMetrics_AllowProtocol_Call
func (*NetworkMetrics_AllowProtocol_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowProtocol_Call) Run(run func(proto protocol.ID)) *NetworkMetrics_AllowProtocol_Call
func (*NetworkMetrics_AllowProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *NetworkMetrics_AllowProtocol_Call
type NetworkMetrics_AllowService_Call ¶ added in v0.46.0
NetworkMetrics_AllowService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowService'
func (*NetworkMetrics_AllowService_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowService_Call) Return() *NetworkMetrics_AllowService_Call
func (*NetworkMetrics_AllowService_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowService_Call) Run(run func(svc string)) *NetworkMetrics_AllowService_Call
func (*NetworkMetrics_AllowService_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowService_Call) RunAndReturn(run func(svc string)) *NetworkMetrics_AllowService_Call
type NetworkMetrics_AllowStream_Call ¶ added in v0.46.0
NetworkMetrics_AllowStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllowStream'
func (*NetworkMetrics_AllowStream_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowStream_Call) Return() *NetworkMetrics_AllowStream_Call
func (*NetworkMetrics_AllowStream_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowStream_Call) Run(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_AllowStream_Call
func (*NetworkMetrics_AllowStream_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AllowStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_AllowStream_Call
type NetworkMetrics_AsyncProcessingFinished_Call ¶ added in v0.46.0
NetworkMetrics_AsyncProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingFinished'
func (*NetworkMetrics_AsyncProcessingFinished_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AsyncProcessingFinished_Call) Return() *NetworkMetrics_AsyncProcessingFinished_Call
func (*NetworkMetrics_AsyncProcessingFinished_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AsyncProcessingFinished_Call) Run(run func(duration time.Duration)) *NetworkMetrics_AsyncProcessingFinished_Call
func (*NetworkMetrics_AsyncProcessingFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AsyncProcessingFinished_Call) RunAndReturn(run func(duration time.Duration)) *NetworkMetrics_AsyncProcessingFinished_Call
type NetworkMetrics_AsyncProcessingStarted_Call ¶ added in v0.46.0
NetworkMetrics_AsyncProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingStarted'
func (*NetworkMetrics_AsyncProcessingStarted_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_AsyncProcessingStarted_Call) Return() *NetworkMetrics_AsyncProcessingStarted_Call
func (*NetworkMetrics_AsyncProcessingStarted_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_AsyncProcessingStarted_Call) Run(run func()) *NetworkMetrics_AsyncProcessingStarted_Call
func (*NetworkMetrics_AsyncProcessingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_AsyncProcessingStarted_Call) RunAndReturn(run func()) *NetworkMetrics_AsyncProcessingStarted_Call
type NetworkMetrics_BlockConn_Call ¶ added in v0.46.0
NetworkMetrics_BlockConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockConn'
func (*NetworkMetrics_BlockConn_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockConn_Call) Return() *NetworkMetrics_BlockConn_Call
func (*NetworkMetrics_BlockConn_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockConn_Call) Run(run func(dir network.Direction, usefd bool)) *NetworkMetrics_BlockConn_Call
func (*NetworkMetrics_BlockConn_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockConn_Call) RunAndReturn(run func(dir network.Direction, usefd bool)) *NetworkMetrics_BlockConn_Call
type NetworkMetrics_BlockMemory_Call ¶ added in v0.46.0
NetworkMetrics_BlockMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockMemory'
func (*NetworkMetrics_BlockMemory_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockMemory_Call) Return() *NetworkMetrics_BlockMemory_Call
func (*NetworkMetrics_BlockMemory_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockMemory_Call) Run(run func(size int)) *NetworkMetrics_BlockMemory_Call
func (*NetworkMetrics_BlockMemory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockMemory_Call) RunAndReturn(run func(size int)) *NetworkMetrics_BlockMemory_Call
type NetworkMetrics_BlockPeer_Call ¶ added in v0.46.0
NetworkMetrics_BlockPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockPeer'
func (*NetworkMetrics_BlockPeer_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockPeer_Call) Return() *NetworkMetrics_BlockPeer_Call
func (*NetworkMetrics_BlockPeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockPeer_Call) Run(run func(p peer.ID)) *NetworkMetrics_BlockPeer_Call
func (*NetworkMetrics_BlockPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockPeer_Call) RunAndReturn(run func(p peer.ID)) *NetworkMetrics_BlockPeer_Call
type NetworkMetrics_BlockProtocolPeer_Call ¶ added in v0.46.0
NetworkMetrics_BlockProtocolPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockProtocolPeer'
func (*NetworkMetrics_BlockProtocolPeer_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockProtocolPeer_Call) Return() *NetworkMetrics_BlockProtocolPeer_Call
func (*NetworkMetrics_BlockProtocolPeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockProtocolPeer_Call) Run(run func(proto protocol.ID, p peer.ID)) *NetworkMetrics_BlockProtocolPeer_Call
func (*NetworkMetrics_BlockProtocolPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockProtocolPeer_Call) RunAndReturn(run func(proto protocol.ID, p peer.ID)) *NetworkMetrics_BlockProtocolPeer_Call
type NetworkMetrics_BlockProtocol_Call ¶ added in v0.46.0
NetworkMetrics_BlockProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockProtocol'
func (*NetworkMetrics_BlockProtocol_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockProtocol_Call) Return() *NetworkMetrics_BlockProtocol_Call
func (*NetworkMetrics_BlockProtocol_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockProtocol_Call) Run(run func(proto protocol.ID)) *NetworkMetrics_BlockProtocol_Call
func (*NetworkMetrics_BlockProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockProtocol_Call) RunAndReturn(run func(proto protocol.ID)) *NetworkMetrics_BlockProtocol_Call
type NetworkMetrics_BlockServicePeer_Call ¶ added in v0.46.0
NetworkMetrics_BlockServicePeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockServicePeer'
func (*NetworkMetrics_BlockServicePeer_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockServicePeer_Call) Return() *NetworkMetrics_BlockServicePeer_Call
func (*NetworkMetrics_BlockServicePeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockServicePeer_Call) Run(run func(svc string, p peer.ID)) *NetworkMetrics_BlockServicePeer_Call
func (*NetworkMetrics_BlockServicePeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockServicePeer_Call) RunAndReturn(run func(svc string, p peer.ID)) *NetworkMetrics_BlockServicePeer_Call
type NetworkMetrics_BlockService_Call ¶ added in v0.46.0
NetworkMetrics_BlockService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockService'
func (*NetworkMetrics_BlockService_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockService_Call) Return() *NetworkMetrics_BlockService_Call
func (*NetworkMetrics_BlockService_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockService_Call) Run(run func(svc string)) *NetworkMetrics_BlockService_Call
func (*NetworkMetrics_BlockService_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockService_Call) RunAndReturn(run func(svc string)) *NetworkMetrics_BlockService_Call
type NetworkMetrics_BlockStream_Call ¶ added in v0.46.0
NetworkMetrics_BlockStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockStream'
func (*NetworkMetrics_BlockStream_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockStream_Call) Return() *NetworkMetrics_BlockStream_Call
func (*NetworkMetrics_BlockStream_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockStream_Call) Run(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_BlockStream_Call
func (*NetworkMetrics_BlockStream_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_BlockStream_Call) RunAndReturn(run func(p peer.ID, dir network.Direction)) *NetworkMetrics_BlockStream_Call
type NetworkMetrics_DNSLookupDuration_Call ¶ added in v0.46.0
NetworkMetrics_DNSLookupDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DNSLookupDuration'
func (*NetworkMetrics_DNSLookupDuration_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_DNSLookupDuration_Call) Return() *NetworkMetrics_DNSLookupDuration_Call
func (*NetworkMetrics_DNSLookupDuration_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_DNSLookupDuration_Call) Run(run func(duration time.Duration)) *NetworkMetrics_DNSLookupDuration_Call
func (*NetworkMetrics_DNSLookupDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_DNSLookupDuration_Call) RunAndReturn(run func(duration time.Duration)) *NetworkMetrics_DNSLookupDuration_Call
type NetworkMetrics_DuplicateInboundMessagesDropped_Call ¶ added in v0.46.0
NetworkMetrics_DuplicateInboundMessagesDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateInboundMessagesDropped'
func (*NetworkMetrics_DuplicateInboundMessagesDropped_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateInboundMessagesDropped_Call) Run(run func(topic string, protocol1 string, messageType string)) *NetworkMetrics_DuplicateInboundMessagesDropped_Call
func (*NetworkMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn(run func(topic string, protocol1 string, messageType string)) *NetworkMetrics_DuplicateInboundMessagesDropped_Call
type NetworkMetrics_DuplicateMessagePenalties_Call ¶ added in v0.46.0
NetworkMetrics_DuplicateMessagePenalties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagePenalties'
func (*NetworkMetrics_DuplicateMessagePenalties_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateMessagePenalties_Call) Run(run func(penalty float64)) *NetworkMetrics_DuplicateMessagePenalties_Call
func (*NetworkMetrics_DuplicateMessagePenalties_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateMessagePenalties_Call) RunAndReturn(run func(penalty float64)) *NetworkMetrics_DuplicateMessagePenalties_Call
type NetworkMetrics_DuplicateMessagesCounts_Call ¶ added in v0.46.0
NetworkMetrics_DuplicateMessagesCounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagesCounts'
func (*NetworkMetrics_DuplicateMessagesCounts_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateMessagesCounts_Call) Return() *NetworkMetrics_DuplicateMessagesCounts_Call
func (*NetworkMetrics_DuplicateMessagesCounts_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateMessagesCounts_Call) Run(run func(count float64)) *NetworkMetrics_DuplicateMessagesCounts_Call
func (*NetworkMetrics_DuplicateMessagesCounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_DuplicateMessagesCounts_Call) RunAndReturn(run func(count float64)) *NetworkMetrics_DuplicateMessagesCounts_Call
type NetworkMetrics_Expecter ¶ added in v0.46.0
type NetworkMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*NetworkMetrics_Expecter) AllowConn ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AllowConn(dir interface{}, usefd interface{}) *NetworkMetrics_AllowConn_Call
AllowConn is a helper method to define mock.On call
- dir network.Direction
- usefd bool
func (*NetworkMetrics_Expecter) AllowMemory ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AllowMemory(size interface{}) *NetworkMetrics_AllowMemory_Call
AllowMemory is a helper method to define mock.On call
- size int
func (*NetworkMetrics_Expecter) AllowPeer ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AllowPeer(p interface{}) *NetworkMetrics_AllowPeer_Call
AllowPeer is a helper method to define mock.On call
- p peer.ID
func (*NetworkMetrics_Expecter) AllowProtocol ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AllowProtocol(proto interface{}) *NetworkMetrics_AllowProtocol_Call
AllowProtocol is a helper method to define mock.On call
- proto protocol.ID
func (*NetworkMetrics_Expecter) AllowService ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AllowService(svc interface{}) *NetworkMetrics_AllowService_Call
AllowService is a helper method to define mock.On call
- svc string
func (*NetworkMetrics_Expecter) AllowStream ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AllowStream(p interface{}, dir interface{}) *NetworkMetrics_AllowStream_Call
AllowStream is a helper method to define mock.On call
- p peer.ID
- dir network.Direction
func (*NetworkMetrics_Expecter) AsyncProcessingFinished ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AsyncProcessingFinished(duration interface{}) *NetworkMetrics_AsyncProcessingFinished_Call
AsyncProcessingFinished is a helper method to define mock.On call
- duration time.Duration
func (*NetworkMetrics_Expecter) AsyncProcessingStarted ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) AsyncProcessingStarted() *NetworkMetrics_AsyncProcessingStarted_Call
AsyncProcessingStarted is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) BlockConn ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockConn(dir interface{}, usefd interface{}) *NetworkMetrics_BlockConn_Call
BlockConn is a helper method to define mock.On call
- dir network.Direction
- usefd bool
func (*NetworkMetrics_Expecter) BlockMemory ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockMemory(size interface{}) *NetworkMetrics_BlockMemory_Call
BlockMemory is a helper method to define mock.On call
- size int
func (*NetworkMetrics_Expecter) BlockPeer ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockPeer(p interface{}) *NetworkMetrics_BlockPeer_Call
BlockPeer is a helper method to define mock.On call
- p peer.ID
func (*NetworkMetrics_Expecter) BlockProtocol ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockProtocol(proto interface{}) *NetworkMetrics_BlockProtocol_Call
BlockProtocol is a helper method to define mock.On call
- proto protocol.ID
func (*NetworkMetrics_Expecter) BlockProtocolPeer ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockProtocolPeer(proto interface{}, p interface{}) *NetworkMetrics_BlockProtocolPeer_Call
BlockProtocolPeer is a helper method to define mock.On call
- proto protocol.ID
- p peer.ID
func (*NetworkMetrics_Expecter) BlockService ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockService(svc interface{}) *NetworkMetrics_BlockService_Call
BlockService is a helper method to define mock.On call
- svc string
func (*NetworkMetrics_Expecter) BlockServicePeer ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockServicePeer(svc interface{}, p interface{}) *NetworkMetrics_BlockServicePeer_Call
BlockServicePeer is a helper method to define mock.On call
- svc string
- p peer.ID
func (*NetworkMetrics_Expecter) BlockStream ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) BlockStream(p interface{}, dir interface{}) *NetworkMetrics_BlockStream_Call
BlockStream is a helper method to define mock.On call
- p peer.ID
- dir network.Direction
func (*NetworkMetrics_Expecter) DNSLookupDuration ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) DNSLookupDuration(duration interface{}) *NetworkMetrics_DNSLookupDuration_Call
DNSLookupDuration is a helper method to define mock.On call
- duration time.Duration
func (*NetworkMetrics_Expecter) DuplicateInboundMessagesDropped ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) DuplicateInboundMessagesDropped(topic interface{}, protocol1 interface{}, messageType interface{}) *NetworkMetrics_DuplicateInboundMessagesDropped_Call
DuplicateInboundMessagesDropped is a helper method to define mock.On call
- topic string
- protocol1 string
- messageType string
func (*NetworkMetrics_Expecter) DuplicateMessagePenalties ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) DuplicateMessagePenalties(penalty interface{}) *NetworkMetrics_DuplicateMessagePenalties_Call
DuplicateMessagePenalties is a helper method to define mock.On call
- penalty float64
func (*NetworkMetrics_Expecter) DuplicateMessagesCounts ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) DuplicateMessagesCounts(count interface{}) *NetworkMetrics_DuplicateMessagesCounts_Call
DuplicateMessagesCounts is a helper method to define mock.On call
- count float64
func (*NetworkMetrics_Expecter) InboundConnections ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) InboundConnections(connectionCount interface{}) *NetworkMetrics_InboundConnections_Call
InboundConnections is a helper method to define mock.On call
- connectionCount uint
func (*NetworkMetrics_Expecter) InboundMessageReceived ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) InboundMessageReceived(sizeBytes interface{}, topic interface{}, protocol1 interface{}, messageType interface{}) *NetworkMetrics_InboundMessageReceived_Call
InboundMessageReceived is a helper method to define mock.On call
- sizeBytes int
- topic string
- protocol1 string
- messageType string
func (*NetworkMetrics_Expecter) MessageAdded ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) MessageAdded(priority interface{}) *NetworkMetrics_MessageAdded_Call
MessageAdded is a helper method to define mock.On call
- priority int
func (*NetworkMetrics_Expecter) MessageProcessingFinished ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) MessageProcessingFinished(topic interface{}, duration interface{}) *NetworkMetrics_MessageProcessingFinished_Call
MessageProcessingFinished is a helper method to define mock.On call
- topic string
- duration time.Duration
func (*NetworkMetrics_Expecter) MessageProcessingStarted ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) MessageProcessingStarted(topic interface{}) *NetworkMetrics_MessageProcessingStarted_Call
MessageProcessingStarted is a helper method to define mock.On call
- topic string
func (*NetworkMetrics_Expecter) MessageRemoved ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) MessageRemoved(priority interface{}) *NetworkMetrics_MessageRemoved_Call
MessageRemoved is a helper method to define mock.On call
- priority int
func (*NetworkMetrics_Expecter) OnActiveClusterIDsNotSetErr ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnActiveClusterIDsNotSetErr() *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
OnActiveClusterIDsNotSetErr is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnAppSpecificScoreUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnAppSpecificScoreUpdated(f interface{}) *NetworkMetrics_OnAppSpecificScoreUpdated_Call
OnAppSpecificScoreUpdated is a helper method to define mock.On call
- f float64
func (*NetworkMetrics_Expecter) OnBehaviourPenaltyUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnBehaviourPenaltyUpdated(f interface{}) *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
OnBehaviourPenaltyUpdated is a helper method to define mock.On call
- f float64
func (*NetworkMetrics_Expecter) OnControlMessagesTruncated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnControlMessagesTruncated(messageType interface{}, diff interface{}) *NetworkMetrics_OnControlMessagesTruncated_Call
OnControlMessagesTruncated is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
- diff int
func (*NetworkMetrics_Expecter) OnDNSCacheHit ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnDNSCacheHit() *NetworkMetrics_OnDNSCacheHit_Call
OnDNSCacheHit is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnDNSCacheInvalidated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnDNSCacheInvalidated() *NetworkMetrics_OnDNSCacheInvalidated_Call
OnDNSCacheInvalidated is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnDNSCacheMiss ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnDNSCacheMiss() *NetworkMetrics_OnDNSCacheMiss_Call
OnDNSCacheMiss is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnDNSLookupRequestDropped ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnDNSLookupRequestDropped() *NetworkMetrics_OnDNSLookupRequestDropped_Call
OnDNSLookupRequestDropped is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnDialRetryBudgetResetToDefault ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnDialRetryBudgetResetToDefault() *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
OnDialRetryBudgetResetToDefault is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnDialRetryBudgetUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnDialRetryBudgetUpdated(budget interface{}) *NetworkMetrics_OnDialRetryBudgetUpdated_Call
OnDialRetryBudgetUpdated is a helper method to define mock.On call
- budget uint64
func (*NetworkMetrics_Expecter) OnEstablishStreamFailure ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnEstablishStreamFailure(duration interface{}, attempts interface{}) *NetworkMetrics_OnEstablishStreamFailure_Call
OnEstablishStreamFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*NetworkMetrics_Expecter) OnFirstMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnFirstMessageDeliveredUpdated(topic interface{}, f interface{}) *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
OnFirstMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*NetworkMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnGraftDuplicateTopicIdsExceedThreshold() *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
OnGraftDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold() *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
OnGraftInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnGraftMessageInspected ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnGraftMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *NetworkMetrics_OnGraftMessageInspected_Call
OnGraftMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*NetworkMetrics_Expecter) OnIHaveControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIHaveControlMessageIdsTruncated(diff interface{}) *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
OnIHaveControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*NetworkMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold() *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
OnIHaveDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold() *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
OnIHaveDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold() *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
OnIHaveInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnIHaveMessageIDsReceived ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIHaveMessageIDsReceived(channel interface{}, msgIdCount interface{}) *NetworkMetrics_OnIHaveMessageIDsReceived_Call
OnIHaveMessageIDsReceived is a helper method to define mock.On call
- channel string
- msgIdCount int
func (*NetworkMetrics_Expecter) OnIHaveMessagesInspected ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIHaveMessagesInspected(duplicateTopicIds interface{}, duplicateMessageIds interface{}, invalidTopicIds interface{}) *NetworkMetrics_OnIHaveMessagesInspected_Call
OnIHaveMessagesInspected is a helper method to define mock.On call
- duplicateTopicIds int
- duplicateMessageIds int
- invalidTopicIds int
func (*NetworkMetrics_Expecter) OnIPColocationFactorUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIPColocationFactorUpdated(f interface{}) *NetworkMetrics_OnIPColocationFactorUpdated_Call
OnIPColocationFactorUpdated is a helper method to define mock.On call
- f float64
func (*NetworkMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIWantCacheMissMessageIdsExceedThreshold() *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
OnIWantCacheMissMessageIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnIWantControlMessageIdsTruncated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIWantControlMessageIdsTruncated(diff interface{}) *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
OnIWantControlMessageIdsTruncated is a helper method to define mock.On call
- diff int
func (*NetworkMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold() *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
OnIWantDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnIWantMessageIDsReceived ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIWantMessageIDsReceived(msgIdCount interface{}) *NetworkMetrics_OnIWantMessageIDsReceived_Call
OnIWantMessageIDsReceived is a helper method to define mock.On call
- msgIdCount int
func (*NetworkMetrics_Expecter) OnIWantMessagesInspected ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIWantMessagesInspected(duplicateCount interface{}, cacheMissCount interface{}) *NetworkMetrics_OnIWantMessagesInspected_Call
OnIWantMessagesInspected is a helper method to define mock.On call
- duplicateCount int
- cacheMissCount int
func (*NetworkMetrics_Expecter) OnIncomingRpcReceived ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnIncomingRpcReceived(iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}, msgCount interface{}) *NetworkMetrics_OnIncomingRpcReceived_Call
OnIncomingRpcReceived is a helper method to define mock.On call
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
- msgCount int
func (*NetworkMetrics_Expecter) OnInvalidControlMessageNotificationSent ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnInvalidControlMessageNotificationSent() *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
OnInvalidControlMessageNotificationSent is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnInvalidMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnInvalidMessageDeliveredUpdated(topic interface{}, f interface{}) *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
OnInvalidMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*NetworkMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage(messageType interface{}) *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
OnInvalidTopicIdDetectedForControlMessage is a helper method to define mock.On call
- messageType p2pmsg.ControlMessageType
func (*NetworkMetrics_Expecter) OnLocalMeshSizeUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnLocalMeshSizeUpdated(topic interface{}, size interface{}) *NetworkMetrics_OnLocalMeshSizeUpdated_Call
OnLocalMeshSizeUpdated is a helper method to define mock.On call
- topic string
- size int
func (*NetworkMetrics_Expecter) OnLocalPeerJoinedTopic ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnLocalPeerJoinedTopic() *NetworkMetrics_OnLocalPeerJoinedTopic_Call
OnLocalPeerJoinedTopic is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnLocalPeerLeftTopic ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnLocalPeerLeftTopic() *NetworkMetrics_OnLocalPeerLeftTopic_Call
OnLocalPeerLeftTopic is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnMeshMessageDeliveredUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnMeshMessageDeliveredUpdated(topic interface{}, f interface{}) *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
OnMeshMessageDeliveredUpdated is a helper method to define mock.On call
- topic channels.Topic
- f float64
func (*NetworkMetrics_Expecter) OnMessageDeliveredToAllSubscribers ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnMessageDeliveredToAllSubscribers(size interface{}) *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
OnMessageDeliveredToAllSubscribers is a helper method to define mock.On call
- size int
func (*NetworkMetrics_Expecter) OnMessageDuplicate ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnMessageDuplicate(size interface{}) *NetworkMetrics_OnMessageDuplicate_Call
OnMessageDuplicate is a helper method to define mock.On call
- size int
func (*NetworkMetrics_Expecter) OnMessageEnteredValidation ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnMessageEnteredValidation(size interface{}) *NetworkMetrics_OnMessageEnteredValidation_Call
OnMessageEnteredValidation is a helper method to define mock.On call
- size int
func (*NetworkMetrics_Expecter) OnMessageRejected ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnMessageRejected(size interface{}, reason interface{}) *NetworkMetrics_OnMessageRejected_Call
OnMessageRejected is a helper method to define mock.On call
- size int
- reason string
func (*NetworkMetrics_Expecter) OnMisbehaviorReported ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnMisbehaviorReported(channel interface{}, misbehaviorType interface{}) *NetworkMetrics_OnMisbehaviorReported_Call
OnMisbehaviorReported is a helper method to define mock.On call
- channel string
- misbehaviorType string
func (*NetworkMetrics_Expecter) OnOutboundRpcDropped ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnOutboundRpcDropped() *NetworkMetrics_OnOutboundRpcDropped_Call
OnOutboundRpcDropped is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnOverallPeerScoreUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnOverallPeerScoreUpdated(f interface{}) *NetworkMetrics_OnOverallPeerScoreUpdated_Call
OnOverallPeerScoreUpdated is a helper method to define mock.On call
- f float64
func (*NetworkMetrics_Expecter) OnPeerAddedToProtocol ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerAddedToProtocol(protocol1 interface{}) *NetworkMetrics_OnPeerAddedToProtocol_Call
OnPeerAddedToProtocol is a helper method to define mock.On call
- protocol1 string
func (*NetworkMetrics_Expecter) OnPeerDialFailure ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerDialFailure(duration interface{}, attempts interface{}) *NetworkMetrics_OnPeerDialFailure_Call
OnPeerDialFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*NetworkMetrics_Expecter) OnPeerDialed ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerDialed(duration interface{}, attempts interface{}) *NetworkMetrics_OnPeerDialed_Call
OnPeerDialed is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*NetworkMetrics_Expecter) OnPeerGraftTopic ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerGraftTopic(topic interface{}) *NetworkMetrics_OnPeerGraftTopic_Call
OnPeerGraftTopic is a helper method to define mock.On call
- topic string
func (*NetworkMetrics_Expecter) OnPeerPruneTopic ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerPruneTopic(topic interface{}) *NetworkMetrics_OnPeerPruneTopic_Call
OnPeerPruneTopic is a helper method to define mock.On call
- topic string
func (*NetworkMetrics_Expecter) OnPeerRemovedFromProtocol ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerRemovedFromProtocol() *NetworkMetrics_OnPeerRemovedFromProtocol_Call
OnPeerRemovedFromProtocol is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnPeerThrottled ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPeerThrottled() *NetworkMetrics_OnPeerThrottled_Call
OnPeerThrottled is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold() *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
OnPruneDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold() *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
OnPruneInvalidTopicIdsExceedThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnPruneMessageInspected ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPruneMessageInspected(duplicateTopicIds interface{}, invalidTopicIds interface{}) *NetworkMetrics_OnPruneMessageInspected_Call
OnPruneMessageInspected is a helper method to define mock.On call
- duplicateTopicIds int
- invalidTopicIds int
func (*NetworkMetrics_Expecter) OnPublishMessageInspected ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPublishMessageInspected(totalErrCount interface{}, invalidTopicIdsCount interface{}, invalidSubscriptionsCount interface{}, invalidSendersCount interface{}) *NetworkMetrics_OnPublishMessageInspected_Call
OnPublishMessageInspected is a helper method to define mock.On call
- totalErrCount int
- invalidTopicIdsCount int
- invalidSubscriptionsCount int
- invalidSendersCount int
func (*NetworkMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnPublishMessagesInspectionErrorExceedsThreshold() *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
OnPublishMessagesInspectionErrorExceedsThreshold is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnRateLimitedPeer ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnRateLimitedPeer(pid interface{}, role interface{}, msgType interface{}, topic interface{}, reason interface{}) *NetworkMetrics_OnRateLimitedPeer_Call
OnRateLimitedPeer is a helper method to define mock.On call
- pid peer.ID
- role string
- msgType string
- topic string
- reason string
func (*NetworkMetrics_Expecter) OnRpcReceived ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnRpcReceived(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *NetworkMetrics_OnRpcReceived_Call
OnRpcReceived is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*NetworkMetrics_Expecter) OnRpcRejectedFromUnknownSender ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnRpcRejectedFromUnknownSender() *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
OnRpcRejectedFromUnknownSender is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnRpcSent ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnRpcSent(msgCount interface{}, iHaveCount interface{}, iWantCount interface{}, graftCount interface{}, pruneCount interface{}) *NetworkMetrics_OnRpcSent_Call
OnRpcSent is a helper method to define mock.On call
- msgCount int
- iHaveCount int
- iWantCount int
- graftCount int
- pruneCount int
func (*NetworkMetrics_Expecter) OnStreamCreated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnStreamCreated(duration interface{}, attempts interface{}) *NetworkMetrics_OnStreamCreated_Call
OnStreamCreated is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*NetworkMetrics_Expecter) OnStreamCreationFailure ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnStreamCreationFailure(duration interface{}, attempts interface{}) *NetworkMetrics_OnStreamCreationFailure_Call
OnStreamCreationFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*NetworkMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault() *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
OnStreamCreationRetryBudgetResetToDefault is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnStreamCreationRetryBudgetUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnStreamCreationRetryBudgetUpdated(budget interface{}) *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
OnStreamCreationRetryBudgetUpdated is a helper method to define mock.On call
- budget uint64
func (*NetworkMetrics_Expecter) OnStreamEstablished ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnStreamEstablished(duration interface{}, attempts interface{}) *NetworkMetrics_OnStreamEstablished_Call
OnStreamEstablished is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*NetworkMetrics_Expecter) OnTimeInMeshUpdated ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnTimeInMeshUpdated(topic interface{}, duration interface{}) *NetworkMetrics_OnTimeInMeshUpdated_Call
OnTimeInMeshUpdated is a helper method to define mock.On call
- topic channels.Topic
- duration time.Duration
func (*NetworkMetrics_Expecter) OnUnauthorizedMessage ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnUnauthorizedMessage(role interface{}, msgType interface{}, topic interface{}, offense interface{}) *NetworkMetrics_OnUnauthorizedMessage_Call
OnUnauthorizedMessage is a helper method to define mock.On call
- role string
- msgType string
- topic string
- offense string
func (*NetworkMetrics_Expecter) OnUndeliveredMessage ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnUndeliveredMessage() *NetworkMetrics_OnUndeliveredMessage_Call
OnUndeliveredMessage is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnUnstakedPeerInspectionFailed ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnUnstakedPeerInspectionFailed() *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
OnUnstakedPeerInspectionFailed is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OnViolationReportSkipped ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OnViolationReportSkipped() *NetworkMetrics_OnViolationReportSkipped_Call
OnViolationReportSkipped is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) OutboundConnections ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OutboundConnections(connectionCount interface{}) *NetworkMetrics_OutboundConnections_Call
OutboundConnections is a helper method to define mock.On call
- connectionCount uint
func (*NetworkMetrics_Expecter) OutboundMessageSent ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) OutboundMessageSent(sizeBytes interface{}, topic interface{}, protocol1 interface{}, messageType interface{}) *NetworkMetrics_OutboundMessageSent_Call
OutboundMessageSent is a helper method to define mock.On call
- sizeBytes int
- topic string
- protocol1 string
- messageType string
func (*NetworkMetrics_Expecter) QueueDuration ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) QueueDuration(duration interface{}, priority interface{}) *NetworkMetrics_QueueDuration_Call
QueueDuration is a helper method to define mock.On call
- duration time.Duration
- priority int
func (*NetworkMetrics_Expecter) RoutingTablePeerAdded ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) RoutingTablePeerAdded() *NetworkMetrics_RoutingTablePeerAdded_Call
RoutingTablePeerAdded is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) RoutingTablePeerRemoved ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) RoutingTablePeerRemoved() *NetworkMetrics_RoutingTablePeerRemoved_Call
RoutingTablePeerRemoved is a helper method to define mock.On call
func (*NetworkMetrics_Expecter) SetWarningStateCount ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) SetWarningStateCount(v interface{}) *NetworkMetrics_SetWarningStateCount_Call
SetWarningStateCount is a helper method to define mock.On call
- v uint
func (*NetworkMetrics_Expecter) UnicastMessageSendingCompleted ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) UnicastMessageSendingCompleted(topic interface{}) *NetworkMetrics_UnicastMessageSendingCompleted_Call
UnicastMessageSendingCompleted is a helper method to define mock.On call
- topic string
func (*NetworkMetrics_Expecter) UnicastMessageSendingStarted ¶ added in v0.46.0
func (_e *NetworkMetrics_Expecter) UnicastMessageSendingStarted(topic interface{}) *NetworkMetrics_UnicastMessageSendingStarted_Call
UnicastMessageSendingStarted is a helper method to define mock.On call
- topic string
type NetworkMetrics_InboundConnections_Call ¶ added in v0.46.0
NetworkMetrics_InboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundConnections'
func (*NetworkMetrics_InboundConnections_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_InboundConnections_Call) Return() *NetworkMetrics_InboundConnections_Call
func (*NetworkMetrics_InboundConnections_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_InboundConnections_Call) Run(run func(connectionCount uint)) *NetworkMetrics_InboundConnections_Call
func (*NetworkMetrics_InboundConnections_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_InboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *NetworkMetrics_InboundConnections_Call
type NetworkMetrics_InboundMessageReceived_Call ¶ added in v0.46.0
NetworkMetrics_InboundMessageReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundMessageReceived'
func (*NetworkMetrics_InboundMessageReceived_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_InboundMessageReceived_Call) Return() *NetworkMetrics_InboundMessageReceived_Call
func (*NetworkMetrics_InboundMessageReceived_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_InboundMessageReceived_Call) Run(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_InboundMessageReceived_Call
func (*NetworkMetrics_InboundMessageReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_InboundMessageReceived_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_InboundMessageReceived_Call
type NetworkMetrics_MessageAdded_Call ¶ added in v0.46.0
NetworkMetrics_MessageAdded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageAdded'
func (*NetworkMetrics_MessageAdded_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageAdded_Call) Return() *NetworkMetrics_MessageAdded_Call
func (*NetworkMetrics_MessageAdded_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageAdded_Call) Run(run func(priority int)) *NetworkMetrics_MessageAdded_Call
func (*NetworkMetrics_MessageAdded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageAdded_Call) RunAndReturn(run func(priority int)) *NetworkMetrics_MessageAdded_Call
type NetworkMetrics_MessageProcessingFinished_Call ¶ added in v0.46.0
NetworkMetrics_MessageProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingFinished'
func (*NetworkMetrics_MessageProcessingFinished_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageProcessingFinished_Call) Run(run func(topic string, duration time.Duration)) *NetworkMetrics_MessageProcessingFinished_Call
func (*NetworkMetrics_MessageProcessingFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageProcessingFinished_Call) RunAndReturn(run func(topic string, duration time.Duration)) *NetworkMetrics_MessageProcessingFinished_Call
type NetworkMetrics_MessageProcessingStarted_Call ¶ added in v0.46.0
NetworkMetrics_MessageProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingStarted'
func (*NetworkMetrics_MessageProcessingStarted_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageProcessingStarted_Call) Return() *NetworkMetrics_MessageProcessingStarted_Call
func (*NetworkMetrics_MessageProcessingStarted_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageProcessingStarted_Call) Run(run func(topic string)) *NetworkMetrics_MessageProcessingStarted_Call
func (*NetworkMetrics_MessageProcessingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageProcessingStarted_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_MessageProcessingStarted_Call
type NetworkMetrics_MessageRemoved_Call ¶ added in v0.46.0
NetworkMetrics_MessageRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageRemoved'
func (*NetworkMetrics_MessageRemoved_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageRemoved_Call) Return() *NetworkMetrics_MessageRemoved_Call
func (*NetworkMetrics_MessageRemoved_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageRemoved_Call) Run(run func(priority int)) *NetworkMetrics_MessageRemoved_Call
func (*NetworkMetrics_MessageRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_MessageRemoved_Call) RunAndReturn(run func(priority int)) *NetworkMetrics_MessageRemoved_Call
type NetworkMetrics_OnActiveClusterIDsNotSetErr_Call ¶ added in v0.46.0
NetworkMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'
func (*NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) Run(run func()) *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
func (*NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn(run func()) *NetworkMetrics_OnActiveClusterIDsNotSetErr_Call
type NetworkMetrics_OnAppSpecificScoreUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'
func (*NetworkMetrics_OnAppSpecificScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnAppSpecificScoreUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnAppSpecificScoreUpdated_Call
func (*NetworkMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnAppSpecificScoreUpdated_Call
type NetworkMetrics_OnBehaviourPenaltyUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'
func (*NetworkMetrics_OnBehaviourPenaltyUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnBehaviourPenaltyUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
func (*NetworkMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnBehaviourPenaltyUpdated_Call
type NetworkMetrics_OnControlMessagesTruncated_Call ¶ added in v0.46.0
NetworkMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'
func (*NetworkMetrics_OnControlMessagesTruncated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnControlMessagesTruncated_Call) Run(run func(messageType p2pmsg.ControlMessageType, diff int)) *NetworkMetrics_OnControlMessagesTruncated_Call
func (*NetworkMetrics_OnControlMessagesTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnControlMessagesTruncated_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType, diff int)) *NetworkMetrics_OnControlMessagesTruncated_Call
type NetworkMetrics_OnDNSCacheHit_Call ¶ added in v0.46.0
NetworkMetrics_OnDNSCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheHit'
func (*NetworkMetrics_OnDNSCacheHit_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheHit_Call) Return() *NetworkMetrics_OnDNSCacheHit_Call
func (*NetworkMetrics_OnDNSCacheHit_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheHit_Call) Run(run func()) *NetworkMetrics_OnDNSCacheHit_Call
func (*NetworkMetrics_OnDNSCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheHit_Call) RunAndReturn(run func()) *NetworkMetrics_OnDNSCacheHit_Call
type NetworkMetrics_OnDNSCacheInvalidated_Call ¶ added in v0.46.0
NetworkMetrics_OnDNSCacheInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheInvalidated'
func (*NetworkMetrics_OnDNSCacheInvalidated_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheInvalidated_Call) Return() *NetworkMetrics_OnDNSCacheInvalidated_Call
func (*NetworkMetrics_OnDNSCacheInvalidated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheInvalidated_Call) Run(run func()) *NetworkMetrics_OnDNSCacheInvalidated_Call
func (*NetworkMetrics_OnDNSCacheInvalidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheInvalidated_Call) RunAndReturn(run func()) *NetworkMetrics_OnDNSCacheInvalidated_Call
type NetworkMetrics_OnDNSCacheMiss_Call ¶ added in v0.46.0
NetworkMetrics_OnDNSCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheMiss'
func (*NetworkMetrics_OnDNSCacheMiss_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheMiss_Call) Return() *NetworkMetrics_OnDNSCacheMiss_Call
func (*NetworkMetrics_OnDNSCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheMiss_Call) Run(run func()) *NetworkMetrics_OnDNSCacheMiss_Call
func (*NetworkMetrics_OnDNSCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSCacheMiss_Call) RunAndReturn(run func()) *NetworkMetrics_OnDNSCacheMiss_Call
type NetworkMetrics_OnDNSLookupRequestDropped_Call ¶ added in v0.46.0
NetworkMetrics_OnDNSLookupRequestDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSLookupRequestDropped'
func (*NetworkMetrics_OnDNSLookupRequestDropped_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSLookupRequestDropped_Call) Run(run func()) *NetworkMetrics_OnDNSLookupRequestDropped_Call
func (*NetworkMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn(run func()) *NetworkMetrics_OnDNSLookupRequestDropped_Call
type NetworkMetrics_OnDialRetryBudgetResetToDefault_Call ¶ added in v0.46.0
NetworkMetrics_OnDialRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetResetToDefault'
func (*NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) Run(run func()) *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
func (*NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *NetworkMetrics_OnDialRetryBudgetResetToDefault_Call
type NetworkMetrics_OnDialRetryBudgetUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnDialRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetUpdated'
func (*NetworkMetrics_OnDialRetryBudgetUpdated_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDialRetryBudgetUpdated_Call) Return() *NetworkMetrics_OnDialRetryBudgetUpdated_Call
func (*NetworkMetrics_OnDialRetryBudgetUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDialRetryBudgetUpdated_Call) Run(run func(budget uint64)) *NetworkMetrics_OnDialRetryBudgetUpdated_Call
func (*NetworkMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *NetworkMetrics_OnDialRetryBudgetUpdated_Call
type NetworkMetrics_OnEstablishStreamFailure_Call ¶ added in v0.46.0
NetworkMetrics_OnEstablishStreamFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEstablishStreamFailure'
func (*NetworkMetrics_OnEstablishStreamFailure_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnEstablishStreamFailure_Call) Return() *NetworkMetrics_OnEstablishStreamFailure_Call
func (*NetworkMetrics_OnEstablishStreamFailure_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnEstablishStreamFailure_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnEstablishStreamFailure_Call
func (*NetworkMetrics_OnEstablishStreamFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnEstablishStreamFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnEstablishStreamFailure_Call
type NetworkMetrics_OnFirstMessageDeliveredUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'
func (*NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
func (*NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnFirstMessageDeliveredUpdated_Call
type NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'
func (*NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call
type NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'
func (*NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
func (*NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call
type NetworkMetrics_OnGraftMessageInspected_Call ¶ added in v0.46.0
NetworkMetrics_OnGraftMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftMessageInspected'
func (*NetworkMetrics_OnGraftMessageInspected_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnGraftMessageInspected_Call) Return() *NetworkMetrics_OnGraftMessageInspected_Call
func (*NetworkMetrics_OnGraftMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnGraftMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnGraftMessageInspected_Call
func (*NetworkMetrics_OnGraftMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnGraftMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnGraftMessageInspected_Call
type NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call ¶ added in v0.46.0
NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'
func (*NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) Run(run func(diff int)) *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
func (*NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call
type NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'
func (*NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call
type NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'
func (*NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call
type NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'
func (*NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
func (*NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call
type NetworkMetrics_OnIHaveMessageIDsReceived_Call ¶ added in v0.46.0
NetworkMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'
func (*NetworkMetrics_OnIHaveMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveMessageIDsReceived_Call) Run(run func(channel string, msgIdCount int)) *NetworkMetrics_OnIHaveMessageIDsReceived_Call
func (*NetworkMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn(run func(channel string, msgIdCount int)) *NetworkMetrics_OnIHaveMessageIDsReceived_Call
type NetworkMetrics_OnIHaveMessagesInspected_Call ¶ added in v0.46.0
NetworkMetrics_OnIHaveMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessagesInspected'
func (*NetworkMetrics_OnIHaveMessagesInspected_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveMessagesInspected_Call) Return() *NetworkMetrics_OnIHaveMessagesInspected_Call
func (*NetworkMetrics_OnIHaveMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveMessagesInspected_Call) Run(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *NetworkMetrics_OnIHaveMessagesInspected_Call
func (*NetworkMetrics_OnIHaveMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIHaveMessagesInspected_Call) RunAndReturn(run func(duplicateTopicIds int, duplicateMessageIds int, invalidTopicIds int)) *NetworkMetrics_OnIHaveMessagesInspected_Call
type NetworkMetrics_OnIPColocationFactorUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'
func (*NetworkMetrics_OnIPColocationFactorUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIPColocationFactorUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnIPColocationFactorUpdated_Call
func (*NetworkMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnIPColocationFactorUpdated_Call
type NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'
func (*NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call
type NetworkMetrics_OnIWantControlMessageIdsTruncated_Call ¶ added in v0.46.0
NetworkMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'
func (*NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) Run(run func(diff int)) *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
func (*NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn(run func(diff int)) *NetworkMetrics_OnIWantControlMessageIdsTruncated_Call
type NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'
func (*NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call
type NetworkMetrics_OnIWantMessageIDsReceived_Call ¶ added in v0.46.0
NetworkMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'
func (*NetworkMetrics_OnIWantMessageIDsReceived_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantMessageIDsReceived_Call) Run(run func(msgIdCount int)) *NetworkMetrics_OnIWantMessageIDsReceived_Call
func (*NetworkMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn(run func(msgIdCount int)) *NetworkMetrics_OnIWantMessageIDsReceived_Call
type NetworkMetrics_OnIWantMessagesInspected_Call ¶ added in v0.46.0
NetworkMetrics_OnIWantMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessagesInspected'
func (*NetworkMetrics_OnIWantMessagesInspected_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantMessagesInspected_Call) Return() *NetworkMetrics_OnIWantMessagesInspected_Call
func (*NetworkMetrics_OnIWantMessagesInspected_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantMessagesInspected_Call) Run(run func(duplicateCount int, cacheMissCount int)) *NetworkMetrics_OnIWantMessagesInspected_Call
func (*NetworkMetrics_OnIWantMessagesInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIWantMessagesInspected_Call) RunAndReturn(run func(duplicateCount int, cacheMissCount int)) *NetworkMetrics_OnIWantMessagesInspected_Call
type NetworkMetrics_OnIncomingRpcReceived_Call ¶ added in v0.46.0
NetworkMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'
func (*NetworkMetrics_OnIncomingRpcReceived_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIncomingRpcReceived_Call) Return() *NetworkMetrics_OnIncomingRpcReceived_Call
func (*NetworkMetrics_OnIncomingRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIncomingRpcReceived_Call) Run(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *NetworkMetrics_OnIncomingRpcReceived_Call
func (*NetworkMetrics_OnIncomingRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnIncomingRpcReceived_Call) RunAndReturn(run func(iHaveCount int, iWantCount int, graftCount int, pruneCount int, msgCount int)) *NetworkMetrics_OnIncomingRpcReceived_Call
type NetworkMetrics_OnInvalidControlMessageNotificationSent_Call ¶ added in v0.46.0
NetworkMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'
func (*NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn(run func()) *NetworkMetrics_OnInvalidControlMessageNotificationSent_Call
type NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'
func (*NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
func (*NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call
type NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call ¶ added in v0.46.0
NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'
func (*NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run(run func(messageType p2pmsg.ControlMessageType)) *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
func (*NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn(run func(messageType p2pmsg.ControlMessageType)) *NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call
type NetworkMetrics_OnLocalMeshSizeUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnLocalMeshSizeUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalMeshSizeUpdated'
func (*NetworkMetrics_OnLocalMeshSizeUpdated_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalMeshSizeUpdated_Call) Return() *NetworkMetrics_OnLocalMeshSizeUpdated_Call
func (*NetworkMetrics_OnLocalMeshSizeUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalMeshSizeUpdated_Call) Run(run func(topic string, size int)) *NetworkMetrics_OnLocalMeshSizeUpdated_Call
func (*NetworkMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn(run func(topic string, size int)) *NetworkMetrics_OnLocalMeshSizeUpdated_Call
type NetworkMetrics_OnLocalPeerJoinedTopic_Call ¶ added in v0.46.0
NetworkMetrics_OnLocalPeerJoinedTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerJoinedTopic'
func (*NetworkMetrics_OnLocalPeerJoinedTopic_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalPeerJoinedTopic_Call) Return() *NetworkMetrics_OnLocalPeerJoinedTopic_Call
func (*NetworkMetrics_OnLocalPeerJoinedTopic_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalPeerJoinedTopic_Call) Run(run func()) *NetworkMetrics_OnLocalPeerJoinedTopic_Call
func (*NetworkMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn(run func()) *NetworkMetrics_OnLocalPeerJoinedTopic_Call
type NetworkMetrics_OnLocalPeerLeftTopic_Call ¶ added in v0.46.0
NetworkMetrics_OnLocalPeerLeftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerLeftTopic'
func (*NetworkMetrics_OnLocalPeerLeftTopic_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalPeerLeftTopic_Call) Return() *NetworkMetrics_OnLocalPeerLeftTopic_Call
func (*NetworkMetrics_OnLocalPeerLeftTopic_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalPeerLeftTopic_Call) Run(run func()) *NetworkMetrics_OnLocalPeerLeftTopic_Call
func (*NetworkMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn(run func()) *NetworkMetrics_OnLocalPeerLeftTopic_Call
type NetworkMetrics_OnMeshMessageDeliveredUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'
func (*NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) Run(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
func (*NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn(run func(topic channels.Topic, f float64)) *NetworkMetrics_OnMeshMessageDeliveredUpdated_Call
type NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call ¶ added in v0.46.0
NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'
func (*NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) Run(run func(size int)) *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
func (*NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn(run func(size int)) *NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call
type NetworkMetrics_OnMessageDuplicate_Call ¶ added in v0.46.0
NetworkMetrics_OnMessageDuplicate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDuplicate'
func (*NetworkMetrics_OnMessageDuplicate_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageDuplicate_Call) Return() *NetworkMetrics_OnMessageDuplicate_Call
func (*NetworkMetrics_OnMessageDuplicate_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageDuplicate_Call) Run(run func(size int)) *NetworkMetrics_OnMessageDuplicate_Call
func (*NetworkMetrics_OnMessageDuplicate_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageDuplicate_Call) RunAndReturn(run func(size int)) *NetworkMetrics_OnMessageDuplicate_Call
type NetworkMetrics_OnMessageEnteredValidation_Call ¶ added in v0.46.0
NetworkMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'
func (*NetworkMetrics_OnMessageEnteredValidation_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageEnteredValidation_Call) Run(run func(size int)) *NetworkMetrics_OnMessageEnteredValidation_Call
func (*NetworkMetrics_OnMessageEnteredValidation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageEnteredValidation_Call) RunAndReturn(run func(size int)) *NetworkMetrics_OnMessageEnteredValidation_Call
type NetworkMetrics_OnMessageRejected_Call ¶ added in v0.46.0
NetworkMetrics_OnMessageRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageRejected'
func (*NetworkMetrics_OnMessageRejected_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageRejected_Call) Return() *NetworkMetrics_OnMessageRejected_Call
func (*NetworkMetrics_OnMessageRejected_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageRejected_Call) Run(run func(size int, reason string)) *NetworkMetrics_OnMessageRejected_Call
func (*NetworkMetrics_OnMessageRejected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMessageRejected_Call) RunAndReturn(run func(size int, reason string)) *NetworkMetrics_OnMessageRejected_Call
type NetworkMetrics_OnMisbehaviorReported_Call ¶ added in v0.46.0
NetworkMetrics_OnMisbehaviorReported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMisbehaviorReported'
func (*NetworkMetrics_OnMisbehaviorReported_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMisbehaviorReported_Call) Return() *NetworkMetrics_OnMisbehaviorReported_Call
func (*NetworkMetrics_OnMisbehaviorReported_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMisbehaviorReported_Call) Run(run func(channel string, misbehaviorType string)) *NetworkMetrics_OnMisbehaviorReported_Call
func (*NetworkMetrics_OnMisbehaviorReported_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnMisbehaviorReported_Call) RunAndReturn(run func(channel string, misbehaviorType string)) *NetworkMetrics_OnMisbehaviorReported_Call
type NetworkMetrics_OnOutboundRpcDropped_Call ¶ added in v0.46.0
NetworkMetrics_OnOutboundRpcDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOutboundRpcDropped'
func (*NetworkMetrics_OnOutboundRpcDropped_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnOutboundRpcDropped_Call) Return() *NetworkMetrics_OnOutboundRpcDropped_Call
func (*NetworkMetrics_OnOutboundRpcDropped_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnOutboundRpcDropped_Call) Run(run func()) *NetworkMetrics_OnOutboundRpcDropped_Call
func (*NetworkMetrics_OnOutboundRpcDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnOutboundRpcDropped_Call) RunAndReturn(run func()) *NetworkMetrics_OnOutboundRpcDropped_Call
type NetworkMetrics_OnOverallPeerScoreUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'
func (*NetworkMetrics_OnOverallPeerScoreUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnOverallPeerScoreUpdated_Call) Run(run func(f float64)) *NetworkMetrics_OnOverallPeerScoreUpdated_Call
func (*NetworkMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn(run func(f float64)) *NetworkMetrics_OnOverallPeerScoreUpdated_Call
type NetworkMetrics_OnPeerAddedToProtocol_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerAddedToProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerAddedToProtocol'
func (*NetworkMetrics_OnPeerAddedToProtocol_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerAddedToProtocol_Call) Return() *NetworkMetrics_OnPeerAddedToProtocol_Call
func (*NetworkMetrics_OnPeerAddedToProtocol_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerAddedToProtocol_Call) Run(run func(protocol1 string)) *NetworkMetrics_OnPeerAddedToProtocol_Call
func (*NetworkMetrics_OnPeerAddedToProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerAddedToProtocol_Call) RunAndReturn(run func(protocol1 string)) *NetworkMetrics_OnPeerAddedToProtocol_Call
type NetworkMetrics_OnPeerDialFailure_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerDialFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerDialFailure'
func (*NetworkMetrics_OnPeerDialFailure_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerDialFailure_Call) Return() *NetworkMetrics_OnPeerDialFailure_Call
func (*NetworkMetrics_OnPeerDialFailure_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerDialFailure_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialFailure_Call
func (*NetworkMetrics_OnPeerDialFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerDialFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialFailure_Call
type NetworkMetrics_OnPeerDialed_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerDialed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerDialed'
func (*NetworkMetrics_OnPeerDialed_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerDialed_Call) Return() *NetworkMetrics_OnPeerDialed_Call
func (*NetworkMetrics_OnPeerDialed_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerDialed_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialed_Call
func (*NetworkMetrics_OnPeerDialed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerDialed_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnPeerDialed_Call
type NetworkMetrics_OnPeerGraftTopic_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerGraftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerGraftTopic'
func (*NetworkMetrics_OnPeerGraftTopic_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerGraftTopic_Call) Return() *NetworkMetrics_OnPeerGraftTopic_Call
func (*NetworkMetrics_OnPeerGraftTopic_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerGraftTopic_Call) Run(run func(topic string)) *NetworkMetrics_OnPeerGraftTopic_Call
func (*NetworkMetrics_OnPeerGraftTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerGraftTopic_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_OnPeerGraftTopic_Call
type NetworkMetrics_OnPeerPruneTopic_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerPruneTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerPruneTopic'
func (*NetworkMetrics_OnPeerPruneTopic_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerPruneTopic_Call) Return() *NetworkMetrics_OnPeerPruneTopic_Call
func (*NetworkMetrics_OnPeerPruneTopic_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerPruneTopic_Call) Run(run func(topic string)) *NetworkMetrics_OnPeerPruneTopic_Call
func (*NetworkMetrics_OnPeerPruneTopic_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerPruneTopic_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_OnPeerPruneTopic_Call
type NetworkMetrics_OnPeerRemovedFromProtocol_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'
func (*NetworkMetrics_OnPeerRemovedFromProtocol_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerRemovedFromProtocol_Call) Run(run func()) *NetworkMetrics_OnPeerRemovedFromProtocol_Call
func (*NetworkMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn(run func()) *NetworkMetrics_OnPeerRemovedFromProtocol_Call
type NetworkMetrics_OnPeerThrottled_Call ¶ added in v0.46.0
NetworkMetrics_OnPeerThrottled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerThrottled'
func (*NetworkMetrics_OnPeerThrottled_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerThrottled_Call) Return() *NetworkMetrics_OnPeerThrottled_Call
func (*NetworkMetrics_OnPeerThrottled_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerThrottled_Call) Run(run func()) *NetworkMetrics_OnPeerThrottled_Call
func (*NetworkMetrics_OnPeerThrottled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPeerThrottled_Call) RunAndReturn(run func()) *NetworkMetrics_OnPeerThrottled_Call
type NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'
func (*NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call
type NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'
func (*NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run(run func()) *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
func (*NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call
type NetworkMetrics_OnPruneMessageInspected_Call ¶ added in v0.46.0
NetworkMetrics_OnPruneMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneMessageInspected'
func (*NetworkMetrics_OnPruneMessageInspected_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPruneMessageInspected_Call) Return() *NetworkMetrics_OnPruneMessageInspected_Call
func (*NetworkMetrics_OnPruneMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPruneMessageInspected_Call) Run(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnPruneMessageInspected_Call
func (*NetworkMetrics_OnPruneMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPruneMessageInspected_Call) RunAndReturn(run func(duplicateTopicIds int, invalidTopicIds int)) *NetworkMetrics_OnPruneMessageInspected_Call
type NetworkMetrics_OnPublishMessageInspected_Call ¶ added in v0.46.0
NetworkMetrics_OnPublishMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessageInspected'
func (*NetworkMetrics_OnPublishMessageInspected_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPublishMessageInspected_Call) Run(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *NetworkMetrics_OnPublishMessageInspected_Call
func (*NetworkMetrics_OnPublishMessageInspected_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPublishMessageInspected_Call) RunAndReturn(run func(totalErrCount int, invalidTopicIdsCount int, invalidSubscriptionsCount int, invalidSendersCount int)) *NetworkMetrics_OnPublishMessageInspected_Call
type NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call ¶ added in v0.46.0
NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessagesInspectionErrorExceedsThreshold'
func (*NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) Return ¶ added in v0.46.0
func (*NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn(run func()) *NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call
type NetworkMetrics_OnRateLimitedPeer_Call ¶ added in v0.46.0
NetworkMetrics_OnRateLimitedPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRateLimitedPeer'
func (*NetworkMetrics_OnRateLimitedPeer_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRateLimitedPeer_Call) Return() *NetworkMetrics_OnRateLimitedPeer_Call
func (*NetworkMetrics_OnRateLimitedPeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRateLimitedPeer_Call) Run(run func(pid peer.ID, role string, msgType string, topic string, reason string)) *NetworkMetrics_OnRateLimitedPeer_Call
func (*NetworkMetrics_OnRateLimitedPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRateLimitedPeer_Call) RunAndReturn(run func(pid peer.ID, role string, msgType string, topic string, reason string)) *NetworkMetrics_OnRateLimitedPeer_Call
type NetworkMetrics_OnRpcReceived_Call ¶ added in v0.46.0
NetworkMetrics_OnRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcReceived'
func (*NetworkMetrics_OnRpcReceived_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcReceived_Call) Return() *NetworkMetrics_OnRpcReceived_Call
func (*NetworkMetrics_OnRpcReceived_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcReceived_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *NetworkMetrics_OnRpcReceived_Call
func (*NetworkMetrics_OnRpcReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcReceived_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *NetworkMetrics_OnRpcReceived_Call
type NetworkMetrics_OnRpcRejectedFromUnknownSender_Call ¶ added in v0.46.0
NetworkMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'
func (*NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) Run(run func()) *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
func (*NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn(run func()) *NetworkMetrics_OnRpcRejectedFromUnknownSender_Call
type NetworkMetrics_OnRpcSent_Call ¶ added in v0.46.0
NetworkMetrics_OnRpcSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcSent'
func (*NetworkMetrics_OnRpcSent_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcSent_Call) Return() *NetworkMetrics_OnRpcSent_Call
func (*NetworkMetrics_OnRpcSent_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcSent_Call) Run(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *NetworkMetrics_OnRpcSent_Call
func (*NetworkMetrics_OnRpcSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnRpcSent_Call) RunAndReturn(run func(msgCount int, iHaveCount int, iWantCount int, graftCount int, pruneCount int)) *NetworkMetrics_OnRpcSent_Call
type NetworkMetrics_OnStreamCreated_Call ¶ added in v0.46.0
NetworkMetrics_OnStreamCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreated'
func (*NetworkMetrics_OnStreamCreated_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreated_Call) Return() *NetworkMetrics_OnStreamCreated_Call
func (*NetworkMetrics_OnStreamCreated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreated_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreated_Call
func (*NetworkMetrics_OnStreamCreated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreated_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreated_Call
type NetworkMetrics_OnStreamCreationFailure_Call ¶ added in v0.46.0
NetworkMetrics_OnStreamCreationFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationFailure'
func (*NetworkMetrics_OnStreamCreationFailure_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreationFailure_Call) Return() *NetworkMetrics_OnStreamCreationFailure_Call
func (*NetworkMetrics_OnStreamCreationFailure_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreationFailure_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreationFailure_Call
func (*NetworkMetrics_OnStreamCreationFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreationFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamCreationFailure_Call
type NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call ¶ added in v0.46.0
NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetResetToDefault'
func (*NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
type NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetUpdated'
func (*NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run(run func(budget uint64)) *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
func (*NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call
type NetworkMetrics_OnStreamEstablished_Call ¶ added in v0.46.0
NetworkMetrics_OnStreamEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamEstablished'
func (*NetworkMetrics_OnStreamEstablished_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamEstablished_Call) Return() *NetworkMetrics_OnStreamEstablished_Call
func (*NetworkMetrics_OnStreamEstablished_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamEstablished_Call) Run(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamEstablished_Call
func (*NetworkMetrics_OnStreamEstablished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnStreamEstablished_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *NetworkMetrics_OnStreamEstablished_Call
type NetworkMetrics_OnTimeInMeshUpdated_Call ¶ added in v0.46.0
NetworkMetrics_OnTimeInMeshUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTimeInMeshUpdated'
func (*NetworkMetrics_OnTimeInMeshUpdated_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnTimeInMeshUpdated_Call) Return() *NetworkMetrics_OnTimeInMeshUpdated_Call
func (*NetworkMetrics_OnTimeInMeshUpdated_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnTimeInMeshUpdated_Call) Run(run func(topic channels.Topic, duration time.Duration)) *NetworkMetrics_OnTimeInMeshUpdated_Call
func (*NetworkMetrics_OnTimeInMeshUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnTimeInMeshUpdated_Call) RunAndReturn(run func(topic channels.Topic, duration time.Duration)) *NetworkMetrics_OnTimeInMeshUpdated_Call
type NetworkMetrics_OnUnauthorizedMessage_Call ¶ added in v0.46.0
type NetworkMetrics_OnUnauthorizedMessage_Call struct {
}
NetworkMetrics_OnUnauthorizedMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnauthorizedMessage'
func (*NetworkMetrics_OnUnauthorizedMessage_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUnauthorizedMessage_Call) Return() *NetworkMetrics_OnUnauthorizedMessage_Call
func (*NetworkMetrics_OnUnauthorizedMessage_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUnauthorizedMessage_Call) Run(run func(role string, msgType string, topic string, offense string)) *NetworkMetrics_OnUnauthorizedMessage_Call
func (*NetworkMetrics_OnUnauthorizedMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUnauthorizedMessage_Call) RunAndReturn(run func(role string, msgType string, topic string, offense string)) *NetworkMetrics_OnUnauthorizedMessage_Call
type NetworkMetrics_OnUndeliveredMessage_Call ¶ added in v0.46.0
NetworkMetrics_OnUndeliveredMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUndeliveredMessage'
func (*NetworkMetrics_OnUndeliveredMessage_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUndeliveredMessage_Call) Return() *NetworkMetrics_OnUndeliveredMessage_Call
func (*NetworkMetrics_OnUndeliveredMessage_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUndeliveredMessage_Call) Run(run func()) *NetworkMetrics_OnUndeliveredMessage_Call
func (*NetworkMetrics_OnUndeliveredMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUndeliveredMessage_Call) RunAndReturn(run func()) *NetworkMetrics_OnUndeliveredMessage_Call
type NetworkMetrics_OnUnstakedPeerInspectionFailed_Call ¶ added in v0.46.0
NetworkMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'
func (*NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) Run(run func()) *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
func (*NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn(run func()) *NetworkMetrics_OnUnstakedPeerInspectionFailed_Call
type NetworkMetrics_OnViolationReportSkipped_Call ¶ added in v0.46.0
NetworkMetrics_OnViolationReportSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnViolationReportSkipped'
func (*NetworkMetrics_OnViolationReportSkipped_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OnViolationReportSkipped_Call) Return() *NetworkMetrics_OnViolationReportSkipped_Call
func (*NetworkMetrics_OnViolationReportSkipped_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OnViolationReportSkipped_Call) Run(run func()) *NetworkMetrics_OnViolationReportSkipped_Call
func (*NetworkMetrics_OnViolationReportSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OnViolationReportSkipped_Call) RunAndReturn(run func()) *NetworkMetrics_OnViolationReportSkipped_Call
type NetworkMetrics_OutboundConnections_Call ¶ added in v0.46.0
NetworkMetrics_OutboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundConnections'
func (*NetworkMetrics_OutboundConnections_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OutboundConnections_Call) Return() *NetworkMetrics_OutboundConnections_Call
func (*NetworkMetrics_OutboundConnections_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OutboundConnections_Call) Run(run func(connectionCount uint)) *NetworkMetrics_OutboundConnections_Call
func (*NetworkMetrics_OutboundConnections_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OutboundConnections_Call) RunAndReturn(run func(connectionCount uint)) *NetworkMetrics_OutboundConnections_Call
type NetworkMetrics_OutboundMessageSent_Call ¶ added in v0.46.0
NetworkMetrics_OutboundMessageSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundMessageSent'
func (*NetworkMetrics_OutboundMessageSent_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_OutboundMessageSent_Call) Return() *NetworkMetrics_OutboundMessageSent_Call
func (*NetworkMetrics_OutboundMessageSent_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_OutboundMessageSent_Call) Run(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_OutboundMessageSent_Call
func (*NetworkMetrics_OutboundMessageSent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_OutboundMessageSent_Call) RunAndReturn(run func(sizeBytes int, topic string, protocol1 string, messageType string)) *NetworkMetrics_OutboundMessageSent_Call
type NetworkMetrics_QueueDuration_Call ¶ added in v0.46.0
NetworkMetrics_QueueDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueueDuration'
func (*NetworkMetrics_QueueDuration_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_QueueDuration_Call) Return() *NetworkMetrics_QueueDuration_Call
func (*NetworkMetrics_QueueDuration_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_QueueDuration_Call) Run(run func(duration time.Duration, priority int)) *NetworkMetrics_QueueDuration_Call
func (*NetworkMetrics_QueueDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_QueueDuration_Call) RunAndReturn(run func(duration time.Duration, priority int)) *NetworkMetrics_QueueDuration_Call
type NetworkMetrics_RoutingTablePeerAdded_Call ¶ added in v0.46.0
NetworkMetrics_RoutingTablePeerAdded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoutingTablePeerAdded'
func (*NetworkMetrics_RoutingTablePeerAdded_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_RoutingTablePeerAdded_Call) Return() *NetworkMetrics_RoutingTablePeerAdded_Call
func (*NetworkMetrics_RoutingTablePeerAdded_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_RoutingTablePeerAdded_Call) Run(run func()) *NetworkMetrics_RoutingTablePeerAdded_Call
func (*NetworkMetrics_RoutingTablePeerAdded_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_RoutingTablePeerAdded_Call) RunAndReturn(run func()) *NetworkMetrics_RoutingTablePeerAdded_Call
type NetworkMetrics_RoutingTablePeerRemoved_Call ¶ added in v0.46.0
NetworkMetrics_RoutingTablePeerRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoutingTablePeerRemoved'
func (*NetworkMetrics_RoutingTablePeerRemoved_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_RoutingTablePeerRemoved_Call) Return() *NetworkMetrics_RoutingTablePeerRemoved_Call
func (*NetworkMetrics_RoutingTablePeerRemoved_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_RoutingTablePeerRemoved_Call) Run(run func()) *NetworkMetrics_RoutingTablePeerRemoved_Call
func (*NetworkMetrics_RoutingTablePeerRemoved_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_RoutingTablePeerRemoved_Call) RunAndReturn(run func()) *NetworkMetrics_RoutingTablePeerRemoved_Call
type NetworkMetrics_SetWarningStateCount_Call ¶ added in v0.46.0
NetworkMetrics_SetWarningStateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWarningStateCount'
func (*NetworkMetrics_SetWarningStateCount_Call) Return ¶ added in v0.46.0
func (_c *NetworkMetrics_SetWarningStateCount_Call) Return() *NetworkMetrics_SetWarningStateCount_Call
func (*NetworkMetrics_SetWarningStateCount_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_SetWarningStateCount_Call) Run(run func(v uint)) *NetworkMetrics_SetWarningStateCount_Call
func (*NetworkMetrics_SetWarningStateCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_SetWarningStateCount_Call) RunAndReturn(run func(v uint)) *NetworkMetrics_SetWarningStateCount_Call
type NetworkMetrics_UnicastMessageSendingCompleted_Call ¶ added in v0.46.0
NetworkMetrics_UnicastMessageSendingCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingCompleted'
func (*NetworkMetrics_UnicastMessageSendingCompleted_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_UnicastMessageSendingCompleted_Call) Run(run func(topic string)) *NetworkMetrics_UnicastMessageSendingCompleted_Call
func (*NetworkMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_UnicastMessageSendingCompleted_Call
type NetworkMetrics_UnicastMessageSendingStarted_Call ¶ added in v0.46.0
NetworkMetrics_UnicastMessageSendingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingStarted'
func (*NetworkMetrics_UnicastMessageSendingStarted_Call) Run ¶ added in v0.46.0
func (_c *NetworkMetrics_UnicastMessageSendingStarted_Call) Run(run func(topic string)) *NetworkMetrics_UnicastMessageSendingStarted_Call
func (*NetworkMetrics_UnicastMessageSendingStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkMetrics_UnicastMessageSendingStarted_Call) RunAndReturn(run func(topic string)) *NetworkMetrics_UnicastMessageSendingStarted_Call
type NetworkSecurityMetrics ¶ added in v0.28.0
NetworkSecurityMetrics is an autogenerated mock type for the NetworkSecurityMetrics type
func NewNetworkSecurityMetrics ¶ added in v0.28.0
func NewNetworkSecurityMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *NetworkSecurityMetrics
NewNetworkSecurityMetrics creates a new instance of NetworkSecurityMetrics. 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 (*NetworkSecurityMetrics) EXPECT ¶ added in v0.46.0
func (_m *NetworkSecurityMetrics) EXPECT() *NetworkSecurityMetrics_Expecter
func (*NetworkSecurityMetrics) OnRateLimitedPeer ¶ added in v0.30.0
func (_mock *NetworkSecurityMetrics) OnRateLimitedPeer(pid peer.ID, role string, msgType string, topic string, reason string)
OnRateLimitedPeer provides a mock function for the type NetworkSecurityMetrics
func (*NetworkSecurityMetrics) OnUnauthorizedMessage ¶ added in v0.28.0
func (_mock *NetworkSecurityMetrics) OnUnauthorizedMessage(role string, msgType string, topic string, offense string)
OnUnauthorizedMessage provides a mock function for the type NetworkSecurityMetrics
func (*NetworkSecurityMetrics) OnViolationReportSkipped ¶ added in v0.32.0
func (_mock *NetworkSecurityMetrics) OnViolationReportSkipped()
OnViolationReportSkipped provides a mock function for the type NetworkSecurityMetrics
type NetworkSecurityMetrics_Expecter ¶ added in v0.46.0
type NetworkSecurityMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*NetworkSecurityMetrics_Expecter) OnRateLimitedPeer ¶ added in v0.46.0
func (_e *NetworkSecurityMetrics_Expecter) OnRateLimitedPeer(pid interface{}, role interface{}, msgType interface{}, topic interface{}, reason interface{}) *NetworkSecurityMetrics_OnRateLimitedPeer_Call
OnRateLimitedPeer is a helper method to define mock.On call
- pid peer.ID
- role string
- msgType string
- topic string
- reason string
func (*NetworkSecurityMetrics_Expecter) OnUnauthorizedMessage ¶ added in v0.46.0
func (_e *NetworkSecurityMetrics_Expecter) OnUnauthorizedMessage(role interface{}, msgType interface{}, topic interface{}, offense interface{}) *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
OnUnauthorizedMessage is a helper method to define mock.On call
- role string
- msgType string
- topic string
- offense string
func (*NetworkSecurityMetrics_Expecter) OnViolationReportSkipped ¶ added in v0.46.0
func (_e *NetworkSecurityMetrics_Expecter) OnViolationReportSkipped() *NetworkSecurityMetrics_OnViolationReportSkipped_Call
OnViolationReportSkipped is a helper method to define mock.On call
type NetworkSecurityMetrics_OnRateLimitedPeer_Call ¶ added in v0.46.0
NetworkSecurityMetrics_OnRateLimitedPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRateLimitedPeer'
func (*NetworkSecurityMetrics_OnRateLimitedPeer_Call) Run ¶ added in v0.46.0
func (_c *NetworkSecurityMetrics_OnRateLimitedPeer_Call) Run(run func(pid peer.ID, role string, msgType string, topic string, reason string)) *NetworkSecurityMetrics_OnRateLimitedPeer_Call
func (*NetworkSecurityMetrics_OnRateLimitedPeer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkSecurityMetrics_OnRateLimitedPeer_Call) RunAndReturn(run func(pid peer.ID, role string, msgType string, topic string, reason string)) *NetworkSecurityMetrics_OnRateLimitedPeer_Call
type NetworkSecurityMetrics_OnUnauthorizedMessage_Call ¶ added in v0.46.0
type NetworkSecurityMetrics_OnUnauthorizedMessage_Call struct {
}
NetworkSecurityMetrics_OnUnauthorizedMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnauthorizedMessage'
func (*NetworkSecurityMetrics_OnUnauthorizedMessage_Call) Run ¶ added in v0.46.0
func (_c *NetworkSecurityMetrics_OnUnauthorizedMessage_Call) Run(run func(role string, msgType string, topic string, offense string)) *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
func (*NetworkSecurityMetrics_OnUnauthorizedMessage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkSecurityMetrics_OnUnauthorizedMessage_Call) RunAndReturn(run func(role string, msgType string, topic string, offense string)) *NetworkSecurityMetrics_OnUnauthorizedMessage_Call
type NetworkSecurityMetrics_OnViolationReportSkipped_Call ¶ added in v0.46.0
NetworkSecurityMetrics_OnViolationReportSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnViolationReportSkipped'
func (*NetworkSecurityMetrics_OnViolationReportSkipped_Call) Run ¶ added in v0.46.0
func (_c *NetworkSecurityMetrics_OnViolationReportSkipped_Call) Run(run func()) *NetworkSecurityMetrics_OnViolationReportSkipped_Call
func (*NetworkSecurityMetrics_OnViolationReportSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NetworkSecurityMetrics_OnViolationReportSkipped_Call) RunAndReturn(run func()) *NetworkSecurityMetrics_OnViolationReportSkipped_Call
type NewJobListener ¶ added in v0.15.0
NewJobListener is an autogenerated mock type for the NewJobListener type
func NewNewJobListener ¶ added in v0.26.1
func NewNewJobListener(t interface {
mock.TestingT
Cleanup(func())
}) *NewJobListener
NewNewJobListener creates a new instance of NewJobListener. 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 (*NewJobListener) Check ¶ added in v0.15.0
func (_mock *NewJobListener) Check()
Check provides a mock function for the type NewJobListener
func (*NewJobListener) EXPECT ¶ added in v0.46.0
func (_m *NewJobListener) EXPECT() *NewJobListener_Expecter
type NewJobListener_Check_Call ¶ added in v0.46.0
NewJobListener_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*NewJobListener_Check_Call) Return ¶ added in v0.46.0
func (_c *NewJobListener_Check_Call) Return() *NewJobListener_Check_Call
func (*NewJobListener_Check_Call) Run ¶ added in v0.46.0
func (_c *NewJobListener_Check_Call) Run(run func()) *NewJobListener_Check_Call
func (*NewJobListener_Check_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NewJobListener_Check_Call) RunAndReturn(run func()) *NewJobListener_Check_Call
type NewJobListener_Expecter ¶ added in v0.46.0
type NewJobListener_Expecter struct {
// contains filtered or unexported fields
}
func (*NewJobListener_Expecter) Check ¶ added in v0.46.0
func (_e *NewJobListener_Expecter) Check() *NewJobListener_Check_Call
Check is a helper method to define mock.On call
type PendingBlockBuffer ¶
PendingBlockBuffer is an autogenerated mock type for the PendingBlockBuffer type
func NewPendingBlockBuffer ¶ added in v0.26.1
func NewPendingBlockBuffer(t interface {
mock.TestingT
Cleanup(func())
}) *PendingBlockBuffer
NewPendingBlockBuffer creates a new instance of PendingBlockBuffer. 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 (*PendingBlockBuffer) ByID ¶
func (_mock *PendingBlockBuffer) ByID(blockID flow.Identifier) (flow.Slashable[*flow.Proposal], bool)
ByID provides a mock function for the type PendingBlockBuffer
func (*PendingBlockBuffer) ByParentID ¶
func (_mock *PendingBlockBuffer) ByParentID(parentID flow.Identifier) ([]flow.Slashable[*flow.Proposal], bool)
ByParentID provides a mock function for the type PendingBlockBuffer
func (*PendingBlockBuffer) DropForParent ¶
func (_mock *PendingBlockBuffer) DropForParent(parentID flow.Identifier)
DropForParent provides a mock function for the type PendingBlockBuffer
func (*PendingBlockBuffer) EXPECT ¶ added in v0.46.0
func (_m *PendingBlockBuffer) EXPECT() *PendingBlockBuffer_Expecter
func (*PendingBlockBuffer) PruneByView ¶ added in v0.25.0
func (_mock *PendingBlockBuffer) PruneByView(view uint64)
PruneByView provides a mock function for the type PendingBlockBuffer
func (*PendingBlockBuffer) Size ¶
func (_mock *PendingBlockBuffer) Size() uint
Size provides a mock function for the type PendingBlockBuffer
type PendingBlockBuffer_Add_Call ¶ added in v0.46.0
PendingBlockBuffer_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*PendingBlockBuffer_Add_Call) Return ¶ added in v0.46.0
func (_c *PendingBlockBuffer_Add_Call) Return(b bool) *PendingBlockBuffer_Add_Call
func (*PendingBlockBuffer_Add_Call) Run ¶ added in v0.46.0
func (_c *PendingBlockBuffer_Add_Call) Run(run func(block flow.Slashable[*flow.Proposal])) *PendingBlockBuffer_Add_Call
func (*PendingBlockBuffer_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingBlockBuffer_Add_Call) RunAndReturn(run func(block flow.Slashable[*flow.Proposal]) bool) *PendingBlockBuffer_Add_Call
type PendingBlockBuffer_ByID_Call ¶ added in v0.46.0
PendingBlockBuffer_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*PendingBlockBuffer_ByID_Call) Return ¶ added in v0.46.0
func (_c *PendingBlockBuffer_ByID_Call) Return(slashable flow.Slashable[*flow.Proposal], b bool) *PendingBlockBuffer_ByID_Call
func (*PendingBlockBuffer_ByID_Call) Run ¶ added in v0.46.0
func (_c *PendingBlockBuffer_ByID_Call) Run(run func(blockID flow.Identifier)) *PendingBlockBuffer_ByID_Call
func (*PendingBlockBuffer_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingBlockBuffer_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Slashable[*flow.Proposal], bool)) *PendingBlockBuffer_ByID_Call
type PendingBlockBuffer_ByParentID_Call ¶ added in v0.46.0
PendingBlockBuffer_ByParentID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByParentID'
func (*PendingBlockBuffer_ByParentID_Call) Return ¶ added in v0.46.0
func (_c *PendingBlockBuffer_ByParentID_Call) Return(slashables []flow.Slashable[*flow.Proposal], b bool) *PendingBlockBuffer_ByParentID_Call
func (*PendingBlockBuffer_ByParentID_Call) Run ¶ added in v0.46.0
func (_c *PendingBlockBuffer_ByParentID_Call) Run(run func(parentID flow.Identifier)) *PendingBlockBuffer_ByParentID_Call
func (*PendingBlockBuffer_ByParentID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingBlockBuffer_ByParentID_Call) RunAndReturn(run func(parentID flow.Identifier) ([]flow.Slashable[*flow.Proposal], bool)) *PendingBlockBuffer_ByParentID_Call
type PendingBlockBuffer_DropForParent_Call ¶ added in v0.46.0
PendingBlockBuffer_DropForParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropForParent'
func (*PendingBlockBuffer_DropForParent_Call) Return ¶ added in v0.46.0
func (_c *PendingBlockBuffer_DropForParent_Call) Return() *PendingBlockBuffer_DropForParent_Call
func (*PendingBlockBuffer_DropForParent_Call) Run ¶ added in v0.46.0
func (_c *PendingBlockBuffer_DropForParent_Call) Run(run func(parentID flow.Identifier)) *PendingBlockBuffer_DropForParent_Call
func (*PendingBlockBuffer_DropForParent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingBlockBuffer_DropForParent_Call) RunAndReturn(run func(parentID flow.Identifier)) *PendingBlockBuffer_DropForParent_Call
type PendingBlockBuffer_Expecter ¶ added in v0.46.0
type PendingBlockBuffer_Expecter struct {
// contains filtered or unexported fields
}
func (*PendingBlockBuffer_Expecter) Add ¶ added in v0.46.0
func (_e *PendingBlockBuffer_Expecter) Add(block interface{}) *PendingBlockBuffer_Add_Call
Add is a helper method to define mock.On call
- block flow.Slashable[*flow.Proposal]
func (*PendingBlockBuffer_Expecter) ByID ¶ added in v0.46.0
func (_e *PendingBlockBuffer_Expecter) ByID(blockID interface{}) *PendingBlockBuffer_ByID_Call
ByID is a helper method to define mock.On call
- blockID flow.Identifier
func (*PendingBlockBuffer_Expecter) ByParentID ¶ added in v0.46.0
func (_e *PendingBlockBuffer_Expecter) ByParentID(parentID interface{}) *PendingBlockBuffer_ByParentID_Call
ByParentID is a helper method to define mock.On call
- parentID flow.Identifier
func (*PendingBlockBuffer_Expecter) DropForParent ¶ added in v0.46.0
func (_e *PendingBlockBuffer_Expecter) DropForParent(parentID interface{}) *PendingBlockBuffer_DropForParent_Call
DropForParent is a helper method to define mock.On call
- parentID flow.Identifier
func (*PendingBlockBuffer_Expecter) PruneByView ¶ added in v0.46.0
func (_e *PendingBlockBuffer_Expecter) PruneByView(view interface{}) *PendingBlockBuffer_PruneByView_Call
PruneByView is a helper method to define mock.On call
- view uint64
func (*PendingBlockBuffer_Expecter) Size ¶ added in v0.46.0
func (_e *PendingBlockBuffer_Expecter) Size() *PendingBlockBuffer_Size_Call
Size is a helper method to define mock.On call
type PendingBlockBuffer_PruneByView_Call ¶ added in v0.46.0
PendingBlockBuffer_PruneByView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneByView'
func (*PendingBlockBuffer_PruneByView_Call) Return ¶ added in v0.46.0
func (_c *PendingBlockBuffer_PruneByView_Call) Return() *PendingBlockBuffer_PruneByView_Call
func (*PendingBlockBuffer_PruneByView_Call) Run ¶ added in v0.46.0
func (_c *PendingBlockBuffer_PruneByView_Call) Run(run func(view uint64)) *PendingBlockBuffer_PruneByView_Call
func (*PendingBlockBuffer_PruneByView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingBlockBuffer_PruneByView_Call) RunAndReturn(run func(view uint64)) *PendingBlockBuffer_PruneByView_Call
type PendingBlockBuffer_Size_Call ¶ added in v0.46.0
PendingBlockBuffer_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*PendingBlockBuffer_Size_Call) Return ¶ added in v0.46.0
func (_c *PendingBlockBuffer_Size_Call) Return(v uint) *PendingBlockBuffer_Size_Call
func (*PendingBlockBuffer_Size_Call) Run ¶ added in v0.46.0
func (_c *PendingBlockBuffer_Size_Call) Run(run func()) *PendingBlockBuffer_Size_Call
func (*PendingBlockBuffer_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingBlockBuffer_Size_Call) RunAndReturn(run func() uint) *PendingBlockBuffer_Size_Call
type PendingClusterBlockBuffer ¶
PendingClusterBlockBuffer is an autogenerated mock type for the PendingClusterBlockBuffer type
func NewPendingClusterBlockBuffer ¶ added in v0.26.1
func NewPendingClusterBlockBuffer(t interface {
mock.TestingT
Cleanup(func())
}) *PendingClusterBlockBuffer
NewPendingClusterBlockBuffer creates a new instance of PendingClusterBlockBuffer. 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 (*PendingClusterBlockBuffer) Add ¶
Add provides a mock function for the type PendingClusterBlockBuffer
func (*PendingClusterBlockBuffer) ByID ¶
func (_mock *PendingClusterBlockBuffer) ByID(blockID flow.Identifier) (flow.Slashable[*cluster.Proposal], bool)
ByID provides a mock function for the type PendingClusterBlockBuffer
func (*PendingClusterBlockBuffer) ByParentID ¶
func (_mock *PendingClusterBlockBuffer) ByParentID(parentID flow.Identifier) ([]flow.Slashable[*cluster.Proposal], bool)
ByParentID provides a mock function for the type PendingClusterBlockBuffer
func (*PendingClusterBlockBuffer) DropForParent ¶
func (_mock *PendingClusterBlockBuffer) DropForParent(parentID flow.Identifier)
DropForParent provides a mock function for the type PendingClusterBlockBuffer
func (*PendingClusterBlockBuffer) EXPECT ¶ added in v0.46.0
func (_m *PendingClusterBlockBuffer) EXPECT() *PendingClusterBlockBuffer_Expecter
func (*PendingClusterBlockBuffer) PruneByView ¶ added in v0.25.0
func (_mock *PendingClusterBlockBuffer) PruneByView(view uint64)
PruneByView provides a mock function for the type PendingClusterBlockBuffer
func (*PendingClusterBlockBuffer) Size ¶
func (_mock *PendingClusterBlockBuffer) Size() uint
Size provides a mock function for the type PendingClusterBlockBuffer
type PendingClusterBlockBuffer_Add_Call ¶ added in v0.46.0
PendingClusterBlockBuffer_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*PendingClusterBlockBuffer_Add_Call) Return ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_Add_Call) Return(b bool) *PendingClusterBlockBuffer_Add_Call
func (*PendingClusterBlockBuffer_Add_Call) Run ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_Add_Call) Run(run func(block flow.Slashable[*cluster.Proposal])) *PendingClusterBlockBuffer_Add_Call
func (*PendingClusterBlockBuffer_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_Add_Call) RunAndReturn(run func(block flow.Slashable[*cluster.Proposal]) bool) *PendingClusterBlockBuffer_Add_Call
type PendingClusterBlockBuffer_ByID_Call ¶ added in v0.46.0
PendingClusterBlockBuffer_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*PendingClusterBlockBuffer_ByID_Call) Return ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_ByID_Call) Return(slashable flow.Slashable[*cluster.Proposal], b bool) *PendingClusterBlockBuffer_ByID_Call
func (*PendingClusterBlockBuffer_ByID_Call) Run ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_ByID_Call) Run(run func(blockID flow.Identifier)) *PendingClusterBlockBuffer_ByID_Call
func (*PendingClusterBlockBuffer_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Slashable[*cluster.Proposal], bool)) *PendingClusterBlockBuffer_ByID_Call
type PendingClusterBlockBuffer_ByParentID_Call ¶ added in v0.46.0
PendingClusterBlockBuffer_ByParentID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByParentID'
func (*PendingClusterBlockBuffer_ByParentID_Call) Return ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_ByParentID_Call) Return(slashables []flow.Slashable[*cluster.Proposal], b bool) *PendingClusterBlockBuffer_ByParentID_Call
func (*PendingClusterBlockBuffer_ByParentID_Call) Run ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_ByParentID_Call) Run(run func(parentID flow.Identifier)) *PendingClusterBlockBuffer_ByParentID_Call
func (*PendingClusterBlockBuffer_ByParentID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_ByParentID_Call) RunAndReturn(run func(parentID flow.Identifier) ([]flow.Slashable[*cluster.Proposal], bool)) *PendingClusterBlockBuffer_ByParentID_Call
type PendingClusterBlockBuffer_DropForParent_Call ¶ added in v0.46.0
PendingClusterBlockBuffer_DropForParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropForParent'
func (*PendingClusterBlockBuffer_DropForParent_Call) Return ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_DropForParent_Call) Return() *PendingClusterBlockBuffer_DropForParent_Call
func (*PendingClusterBlockBuffer_DropForParent_Call) Run ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_DropForParent_Call) Run(run func(parentID flow.Identifier)) *PendingClusterBlockBuffer_DropForParent_Call
func (*PendingClusterBlockBuffer_DropForParent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_DropForParent_Call) RunAndReturn(run func(parentID flow.Identifier)) *PendingClusterBlockBuffer_DropForParent_Call
type PendingClusterBlockBuffer_Expecter ¶ added in v0.46.0
type PendingClusterBlockBuffer_Expecter struct {
// contains filtered or unexported fields
}
func (*PendingClusterBlockBuffer_Expecter) Add ¶ added in v0.46.0
func (_e *PendingClusterBlockBuffer_Expecter) Add(block interface{}) *PendingClusterBlockBuffer_Add_Call
Add is a helper method to define mock.On call
- block flow.Slashable[*cluster.Proposal]
func (*PendingClusterBlockBuffer_Expecter) ByID ¶ added in v0.46.0
func (_e *PendingClusterBlockBuffer_Expecter) ByID(blockID interface{}) *PendingClusterBlockBuffer_ByID_Call
ByID is a helper method to define mock.On call
- blockID flow.Identifier
func (*PendingClusterBlockBuffer_Expecter) ByParentID ¶ added in v0.46.0
func (_e *PendingClusterBlockBuffer_Expecter) ByParentID(parentID interface{}) *PendingClusterBlockBuffer_ByParentID_Call
ByParentID is a helper method to define mock.On call
- parentID flow.Identifier
func (*PendingClusterBlockBuffer_Expecter) DropForParent ¶ added in v0.46.0
func (_e *PendingClusterBlockBuffer_Expecter) DropForParent(parentID interface{}) *PendingClusterBlockBuffer_DropForParent_Call
DropForParent is a helper method to define mock.On call
- parentID flow.Identifier
func (*PendingClusterBlockBuffer_Expecter) PruneByView ¶ added in v0.46.0
func (_e *PendingClusterBlockBuffer_Expecter) PruneByView(view interface{}) *PendingClusterBlockBuffer_PruneByView_Call
PruneByView is a helper method to define mock.On call
- view uint64
func (*PendingClusterBlockBuffer_Expecter) Size ¶ added in v0.46.0
func (_e *PendingClusterBlockBuffer_Expecter) Size() *PendingClusterBlockBuffer_Size_Call
Size is a helper method to define mock.On call
type PendingClusterBlockBuffer_PruneByView_Call ¶ added in v0.46.0
PendingClusterBlockBuffer_PruneByView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneByView'
func (*PendingClusterBlockBuffer_PruneByView_Call) Return ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_PruneByView_Call) Return() *PendingClusterBlockBuffer_PruneByView_Call
func (*PendingClusterBlockBuffer_PruneByView_Call) Run ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_PruneByView_Call) Run(run func(view uint64)) *PendingClusterBlockBuffer_PruneByView_Call
func (*PendingClusterBlockBuffer_PruneByView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_PruneByView_Call) RunAndReturn(run func(view uint64)) *PendingClusterBlockBuffer_PruneByView_Call
type PendingClusterBlockBuffer_Size_Call ¶ added in v0.46.0
PendingClusterBlockBuffer_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*PendingClusterBlockBuffer_Size_Call) Return ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_Size_Call) Return(v uint) *PendingClusterBlockBuffer_Size_Call
func (*PendingClusterBlockBuffer_Size_Call) Run ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_Size_Call) Run(run func()) *PendingClusterBlockBuffer_Size_Call
func (*PendingClusterBlockBuffer_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingClusterBlockBuffer_Size_Call) RunAndReturn(run func() uint) *PendingClusterBlockBuffer_Size_Call
type PingMetrics ¶
PingMetrics is an autogenerated mock type for the PingMetrics type
func NewPingMetrics ¶ added in v0.26.1
func NewPingMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *PingMetrics
NewPingMetrics creates a new instance of PingMetrics. 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 (*PingMetrics) EXPECT ¶ added in v0.46.0
func (_m *PingMetrics) EXPECT() *PingMetrics_Expecter
func (*PingMetrics) NodeInfo ¶ added in v0.17.6
func (_mock *PingMetrics) NodeInfo(node *flow.Identity, nodeInfo string, version string, sealedHeight uint64, hotstuffCurView uint64)
NodeInfo provides a mock function for the type PingMetrics
func (*PingMetrics) NodeReachable ¶
NodeReachable provides a mock function for the type PingMetrics
type PingMetrics_Expecter ¶ added in v0.46.0
type PingMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*PingMetrics_Expecter) NodeInfo ¶ added in v0.46.0
func (_e *PingMetrics_Expecter) NodeInfo(node interface{}, nodeInfo interface{}, version interface{}, sealedHeight interface{}, hotstuffCurView interface{}) *PingMetrics_NodeInfo_Call
NodeInfo is a helper method to define mock.On call
- node *flow.Identity
- nodeInfo string
- version string
- sealedHeight uint64
- hotstuffCurView uint64
func (*PingMetrics_Expecter) NodeReachable ¶ added in v0.46.0
func (_e *PingMetrics_Expecter) NodeReachable(node interface{}, nodeInfo interface{}, rtt interface{}) *PingMetrics_NodeReachable_Call
NodeReachable is a helper method to define mock.On call
- node *flow.Identity
- nodeInfo string
- rtt time.Duration
type PingMetrics_NodeInfo_Call ¶ added in v0.46.0
PingMetrics_NodeInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeInfo'
func (*PingMetrics_NodeInfo_Call) Return ¶ added in v0.46.0
func (_c *PingMetrics_NodeInfo_Call) Return() *PingMetrics_NodeInfo_Call
func (*PingMetrics_NodeInfo_Call) Run ¶ added in v0.46.0
func (_c *PingMetrics_NodeInfo_Call) Run(run func(node *flow.Identity, nodeInfo string, version string, sealedHeight uint64, hotstuffCurView uint64)) *PingMetrics_NodeInfo_Call
func (*PingMetrics_NodeInfo_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PingMetrics_NodeInfo_Call) RunAndReturn(run func(node *flow.Identity, nodeInfo string, version string, sealedHeight uint64, hotstuffCurView uint64)) *PingMetrics_NodeInfo_Call
type PingMetrics_NodeReachable_Call ¶ added in v0.46.0
PingMetrics_NodeReachable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeReachable'
func (*PingMetrics_NodeReachable_Call) Return ¶ added in v0.46.0
func (_c *PingMetrics_NodeReachable_Call) Return() *PingMetrics_NodeReachable_Call
func (*PingMetrics_NodeReachable_Call) Run ¶ added in v0.46.0
func (_c *PingMetrics_NodeReachable_Call) Run(run func(node *flow.Identity, nodeInfo string, rtt time.Duration)) *PingMetrics_NodeReachable_Call
func (*PingMetrics_NodeReachable_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PingMetrics_NodeReachable_Call) RunAndReturn(run func(node *flow.Identity, nodeInfo string, rtt time.Duration)) *PingMetrics_NodeReachable_Call
type PrivateKey ¶ added in v0.43.2
PrivateKey is an autogenerated mock type for the PrivateKey type
func NewPrivateKey ¶ added in v0.43.2
func NewPrivateKey(t interface {
mock.TestingT
Cleanup(func())
}) *PrivateKey
NewPrivateKey creates a new instance of PrivateKey. 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 (*PrivateKey) Algorithm ¶ added in v0.43.2
func (_mock *PrivateKey) Algorithm() crypto.SigningAlgorithm
Algorithm provides a mock function for the type PrivateKey
func (*PrivateKey) EXPECT ¶ added in v0.46.0
func (_m *PrivateKey) EXPECT() *PrivateKey_Expecter
func (*PrivateKey) Encode ¶ added in v0.43.2
func (_mock *PrivateKey) Encode() []byte
Encode provides a mock function for the type PrivateKey
func (*PrivateKey) Equals ¶ added in v0.43.2
func (_mock *PrivateKey) Equals(privateKey crypto.PrivateKey) bool
Equals provides a mock function for the type PrivateKey
func (*PrivateKey) PublicKey ¶ added in v0.43.2
func (_mock *PrivateKey) PublicKey() crypto.PublicKey
PublicKey provides a mock function for the type PrivateKey
func (*PrivateKey) Size ¶ added in v0.43.2
func (_mock *PrivateKey) Size() int
Size provides a mock function for the type PrivateKey
func (*PrivateKey) String ¶ added in v0.43.2
func (_mock *PrivateKey) String() string
String provides a mock function for the type PrivateKey
type PrivateKey_Algorithm_Call ¶ added in v0.46.0
PrivateKey_Algorithm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Algorithm'
func (*PrivateKey_Algorithm_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_Algorithm_Call) Return(signingAlgorithm crypto.SigningAlgorithm) *PrivateKey_Algorithm_Call
func (*PrivateKey_Algorithm_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_Algorithm_Call) Run(run func()) *PrivateKey_Algorithm_Call
func (*PrivateKey_Algorithm_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_Algorithm_Call) RunAndReturn(run func() crypto.SigningAlgorithm) *PrivateKey_Algorithm_Call
type PrivateKey_Encode_Call ¶ added in v0.46.0
PrivateKey_Encode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Encode'
func (*PrivateKey_Encode_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_Encode_Call) Return(bytes []byte) *PrivateKey_Encode_Call
func (*PrivateKey_Encode_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_Encode_Call) Run(run func()) *PrivateKey_Encode_Call
func (*PrivateKey_Encode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_Encode_Call) RunAndReturn(run func() []byte) *PrivateKey_Encode_Call
type PrivateKey_Equals_Call ¶ added in v0.46.0
PrivateKey_Equals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Equals'
func (*PrivateKey_Equals_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_Equals_Call) Return(b bool) *PrivateKey_Equals_Call
func (*PrivateKey_Equals_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_Equals_Call) Run(run func(privateKey crypto.PrivateKey)) *PrivateKey_Equals_Call
func (*PrivateKey_Equals_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_Equals_Call) RunAndReturn(run func(privateKey crypto.PrivateKey) bool) *PrivateKey_Equals_Call
type PrivateKey_Expecter ¶ added in v0.46.0
type PrivateKey_Expecter struct {
// contains filtered or unexported fields
}
func (*PrivateKey_Expecter) Algorithm ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) Algorithm() *PrivateKey_Algorithm_Call
Algorithm is a helper method to define mock.On call
func (*PrivateKey_Expecter) Encode ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) Encode() *PrivateKey_Encode_Call
Encode is a helper method to define mock.On call
func (*PrivateKey_Expecter) Equals ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) Equals(privateKey interface{}) *PrivateKey_Equals_Call
Equals is a helper method to define mock.On call
- privateKey crypto.PrivateKey
func (*PrivateKey_Expecter) PublicKey ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) PublicKey() *PrivateKey_PublicKey_Call
PublicKey is a helper method to define mock.On call
func (*PrivateKey_Expecter) Sign ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) Sign(bytes interface{}, hasher interface{}) *PrivateKey_Sign_Call
Sign is a helper method to define mock.On call
- bytes []byte
- hasher hash.Hasher
func (*PrivateKey_Expecter) Size ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) Size() *PrivateKey_Size_Call
Size is a helper method to define mock.On call
func (*PrivateKey_Expecter) String ¶ added in v0.46.0
func (_e *PrivateKey_Expecter) String() *PrivateKey_String_Call
String is a helper method to define mock.On call
type PrivateKey_PublicKey_Call ¶ added in v0.46.0
PrivateKey_PublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublicKey'
func (*PrivateKey_PublicKey_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_PublicKey_Call) Return(publicKey crypto.PublicKey) *PrivateKey_PublicKey_Call
func (*PrivateKey_PublicKey_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_PublicKey_Call) Run(run func()) *PrivateKey_PublicKey_Call
func (*PrivateKey_PublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_PublicKey_Call) RunAndReturn(run func() crypto.PublicKey) *PrivateKey_PublicKey_Call
type PrivateKey_Sign_Call ¶ added in v0.46.0
PrivateKey_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*PrivateKey_Sign_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_Sign_Call) Return(signature crypto.Signature, err error) *PrivateKey_Sign_Call
func (*PrivateKey_Sign_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_Sign_Call) Run(run func(bytes []byte, hasher hash.Hasher)) *PrivateKey_Sign_Call
func (*PrivateKey_Sign_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_Sign_Call) RunAndReturn(run func(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)) *PrivateKey_Sign_Call
type PrivateKey_Size_Call ¶ added in v0.46.0
PrivateKey_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*PrivateKey_Size_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_Size_Call) Return(n int) *PrivateKey_Size_Call
func (*PrivateKey_Size_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_Size_Call) Run(run func()) *PrivateKey_Size_Call
func (*PrivateKey_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_Size_Call) RunAndReturn(run func() int) *PrivateKey_Size_Call
type PrivateKey_String_Call ¶ added in v0.46.0
PrivateKey_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*PrivateKey_String_Call) Return ¶ added in v0.46.0
func (_c *PrivateKey_String_Call) Return(s string) *PrivateKey_String_Call
func (*PrivateKey_String_Call) Run ¶ added in v0.46.0
func (_c *PrivateKey_String_Call) Run(run func()) *PrivateKey_String_Call
func (*PrivateKey_String_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PrivateKey_String_Call) RunAndReturn(run func() string) *PrivateKey_String_Call
type ProcessingNotifier ¶ added in v0.15.0
ProcessingNotifier is an autogenerated mock type for the ProcessingNotifier type
func NewProcessingNotifier ¶ added in v0.26.1
func NewProcessingNotifier(t interface {
mock.TestingT
Cleanup(func())
}) *ProcessingNotifier
NewProcessingNotifier creates a new instance of ProcessingNotifier. 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 (*ProcessingNotifier) EXPECT ¶ added in v0.46.0
func (_m *ProcessingNotifier) EXPECT() *ProcessingNotifier_Expecter
func (*ProcessingNotifier) Notify ¶ added in v0.15.0
func (_mock *ProcessingNotifier) Notify(entityID flow.Identifier)
Notify provides a mock function for the type ProcessingNotifier
type ProcessingNotifier_Expecter ¶ added in v0.46.0
type ProcessingNotifier_Expecter struct {
// contains filtered or unexported fields
}
func (*ProcessingNotifier_Expecter) Notify ¶ added in v0.46.0
func (_e *ProcessingNotifier_Expecter) Notify(entityID interface{}) *ProcessingNotifier_Notify_Call
Notify is a helper method to define mock.On call
- entityID flow.Identifier
type ProcessingNotifier_Notify_Call ¶ added in v0.46.0
ProcessingNotifier_Notify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Notify'
func (*ProcessingNotifier_Notify_Call) Return ¶ added in v0.46.0
func (_c *ProcessingNotifier_Notify_Call) Return() *ProcessingNotifier_Notify_Call
func (*ProcessingNotifier_Notify_Call) Run ¶ added in v0.46.0
func (_c *ProcessingNotifier_Notify_Call) Run(run func(entityID flow.Identifier)) *ProcessingNotifier_Notify_Call
func (*ProcessingNotifier_Notify_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ProcessingNotifier_Notify_Call) RunAndReturn(run func(entityID flow.Identifier)) *ProcessingNotifier_Notify_Call
type ProviderMetrics ¶
ProviderMetrics is an autogenerated mock type for the ProviderMetrics type
func NewProviderMetrics ¶ added in v0.26.1
func NewProviderMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ProviderMetrics
NewProviderMetrics creates a new instance of ProviderMetrics. 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 (*ProviderMetrics) ChunkDataPackRequestProcessed ¶ added in v0.28.0
func (_mock *ProviderMetrics) ChunkDataPackRequestProcessed()
ChunkDataPackRequestProcessed provides a mock function for the type ProviderMetrics
func (*ProviderMetrics) EXPECT ¶ added in v0.46.0
func (_m *ProviderMetrics) EXPECT() *ProviderMetrics_Expecter
type ProviderMetrics_ChunkDataPackRequestProcessed_Call ¶ added in v0.46.0
ProviderMetrics_ChunkDataPackRequestProcessed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkDataPackRequestProcessed'
func (*ProviderMetrics_ChunkDataPackRequestProcessed_Call) Run ¶ added in v0.46.0
func (_c *ProviderMetrics_ChunkDataPackRequestProcessed_Call) Run(run func()) *ProviderMetrics_ChunkDataPackRequestProcessed_Call
func (*ProviderMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ProviderMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn(run func()) *ProviderMetrics_ChunkDataPackRequestProcessed_Call
type ProviderMetrics_Expecter ¶ added in v0.46.0
type ProviderMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderMetrics_Expecter) ChunkDataPackRequestProcessed ¶ added in v0.46.0
func (_e *ProviderMetrics_Expecter) ChunkDataPackRequestProcessed() *ProviderMetrics_ChunkDataPackRequestProcessed_Call
ChunkDataPackRequestProcessed is a helper method to define mock.On call
type PublicKey ¶ added in v0.23.9
PublicKey is an autogenerated mock type for the PublicKey type
func NewPublicKey ¶ added in v0.26.1
NewPublicKey creates a new instance of PublicKey. 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 (*PublicKey) Algorithm ¶ added in v0.23.9
func (_mock *PublicKey) Algorithm() crypto.SigningAlgorithm
Algorithm provides a mock function for the type PublicKey
func (*PublicKey) EXPECT ¶ added in v0.46.0
func (_m *PublicKey) EXPECT() *PublicKey_Expecter
func (*PublicKey) EncodeCompressed ¶ added in v0.23.9
EncodeCompressed provides a mock function for the type PublicKey
type PublicKey_Algorithm_Call ¶ added in v0.46.0
PublicKey_Algorithm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Algorithm'
func (*PublicKey_Algorithm_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_Algorithm_Call) Return(signingAlgorithm crypto.SigningAlgorithm) *PublicKey_Algorithm_Call
func (*PublicKey_Algorithm_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_Algorithm_Call) Run(run func()) *PublicKey_Algorithm_Call
func (*PublicKey_Algorithm_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_Algorithm_Call) RunAndReturn(run func() crypto.SigningAlgorithm) *PublicKey_Algorithm_Call
type PublicKey_EncodeCompressed_Call ¶ added in v0.46.0
PublicKey_EncodeCompressed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EncodeCompressed'
func (*PublicKey_EncodeCompressed_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_EncodeCompressed_Call) Return(bytes []byte) *PublicKey_EncodeCompressed_Call
func (*PublicKey_EncodeCompressed_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_EncodeCompressed_Call) Run(run func()) *PublicKey_EncodeCompressed_Call
func (*PublicKey_EncodeCompressed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_EncodeCompressed_Call) RunAndReturn(run func() []byte) *PublicKey_EncodeCompressed_Call
type PublicKey_Encode_Call ¶ added in v0.46.0
PublicKey_Encode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Encode'
func (*PublicKey_Encode_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_Encode_Call) Return(bytes []byte) *PublicKey_Encode_Call
func (*PublicKey_Encode_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_Encode_Call) Run(run func()) *PublicKey_Encode_Call
func (*PublicKey_Encode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_Encode_Call) RunAndReturn(run func() []byte) *PublicKey_Encode_Call
type PublicKey_Equals_Call ¶ added in v0.46.0
PublicKey_Equals_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Equals'
func (*PublicKey_Equals_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_Equals_Call) Return(b bool) *PublicKey_Equals_Call
func (*PublicKey_Equals_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_Equals_Call) Run(run func(publicKey crypto.PublicKey)) *PublicKey_Equals_Call
func (*PublicKey_Equals_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_Equals_Call) RunAndReturn(run func(publicKey crypto.PublicKey) bool) *PublicKey_Equals_Call
type PublicKey_Expecter ¶ added in v0.46.0
type PublicKey_Expecter struct {
// contains filtered or unexported fields
}
func (*PublicKey_Expecter) Algorithm ¶ added in v0.46.0
func (_e *PublicKey_Expecter) Algorithm() *PublicKey_Algorithm_Call
Algorithm is a helper method to define mock.On call
func (*PublicKey_Expecter) Encode ¶ added in v0.46.0
func (_e *PublicKey_Expecter) Encode() *PublicKey_Encode_Call
Encode is a helper method to define mock.On call
func (*PublicKey_Expecter) EncodeCompressed ¶ added in v0.46.0
func (_e *PublicKey_Expecter) EncodeCompressed() *PublicKey_EncodeCompressed_Call
EncodeCompressed is a helper method to define mock.On call
func (*PublicKey_Expecter) Equals ¶ added in v0.46.0
func (_e *PublicKey_Expecter) Equals(publicKey interface{}) *PublicKey_Equals_Call
Equals is a helper method to define mock.On call
- publicKey crypto.PublicKey
func (*PublicKey_Expecter) Size ¶ added in v0.46.0
func (_e *PublicKey_Expecter) Size() *PublicKey_Size_Call
Size is a helper method to define mock.On call
func (*PublicKey_Expecter) String ¶ added in v0.46.0
func (_e *PublicKey_Expecter) String() *PublicKey_String_Call
String is a helper method to define mock.On call
func (*PublicKey_Expecter) Verify ¶ added in v0.46.0
func (_e *PublicKey_Expecter) Verify(signature interface{}, bytes interface{}, hasher interface{}) *PublicKey_Verify_Call
Verify is a helper method to define mock.On call
- signature crypto.Signature
- bytes []byte
- hasher hash.Hasher
type PublicKey_Size_Call ¶ added in v0.46.0
PublicKey_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*PublicKey_Size_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_Size_Call) Return(n int) *PublicKey_Size_Call
func (*PublicKey_Size_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_Size_Call) Run(run func()) *PublicKey_Size_Call
func (*PublicKey_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_Size_Call) RunAndReturn(run func() int) *PublicKey_Size_Call
type PublicKey_String_Call ¶ added in v0.46.0
PublicKey_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*PublicKey_String_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_String_Call) Return(s string) *PublicKey_String_Call
func (*PublicKey_String_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_String_Call) Run(run func()) *PublicKey_String_Call
func (*PublicKey_String_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_String_Call) RunAndReturn(run func() string) *PublicKey_String_Call
type PublicKey_Verify_Call ¶ added in v0.46.0
PublicKey_Verify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Verify'
func (*PublicKey_Verify_Call) Return ¶ added in v0.46.0
func (_c *PublicKey_Verify_Call) Return(b bool, err error) *PublicKey_Verify_Call
func (*PublicKey_Verify_Call) Run ¶ added in v0.46.0
func (_c *PublicKey_Verify_Call) Run(run func(signature crypto.Signature, bytes []byte, hasher hash.Hasher)) *PublicKey_Verify_Call
func (*PublicKey_Verify_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PublicKey_Verify_Call) RunAndReturn(run func(signature crypto.Signature, bytes []byte, hasher hash.Hasher) (bool, error)) *PublicKey_Verify_Call
type QCContractClient ¶
QCContractClient is an autogenerated mock type for the QCContractClient type
func NewQCContractClient ¶ added in v0.26.1
func NewQCContractClient(t interface {
mock.TestingT
Cleanup(func())
}) *QCContractClient
NewQCContractClient creates a new instance of QCContractClient. 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 (*QCContractClient) EXPECT ¶ added in v0.46.0
func (_m *QCContractClient) EXPECT() *QCContractClient_Expecter
func (*QCContractClient) SubmitVote ¶
SubmitVote provides a mock function for the type QCContractClient
type QCContractClient_Expecter ¶ added in v0.46.0
type QCContractClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QCContractClient_Expecter) SubmitVote ¶ added in v0.46.0
func (_e *QCContractClient_Expecter) SubmitVote(ctx interface{}, vote interface{}) *QCContractClient_SubmitVote_Call
SubmitVote is a helper method to define mock.On call
- ctx context.Context
- vote *model.Vote
func (*QCContractClient_Expecter) Voted ¶ added in v0.46.0
func (_e *QCContractClient_Expecter) Voted(ctx interface{}) *QCContractClient_Voted_Call
Voted is a helper method to define mock.On call
- ctx context.Context
type QCContractClient_SubmitVote_Call ¶ added in v0.46.0
QCContractClient_SubmitVote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitVote'
func (*QCContractClient_SubmitVote_Call) Return ¶ added in v0.46.0
func (_c *QCContractClient_SubmitVote_Call) Return(err error) *QCContractClient_SubmitVote_Call
func (*QCContractClient_SubmitVote_Call) Run ¶ added in v0.46.0
func (_c *QCContractClient_SubmitVote_Call) Run(run func(ctx context.Context, vote *model.Vote)) *QCContractClient_SubmitVote_Call
func (*QCContractClient_SubmitVote_Call) RunAndReturn ¶ added in v0.46.0
func (_c *QCContractClient_SubmitVote_Call) RunAndReturn(run func(ctx context.Context, vote *model.Vote) error) *QCContractClient_SubmitVote_Call
type QCContractClient_Voted_Call ¶ added in v0.46.0
QCContractClient_Voted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Voted'
func (*QCContractClient_Voted_Call) Return ¶ added in v0.46.0
func (_c *QCContractClient_Voted_Call) Return(b bool, err error) *QCContractClient_Voted_Call
func (*QCContractClient_Voted_Call) Run ¶ added in v0.46.0
func (_c *QCContractClient_Voted_Call) Run(run func(ctx context.Context)) *QCContractClient_Voted_Call
func (*QCContractClient_Voted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *QCContractClient_Voted_Call) RunAndReturn(run func(ctx context.Context) (bool, error)) *QCContractClient_Voted_Call
type RandomBeaconKeyStore ¶ added in v0.23.9
RandomBeaconKeyStore is an autogenerated mock type for the RandomBeaconKeyStore type
func NewRandomBeaconKeyStore ¶ added in v0.26.1
func NewRandomBeaconKeyStore(t interface {
mock.TestingT
Cleanup(func())
}) *RandomBeaconKeyStore
NewRandomBeaconKeyStore creates a new instance of RandomBeaconKeyStore. 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 (*RandomBeaconKeyStore) ByView ¶ added in v0.23.9
func (_mock *RandomBeaconKeyStore) ByView(view uint64) (crypto.PrivateKey, error)
ByView provides a mock function for the type RandomBeaconKeyStore
func (*RandomBeaconKeyStore) EXPECT ¶ added in v0.46.0
func (_m *RandomBeaconKeyStore) EXPECT() *RandomBeaconKeyStore_Expecter
type RandomBeaconKeyStore_ByView_Call ¶ added in v0.46.0
RandomBeaconKeyStore_ByView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByView'
func (*RandomBeaconKeyStore_ByView_Call) Return ¶ added in v0.46.0
func (_c *RandomBeaconKeyStore_ByView_Call) Return(privateKey crypto.PrivateKey, err error) *RandomBeaconKeyStore_ByView_Call
func (*RandomBeaconKeyStore_ByView_Call) Run ¶ added in v0.46.0
func (_c *RandomBeaconKeyStore_ByView_Call) Run(run func(view uint64)) *RandomBeaconKeyStore_ByView_Call
func (*RandomBeaconKeyStore_ByView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RandomBeaconKeyStore_ByView_Call) RunAndReturn(run func(view uint64) (crypto.PrivateKey, error)) *RandomBeaconKeyStore_ByView_Call
type RandomBeaconKeyStore_Expecter ¶ added in v0.46.0
type RandomBeaconKeyStore_Expecter struct {
// contains filtered or unexported fields
}
func (*RandomBeaconKeyStore_Expecter) ByView ¶ added in v0.46.0
func (_e *RandomBeaconKeyStore_Expecter) ByView(view interface{}) *RandomBeaconKeyStore_ByView_Call
ByView is a helper method to define mock.On call
- view uint64
type RateLimitedBlockstoreMetrics ¶ added in v0.28.0
RateLimitedBlockstoreMetrics is an autogenerated mock type for the RateLimitedBlockstoreMetrics type
func NewRateLimitedBlockstoreMetrics ¶ added in v0.28.0
func NewRateLimitedBlockstoreMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *RateLimitedBlockstoreMetrics
NewRateLimitedBlockstoreMetrics creates a new instance of RateLimitedBlockstoreMetrics. 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 (*RateLimitedBlockstoreMetrics) BytesRead ¶ added in v0.28.0
func (_mock *RateLimitedBlockstoreMetrics) BytesRead(n int)
BytesRead provides a mock function for the type RateLimitedBlockstoreMetrics
func (*RateLimitedBlockstoreMetrics) EXPECT ¶ added in v0.46.0
func (_m *RateLimitedBlockstoreMetrics) EXPECT() *RateLimitedBlockstoreMetrics_Expecter
type RateLimitedBlockstoreMetrics_BytesRead_Call ¶ added in v0.46.0
RateLimitedBlockstoreMetrics_BytesRead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BytesRead'
func (*RateLimitedBlockstoreMetrics_BytesRead_Call) Return ¶ added in v0.46.0
func (_c *RateLimitedBlockstoreMetrics_BytesRead_Call) Return() *RateLimitedBlockstoreMetrics_BytesRead_Call
func (*RateLimitedBlockstoreMetrics_BytesRead_Call) Run ¶ added in v0.46.0
func (_c *RateLimitedBlockstoreMetrics_BytesRead_Call) Run(run func(n int)) *RateLimitedBlockstoreMetrics_BytesRead_Call
func (*RateLimitedBlockstoreMetrics_BytesRead_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RateLimitedBlockstoreMetrics_BytesRead_Call) RunAndReturn(run func(n int)) *RateLimitedBlockstoreMetrics_BytesRead_Call
type RateLimitedBlockstoreMetrics_Expecter ¶ added in v0.46.0
type RateLimitedBlockstoreMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*RateLimitedBlockstoreMetrics_Expecter) BytesRead ¶ added in v0.46.0
func (_e *RateLimitedBlockstoreMetrics_Expecter) BytesRead(n interface{}) *RateLimitedBlockstoreMetrics_BytesRead_Call
BytesRead is a helper method to define mock.On call
- n int
type ReadonlySealingLagRateLimiterConfig ¶ added in v0.43.0
ReadonlySealingLagRateLimiterConfig is an autogenerated mock type for the ReadonlySealingLagRateLimiterConfig type
func NewReadonlySealingLagRateLimiterConfig ¶ added in v0.43.0
func NewReadonlySealingLagRateLimiterConfig(t interface {
mock.TestingT
Cleanup(func())
}) *ReadonlySealingLagRateLimiterConfig
NewReadonlySealingLagRateLimiterConfig creates a new instance of ReadonlySealingLagRateLimiterConfig. 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 (*ReadonlySealingLagRateLimiterConfig) EXPECT ¶ added in v0.46.0
func (_m *ReadonlySealingLagRateLimiterConfig) EXPECT() *ReadonlySealingLagRateLimiterConfig_Expecter
func (*ReadonlySealingLagRateLimiterConfig) HalvingInterval ¶ added in v0.43.0
func (_mock *ReadonlySealingLagRateLimiterConfig) HalvingInterval() uint
HalvingInterval provides a mock function for the type ReadonlySealingLagRateLimiterConfig
func (*ReadonlySealingLagRateLimiterConfig) MaxSealingLag ¶ added in v0.43.0
func (_mock *ReadonlySealingLagRateLimiterConfig) MaxSealingLag() uint
MaxSealingLag provides a mock function for the type ReadonlySealingLagRateLimiterConfig
func (*ReadonlySealingLagRateLimiterConfig) MinCollectionSize ¶ added in v0.43.0
func (_mock *ReadonlySealingLagRateLimiterConfig) MinCollectionSize() uint
MinCollectionSize provides a mock function for the type ReadonlySealingLagRateLimiterConfig
func (*ReadonlySealingLagRateLimiterConfig) MinSealingLag ¶ added in v0.43.0
func (_mock *ReadonlySealingLagRateLimiterConfig) MinSealingLag() uint
MinSealingLag provides a mock function for the type ReadonlySealingLagRateLimiterConfig
type ReadonlySealingLagRateLimiterConfig_Expecter ¶ added in v0.46.0
type ReadonlySealingLagRateLimiterConfig_Expecter struct {
// contains filtered or unexported fields
}
func (*ReadonlySealingLagRateLimiterConfig_Expecter) HalvingInterval ¶ added in v0.46.0
func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) HalvingInterval() *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
HalvingInterval is a helper method to define mock.On call
func (*ReadonlySealingLagRateLimiterConfig_Expecter) MaxSealingLag ¶ added in v0.46.0
func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) MaxSealingLag() *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
MaxSealingLag is a helper method to define mock.On call
func (*ReadonlySealingLagRateLimiterConfig_Expecter) MinCollectionSize ¶ added in v0.46.0
func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) MinCollectionSize() *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
MinCollectionSize is a helper method to define mock.On call
func (*ReadonlySealingLagRateLimiterConfig_Expecter) MinSealingLag ¶ added in v0.46.0
func (_e *ReadonlySealingLagRateLimiterConfig_Expecter) MinSealingLag() *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
MinSealingLag is a helper method to define mock.On call
type ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call ¶ added in v0.46.0
ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HalvingInterval'
func (*ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) Run ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
func (*ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call
type ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call ¶ added in v0.46.0
ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxSealingLag'
func (*ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) Run ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
func (*ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call
type ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call ¶ added in v0.46.0
ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinCollectionSize'
func (*ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) Run ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
func (*ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call
type ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call ¶ added in v0.46.0
ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinSealingLag'
func (*ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) Run ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) Run(run func()) *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
func (*ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn(run func() uint) *ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call
type ReadyDoneAware ¶
ReadyDoneAware is an autogenerated mock type for the ReadyDoneAware type
func NewReadyDoneAware ¶ added in v0.26.1
func NewReadyDoneAware(t interface {
mock.TestingT
Cleanup(func())
}) *ReadyDoneAware
NewReadyDoneAware creates a new instance of ReadyDoneAware. 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 (*ReadyDoneAware) Done ¶
func (_mock *ReadyDoneAware) Done() <-chan struct{}
Done provides a mock function for the type ReadyDoneAware
func (*ReadyDoneAware) EXPECT ¶ added in v0.46.0
func (_m *ReadyDoneAware) EXPECT() *ReadyDoneAware_Expecter
func (*ReadyDoneAware) Ready ¶
func (_mock *ReadyDoneAware) Ready() <-chan struct{}
Ready provides a mock function for the type ReadyDoneAware
type ReadyDoneAware_Done_Call ¶ added in v0.46.0
ReadyDoneAware_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*ReadyDoneAware_Done_Call) Return ¶ added in v0.46.0
func (_c *ReadyDoneAware_Done_Call) Return(valCh <-chan struct{}) *ReadyDoneAware_Done_Call
func (*ReadyDoneAware_Done_Call) Run ¶ added in v0.46.0
func (_c *ReadyDoneAware_Done_Call) Run(run func()) *ReadyDoneAware_Done_Call
func (*ReadyDoneAware_Done_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReadyDoneAware_Done_Call) RunAndReturn(run func() <-chan struct{}) *ReadyDoneAware_Done_Call
type ReadyDoneAware_Expecter ¶ added in v0.46.0
type ReadyDoneAware_Expecter struct {
// contains filtered or unexported fields
}
func (*ReadyDoneAware_Expecter) Done ¶ added in v0.46.0
func (_e *ReadyDoneAware_Expecter) Done() *ReadyDoneAware_Done_Call
Done is a helper method to define mock.On call
func (*ReadyDoneAware_Expecter) Ready ¶ added in v0.46.0
func (_e *ReadyDoneAware_Expecter) Ready() *ReadyDoneAware_Ready_Call
Ready is a helper method to define mock.On call
type ReadyDoneAware_Ready_Call ¶ added in v0.46.0
ReadyDoneAware_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*ReadyDoneAware_Ready_Call) Return ¶ added in v0.46.0
func (_c *ReadyDoneAware_Ready_Call) Return(valCh <-chan struct{}) *ReadyDoneAware_Ready_Call
func (*ReadyDoneAware_Ready_Call) Run ¶ added in v0.46.0
func (_c *ReadyDoneAware_Ready_Call) Run(run func()) *ReadyDoneAware_Ready_Call
func (*ReadyDoneAware_Ready_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReadyDoneAware_Ready_Call) RunAndReturn(run func() <-chan struct{}) *ReadyDoneAware_Ready_Call
type ReceiptValidator ¶ added in v0.14.0
ReceiptValidator is an autogenerated mock type for the ReceiptValidator type
func NewReceiptValidator ¶ added in v0.26.1
func NewReceiptValidator(t interface {
mock.TestingT
Cleanup(func())
}) *ReceiptValidator
NewReceiptValidator creates a new instance of ReceiptValidator. 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 (*ReceiptValidator) EXPECT ¶ added in v0.46.0
func (_m *ReceiptValidator) EXPECT() *ReceiptValidator_Expecter
func (*ReceiptValidator) Validate ¶ added in v0.14.0
func (_mock *ReceiptValidator) Validate(receipt *flow.ExecutionReceipt) error
Validate provides a mock function for the type ReceiptValidator
func (*ReceiptValidator) ValidatePayload ¶ added in v0.16.0
func (_mock *ReceiptValidator) ValidatePayload(candidate *flow.Block) error
ValidatePayload provides a mock function for the type ReceiptValidator
type ReceiptValidator_Expecter ¶ added in v0.46.0
type ReceiptValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*ReceiptValidator_Expecter) Validate ¶ added in v0.46.0
func (_e *ReceiptValidator_Expecter) Validate(receipt interface{}) *ReceiptValidator_Validate_Call
Validate is a helper method to define mock.On call
- receipt *flow.ExecutionReceipt
func (*ReceiptValidator_Expecter) ValidatePayload ¶ added in v0.46.0
func (_e *ReceiptValidator_Expecter) ValidatePayload(candidate interface{}) *ReceiptValidator_ValidatePayload_Call
ValidatePayload is a helper method to define mock.On call
- candidate *flow.Block
type ReceiptValidator_ValidatePayload_Call ¶ added in v0.46.0
ReceiptValidator_ValidatePayload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatePayload'
func (*ReceiptValidator_ValidatePayload_Call) Return ¶ added in v0.46.0
func (_c *ReceiptValidator_ValidatePayload_Call) Return(err error) *ReceiptValidator_ValidatePayload_Call
func (*ReceiptValidator_ValidatePayload_Call) Run ¶ added in v0.46.0
func (_c *ReceiptValidator_ValidatePayload_Call) Run(run func(candidate *flow.Block)) *ReceiptValidator_ValidatePayload_Call
func (*ReceiptValidator_ValidatePayload_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReceiptValidator_ValidatePayload_Call) RunAndReturn(run func(candidate *flow.Block) error) *ReceiptValidator_ValidatePayload_Call
type ReceiptValidator_Validate_Call ¶ added in v0.46.0
ReceiptValidator_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*ReceiptValidator_Validate_Call) Return ¶ added in v0.46.0
func (_c *ReceiptValidator_Validate_Call) Return(err error) *ReceiptValidator_Validate_Call
func (*ReceiptValidator_Validate_Call) Run ¶ added in v0.46.0
func (_c *ReceiptValidator_Validate_Call) Run(run func(receipt *flow.ExecutionReceipt)) *ReceiptValidator_Validate_Call
func (*ReceiptValidator_Validate_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReceiptValidator_Validate_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) error) *ReceiptValidator_Validate_Call
type Requester ¶
Requester is an autogenerated mock type for the Requester type
func NewRequester ¶ added in v0.26.1
NewRequester creates a new instance of Requester. 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 (*Requester) EXPECT ¶ added in v0.46.0
func (_m *Requester) EXPECT() *Requester_Expecter
func (*Requester) EntityByID ¶
func (_mock *Requester) EntityByID(entityID flow.Identifier, selector flow.IdentityFilter[flow.Identity])
EntityByID provides a mock function for the type Requester
func (*Requester) EntityBySecondaryKey ¶ added in v0.45.0
func (_mock *Requester) EntityBySecondaryKey(queryKey flow.Identifier, selector flow.IdentityFilter[flow.Identity])
EntityBySecondaryKey provides a mock function for the type Requester
type Requester_EntityByID_Call ¶ added in v0.46.0
Requester_EntityByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EntityByID'
func (*Requester_EntityByID_Call) Return ¶ added in v0.46.0
func (_c *Requester_EntityByID_Call) Return() *Requester_EntityByID_Call
func (*Requester_EntityByID_Call) Run ¶ added in v0.46.0
func (_c *Requester_EntityByID_Call) Run(run func(entityID flow.Identifier, selector flow.IdentityFilter[flow.Identity])) *Requester_EntityByID_Call
func (*Requester_EntityByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Requester_EntityByID_Call) RunAndReturn(run func(entityID flow.Identifier, selector flow.IdentityFilter[flow.Identity])) *Requester_EntityByID_Call
type Requester_EntityBySecondaryKey_Call ¶ added in v0.46.0
Requester_EntityBySecondaryKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EntityBySecondaryKey'
func (*Requester_EntityBySecondaryKey_Call) Return ¶ added in v0.46.0
func (_c *Requester_EntityBySecondaryKey_Call) Return() *Requester_EntityBySecondaryKey_Call
func (*Requester_EntityBySecondaryKey_Call) Run ¶ added in v0.46.0
func (_c *Requester_EntityBySecondaryKey_Call) Run(run func(queryKey flow.Identifier, selector flow.IdentityFilter[flow.Identity])) *Requester_EntityBySecondaryKey_Call
func (*Requester_EntityBySecondaryKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Requester_EntityBySecondaryKey_Call) RunAndReturn(run func(queryKey flow.Identifier, selector flow.IdentityFilter[flow.Identity])) *Requester_EntityBySecondaryKey_Call
type Requester_Expecter ¶ added in v0.46.0
type Requester_Expecter struct {
// contains filtered or unexported fields
}
func (*Requester_Expecter) EntityByID ¶ added in v0.46.0
func (_e *Requester_Expecter) EntityByID(entityID interface{}, selector interface{}) *Requester_EntityByID_Call
EntityByID is a helper method to define mock.On call
- entityID flow.Identifier
- selector flow.IdentityFilter[flow.Identity]
func (*Requester_Expecter) EntityBySecondaryKey ¶ added in v0.46.0
func (_e *Requester_Expecter) EntityBySecondaryKey(queryKey interface{}, selector interface{}) *Requester_EntityBySecondaryKey_Call
EntityBySecondaryKey is a helper method to define mock.On call
- queryKey flow.Identifier
- selector flow.IdentityFilter[flow.Identity]
func (*Requester_Expecter) Force ¶ added in v0.46.0
func (_e *Requester_Expecter) Force() *Requester_Force_Call
Force is a helper method to define mock.On call
type Requester_Force_Call ¶ added in v0.46.0
Requester_Force_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Force'
func (*Requester_Force_Call) Return ¶ added in v0.46.0
func (_c *Requester_Force_Call) Return() *Requester_Force_Call
func (*Requester_Force_Call) Run ¶ added in v0.46.0
func (_c *Requester_Force_Call) Run(run func()) *Requester_Force_Call
func (*Requester_Force_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Requester_Force_Call) RunAndReturn(run func()) *Requester_Force_Call
type ResolverMetrics ¶ added in v0.21.0
ResolverMetrics is an autogenerated mock type for the ResolverMetrics type
func NewResolverMetrics ¶ added in v0.26.1
func NewResolverMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *ResolverMetrics
NewResolverMetrics creates a new instance of ResolverMetrics. 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 (*ResolverMetrics) DNSLookupDuration ¶ added in v0.21.0
func (_mock *ResolverMetrics) DNSLookupDuration(duration time.Duration)
DNSLookupDuration provides a mock function for the type ResolverMetrics
func (*ResolverMetrics) EXPECT ¶ added in v0.46.0
func (_m *ResolverMetrics) EXPECT() *ResolverMetrics_Expecter
func (*ResolverMetrics) OnDNSCacheHit ¶ added in v0.21.0
func (_mock *ResolverMetrics) OnDNSCacheHit()
OnDNSCacheHit provides a mock function for the type ResolverMetrics
func (*ResolverMetrics) OnDNSCacheInvalidated ¶ added in v0.21.1
func (_mock *ResolverMetrics) OnDNSCacheInvalidated()
OnDNSCacheInvalidated provides a mock function for the type ResolverMetrics
func (*ResolverMetrics) OnDNSCacheMiss ¶ added in v0.21.0
func (_mock *ResolverMetrics) OnDNSCacheMiss()
OnDNSCacheMiss provides a mock function for the type ResolverMetrics
func (*ResolverMetrics) OnDNSLookupRequestDropped ¶ added in v0.23.9
func (_mock *ResolverMetrics) OnDNSLookupRequestDropped()
OnDNSLookupRequestDropped provides a mock function for the type ResolverMetrics
type ResolverMetrics_DNSLookupDuration_Call ¶ added in v0.46.0
ResolverMetrics_DNSLookupDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DNSLookupDuration'
func (*ResolverMetrics_DNSLookupDuration_Call) Return ¶ added in v0.46.0
func (_c *ResolverMetrics_DNSLookupDuration_Call) Return() *ResolverMetrics_DNSLookupDuration_Call
func (*ResolverMetrics_DNSLookupDuration_Call) Run ¶ added in v0.46.0
func (_c *ResolverMetrics_DNSLookupDuration_Call) Run(run func(duration time.Duration)) *ResolverMetrics_DNSLookupDuration_Call
func (*ResolverMetrics_DNSLookupDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResolverMetrics_DNSLookupDuration_Call) RunAndReturn(run func(duration time.Duration)) *ResolverMetrics_DNSLookupDuration_Call
type ResolverMetrics_Expecter ¶ added in v0.46.0
type ResolverMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*ResolverMetrics_Expecter) DNSLookupDuration ¶ added in v0.46.0
func (_e *ResolverMetrics_Expecter) DNSLookupDuration(duration interface{}) *ResolverMetrics_DNSLookupDuration_Call
DNSLookupDuration is a helper method to define mock.On call
- duration time.Duration
func (*ResolverMetrics_Expecter) OnDNSCacheHit ¶ added in v0.46.0
func (_e *ResolverMetrics_Expecter) OnDNSCacheHit() *ResolverMetrics_OnDNSCacheHit_Call
OnDNSCacheHit is a helper method to define mock.On call
func (*ResolverMetrics_Expecter) OnDNSCacheInvalidated ¶ added in v0.46.0
func (_e *ResolverMetrics_Expecter) OnDNSCacheInvalidated() *ResolverMetrics_OnDNSCacheInvalidated_Call
OnDNSCacheInvalidated is a helper method to define mock.On call
func (*ResolverMetrics_Expecter) OnDNSCacheMiss ¶ added in v0.46.0
func (_e *ResolverMetrics_Expecter) OnDNSCacheMiss() *ResolverMetrics_OnDNSCacheMiss_Call
OnDNSCacheMiss is a helper method to define mock.On call
func (*ResolverMetrics_Expecter) OnDNSLookupRequestDropped ¶ added in v0.46.0
func (_e *ResolverMetrics_Expecter) OnDNSLookupRequestDropped() *ResolverMetrics_OnDNSLookupRequestDropped_Call
OnDNSLookupRequestDropped is a helper method to define mock.On call
type ResolverMetrics_OnDNSCacheHit_Call ¶ added in v0.46.0
ResolverMetrics_OnDNSCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheHit'
func (*ResolverMetrics_OnDNSCacheHit_Call) Return ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheHit_Call) Return() *ResolverMetrics_OnDNSCacheHit_Call
func (*ResolverMetrics_OnDNSCacheHit_Call) Run ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheHit_Call) Run(run func()) *ResolverMetrics_OnDNSCacheHit_Call
func (*ResolverMetrics_OnDNSCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheHit_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSCacheHit_Call
type ResolverMetrics_OnDNSCacheInvalidated_Call ¶ added in v0.46.0
ResolverMetrics_OnDNSCacheInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheInvalidated'
func (*ResolverMetrics_OnDNSCacheInvalidated_Call) Return ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheInvalidated_Call) Return() *ResolverMetrics_OnDNSCacheInvalidated_Call
func (*ResolverMetrics_OnDNSCacheInvalidated_Call) Run ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheInvalidated_Call) Run(run func()) *ResolverMetrics_OnDNSCacheInvalidated_Call
func (*ResolverMetrics_OnDNSCacheInvalidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheInvalidated_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSCacheInvalidated_Call
type ResolverMetrics_OnDNSCacheMiss_Call ¶ added in v0.46.0
ResolverMetrics_OnDNSCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSCacheMiss'
func (*ResolverMetrics_OnDNSCacheMiss_Call) Return ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheMiss_Call) Return() *ResolverMetrics_OnDNSCacheMiss_Call
func (*ResolverMetrics_OnDNSCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheMiss_Call) Run(run func()) *ResolverMetrics_OnDNSCacheMiss_Call
func (*ResolverMetrics_OnDNSCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSCacheMiss_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSCacheMiss_Call
type ResolverMetrics_OnDNSLookupRequestDropped_Call ¶ added in v0.46.0
ResolverMetrics_OnDNSLookupRequestDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSLookupRequestDropped'
func (*ResolverMetrics_OnDNSLookupRequestDropped_Call) Run ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSLookupRequestDropped_Call) Run(run func()) *ResolverMetrics_OnDNSLookupRequestDropped_Call
func (*ResolverMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResolverMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn(run func()) *ResolverMetrics_OnDNSLookupRequestDropped_Call
type RestMetrics ¶ added in v0.31.0
RestMetrics is an autogenerated mock type for the RestMetrics type
func NewRestMetrics ¶ added in v0.31.0
func NewRestMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *RestMetrics
NewRestMetrics creates a new instance of RestMetrics. 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 (*RestMetrics) AddInflightRequests ¶ added in v0.31.0
func (_mock *RestMetrics) AddInflightRequests(ctx context.Context, props metrics.HTTPProperties, quantity int)
AddInflightRequests provides a mock function for the type RestMetrics
func (*RestMetrics) AddTotalRequests ¶ added in v0.31.0
func (_mock *RestMetrics) AddTotalRequests(ctx context.Context, method string, routeName string)
AddTotalRequests provides a mock function for the type RestMetrics
func (*RestMetrics) EXPECT ¶ added in v0.46.0
func (_m *RestMetrics) EXPECT() *RestMetrics_Expecter
func (*RestMetrics) ObserveHTTPRequestDuration ¶ added in v0.31.0
func (_mock *RestMetrics) ObserveHTTPRequestDuration(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)
ObserveHTTPRequestDuration provides a mock function for the type RestMetrics
func (*RestMetrics) ObserveHTTPResponseSize ¶ added in v0.31.0
func (_mock *RestMetrics) ObserveHTTPResponseSize(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)
ObserveHTTPResponseSize provides a mock function for the type RestMetrics
type RestMetrics_AddInflightRequests_Call ¶ added in v0.46.0
RestMetrics_AddInflightRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInflightRequests'
func (*RestMetrics_AddInflightRequests_Call) Return ¶ added in v0.46.0
func (_c *RestMetrics_AddInflightRequests_Call) Return() *RestMetrics_AddInflightRequests_Call
func (*RestMetrics_AddInflightRequests_Call) Run ¶ added in v0.46.0
func (_c *RestMetrics_AddInflightRequests_Call) Run(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *RestMetrics_AddInflightRequests_Call
func (*RestMetrics_AddInflightRequests_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RestMetrics_AddInflightRequests_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPProperties, quantity int)) *RestMetrics_AddInflightRequests_Call
type RestMetrics_AddTotalRequests_Call ¶ added in v0.46.0
RestMetrics_AddTotalRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTotalRequests'
func (*RestMetrics_AddTotalRequests_Call) Return ¶ added in v0.46.0
func (_c *RestMetrics_AddTotalRequests_Call) Return() *RestMetrics_AddTotalRequests_Call
func (*RestMetrics_AddTotalRequests_Call) Run ¶ added in v0.46.0
func (_c *RestMetrics_AddTotalRequests_Call) Run(run func(ctx context.Context, method string, routeName string)) *RestMetrics_AddTotalRequests_Call
func (*RestMetrics_AddTotalRequests_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RestMetrics_AddTotalRequests_Call) RunAndReturn(run func(ctx context.Context, method string, routeName string)) *RestMetrics_AddTotalRequests_Call
type RestMetrics_Expecter ¶ added in v0.46.0
type RestMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*RestMetrics_Expecter) AddInflightRequests ¶ added in v0.46.0
func (_e *RestMetrics_Expecter) AddInflightRequests(ctx interface{}, props interface{}, quantity interface{}) *RestMetrics_AddInflightRequests_Call
AddInflightRequests is a helper method to define mock.On call
- ctx context.Context
- props metrics.HTTPProperties
- quantity int
func (*RestMetrics_Expecter) AddTotalRequests ¶ added in v0.46.0
func (_e *RestMetrics_Expecter) AddTotalRequests(ctx interface{}, method interface{}, routeName interface{}) *RestMetrics_AddTotalRequests_Call
AddTotalRequests is a helper method to define mock.On call
- ctx context.Context
- method string
- routeName string
func (*RestMetrics_Expecter) ObserveHTTPRequestDuration ¶ added in v0.46.0
func (_e *RestMetrics_Expecter) ObserveHTTPRequestDuration(ctx interface{}, props interface{}, duration interface{}) *RestMetrics_ObserveHTTPRequestDuration_Call
ObserveHTTPRequestDuration is a helper method to define mock.On call
- ctx context.Context
- props metrics.HTTPReqProperties
- duration time.Duration
func (*RestMetrics_Expecter) ObserveHTTPResponseSize ¶ added in v0.46.0
func (_e *RestMetrics_Expecter) ObserveHTTPResponseSize(ctx interface{}, props interface{}, sizeBytes interface{}) *RestMetrics_ObserveHTTPResponseSize_Call
ObserveHTTPResponseSize is a helper method to define mock.On call
- ctx context.Context
- props metrics.HTTPReqProperties
- sizeBytes int64
type RestMetrics_ObserveHTTPRequestDuration_Call ¶ added in v0.46.0
RestMetrics_ObserveHTTPRequestDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveHTTPRequestDuration'
func (*RestMetrics_ObserveHTTPRequestDuration_Call) Return ¶ added in v0.46.0
func (_c *RestMetrics_ObserveHTTPRequestDuration_Call) Return() *RestMetrics_ObserveHTTPRequestDuration_Call
func (*RestMetrics_ObserveHTTPRequestDuration_Call) Run ¶ added in v0.46.0
func (_c *RestMetrics_ObserveHTTPRequestDuration_Call) Run(run func(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)) *RestMetrics_ObserveHTTPRequestDuration_Call
func (*RestMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RestMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)) *RestMetrics_ObserveHTTPRequestDuration_Call
type RestMetrics_ObserveHTTPResponseSize_Call ¶ added in v0.46.0
RestMetrics_ObserveHTTPResponseSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveHTTPResponseSize'
func (*RestMetrics_ObserveHTTPResponseSize_Call) Return ¶ added in v0.46.0
func (_c *RestMetrics_ObserveHTTPResponseSize_Call) Return() *RestMetrics_ObserveHTTPResponseSize_Call
func (*RestMetrics_ObserveHTTPResponseSize_Call) Run ¶ added in v0.46.0
func (_c *RestMetrics_ObserveHTTPResponseSize_Call) Run(run func(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)) *RestMetrics_ObserveHTTPResponseSize_Call
func (*RestMetrics_ObserveHTTPResponseSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RestMetrics_ObserveHTTPResponseSize_Call) RunAndReturn(run func(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)) *RestMetrics_ObserveHTTPResponseSize_Call
type RuntimeMetrics ¶
RuntimeMetrics is an autogenerated mock type for the RuntimeMetrics type
func NewRuntimeMetrics ¶ added in v0.26.1
func NewRuntimeMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *RuntimeMetrics
NewRuntimeMetrics creates a new instance of RuntimeMetrics. 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 (*RuntimeMetrics) EXPECT ¶ added in v0.46.0
func (_m *RuntimeMetrics) EXPECT() *RuntimeMetrics_Expecter
func (*RuntimeMetrics) RuntimeSetNumberOfAccounts ¶ added in v0.18.3
func (_mock *RuntimeMetrics) RuntimeSetNumberOfAccounts(count uint64)
RuntimeSetNumberOfAccounts provides a mock function for the type RuntimeMetrics
func (*RuntimeMetrics) RuntimeTransactionChecked ¶ added in v0.18.3
func (_mock *RuntimeMetrics) RuntimeTransactionChecked(dur time.Duration)
RuntimeTransactionChecked provides a mock function for the type RuntimeMetrics
func (*RuntimeMetrics) RuntimeTransactionInterpreted ¶ added in v0.18.3
func (_mock *RuntimeMetrics) RuntimeTransactionInterpreted(dur time.Duration)
RuntimeTransactionInterpreted provides a mock function for the type RuntimeMetrics
func (*RuntimeMetrics) RuntimeTransactionParsed ¶ added in v0.18.3
func (_mock *RuntimeMetrics) RuntimeTransactionParsed(dur time.Duration)
RuntimeTransactionParsed provides a mock function for the type RuntimeMetrics
func (*RuntimeMetrics) RuntimeTransactionProgramsCacheHit ¶ added in v0.29.17
func (_mock *RuntimeMetrics) RuntimeTransactionProgramsCacheHit()
RuntimeTransactionProgramsCacheHit provides a mock function for the type RuntimeMetrics
func (*RuntimeMetrics) RuntimeTransactionProgramsCacheMiss ¶ added in v0.29.17
func (_mock *RuntimeMetrics) RuntimeTransactionProgramsCacheMiss()
RuntimeTransactionProgramsCacheMiss provides a mock function for the type RuntimeMetrics
type RuntimeMetrics_Expecter ¶ added in v0.46.0
type RuntimeMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*RuntimeMetrics_Expecter) RuntimeSetNumberOfAccounts ¶ added in v0.46.0
func (_e *RuntimeMetrics_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
RuntimeSetNumberOfAccounts is a helper method to define mock.On call
- count uint64
func (*RuntimeMetrics_Expecter) RuntimeTransactionChecked ¶ added in v0.46.0
func (_e *RuntimeMetrics_Expecter) RuntimeTransactionChecked(dur interface{}) *RuntimeMetrics_RuntimeTransactionChecked_Call
RuntimeTransactionChecked is a helper method to define mock.On call
- dur time.Duration
func (*RuntimeMetrics_Expecter) RuntimeTransactionInterpreted ¶ added in v0.46.0
func (_e *RuntimeMetrics_Expecter) RuntimeTransactionInterpreted(dur interface{}) *RuntimeMetrics_RuntimeTransactionInterpreted_Call
RuntimeTransactionInterpreted is a helper method to define mock.On call
- dur time.Duration
func (*RuntimeMetrics_Expecter) RuntimeTransactionParsed ¶ added in v0.46.0
func (_e *RuntimeMetrics_Expecter) RuntimeTransactionParsed(dur interface{}) *RuntimeMetrics_RuntimeTransactionParsed_Call
RuntimeTransactionParsed is a helper method to define mock.On call
- dur time.Duration
func (*RuntimeMetrics_Expecter) RuntimeTransactionProgramsCacheHit ¶ added in v0.46.0
func (_e *RuntimeMetrics_Expecter) RuntimeTransactionProgramsCacheHit() *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call
func (*RuntimeMetrics_Expecter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.46.0
func (_e *RuntimeMetrics_Expecter) RuntimeTransactionProgramsCacheMiss() *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
RuntimeTransactionProgramsCacheMiss is a helper method to define mock.On call
type RuntimeMetrics_RuntimeSetNumberOfAccounts_Call ¶ added in v0.46.0
RuntimeMetrics_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'
func (*RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
func (*RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *RuntimeMetrics_RuntimeSetNumberOfAccounts_Call
type RuntimeMetrics_RuntimeTransactionChecked_Call ¶ added in v0.46.0
RuntimeMetrics_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'
func (*RuntimeMetrics_RuntimeTransactionChecked_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionChecked_Call) Run(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionChecked_Call
func (*RuntimeMetrics_RuntimeTransactionChecked_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionChecked_Call) RunAndReturn(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionChecked_Call
type RuntimeMetrics_RuntimeTransactionInterpreted_Call ¶ added in v0.46.0
RuntimeMetrics_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'
func (*RuntimeMetrics_RuntimeTransactionInterpreted_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionInterpreted_Call) Run(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionInterpreted_Call
func (*RuntimeMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionInterpreted_Call
type RuntimeMetrics_RuntimeTransactionParsed_Call ¶ added in v0.46.0
RuntimeMetrics_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'
func (*RuntimeMetrics_RuntimeTransactionParsed_Call) Return ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionParsed_Call) Return() *RuntimeMetrics_RuntimeTransactionParsed_Call
func (*RuntimeMetrics_RuntimeTransactionParsed_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionParsed_Call) Run(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionParsed_Call
func (*RuntimeMetrics_RuntimeTransactionParsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionParsed_Call) RunAndReturn(run func(dur time.Duration)) *RuntimeMetrics_RuntimeTransactionParsed_Call
type RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call ¶ added in v0.46.0
RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'
func (*RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
func (*RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call
type RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call ¶ added in v0.46.0
RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'
func (*RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
func (*RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call
type SDKClientWrapper ¶ added in v0.20.0
SDKClientWrapper is an autogenerated mock type for the SDKClientWrapper type
func NewSDKClientWrapper ¶ added in v0.26.1
func NewSDKClientWrapper(t interface {
mock.TestingT
Cleanup(func())
}) *SDKClientWrapper
NewSDKClientWrapper creates a new instance of SDKClientWrapper. 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 (*SDKClientWrapper) EXPECT ¶ added in v0.46.0
func (_m *SDKClientWrapper) EXPECT() *SDKClientWrapper_Expecter
func (*SDKClientWrapper) ExecuteScriptAtBlockID ¶ added in v0.20.0
func (_mock *SDKClientWrapper) ExecuteScriptAtBlockID(context1 context.Context, identifier flow.Identifier, bytes []byte, values []cadence.Value) (cadence.Value, error)
ExecuteScriptAtBlockID provides a mock function for the type SDKClientWrapper
func (*SDKClientWrapper) ExecuteScriptAtLatestBlock ¶ added in v0.20.0
func (_mock *SDKClientWrapper) ExecuteScriptAtLatestBlock(context1 context.Context, bytes []byte, values []cadence.Value) (cadence.Value, error)
ExecuteScriptAtLatestBlock provides a mock function for the type SDKClientWrapper
func (*SDKClientWrapper) GetAccount ¶ added in v0.20.0
func (_mock *SDKClientWrapper) GetAccount(context1 context.Context, address flow.Address) (*flow.Account, error)
GetAccount provides a mock function for the type SDKClientWrapper
func (*SDKClientWrapper) GetAccountAtLatestBlock ¶ added in v0.20.0
func (_mock *SDKClientWrapper) GetAccountAtLatestBlock(context1 context.Context, address flow.Address) (*flow.Account, error)
GetAccountAtLatestBlock provides a mock function for the type SDKClientWrapper
func (*SDKClientWrapper) GetLatestBlock ¶ added in v0.20.0
func (_mock *SDKClientWrapper) GetLatestBlock(context1 context.Context, b bool) (*flow.Block, error)
GetLatestBlock provides a mock function for the type SDKClientWrapper
func (*SDKClientWrapper) GetTransactionResult ¶ added in v0.20.0
func (_mock *SDKClientWrapper) GetTransactionResult(context1 context.Context, identifier flow.Identifier) (*flow.TransactionResult, error)
GetTransactionResult provides a mock function for the type SDKClientWrapper
func (*SDKClientWrapper) SendTransaction ¶ added in v0.20.0
func (_mock *SDKClientWrapper) SendTransaction(context1 context.Context, transaction flow.Transaction) error
SendTransaction provides a mock function for the type SDKClientWrapper
type SDKClientWrapper_ExecuteScriptAtBlockID_Call ¶ added in v0.46.0
SDKClientWrapper_ExecuteScriptAtBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtBlockID'
func (*SDKClientWrapper_ExecuteScriptAtBlockID_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_ExecuteScriptAtBlockID_Call) Return(value cadence.Value, err error) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
func (*SDKClientWrapper_ExecuteScriptAtBlockID_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_ExecuteScriptAtBlockID_Call) Run(run func(context1 context.Context, identifier flow.Identifier, bytes []byte, values []cadence.Value)) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
func (*SDKClientWrapper_ExecuteScriptAtBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_ExecuteScriptAtBlockID_Call) RunAndReturn(run func(context1 context.Context, identifier flow.Identifier, bytes []byte, values []cadence.Value) (cadence.Value, error)) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
type SDKClientWrapper_ExecuteScriptAtLatestBlock_Call ¶ added in v0.46.0
SDKClientWrapper_ExecuteScriptAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtLatestBlock'
func (*SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Return(value cadence.Value, err error) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
func (*SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Run(run func(context1 context.Context, bytes []byte, values []cadence.Value)) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
func (*SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) RunAndReturn(run func(context1 context.Context, bytes []byte, values []cadence.Value) (cadence.Value, error)) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
type SDKClientWrapper_Expecter ¶ added in v0.46.0
type SDKClientWrapper_Expecter struct {
// contains filtered or unexported fields
}
func (*SDKClientWrapper_Expecter) ExecuteScriptAtBlockID ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) ExecuteScriptAtBlockID(context1 interface{}, identifier interface{}, bytes interface{}, values interface{}) *SDKClientWrapper_ExecuteScriptAtBlockID_Call
ExecuteScriptAtBlockID is a helper method to define mock.On call
- context1 context.Context
- identifier flow.Identifier
- bytes []byte
- values []cadence.Value
func (*SDKClientWrapper_Expecter) ExecuteScriptAtLatestBlock ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) ExecuteScriptAtLatestBlock(context1 interface{}, bytes interface{}, values interface{}) *SDKClientWrapper_ExecuteScriptAtLatestBlock_Call
ExecuteScriptAtLatestBlock is a helper method to define mock.On call
- context1 context.Context
- bytes []byte
- values []cadence.Value
func (*SDKClientWrapper_Expecter) GetAccount ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) GetAccount(context1 interface{}, address interface{}) *SDKClientWrapper_GetAccount_Call
GetAccount is a helper method to define mock.On call
- context1 context.Context
- address flow.Address
func (*SDKClientWrapper_Expecter) GetAccountAtLatestBlock ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) GetAccountAtLatestBlock(context1 interface{}, address interface{}) *SDKClientWrapper_GetAccountAtLatestBlock_Call
GetAccountAtLatestBlock is a helper method to define mock.On call
- context1 context.Context
- address flow.Address
func (*SDKClientWrapper_Expecter) GetLatestBlock ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) GetLatestBlock(context1 interface{}, b interface{}) *SDKClientWrapper_GetLatestBlock_Call
GetLatestBlock is a helper method to define mock.On call
- context1 context.Context
- b bool
func (*SDKClientWrapper_Expecter) GetTransactionResult ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) GetTransactionResult(context1 interface{}, identifier interface{}) *SDKClientWrapper_GetTransactionResult_Call
GetTransactionResult is a helper method to define mock.On call
- context1 context.Context
- identifier flow.Identifier
func (*SDKClientWrapper_Expecter) SendTransaction ¶ added in v0.46.0
func (_e *SDKClientWrapper_Expecter) SendTransaction(context1 interface{}, transaction interface{}) *SDKClientWrapper_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- context1 context.Context
- transaction flow.Transaction
type SDKClientWrapper_GetAccountAtLatestBlock_Call ¶ added in v0.46.0
SDKClientWrapper_GetAccountAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAtLatestBlock'
func (*SDKClientWrapper_GetAccountAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetAccountAtLatestBlock_Call) Return(account *flow.Account, err error) *SDKClientWrapper_GetAccountAtLatestBlock_Call
func (*SDKClientWrapper_GetAccountAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetAccountAtLatestBlock_Call) Run(run func(context1 context.Context, address flow.Address)) *SDKClientWrapper_GetAccountAtLatestBlock_Call
func (*SDKClientWrapper_GetAccountAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetAccountAtLatestBlock_Call) RunAndReturn(run func(context1 context.Context, address flow.Address) (*flow.Account, error)) *SDKClientWrapper_GetAccountAtLatestBlock_Call
type SDKClientWrapper_GetAccount_Call ¶ added in v0.46.0
SDKClientWrapper_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*SDKClientWrapper_GetAccount_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetAccount_Call) Return(account *flow.Account, err error) *SDKClientWrapper_GetAccount_Call
func (*SDKClientWrapper_GetAccount_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetAccount_Call) Run(run func(context1 context.Context, address flow.Address)) *SDKClientWrapper_GetAccount_Call
func (*SDKClientWrapper_GetAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetAccount_Call) RunAndReturn(run func(context1 context.Context, address flow.Address) (*flow.Account, error)) *SDKClientWrapper_GetAccount_Call
type SDKClientWrapper_GetLatestBlock_Call ¶ added in v0.46.0
SDKClientWrapper_GetLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBlock'
func (*SDKClientWrapper_GetLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetLatestBlock_Call) Return(block *flow.Block, err error) *SDKClientWrapper_GetLatestBlock_Call
func (*SDKClientWrapper_GetLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetLatestBlock_Call) Run(run func(context1 context.Context, b bool)) *SDKClientWrapper_GetLatestBlock_Call
func (*SDKClientWrapper_GetLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetLatestBlock_Call) RunAndReturn(run func(context1 context.Context, b bool) (*flow.Block, error)) *SDKClientWrapper_GetLatestBlock_Call
type SDKClientWrapper_GetTransactionResult_Call ¶ added in v0.46.0
SDKClientWrapper_GetTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResult'
func (*SDKClientWrapper_GetTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetTransactionResult_Call) Return(transactionResult *flow.TransactionResult, err error) *SDKClientWrapper_GetTransactionResult_Call
func (*SDKClientWrapper_GetTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetTransactionResult_Call) Run(run func(context1 context.Context, identifier flow.Identifier)) *SDKClientWrapper_GetTransactionResult_Call
func (*SDKClientWrapper_GetTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_GetTransactionResult_Call) RunAndReturn(run func(context1 context.Context, identifier flow.Identifier) (*flow.TransactionResult, error)) *SDKClientWrapper_GetTransactionResult_Call
type SDKClientWrapper_SendTransaction_Call ¶ added in v0.46.0
SDKClientWrapper_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*SDKClientWrapper_SendTransaction_Call) Return ¶ added in v0.46.0
func (_c *SDKClientWrapper_SendTransaction_Call) Return(err error) *SDKClientWrapper_SendTransaction_Call
func (*SDKClientWrapper_SendTransaction_Call) Run ¶ added in v0.46.0
func (_c *SDKClientWrapper_SendTransaction_Call) Run(run func(context1 context.Context, transaction flow.Transaction)) *SDKClientWrapper_SendTransaction_Call
func (*SDKClientWrapper_SendTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SDKClientWrapper_SendTransaction_Call) RunAndReturn(run func(context1 context.Context, transaction flow.Transaction) error) *SDKClientWrapper_SendTransaction_Call
type SealValidator ¶ added in v0.14.0
SealValidator is an autogenerated mock type for the SealValidator type
func NewSealValidator ¶ added in v0.26.1
func NewSealValidator(t interface {
mock.TestingT
Cleanup(func())
}) *SealValidator
NewSealValidator creates a new instance of SealValidator. 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 (*SealValidator) EXPECT ¶ added in v0.46.0
func (_m *SealValidator) EXPECT() *SealValidator_Expecter
type SealValidator_Expecter ¶ added in v0.46.0
type SealValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*SealValidator_Expecter) Validate ¶ added in v0.46.0
func (_e *SealValidator_Expecter) Validate(candidate interface{}) *SealValidator_Validate_Call
Validate is a helper method to define mock.On call
- candidate *flow.Block
type SealValidator_Validate_Call ¶ added in v0.46.0
SealValidator_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*SealValidator_Validate_Call) Return ¶ added in v0.46.0
func (_c *SealValidator_Validate_Call) Return(seal *flow.Seal, err error) *SealValidator_Validate_Call
func (*SealValidator_Validate_Call) Run ¶ added in v0.46.0
func (_c *SealValidator_Validate_Call) Run(run func(candidate *flow.Block)) *SealValidator_Validate_Call
func (*SealValidator_Validate_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealValidator_Validate_Call) RunAndReturn(run func(candidate *flow.Block) (*flow.Seal, error)) *SealValidator_Validate_Call
type SealingConfigsGetter ¶ added in v0.26.17
SealingConfigsGetter is an autogenerated mock type for the SealingConfigsGetter type
func NewSealingConfigsGetter ¶ added in v0.26.17
func NewSealingConfigsGetter(t interface {
mock.TestingT
Cleanup(func())
}) *SealingConfigsGetter
NewSealingConfigsGetter creates a new instance of SealingConfigsGetter. 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 (*SealingConfigsGetter) ApprovalRequestsThresholdConst ¶ added in v0.26.17
func (_mock *SealingConfigsGetter) ApprovalRequestsThresholdConst() uint64
ApprovalRequestsThresholdConst provides a mock function for the type SealingConfigsGetter
func (*SealingConfigsGetter) ChunkAlphaConst ¶ added in v0.26.17
func (_mock *SealingConfigsGetter) ChunkAlphaConst() uint
ChunkAlphaConst provides a mock function for the type SealingConfigsGetter
func (*SealingConfigsGetter) EXPECT ¶ added in v0.46.0
func (_m *SealingConfigsGetter) EXPECT() *SealingConfigsGetter_Expecter
func (*SealingConfigsGetter) EmergencySealingActiveConst ¶ added in v0.26.17
func (_mock *SealingConfigsGetter) EmergencySealingActiveConst() bool
EmergencySealingActiveConst provides a mock function for the type SealingConfigsGetter
func (*SealingConfigsGetter) RequireApprovalsForSealConstructionDynamicValue ¶ added in v0.26.17
func (_mock *SealingConfigsGetter) RequireApprovalsForSealConstructionDynamicValue() uint
RequireApprovalsForSealConstructionDynamicValue provides a mock function for the type SealingConfigsGetter
func (*SealingConfigsGetter) RequireApprovalsForSealVerificationConst ¶ added in v0.26.17
func (_mock *SealingConfigsGetter) RequireApprovalsForSealVerificationConst() uint
RequireApprovalsForSealVerificationConst provides a mock function for the type SealingConfigsGetter
type SealingConfigsGetter_ApprovalRequestsThresholdConst_Call ¶ added in v0.46.0
SealingConfigsGetter_ApprovalRequestsThresholdConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApprovalRequestsThresholdConst'
func (*SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) Run(run func()) *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
func (*SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) RunAndReturn(run func() uint64) *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
type SealingConfigsGetter_ChunkAlphaConst_Call ¶ added in v0.46.0
SealingConfigsGetter_ChunkAlphaConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkAlphaConst'
func (*SealingConfigsGetter_ChunkAlphaConst_Call) Return ¶ added in v0.46.0
func (_c *SealingConfigsGetter_ChunkAlphaConst_Call) Return(v uint) *SealingConfigsGetter_ChunkAlphaConst_Call
func (*SealingConfigsGetter_ChunkAlphaConst_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsGetter_ChunkAlphaConst_Call) Run(run func()) *SealingConfigsGetter_ChunkAlphaConst_Call
func (*SealingConfigsGetter_ChunkAlphaConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsGetter_ChunkAlphaConst_Call) RunAndReturn(run func() uint) *SealingConfigsGetter_ChunkAlphaConst_Call
type SealingConfigsGetter_EmergencySealingActiveConst_Call ¶ added in v0.46.0
SealingConfigsGetter_EmergencySealingActiveConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmergencySealingActiveConst'
func (*SealingConfigsGetter_EmergencySealingActiveConst_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsGetter_EmergencySealingActiveConst_Call) Run(run func()) *SealingConfigsGetter_EmergencySealingActiveConst_Call
func (*SealingConfigsGetter_EmergencySealingActiveConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsGetter_EmergencySealingActiveConst_Call) RunAndReturn(run func() bool) *SealingConfigsGetter_EmergencySealingActiveConst_Call
type SealingConfigsGetter_Expecter ¶ added in v0.46.0
type SealingConfigsGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*SealingConfigsGetter_Expecter) ApprovalRequestsThresholdConst ¶ added in v0.46.0
func (_e *SealingConfigsGetter_Expecter) ApprovalRequestsThresholdConst() *SealingConfigsGetter_ApprovalRequestsThresholdConst_Call
ApprovalRequestsThresholdConst is a helper method to define mock.On call
func (*SealingConfigsGetter_Expecter) ChunkAlphaConst ¶ added in v0.46.0
func (_e *SealingConfigsGetter_Expecter) ChunkAlphaConst() *SealingConfigsGetter_ChunkAlphaConst_Call
ChunkAlphaConst is a helper method to define mock.On call
func (*SealingConfigsGetter_Expecter) EmergencySealingActiveConst ¶ added in v0.46.0
func (_e *SealingConfigsGetter_Expecter) EmergencySealingActiveConst() *SealingConfigsGetter_EmergencySealingActiveConst_Call
EmergencySealingActiveConst is a helper method to define mock.On call
func (*SealingConfigsGetter_Expecter) RequireApprovalsForSealConstructionDynamicValue ¶ added in v0.46.0
func (_e *SealingConfigsGetter_Expecter) RequireApprovalsForSealConstructionDynamicValue() *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
RequireApprovalsForSealConstructionDynamicValue is a helper method to define mock.On call
func (*SealingConfigsGetter_Expecter) RequireApprovalsForSealVerificationConst ¶ added in v0.46.0
func (_e *SealingConfigsGetter_Expecter) RequireApprovalsForSealVerificationConst() *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
RequireApprovalsForSealVerificationConst is a helper method to define mock.On call
type SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call ¶ added in v0.46.0
type SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call struct {
*mock.Call
}
SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequireApprovalsForSealConstructionDynamicValue'
func (*SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) Return ¶ added in v0.46.0
func (*SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) Run ¶ added in v0.46.0
func (*SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call) RunAndReturn(run func() uint) *SealingConfigsGetter_RequireApprovalsForSealConstructionDynamicValue_Call
type SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call ¶ added in v0.46.0
SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequireApprovalsForSealVerificationConst'
func (*SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) Return ¶ added in v0.46.0
func (*SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn(run func() uint) *SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call
type SealingConfigsSetter ¶ added in v0.26.17
SealingConfigsSetter is an autogenerated mock type for the SealingConfigsSetter type
func NewSealingConfigsSetter ¶ added in v0.26.17
func NewSealingConfigsSetter(t interface {
mock.TestingT
Cleanup(func())
}) *SealingConfigsSetter
NewSealingConfigsSetter creates a new instance of SealingConfigsSetter. 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 (*SealingConfigsSetter) ApprovalRequestsThresholdConst ¶ added in v0.26.17
func (_mock *SealingConfigsSetter) ApprovalRequestsThresholdConst() uint64
ApprovalRequestsThresholdConst provides a mock function for the type SealingConfigsSetter
func (*SealingConfigsSetter) ChunkAlphaConst ¶ added in v0.26.17
func (_mock *SealingConfigsSetter) ChunkAlphaConst() uint
ChunkAlphaConst provides a mock function for the type SealingConfigsSetter
func (*SealingConfigsSetter) EXPECT ¶ added in v0.46.0
func (_m *SealingConfigsSetter) EXPECT() *SealingConfigsSetter_Expecter
func (*SealingConfigsSetter) EmergencySealingActiveConst ¶ added in v0.26.17
func (_mock *SealingConfigsSetter) EmergencySealingActiveConst() bool
EmergencySealingActiveConst provides a mock function for the type SealingConfigsSetter
func (*SealingConfigsSetter) RequireApprovalsForSealConstructionDynamicValue ¶ added in v0.26.17
func (_mock *SealingConfigsSetter) RequireApprovalsForSealConstructionDynamicValue() uint
RequireApprovalsForSealConstructionDynamicValue provides a mock function for the type SealingConfigsSetter
func (*SealingConfigsSetter) RequireApprovalsForSealVerificationConst ¶ added in v0.26.17
func (_mock *SealingConfigsSetter) RequireApprovalsForSealVerificationConst() uint
RequireApprovalsForSealVerificationConst provides a mock function for the type SealingConfigsSetter
func (*SealingConfigsSetter) SetRequiredApprovalsForSealingConstruction ¶ added in v0.26.17
func (_mock *SealingConfigsSetter) SetRequiredApprovalsForSealingConstruction(newVal uint) error
SetRequiredApprovalsForSealingConstruction provides a mock function for the type SealingConfigsSetter
type SealingConfigsSetter_ApprovalRequestsThresholdConst_Call ¶ added in v0.46.0
SealingConfigsSetter_ApprovalRequestsThresholdConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApprovalRequestsThresholdConst'
func (*SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) Run(run func()) *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
func (*SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) RunAndReturn(run func() uint64) *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
type SealingConfigsSetter_ChunkAlphaConst_Call ¶ added in v0.46.0
SealingConfigsSetter_ChunkAlphaConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkAlphaConst'
func (*SealingConfigsSetter_ChunkAlphaConst_Call) Return ¶ added in v0.46.0
func (_c *SealingConfigsSetter_ChunkAlphaConst_Call) Return(v uint) *SealingConfigsSetter_ChunkAlphaConst_Call
func (*SealingConfigsSetter_ChunkAlphaConst_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsSetter_ChunkAlphaConst_Call) Run(run func()) *SealingConfigsSetter_ChunkAlphaConst_Call
func (*SealingConfigsSetter_ChunkAlphaConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsSetter_ChunkAlphaConst_Call) RunAndReturn(run func() uint) *SealingConfigsSetter_ChunkAlphaConst_Call
type SealingConfigsSetter_EmergencySealingActiveConst_Call ¶ added in v0.46.0
SealingConfigsSetter_EmergencySealingActiveConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmergencySealingActiveConst'
func (*SealingConfigsSetter_EmergencySealingActiveConst_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsSetter_EmergencySealingActiveConst_Call) Run(run func()) *SealingConfigsSetter_EmergencySealingActiveConst_Call
func (*SealingConfigsSetter_EmergencySealingActiveConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsSetter_EmergencySealingActiveConst_Call) RunAndReturn(run func() bool) *SealingConfigsSetter_EmergencySealingActiveConst_Call
type SealingConfigsSetter_Expecter ¶ added in v0.46.0
type SealingConfigsSetter_Expecter struct {
// contains filtered or unexported fields
}
func (*SealingConfigsSetter_Expecter) ApprovalRequestsThresholdConst ¶ added in v0.46.0
func (_e *SealingConfigsSetter_Expecter) ApprovalRequestsThresholdConst() *SealingConfigsSetter_ApprovalRequestsThresholdConst_Call
ApprovalRequestsThresholdConst is a helper method to define mock.On call
func (*SealingConfigsSetter_Expecter) ChunkAlphaConst ¶ added in v0.46.0
func (_e *SealingConfigsSetter_Expecter) ChunkAlphaConst() *SealingConfigsSetter_ChunkAlphaConst_Call
ChunkAlphaConst is a helper method to define mock.On call
func (*SealingConfigsSetter_Expecter) EmergencySealingActiveConst ¶ added in v0.46.0
func (_e *SealingConfigsSetter_Expecter) EmergencySealingActiveConst() *SealingConfigsSetter_EmergencySealingActiveConst_Call
EmergencySealingActiveConst is a helper method to define mock.On call
func (*SealingConfigsSetter_Expecter) RequireApprovalsForSealConstructionDynamicValue ¶ added in v0.46.0
func (_e *SealingConfigsSetter_Expecter) RequireApprovalsForSealConstructionDynamicValue() *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
RequireApprovalsForSealConstructionDynamicValue is a helper method to define mock.On call
func (*SealingConfigsSetter_Expecter) RequireApprovalsForSealVerificationConst ¶ added in v0.46.0
func (_e *SealingConfigsSetter_Expecter) RequireApprovalsForSealVerificationConst() *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
RequireApprovalsForSealVerificationConst is a helper method to define mock.On call
func (*SealingConfigsSetter_Expecter) SetRequiredApprovalsForSealingConstruction ¶ added in v0.46.0
func (_e *SealingConfigsSetter_Expecter) SetRequiredApprovalsForSealingConstruction(newVal interface{}) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
SetRequiredApprovalsForSealingConstruction is a helper method to define mock.On call
- newVal uint
type SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call ¶ added in v0.46.0
type SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call struct {
*mock.Call
}
SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequireApprovalsForSealConstructionDynamicValue'
func (*SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) Return ¶ added in v0.46.0
func (*SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) Run ¶ added in v0.46.0
func (*SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call) RunAndReturn(run func() uint) *SealingConfigsSetter_RequireApprovalsForSealConstructionDynamicValue_Call
type SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call ¶ added in v0.46.0
SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequireApprovalsForSealVerificationConst'
func (*SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) Return ¶ added in v0.46.0
func (*SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn(run func() uint) *SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call
type SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call ¶ added in v0.46.0
SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetRequiredApprovalsForSealingConstruction'
func (*SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) Return ¶ added in v0.46.0
func (*SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) Run ¶ added in v0.46.0
func (_c *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) Run(run func(newVal uint)) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
func (*SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) RunAndReturn(run func(newVal uint) error) *SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call
type SealingLagRateLimiterConfig ¶ added in v0.43.0
SealingLagRateLimiterConfig is an autogenerated mock type for the SealingLagRateLimiterConfig type
func NewSealingLagRateLimiterConfig ¶ added in v0.43.0
func NewSealingLagRateLimiterConfig(t interface {
mock.TestingT
Cleanup(func())
}) *SealingLagRateLimiterConfig
NewSealingLagRateLimiterConfig creates a new instance of SealingLagRateLimiterConfig. 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 (*SealingLagRateLimiterConfig) EXPECT ¶ added in v0.46.0
func (_m *SealingLagRateLimiterConfig) EXPECT() *SealingLagRateLimiterConfig_Expecter
func (*SealingLagRateLimiterConfig) HalvingInterval ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) HalvingInterval() uint
HalvingInterval provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) MaxSealingLag ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) MaxSealingLag() uint
MaxSealingLag provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) MinCollectionSize ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) MinCollectionSize() uint
MinCollectionSize provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) MinSealingLag ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) MinSealingLag() uint
MinSealingLag provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) SetHalvingInterval ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) SetHalvingInterval(value uint) error
SetHalvingInterval provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) SetMaxSealingLag ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) SetMaxSealingLag(value uint) error
SetMaxSealingLag provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) SetMinCollectionSize ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) SetMinCollectionSize(value uint) error
SetMinCollectionSize provides a mock function for the type SealingLagRateLimiterConfig
func (*SealingLagRateLimiterConfig) SetMinSealingLag ¶ added in v0.43.0
func (_mock *SealingLagRateLimiterConfig) SetMinSealingLag(value uint) error
SetMinSealingLag provides a mock function for the type SealingLagRateLimiterConfig
type SealingLagRateLimiterConfig_Expecter ¶ added in v0.46.0
type SealingLagRateLimiterConfig_Expecter struct {
// contains filtered or unexported fields
}
func (*SealingLagRateLimiterConfig_Expecter) HalvingInterval ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) HalvingInterval() *SealingLagRateLimiterConfig_HalvingInterval_Call
HalvingInterval is a helper method to define mock.On call
func (*SealingLagRateLimiterConfig_Expecter) MaxSealingLag ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) MaxSealingLag() *SealingLagRateLimiterConfig_MaxSealingLag_Call
MaxSealingLag is a helper method to define mock.On call
func (*SealingLagRateLimiterConfig_Expecter) MinCollectionSize ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) MinCollectionSize() *SealingLagRateLimiterConfig_MinCollectionSize_Call
MinCollectionSize is a helper method to define mock.On call
func (*SealingLagRateLimiterConfig_Expecter) MinSealingLag ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) MinSealingLag() *SealingLagRateLimiterConfig_MinSealingLag_Call
MinSealingLag is a helper method to define mock.On call
func (*SealingLagRateLimiterConfig_Expecter) SetHalvingInterval ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) SetHalvingInterval(value interface{}) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
SetHalvingInterval is a helper method to define mock.On call
- value uint
func (*SealingLagRateLimiterConfig_Expecter) SetMaxSealingLag ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) SetMaxSealingLag(value interface{}) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
SetMaxSealingLag is a helper method to define mock.On call
- value uint
func (*SealingLagRateLimiterConfig_Expecter) SetMinCollectionSize ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) SetMinCollectionSize(value interface{}) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
SetMinCollectionSize is a helper method to define mock.On call
- value uint
func (*SealingLagRateLimiterConfig_Expecter) SetMinSealingLag ¶ added in v0.46.0
func (_e *SealingLagRateLimiterConfig_Expecter) SetMinSealingLag(value interface{}) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
SetMinSealingLag is a helper method to define mock.On call
- value uint
type SealingLagRateLimiterConfig_HalvingInterval_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_HalvingInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HalvingInterval'
func (*SealingLagRateLimiterConfig_HalvingInterval_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_HalvingInterval_Call) Run(run func()) *SealingLagRateLimiterConfig_HalvingInterval_Call
func (*SealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_HalvingInterval_Call
type SealingLagRateLimiterConfig_MaxSealingLag_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_MaxSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxSealingLag'
func (*SealingLagRateLimiterConfig_MaxSealingLag_Call) Return ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MaxSealingLag_Call) Return(v uint) *SealingLagRateLimiterConfig_MaxSealingLag_Call
func (*SealingLagRateLimiterConfig_MaxSealingLag_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MaxSealingLag_Call) Run(run func()) *SealingLagRateLimiterConfig_MaxSealingLag_Call
func (*SealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_MaxSealingLag_Call
type SealingLagRateLimiterConfig_MinCollectionSize_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_MinCollectionSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinCollectionSize'
func (*SealingLagRateLimiterConfig_MinCollectionSize_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MinCollectionSize_Call) Run(run func()) *SealingLagRateLimiterConfig_MinCollectionSize_Call
func (*SealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_MinCollectionSize_Call
type SealingLagRateLimiterConfig_MinSealingLag_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_MinSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinSealingLag'
func (*SealingLagRateLimiterConfig_MinSealingLag_Call) Return ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MinSealingLag_Call) Return(v uint) *SealingLagRateLimiterConfig_MinSealingLag_Call
func (*SealingLagRateLimiterConfig_MinSealingLag_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MinSealingLag_Call) Run(run func()) *SealingLagRateLimiterConfig_MinSealingLag_Call
func (*SealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn(run func() uint) *SealingLagRateLimiterConfig_MinSealingLag_Call
type SealingLagRateLimiterConfig_SetHalvingInterval_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_SetHalvingInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalvingInterval'
func (*SealingLagRateLimiterConfig_SetHalvingInterval_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetHalvingInterval_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
func (*SealingLagRateLimiterConfig_SetHalvingInterval_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetHalvingInterval_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetHalvingInterval_Call
type SealingLagRateLimiterConfig_SetMaxSealingLag_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_SetMaxSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMaxSealingLag'
func (*SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Return ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Return(err error) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
func (*SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
func (*SealingLagRateLimiterConfig_SetMaxSealingLag_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMaxSealingLag_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetMaxSealingLag_Call
type SealingLagRateLimiterConfig_SetMinCollectionSize_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_SetMinCollectionSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMinCollectionSize'
func (*SealingLagRateLimiterConfig_SetMinCollectionSize_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMinCollectionSize_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
func (*SealingLagRateLimiterConfig_SetMinCollectionSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMinCollectionSize_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetMinCollectionSize_Call
type SealingLagRateLimiterConfig_SetMinSealingLag_Call ¶ added in v0.46.0
SealingLagRateLimiterConfig_SetMinSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMinSealingLag'
func (*SealingLagRateLimiterConfig_SetMinSealingLag_Call) Return ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMinSealingLag_Call) Return(err error) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
func (*SealingLagRateLimiterConfig_SetMinSealingLag_Call) Run ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMinSealingLag_Call) Run(run func(value uint)) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
func (*SealingLagRateLimiterConfig_SetMinSealingLag_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SealingLagRateLimiterConfig_SetMinSealingLag_Call) RunAndReturn(run func(value uint) error) *SealingLagRateLimiterConfig_SetMinSealingLag_Call
type Startable ¶ added in v0.22.4
Startable is an autogenerated mock type for the Startable type
func NewStartable ¶ added in v0.26.1
NewStartable creates a new instance of Startable. 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 (*Startable) EXPECT ¶ added in v0.46.0
func (_m *Startable) EXPECT() *Startable_Expecter
func (*Startable) Start ¶ added in v0.22.4
func (_mock *Startable) Start(signalerContext irrecoverable.SignalerContext)
Start provides a mock function for the type Startable
type Startable_Expecter ¶ added in v0.46.0
type Startable_Expecter struct {
// contains filtered or unexported fields
}
func (*Startable_Expecter) Start ¶ added in v0.46.0
func (_e *Startable_Expecter) Start(signalerContext interface{}) *Startable_Start_Call
Start is a helper method to define mock.On call
- signalerContext irrecoverable.SignalerContext
type Startable_Start_Call ¶ added in v0.46.0
Startable_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Startable_Start_Call) Return ¶ added in v0.46.0
func (_c *Startable_Start_Call) Return() *Startable_Start_Call
func (*Startable_Start_Call) Run ¶ added in v0.46.0
func (_c *Startable_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *Startable_Start_Call
func (*Startable_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Startable_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *Startable_Start_Call
type SyncCore ¶
SyncCore is an autogenerated mock type for the SyncCore type
func NewSyncCore ¶ added in v0.26.1
NewSyncCore creates a new instance of SyncCore. 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 (*SyncCore) BatchRequested ¶
BatchRequested provides a mock function for the type SyncCore
func (*SyncCore) EXPECT ¶ added in v0.46.0
func (_m *SyncCore) EXPECT() *SyncCore_Expecter
func (*SyncCore) HandleBlock ¶
HandleBlock provides a mock function for the type SyncCore
func (*SyncCore) HandleHeight ¶
HandleHeight provides a mock function for the type SyncCore
func (*SyncCore) RangeRequested ¶
RangeRequested provides a mock function for the type SyncCore
func (*SyncCore) ScanPending ¶
ScanPending provides a mock function for the type SyncCore
type SyncCore_BatchRequested_Call ¶ added in v0.46.0
SyncCore_BatchRequested_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRequested'
func (*SyncCore_BatchRequested_Call) Return ¶ added in v0.46.0
func (_c *SyncCore_BatchRequested_Call) Return() *SyncCore_BatchRequested_Call
func (*SyncCore_BatchRequested_Call) Run ¶ added in v0.46.0
func (_c *SyncCore_BatchRequested_Call) Run(run func(batch chainsync.Batch)) *SyncCore_BatchRequested_Call
func (*SyncCore_BatchRequested_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SyncCore_BatchRequested_Call) RunAndReturn(run func(batch chainsync.Batch)) *SyncCore_BatchRequested_Call
type SyncCore_Expecter ¶ added in v0.46.0
type SyncCore_Expecter struct {
// contains filtered or unexported fields
}
func (*SyncCore_Expecter) BatchRequested ¶ added in v0.46.0
func (_e *SyncCore_Expecter) BatchRequested(batch interface{}) *SyncCore_BatchRequested_Call
BatchRequested is a helper method to define mock.On call
- batch chainsync.Batch
func (*SyncCore_Expecter) HandleBlock ¶ added in v0.46.0
func (_e *SyncCore_Expecter) HandleBlock(header interface{}) *SyncCore_HandleBlock_Call
HandleBlock is a helper method to define mock.On call
- header *flow.Header
func (*SyncCore_Expecter) HandleHeight ¶ added in v0.46.0
func (_e *SyncCore_Expecter) HandleHeight(final interface{}, height interface{}) *SyncCore_HandleHeight_Call
HandleHeight is a helper method to define mock.On call
- final *flow.Header
- height uint64
func (*SyncCore_Expecter) RangeRequested ¶ added in v0.46.0
func (_e *SyncCore_Expecter) RangeRequested(ran interface{}) *SyncCore_RangeRequested_Call
RangeRequested is a helper method to define mock.On call
- ran chainsync.Range
func (*SyncCore_Expecter) ScanPending ¶ added in v0.46.0
func (_e *SyncCore_Expecter) ScanPending(final interface{}) *SyncCore_ScanPending_Call
ScanPending is a helper method to define mock.On call
- final *flow.Header
func (*SyncCore_Expecter) WithinTolerance ¶ added in v0.46.0
func (_e *SyncCore_Expecter) WithinTolerance(final interface{}, height interface{}) *SyncCore_WithinTolerance_Call
WithinTolerance is a helper method to define mock.On call
- final *flow.Header
- height uint64
type SyncCore_HandleBlock_Call ¶ added in v0.46.0
SyncCore_HandleBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleBlock'
func (*SyncCore_HandleBlock_Call) Return ¶ added in v0.46.0
func (_c *SyncCore_HandleBlock_Call) Return(b bool) *SyncCore_HandleBlock_Call
func (*SyncCore_HandleBlock_Call) Run ¶ added in v0.46.0
func (_c *SyncCore_HandleBlock_Call) Run(run func(header *flow.Header)) *SyncCore_HandleBlock_Call
func (*SyncCore_HandleBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SyncCore_HandleBlock_Call) RunAndReturn(run func(header *flow.Header) bool) *SyncCore_HandleBlock_Call
type SyncCore_HandleHeight_Call ¶ added in v0.46.0
SyncCore_HandleHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleHeight'
func (*SyncCore_HandleHeight_Call) Return ¶ added in v0.46.0
func (_c *SyncCore_HandleHeight_Call) Return() *SyncCore_HandleHeight_Call
func (*SyncCore_HandleHeight_Call) Run ¶ added in v0.46.0
func (_c *SyncCore_HandleHeight_Call) Run(run func(final *flow.Header, height uint64)) *SyncCore_HandleHeight_Call
func (*SyncCore_HandleHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SyncCore_HandleHeight_Call) RunAndReturn(run func(final *flow.Header, height uint64)) *SyncCore_HandleHeight_Call
type SyncCore_RangeRequested_Call ¶ added in v0.46.0
SyncCore_RangeRequested_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RangeRequested'
func (*SyncCore_RangeRequested_Call) Return ¶ added in v0.46.0
func (_c *SyncCore_RangeRequested_Call) Return() *SyncCore_RangeRequested_Call
func (*SyncCore_RangeRequested_Call) Run ¶ added in v0.46.0
func (_c *SyncCore_RangeRequested_Call) Run(run func(ran chainsync.Range)) *SyncCore_RangeRequested_Call
func (*SyncCore_RangeRequested_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SyncCore_RangeRequested_Call) RunAndReturn(run func(ran chainsync.Range)) *SyncCore_RangeRequested_Call
type SyncCore_ScanPending_Call ¶ added in v0.46.0
SyncCore_ScanPending_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScanPending'
func (*SyncCore_ScanPending_Call) Return ¶ added in v0.46.0
func (_c *SyncCore_ScanPending_Call) Return(ranges []chainsync.Range, batchs []chainsync.Batch) *SyncCore_ScanPending_Call
func (*SyncCore_ScanPending_Call) Run ¶ added in v0.46.0
func (_c *SyncCore_ScanPending_Call) Run(run func(final *flow.Header)) *SyncCore_ScanPending_Call
func (*SyncCore_ScanPending_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SyncCore_ScanPending_Call) RunAndReturn(run func(final *flow.Header) ([]chainsync.Range, []chainsync.Batch)) *SyncCore_ScanPending_Call
type SyncCore_WithinTolerance_Call ¶ added in v0.46.0
SyncCore_WithinTolerance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithinTolerance'
func (*SyncCore_WithinTolerance_Call) Return ¶ added in v0.46.0
func (_c *SyncCore_WithinTolerance_Call) Return(b bool) *SyncCore_WithinTolerance_Call
func (*SyncCore_WithinTolerance_Call) Run ¶ added in v0.46.0
func (_c *SyncCore_WithinTolerance_Call) Run(run func(final *flow.Header, height uint64)) *SyncCore_WithinTolerance_Call
func (*SyncCore_WithinTolerance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SyncCore_WithinTolerance_Call) RunAndReturn(run func(final *flow.Header, height uint64) bool) *SyncCore_WithinTolerance_Call
type ThresholdSignatureInspector ¶ added in v0.43.2
ThresholdSignatureInspector is an autogenerated mock type for the ThresholdSignatureInspector type
func NewThresholdSignatureInspector ¶ added in v0.43.2
func NewThresholdSignatureInspector(t interface {
mock.TestingT
Cleanup(func())
}) *ThresholdSignatureInspector
NewThresholdSignatureInspector creates a new instance of ThresholdSignatureInspector. 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 (*ThresholdSignatureInspector) EXPECT ¶ added in v0.46.0
func (_m *ThresholdSignatureInspector) EXPECT() *ThresholdSignatureInspector_Expecter
func (*ThresholdSignatureInspector) EnoughShares ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) EnoughShares() bool
EnoughShares provides a mock function for the type ThresholdSignatureInspector
func (*ThresholdSignatureInspector) HasShare ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) HasShare(index int) (bool, error)
HasShare provides a mock function for the type ThresholdSignatureInspector
func (*ThresholdSignatureInspector) ThresholdSignature ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) ThresholdSignature() (crypto.Signature, error)
ThresholdSignature provides a mock function for the type ThresholdSignatureInspector
func (*ThresholdSignatureInspector) TrustedAdd ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) TrustedAdd(index int, share crypto.Signature) (bool, error)
TrustedAdd provides a mock function for the type ThresholdSignatureInspector
func (*ThresholdSignatureInspector) VerifyAndAdd ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) VerifyAndAdd(index int, share crypto.Signature) (bool, bool, error)
VerifyAndAdd provides a mock function for the type ThresholdSignatureInspector
func (*ThresholdSignatureInspector) VerifyShare ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) VerifyShare(index int, share crypto.Signature) (bool, error)
VerifyShare provides a mock function for the type ThresholdSignatureInspector
func (*ThresholdSignatureInspector) VerifyThresholdSignature ¶ added in v0.43.2
func (_mock *ThresholdSignatureInspector) VerifyThresholdSignature(thresholdSignature crypto.Signature) (bool, error)
VerifyThresholdSignature provides a mock function for the type ThresholdSignatureInspector
type ThresholdSignatureInspector_EnoughShares_Call ¶ added in v0.46.0
type ThresholdSignatureInspector_EnoughShares_Call struct {
}
ThresholdSignatureInspector_EnoughShares_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnoughShares'
func (*ThresholdSignatureInspector_EnoughShares_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_EnoughShares_Call) Return(b bool) *ThresholdSignatureInspector_EnoughShares_Call
func (*ThresholdSignatureInspector_EnoughShares_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_EnoughShares_Call) Run(run func()) *ThresholdSignatureInspector_EnoughShares_Call
func (*ThresholdSignatureInspector_EnoughShares_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_EnoughShares_Call) RunAndReturn(run func() bool) *ThresholdSignatureInspector_EnoughShares_Call
type ThresholdSignatureInspector_Expecter ¶ added in v0.46.0
type ThresholdSignatureInspector_Expecter struct {
// contains filtered or unexported fields
}
func (*ThresholdSignatureInspector_Expecter) EnoughShares ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) EnoughShares() *ThresholdSignatureInspector_EnoughShares_Call
EnoughShares is a helper method to define mock.On call
func (*ThresholdSignatureInspector_Expecter) HasShare ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) HasShare(index interface{}) *ThresholdSignatureInspector_HasShare_Call
HasShare is a helper method to define mock.On call
- index int
func (*ThresholdSignatureInspector_Expecter) ThresholdSignature ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) ThresholdSignature() *ThresholdSignatureInspector_ThresholdSignature_Call
ThresholdSignature is a helper method to define mock.On call
func (*ThresholdSignatureInspector_Expecter) TrustedAdd ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) TrustedAdd(index interface{}, share interface{}) *ThresholdSignatureInspector_TrustedAdd_Call
TrustedAdd is a helper method to define mock.On call
- index int
- share crypto.Signature
func (*ThresholdSignatureInspector_Expecter) VerifyAndAdd ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) VerifyAndAdd(index interface{}, share interface{}) *ThresholdSignatureInspector_VerifyAndAdd_Call
VerifyAndAdd is a helper method to define mock.On call
- index int
- share crypto.Signature
func (*ThresholdSignatureInspector_Expecter) VerifyShare ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) VerifyShare(index interface{}, share interface{}) *ThresholdSignatureInspector_VerifyShare_Call
VerifyShare is a helper method to define mock.On call
- index int
- share crypto.Signature
func (*ThresholdSignatureInspector_Expecter) VerifyThresholdSignature ¶ added in v0.46.0
func (_e *ThresholdSignatureInspector_Expecter) VerifyThresholdSignature(thresholdSignature interface{}) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
VerifyThresholdSignature is a helper method to define mock.On call
- thresholdSignature crypto.Signature
type ThresholdSignatureInspector_HasShare_Call ¶ added in v0.46.0
type ThresholdSignatureInspector_HasShare_Call struct {
}
ThresholdSignatureInspector_HasShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasShare'
func (*ThresholdSignatureInspector_HasShare_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_HasShare_Call) Return(b bool, err error) *ThresholdSignatureInspector_HasShare_Call
func (*ThresholdSignatureInspector_HasShare_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_HasShare_Call) Run(run func(index int)) *ThresholdSignatureInspector_HasShare_Call
func (*ThresholdSignatureInspector_HasShare_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_HasShare_Call) RunAndReturn(run func(index int) (bool, error)) *ThresholdSignatureInspector_HasShare_Call
type ThresholdSignatureInspector_ThresholdSignature_Call ¶ added in v0.46.0
ThresholdSignatureInspector_ThresholdSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ThresholdSignature'
func (*ThresholdSignatureInspector_ThresholdSignature_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_ThresholdSignature_Call) Return(signature crypto.Signature, err error) *ThresholdSignatureInspector_ThresholdSignature_Call
func (*ThresholdSignatureInspector_ThresholdSignature_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_ThresholdSignature_Call) Run(run func()) *ThresholdSignatureInspector_ThresholdSignature_Call
func (*ThresholdSignatureInspector_ThresholdSignature_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_ThresholdSignature_Call) RunAndReturn(run func() (crypto.Signature, error)) *ThresholdSignatureInspector_ThresholdSignature_Call
type ThresholdSignatureInspector_TrustedAdd_Call ¶ added in v0.46.0
ThresholdSignatureInspector_TrustedAdd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TrustedAdd'
func (*ThresholdSignatureInspector_TrustedAdd_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_TrustedAdd_Call) Return(b bool, err error) *ThresholdSignatureInspector_TrustedAdd_Call
func (*ThresholdSignatureInspector_TrustedAdd_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_TrustedAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureInspector_TrustedAdd_Call
func (*ThresholdSignatureInspector_TrustedAdd_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_TrustedAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureInspector_TrustedAdd_Call
type ThresholdSignatureInspector_VerifyAndAdd_Call ¶ added in v0.46.0
ThresholdSignatureInspector_VerifyAndAdd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyAndAdd'
func (*ThresholdSignatureInspector_VerifyAndAdd_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyAndAdd_Call) Return(b bool, b1 bool, err error) *ThresholdSignatureInspector_VerifyAndAdd_Call
func (*ThresholdSignatureInspector_VerifyAndAdd_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyAndAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureInspector_VerifyAndAdd_Call
func (*ThresholdSignatureInspector_VerifyAndAdd_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyAndAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, bool, error)) *ThresholdSignatureInspector_VerifyAndAdd_Call
type ThresholdSignatureInspector_VerifyShare_Call ¶ added in v0.46.0
type ThresholdSignatureInspector_VerifyShare_Call struct {
}
ThresholdSignatureInspector_VerifyShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyShare'
func (*ThresholdSignatureInspector_VerifyShare_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyShare_Call) Return(b bool, err error) *ThresholdSignatureInspector_VerifyShare_Call
func (*ThresholdSignatureInspector_VerifyShare_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyShare_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureInspector_VerifyShare_Call
func (*ThresholdSignatureInspector_VerifyShare_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyShare_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureInspector_VerifyShare_Call
type ThresholdSignatureInspector_VerifyThresholdSignature_Call ¶ added in v0.46.0
ThresholdSignatureInspector_VerifyThresholdSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyThresholdSignature'
func (*ThresholdSignatureInspector_VerifyThresholdSignature_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyThresholdSignature_Call) Run(run func(thresholdSignature crypto.Signature)) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
func (*ThresholdSignatureInspector_VerifyThresholdSignature_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureInspector_VerifyThresholdSignature_Call) RunAndReturn(run func(thresholdSignature crypto.Signature) (bool, error)) *ThresholdSignatureInspector_VerifyThresholdSignature_Call
type ThresholdSignatureParticipant ¶ added in v0.43.2
ThresholdSignatureParticipant is an autogenerated mock type for the ThresholdSignatureParticipant type
func NewThresholdSignatureParticipant ¶ added in v0.43.2
func NewThresholdSignatureParticipant(t interface {
mock.TestingT
Cleanup(func())
}) *ThresholdSignatureParticipant
NewThresholdSignatureParticipant creates a new instance of ThresholdSignatureParticipant. 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 (*ThresholdSignatureParticipant) EXPECT ¶ added in v0.46.0
func (_m *ThresholdSignatureParticipant) EXPECT() *ThresholdSignatureParticipant_Expecter
func (*ThresholdSignatureParticipant) EnoughShares ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) EnoughShares() bool
EnoughShares provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) HasShare ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) HasShare(index int) (bool, error)
HasShare provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) SignShare ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) SignShare() (crypto.Signature, error)
SignShare provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) ThresholdSignature ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) ThresholdSignature() (crypto.Signature, error)
ThresholdSignature provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) TrustedAdd ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) TrustedAdd(index int, share crypto.Signature) (bool, error)
TrustedAdd provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) VerifyAndAdd ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) VerifyAndAdd(index int, share crypto.Signature) (bool, bool, error)
VerifyAndAdd provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) VerifyShare ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) VerifyShare(index int, share crypto.Signature) (bool, error)
VerifyShare provides a mock function for the type ThresholdSignatureParticipant
func (*ThresholdSignatureParticipant) VerifyThresholdSignature ¶ added in v0.43.2
func (_mock *ThresholdSignatureParticipant) VerifyThresholdSignature(thresholdSignature crypto.Signature) (bool, error)
VerifyThresholdSignature provides a mock function for the type ThresholdSignatureParticipant
type ThresholdSignatureParticipant_EnoughShares_Call ¶ added in v0.46.0
type ThresholdSignatureParticipant_EnoughShares_Call struct {
}
ThresholdSignatureParticipant_EnoughShares_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnoughShares'
func (*ThresholdSignatureParticipant_EnoughShares_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_EnoughShares_Call) Run(run func()) *ThresholdSignatureParticipant_EnoughShares_Call
func (*ThresholdSignatureParticipant_EnoughShares_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_EnoughShares_Call) RunAndReturn(run func() bool) *ThresholdSignatureParticipant_EnoughShares_Call
type ThresholdSignatureParticipant_Expecter ¶ added in v0.46.0
type ThresholdSignatureParticipant_Expecter struct {
// contains filtered or unexported fields
}
func (*ThresholdSignatureParticipant_Expecter) EnoughShares ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) EnoughShares() *ThresholdSignatureParticipant_EnoughShares_Call
EnoughShares is a helper method to define mock.On call
func (*ThresholdSignatureParticipant_Expecter) HasShare ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) HasShare(index interface{}) *ThresholdSignatureParticipant_HasShare_Call
HasShare is a helper method to define mock.On call
- index int
func (*ThresholdSignatureParticipant_Expecter) SignShare ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) SignShare() *ThresholdSignatureParticipant_SignShare_Call
SignShare is a helper method to define mock.On call
func (*ThresholdSignatureParticipant_Expecter) ThresholdSignature ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) ThresholdSignature() *ThresholdSignatureParticipant_ThresholdSignature_Call
ThresholdSignature is a helper method to define mock.On call
func (*ThresholdSignatureParticipant_Expecter) TrustedAdd ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) TrustedAdd(index interface{}, share interface{}) *ThresholdSignatureParticipant_TrustedAdd_Call
TrustedAdd is a helper method to define mock.On call
- index int
- share crypto.Signature
func (*ThresholdSignatureParticipant_Expecter) VerifyAndAdd ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) VerifyAndAdd(index interface{}, share interface{}) *ThresholdSignatureParticipant_VerifyAndAdd_Call
VerifyAndAdd is a helper method to define mock.On call
- index int
- share crypto.Signature
func (*ThresholdSignatureParticipant_Expecter) VerifyShare ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) VerifyShare(index interface{}, share interface{}) *ThresholdSignatureParticipant_VerifyShare_Call
VerifyShare is a helper method to define mock.On call
- index int
- share crypto.Signature
func (*ThresholdSignatureParticipant_Expecter) VerifyThresholdSignature ¶ added in v0.46.0
func (_e *ThresholdSignatureParticipant_Expecter) VerifyThresholdSignature(thresholdSignature interface{}) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
VerifyThresholdSignature is a helper method to define mock.On call
- thresholdSignature crypto.Signature
type ThresholdSignatureParticipant_HasShare_Call ¶ added in v0.46.0
type ThresholdSignatureParticipant_HasShare_Call struct {
}
ThresholdSignatureParticipant_HasShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasShare'
func (*ThresholdSignatureParticipant_HasShare_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_HasShare_Call) Return(b bool, err error) *ThresholdSignatureParticipant_HasShare_Call
func (*ThresholdSignatureParticipant_HasShare_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_HasShare_Call) Run(run func(index int)) *ThresholdSignatureParticipant_HasShare_Call
func (*ThresholdSignatureParticipant_HasShare_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_HasShare_Call) RunAndReturn(run func(index int) (bool, error)) *ThresholdSignatureParticipant_HasShare_Call
type ThresholdSignatureParticipant_SignShare_Call ¶ added in v0.46.0
type ThresholdSignatureParticipant_SignShare_Call struct {
}
ThresholdSignatureParticipant_SignShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignShare'
func (*ThresholdSignatureParticipant_SignShare_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_SignShare_Call) Return(signature crypto.Signature, err error) *ThresholdSignatureParticipant_SignShare_Call
func (*ThresholdSignatureParticipant_SignShare_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_SignShare_Call) Run(run func()) *ThresholdSignatureParticipant_SignShare_Call
func (*ThresholdSignatureParticipant_SignShare_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_SignShare_Call) RunAndReturn(run func() (crypto.Signature, error)) *ThresholdSignatureParticipant_SignShare_Call
type ThresholdSignatureParticipant_ThresholdSignature_Call ¶ added in v0.46.0
ThresholdSignatureParticipant_ThresholdSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ThresholdSignature'
func (*ThresholdSignatureParticipant_ThresholdSignature_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_ThresholdSignature_Call) Return(signature crypto.Signature, err error) *ThresholdSignatureParticipant_ThresholdSignature_Call
func (*ThresholdSignatureParticipant_ThresholdSignature_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_ThresholdSignature_Call) Run(run func()) *ThresholdSignatureParticipant_ThresholdSignature_Call
func (*ThresholdSignatureParticipant_ThresholdSignature_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_ThresholdSignature_Call) RunAndReturn(run func() (crypto.Signature, error)) *ThresholdSignatureParticipant_ThresholdSignature_Call
type ThresholdSignatureParticipant_TrustedAdd_Call ¶ added in v0.46.0
ThresholdSignatureParticipant_TrustedAdd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TrustedAdd'
func (*ThresholdSignatureParticipant_TrustedAdd_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_TrustedAdd_Call) Return(b bool, err error) *ThresholdSignatureParticipant_TrustedAdd_Call
func (*ThresholdSignatureParticipant_TrustedAdd_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_TrustedAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureParticipant_TrustedAdd_Call
func (*ThresholdSignatureParticipant_TrustedAdd_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_TrustedAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureParticipant_TrustedAdd_Call
type ThresholdSignatureParticipant_VerifyAndAdd_Call ¶ added in v0.46.0
ThresholdSignatureParticipant_VerifyAndAdd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyAndAdd'
func (*ThresholdSignatureParticipant_VerifyAndAdd_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyAndAdd_Call) Return(b bool, b1 bool, err error) *ThresholdSignatureParticipant_VerifyAndAdd_Call
func (*ThresholdSignatureParticipant_VerifyAndAdd_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyAndAdd_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureParticipant_VerifyAndAdd_Call
func (*ThresholdSignatureParticipant_VerifyAndAdd_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyAndAdd_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, bool, error)) *ThresholdSignatureParticipant_VerifyAndAdd_Call
type ThresholdSignatureParticipant_VerifyShare_Call ¶ added in v0.46.0
type ThresholdSignatureParticipant_VerifyShare_Call struct {
}
ThresholdSignatureParticipant_VerifyShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyShare'
func (*ThresholdSignatureParticipant_VerifyShare_Call) Return ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyShare_Call) Return(b bool, err error) *ThresholdSignatureParticipant_VerifyShare_Call
func (*ThresholdSignatureParticipant_VerifyShare_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyShare_Call) Run(run func(index int, share crypto.Signature)) *ThresholdSignatureParticipant_VerifyShare_Call
func (*ThresholdSignatureParticipant_VerifyShare_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyShare_Call) RunAndReturn(run func(index int, share crypto.Signature) (bool, error)) *ThresholdSignatureParticipant_VerifyShare_Call
type ThresholdSignatureParticipant_VerifyThresholdSignature_Call ¶ added in v0.46.0
ThresholdSignatureParticipant_VerifyThresholdSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyThresholdSignature'
func (*ThresholdSignatureParticipant_VerifyThresholdSignature_Call) Run ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyThresholdSignature_Call) Run(run func(thresholdSignature crypto.Signature)) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
func (*ThresholdSignatureParticipant_VerifyThresholdSignature_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ThresholdSignatureParticipant_VerifyThresholdSignature_Call) RunAndReturn(run func(thresholdSignature crypto.Signature) (bool, error)) *ThresholdSignatureParticipant_VerifyThresholdSignature_Call
type Tracer ¶
Tracer is an autogenerated mock type for the Tracer type
func NewTracer ¶ added in v0.26.1
NewTracer creates a new instance of Tracer. 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 (*Tracer) BlockRootSpan ¶ added in v0.30.0
func (_mock *Tracer) BlockRootSpan(blockID flow.Identifier) trace.Span
BlockRootSpan provides a mock function for the type Tracer
func (*Tracer) Done ¶
func (_mock *Tracer) Done() <-chan struct{}
Done provides a mock function for the type Tracer
func (*Tracer) EXPECT ¶ added in v0.46.0
func (_m *Tracer) EXPECT() *Tracer_Expecter
func (*Tracer) Ready ¶
func (_mock *Tracer) Ready() <-chan struct{}
Ready provides a mock function for the type Tracer
func (*Tracer) ShouldSample ¶ added in v0.30.0
func (_mock *Tracer) ShouldSample(entityID flow.Identifier) bool
ShouldSample provides a mock function for the type Tracer
func (*Tracer) StartBlockSpan ¶ added in v0.22.0
func (_mock *Tracer) StartBlockSpan(ctx context.Context, blockID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)
StartBlockSpan provides a mock function for the type Tracer
func (*Tracer) StartCollectionSpan ¶ added in v0.22.0
func (_mock *Tracer) StartCollectionSpan(ctx context.Context, collectionID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)
StartCollectionSpan provides a mock function for the type Tracer
func (*Tracer) StartSampledSpanFromParent ¶ added in v0.30.0
func (_mock *Tracer) StartSampledSpanFromParent(parentSpan trace.Span, entityID flow.Identifier, operationName trace0.SpanName, opts ...trace.SpanStartOption) trace.Span
StartSampledSpanFromParent provides a mock function for the type Tracer
func (*Tracer) StartSpanFromContext ¶
func (_mock *Tracer) StartSpanFromContext(ctx context.Context, operationName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)
StartSpanFromContext provides a mock function for the type Tracer
func (*Tracer) StartSpanFromParent ¶
func (_mock *Tracer) StartSpanFromParent(parentSpan trace.Span, operationName trace0.SpanName, opts ...trace.SpanStartOption) trace.Span
StartSpanFromParent provides a mock function for the type Tracer
func (*Tracer) StartTransactionSpan ¶ added in v0.22.0
func (_mock *Tracer) StartTransactionSpan(ctx context.Context, transactionID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)
StartTransactionSpan provides a mock function for the type Tracer
func (*Tracer) WithSpanFromContext ¶ added in v0.15.0
func (_mock *Tracer) WithSpanFromContext(ctx context.Context, operationName trace0.SpanName, f func(), opts ...trace.SpanStartOption)
WithSpanFromContext provides a mock function for the type Tracer
type Tracer_BlockRootSpan_Call ¶ added in v0.46.0
Tracer_BlockRootSpan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockRootSpan'
func (*Tracer_BlockRootSpan_Call) Return ¶ added in v0.46.0
func (_c *Tracer_BlockRootSpan_Call) Return(span trace.Span) *Tracer_BlockRootSpan_Call
func (*Tracer_BlockRootSpan_Call) Run ¶ added in v0.46.0
func (_c *Tracer_BlockRootSpan_Call) Run(run func(blockID flow.Identifier)) *Tracer_BlockRootSpan_Call
func (*Tracer_BlockRootSpan_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_BlockRootSpan_Call) RunAndReturn(run func(blockID flow.Identifier) trace.Span) *Tracer_BlockRootSpan_Call
type Tracer_Done_Call ¶ added in v0.46.0
Tracer_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*Tracer_Done_Call) Return ¶ added in v0.46.0
func (_c *Tracer_Done_Call) Return(valCh <-chan struct{}) *Tracer_Done_Call
func (*Tracer_Done_Call) Run ¶ added in v0.46.0
func (_c *Tracer_Done_Call) Run(run func()) *Tracer_Done_Call
func (*Tracer_Done_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_Done_Call) RunAndReturn(run func() <-chan struct{}) *Tracer_Done_Call
type Tracer_Expecter ¶ added in v0.46.0
type Tracer_Expecter struct {
// contains filtered or unexported fields
}
func (*Tracer_Expecter) BlockRootSpan ¶ added in v0.46.0
func (_e *Tracer_Expecter) BlockRootSpan(blockID interface{}) *Tracer_BlockRootSpan_Call
BlockRootSpan is a helper method to define mock.On call
- blockID flow.Identifier
func (*Tracer_Expecter) Done ¶ added in v0.46.0
func (_e *Tracer_Expecter) Done() *Tracer_Done_Call
Done is a helper method to define mock.On call
func (*Tracer_Expecter) Ready ¶ added in v0.46.0
func (_e *Tracer_Expecter) Ready() *Tracer_Ready_Call
Ready is a helper method to define mock.On call
func (*Tracer_Expecter) ShouldSample ¶ added in v0.46.0
func (_e *Tracer_Expecter) ShouldSample(entityID interface{}) *Tracer_ShouldSample_Call
ShouldSample is a helper method to define mock.On call
- entityID flow.Identifier
func (*Tracer_Expecter) StartBlockSpan ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartBlockSpan(ctx interface{}, blockID interface{}, spanName interface{}, opts ...interface{}) *Tracer_StartBlockSpan_Call
StartBlockSpan is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- spanName trace0.SpanName
- opts ...trace.SpanStartOption
func (*Tracer_Expecter) StartCollectionSpan ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartCollectionSpan(ctx interface{}, collectionID interface{}, spanName interface{}, opts ...interface{}) *Tracer_StartCollectionSpan_Call
StartCollectionSpan is a helper method to define mock.On call
- ctx context.Context
- collectionID flow.Identifier
- spanName trace0.SpanName
- opts ...trace.SpanStartOption
func (*Tracer_Expecter) StartSampledSpanFromParent ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartSampledSpanFromParent(parentSpan interface{}, entityID interface{}, operationName interface{}, opts ...interface{}) *Tracer_StartSampledSpanFromParent_Call
StartSampledSpanFromParent is a helper method to define mock.On call
- parentSpan trace.Span
- entityID flow.Identifier
- operationName trace0.SpanName
- opts ...trace.SpanStartOption
func (*Tracer_Expecter) StartSpanFromContext ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartSpanFromContext(ctx interface{}, operationName interface{}, opts ...interface{}) *Tracer_StartSpanFromContext_Call
StartSpanFromContext is a helper method to define mock.On call
- ctx context.Context
- operationName trace0.SpanName
- opts ...trace.SpanStartOption
func (*Tracer_Expecter) StartSpanFromParent ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartSpanFromParent(parentSpan interface{}, operationName interface{}, opts ...interface{}) *Tracer_StartSpanFromParent_Call
StartSpanFromParent is a helper method to define mock.On call
- parentSpan trace.Span
- operationName trace0.SpanName
- opts ...trace.SpanStartOption
func (*Tracer_Expecter) StartTransactionSpan ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartTransactionSpan(ctx interface{}, transactionID interface{}, spanName interface{}, opts ...interface{}) *Tracer_StartTransactionSpan_Call
StartTransactionSpan is a helper method to define mock.On call
- ctx context.Context
- transactionID flow.Identifier
- spanName trace0.SpanName
- opts ...trace.SpanStartOption
func (*Tracer_Expecter) WithSpanFromContext ¶ added in v0.46.0
func (_e *Tracer_Expecter) WithSpanFromContext(ctx interface{}, operationName interface{}, f interface{}, opts ...interface{}) *Tracer_WithSpanFromContext_Call
WithSpanFromContext is a helper method to define mock.On call
- ctx context.Context
- operationName trace0.SpanName
- f func()
- opts ...trace.SpanStartOption
type Tracer_Ready_Call ¶ added in v0.46.0
Tracer_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*Tracer_Ready_Call) Return ¶ added in v0.46.0
func (_c *Tracer_Ready_Call) Return(valCh <-chan struct{}) *Tracer_Ready_Call
func (*Tracer_Ready_Call) Run ¶ added in v0.46.0
func (_c *Tracer_Ready_Call) Run(run func()) *Tracer_Ready_Call
func (*Tracer_Ready_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_Ready_Call) RunAndReturn(run func() <-chan struct{}) *Tracer_Ready_Call
type Tracer_ShouldSample_Call ¶ added in v0.46.0
Tracer_ShouldSample_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldSample'
func (*Tracer_ShouldSample_Call) Return ¶ added in v0.46.0
func (_c *Tracer_ShouldSample_Call) Return(b bool) *Tracer_ShouldSample_Call
func (*Tracer_ShouldSample_Call) Run ¶ added in v0.46.0
func (_c *Tracer_ShouldSample_Call) Run(run func(entityID flow.Identifier)) *Tracer_ShouldSample_Call
func (*Tracer_ShouldSample_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_ShouldSample_Call) RunAndReturn(run func(entityID flow.Identifier) bool) *Tracer_ShouldSample_Call
type Tracer_StartBlockSpan_Call ¶ added in v0.46.0
Tracer_StartBlockSpan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartBlockSpan'
func (*Tracer_StartBlockSpan_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartBlockSpan_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartBlockSpan_Call
func (*Tracer_StartBlockSpan_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartBlockSpan_Call) Run(run func(ctx context.Context, blockID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption)) *Tracer_StartBlockSpan_Call
func (*Tracer_StartBlockSpan_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartBlockSpan_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)) *Tracer_StartBlockSpan_Call
type Tracer_StartCollectionSpan_Call ¶ added in v0.46.0
Tracer_StartCollectionSpan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartCollectionSpan'
func (*Tracer_StartCollectionSpan_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartCollectionSpan_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartCollectionSpan_Call
func (*Tracer_StartCollectionSpan_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartCollectionSpan_Call) Run(run func(ctx context.Context, collectionID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption)) *Tracer_StartCollectionSpan_Call
func (*Tracer_StartCollectionSpan_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartCollectionSpan_Call) RunAndReturn(run func(ctx context.Context, collectionID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)) *Tracer_StartCollectionSpan_Call
type Tracer_StartSampledSpanFromParent_Call ¶ added in v0.46.0
Tracer_StartSampledSpanFromParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartSampledSpanFromParent'
func (*Tracer_StartSampledSpanFromParent_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartSampledSpanFromParent_Call) Return(span trace.Span) *Tracer_StartSampledSpanFromParent_Call
func (*Tracer_StartSampledSpanFromParent_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartSampledSpanFromParent_Call) Run(run func(parentSpan trace.Span, entityID flow.Identifier, operationName trace0.SpanName, opts ...trace.SpanStartOption)) *Tracer_StartSampledSpanFromParent_Call
func (*Tracer_StartSampledSpanFromParent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartSampledSpanFromParent_Call) RunAndReturn(run func(parentSpan trace.Span, entityID flow.Identifier, operationName trace0.SpanName, opts ...trace.SpanStartOption) trace.Span) *Tracer_StartSampledSpanFromParent_Call
type Tracer_StartSpanFromContext_Call ¶ added in v0.46.0
Tracer_StartSpanFromContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartSpanFromContext'
func (*Tracer_StartSpanFromContext_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartSpanFromContext_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartSpanFromContext_Call
func (*Tracer_StartSpanFromContext_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartSpanFromContext_Call) Run(run func(ctx context.Context, operationName trace0.SpanName, opts ...trace.SpanStartOption)) *Tracer_StartSpanFromContext_Call
func (*Tracer_StartSpanFromContext_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartSpanFromContext_Call) RunAndReturn(run func(ctx context.Context, operationName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)) *Tracer_StartSpanFromContext_Call
type Tracer_StartSpanFromParent_Call ¶ added in v0.46.0
Tracer_StartSpanFromParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartSpanFromParent'
func (*Tracer_StartSpanFromParent_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartSpanFromParent_Call) Return(span trace.Span) *Tracer_StartSpanFromParent_Call
func (*Tracer_StartSpanFromParent_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartSpanFromParent_Call) Run(run func(parentSpan trace.Span, operationName trace0.SpanName, opts ...trace.SpanStartOption)) *Tracer_StartSpanFromParent_Call
func (*Tracer_StartSpanFromParent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartSpanFromParent_Call) RunAndReturn(run func(parentSpan trace.Span, operationName trace0.SpanName, opts ...trace.SpanStartOption) trace.Span) *Tracer_StartSpanFromParent_Call
type Tracer_StartTransactionSpan_Call ¶ added in v0.46.0
Tracer_StartTransactionSpan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartTransactionSpan'
func (*Tracer_StartTransactionSpan_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartTransactionSpan_Call) Return(span trace.Span, context1 context.Context) *Tracer_StartTransactionSpan_Call
func (*Tracer_StartTransactionSpan_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartTransactionSpan_Call) Run(run func(ctx context.Context, transactionID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption)) *Tracer_StartTransactionSpan_Call
func (*Tracer_StartTransactionSpan_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartTransactionSpan_Call) RunAndReturn(run func(ctx context.Context, transactionID flow.Identifier, spanName trace0.SpanName, opts ...trace.SpanStartOption) (trace.Span, context.Context)) *Tracer_StartTransactionSpan_Call
type Tracer_WithSpanFromContext_Call ¶ added in v0.46.0
Tracer_WithSpanFromContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSpanFromContext'
func (*Tracer_WithSpanFromContext_Call) Return ¶ added in v0.46.0
func (_c *Tracer_WithSpanFromContext_Call) Return() *Tracer_WithSpanFromContext_Call
func (*Tracer_WithSpanFromContext_Call) Run ¶ added in v0.46.0
func (_c *Tracer_WithSpanFromContext_Call) Run(run func(ctx context.Context, operationName trace0.SpanName, f func(), opts ...trace.SpanStartOption)) *Tracer_WithSpanFromContext_Call
func (*Tracer_WithSpanFromContext_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_WithSpanFromContext_Call) RunAndReturn(run func(ctx context.Context, operationName trace0.SpanName, f func(), opts ...trace.SpanStartOption)) *Tracer_WithSpanFromContext_Call
type TransactionErrorMessagesMetrics ¶ added in v0.43.2
TransactionErrorMessagesMetrics is an autogenerated mock type for the TransactionErrorMessagesMetrics type
func NewTransactionErrorMessagesMetrics ¶ added in v0.43.2
func NewTransactionErrorMessagesMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionErrorMessagesMetrics
NewTransactionErrorMessagesMetrics creates a new instance of TransactionErrorMessagesMetrics. 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 (*TransactionErrorMessagesMetrics) EXPECT ¶ added in v0.46.0
func (_m *TransactionErrorMessagesMetrics) EXPECT() *TransactionErrorMessagesMetrics_Expecter
func (*TransactionErrorMessagesMetrics) TxErrorsFetchFinished ¶ added in v0.43.2
func (_mock *TransactionErrorMessagesMetrics) TxErrorsFetchFinished(duration time.Duration, success bool, height uint64)
TxErrorsFetchFinished provides a mock function for the type TransactionErrorMessagesMetrics
func (*TransactionErrorMessagesMetrics) TxErrorsFetchRetried ¶ added in v0.43.2
func (_mock *TransactionErrorMessagesMetrics) TxErrorsFetchRetried()
TxErrorsFetchRetried provides a mock function for the type TransactionErrorMessagesMetrics
func (*TransactionErrorMessagesMetrics) TxErrorsFetchStarted ¶ added in v0.43.2
func (_mock *TransactionErrorMessagesMetrics) TxErrorsFetchStarted()
TxErrorsFetchStarted provides a mock function for the type TransactionErrorMessagesMetrics
func (*TransactionErrorMessagesMetrics) TxErrorsInitialHeight ¶ added in v0.43.2
func (_mock *TransactionErrorMessagesMetrics) TxErrorsInitialHeight(height uint64)
TxErrorsInitialHeight provides a mock function for the type TransactionErrorMessagesMetrics
type TransactionErrorMessagesMetrics_Expecter ¶ added in v0.46.0
type TransactionErrorMessagesMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchFinished ¶ added in v0.46.0
func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchFinished(duration interface{}, success interface{}, height interface{}) *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
TxErrorsFetchFinished is a helper method to define mock.On call
- duration time.Duration
- success bool
- height uint64
func (*TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchRetried ¶ added in v0.46.0
func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchRetried() *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
TxErrorsFetchRetried is a helper method to define mock.On call
func (*TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchStarted ¶ added in v0.46.0
func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchStarted() *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
TxErrorsFetchStarted is a helper method to define mock.On call
func (*TransactionErrorMessagesMetrics_Expecter) TxErrorsInitialHeight ¶ added in v0.46.0
func (_e *TransactionErrorMessagesMetrics_Expecter) TxErrorsInitialHeight(height interface{}) *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
TxErrorsInitialHeight is a helper method to define mock.On call
- height uint64
type TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call ¶ added in v0.46.0
TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsFetchFinished'
func (*TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) Run ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) Run(run func(duration time.Duration, success bool, height uint64)) *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
func (*TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) RunAndReturn(run func(duration time.Duration, success bool, height uint64)) *TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call
type TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call ¶ added in v0.46.0
TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsFetchRetried'
func (*TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) Run ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) Run(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
func (*TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) RunAndReturn(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call
type TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call ¶ added in v0.46.0
TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsFetchStarted'
func (*TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) Run ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) Run(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
func (*TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) RunAndReturn(run func()) *TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call
type TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call ¶ added in v0.46.0
TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsInitialHeight'
func (*TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) Run ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) Run(run func(height uint64)) *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
func (*TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) RunAndReturn(run func(height uint64)) *TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call
type TransactionMetrics ¶
TransactionMetrics is an autogenerated mock type for the TransactionMetrics type
func NewTransactionMetrics ¶ added in v0.26.1
func NewTransactionMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionMetrics
NewTransactionMetrics creates a new instance of TransactionMetrics. 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 (*TransactionMetrics) EXPECT ¶ added in v0.46.0
func (_m *TransactionMetrics) EXPECT() *TransactionMetrics_Expecter
func (*TransactionMetrics) TransactionExecuted ¶
func (_mock *TransactionMetrics) TransactionExecuted(txID flow.Identifier, when time.Time)
TransactionExecuted provides a mock function for the type TransactionMetrics
func (*TransactionMetrics) TransactionExpired ¶
func (_mock *TransactionMetrics) TransactionExpired(txID flow.Identifier)
TransactionExpired provides a mock function for the type TransactionMetrics
func (*TransactionMetrics) TransactionFinalized ¶
func (_mock *TransactionMetrics) TransactionFinalized(txID flow.Identifier, when time.Time)
TransactionFinalized provides a mock function for the type TransactionMetrics
func (*TransactionMetrics) TransactionReceived ¶
func (_mock *TransactionMetrics) TransactionReceived(txID flow.Identifier, when time.Time)
TransactionReceived provides a mock function for the type TransactionMetrics
func (*TransactionMetrics) TransactionResultFetched ¶ added in v0.26.1
func (_mock *TransactionMetrics) TransactionResultFetched(dur time.Duration, size int)
TransactionResultFetched provides a mock function for the type TransactionMetrics
func (*TransactionMetrics) TransactionSealed ¶ added in v0.37.21
func (_mock *TransactionMetrics) TransactionSealed(txID flow.Identifier, when time.Time)
TransactionSealed provides a mock function for the type TransactionMetrics
func (*TransactionMetrics) TransactionSubmissionFailed ¶
func (_mock *TransactionMetrics) TransactionSubmissionFailed()
TransactionSubmissionFailed provides a mock function for the type TransactionMetrics
type TransactionMetrics_Expecter ¶ added in v0.46.0
type TransactionMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionMetrics_Expecter) TransactionExecuted ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionExecuted(txID interface{}, when interface{}) *TransactionMetrics_TransactionExecuted_Call
TransactionExecuted is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*TransactionMetrics_Expecter) TransactionExpired ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionExpired(txID interface{}) *TransactionMetrics_TransactionExpired_Call
TransactionExpired is a helper method to define mock.On call
- txID flow.Identifier
func (*TransactionMetrics_Expecter) TransactionFinalized ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionFinalized(txID interface{}, when interface{}) *TransactionMetrics_TransactionFinalized_Call
TransactionFinalized is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*TransactionMetrics_Expecter) TransactionReceived ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionReceived(txID interface{}, when interface{}) *TransactionMetrics_TransactionReceived_Call
TransactionReceived is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*TransactionMetrics_Expecter) TransactionResultFetched ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionResultFetched(dur interface{}, size interface{}) *TransactionMetrics_TransactionResultFetched_Call
TransactionResultFetched is a helper method to define mock.On call
- dur time.Duration
- size int
func (*TransactionMetrics_Expecter) TransactionSealed ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionSealed(txID interface{}, when interface{}) *TransactionMetrics_TransactionSealed_Call
TransactionSealed is a helper method to define mock.On call
- txID flow.Identifier
- when time.Time
func (*TransactionMetrics_Expecter) TransactionSubmissionFailed ¶ added in v0.46.0
func (_e *TransactionMetrics_Expecter) TransactionSubmissionFailed() *TransactionMetrics_TransactionSubmissionFailed_Call
TransactionSubmissionFailed is a helper method to define mock.On call
type TransactionMetrics_TransactionExecuted_Call ¶ added in v0.46.0
TransactionMetrics_TransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionExecuted'
func (*TransactionMetrics_TransactionExecuted_Call) Return ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionExecuted_Call) Return() *TransactionMetrics_TransactionExecuted_Call
func (*TransactionMetrics_TransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionExecuted_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionExecuted_Call
func (*TransactionMetrics_TransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionExecuted_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionExecuted_Call
type TransactionMetrics_TransactionExpired_Call ¶ added in v0.46.0
TransactionMetrics_TransactionExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionExpired'
func (*TransactionMetrics_TransactionExpired_Call) Return ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionExpired_Call) Return() *TransactionMetrics_TransactionExpired_Call
func (*TransactionMetrics_TransactionExpired_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionExpired_Call) Run(run func(txID flow.Identifier)) *TransactionMetrics_TransactionExpired_Call
func (*TransactionMetrics_TransactionExpired_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionExpired_Call) RunAndReturn(run func(txID flow.Identifier)) *TransactionMetrics_TransactionExpired_Call
type TransactionMetrics_TransactionFinalized_Call ¶ added in v0.46.0
TransactionMetrics_TransactionFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionFinalized'
func (*TransactionMetrics_TransactionFinalized_Call) Return ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionFinalized_Call) Return() *TransactionMetrics_TransactionFinalized_Call
func (*TransactionMetrics_TransactionFinalized_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionFinalized_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionFinalized_Call
func (*TransactionMetrics_TransactionFinalized_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionFinalized_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionFinalized_Call
type TransactionMetrics_TransactionReceived_Call ¶ added in v0.46.0
TransactionMetrics_TransactionReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionReceived'
func (*TransactionMetrics_TransactionReceived_Call) Return ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionReceived_Call) Return() *TransactionMetrics_TransactionReceived_Call
func (*TransactionMetrics_TransactionReceived_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionReceived_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionReceived_Call
func (*TransactionMetrics_TransactionReceived_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionReceived_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionReceived_Call
type TransactionMetrics_TransactionResultFetched_Call ¶ added in v0.46.0
TransactionMetrics_TransactionResultFetched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionResultFetched'
func (*TransactionMetrics_TransactionResultFetched_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionResultFetched_Call) Run(run func(dur time.Duration, size int)) *TransactionMetrics_TransactionResultFetched_Call
func (*TransactionMetrics_TransactionResultFetched_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionResultFetched_Call) RunAndReturn(run func(dur time.Duration, size int)) *TransactionMetrics_TransactionResultFetched_Call
type TransactionMetrics_TransactionSealed_Call ¶ added in v0.46.0
TransactionMetrics_TransactionSealed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionSealed'
func (*TransactionMetrics_TransactionSealed_Call) Return ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionSealed_Call) Return() *TransactionMetrics_TransactionSealed_Call
func (*TransactionMetrics_TransactionSealed_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionSealed_Call) Run(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionSealed_Call
func (*TransactionMetrics_TransactionSealed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionSealed_Call) RunAndReturn(run func(txID flow.Identifier, when time.Time)) *TransactionMetrics_TransactionSealed_Call
type TransactionMetrics_TransactionSubmissionFailed_Call ¶ added in v0.46.0
TransactionMetrics_TransactionSubmissionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionSubmissionFailed'
func (*TransactionMetrics_TransactionSubmissionFailed_Call) Run ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionSubmissionFailed_Call) Run(run func()) *TransactionMetrics_TransactionSubmissionFailed_Call
func (*TransactionMetrics_TransactionSubmissionFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionMetrics_TransactionSubmissionFailed_Call) RunAndReturn(run func()) *TransactionMetrics_TransactionSubmissionFailed_Call
type TransactionValidationMetrics ¶ added in v0.37.22
TransactionValidationMetrics is an autogenerated mock type for the TransactionValidationMetrics type
func NewTransactionValidationMetrics ¶ added in v0.37.22
func NewTransactionValidationMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionValidationMetrics
NewTransactionValidationMetrics creates a new instance of TransactionValidationMetrics. 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 (*TransactionValidationMetrics) EXPECT ¶ added in v0.46.0
func (_m *TransactionValidationMetrics) EXPECT() *TransactionValidationMetrics_Expecter
func (*TransactionValidationMetrics) TransactionValidated ¶ added in v0.37.22
func (_mock *TransactionValidationMetrics) TransactionValidated()
TransactionValidated provides a mock function for the type TransactionValidationMetrics
func (*TransactionValidationMetrics) TransactionValidationFailed ¶ added in v0.37.22
func (_mock *TransactionValidationMetrics) TransactionValidationFailed(reason string)
TransactionValidationFailed provides a mock function for the type TransactionValidationMetrics
func (*TransactionValidationMetrics) TransactionValidationSkipped ¶ added in v0.37.22
func (_mock *TransactionValidationMetrics) TransactionValidationSkipped()
TransactionValidationSkipped provides a mock function for the type TransactionValidationMetrics
type TransactionValidationMetrics_Expecter ¶ added in v0.46.0
type TransactionValidationMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionValidationMetrics_Expecter) TransactionValidated ¶ added in v0.46.0
func (_e *TransactionValidationMetrics_Expecter) TransactionValidated() *TransactionValidationMetrics_TransactionValidated_Call
TransactionValidated is a helper method to define mock.On call
func (*TransactionValidationMetrics_Expecter) TransactionValidationFailed ¶ added in v0.46.0
func (_e *TransactionValidationMetrics_Expecter) TransactionValidationFailed(reason interface{}) *TransactionValidationMetrics_TransactionValidationFailed_Call
TransactionValidationFailed is a helper method to define mock.On call
- reason string
func (*TransactionValidationMetrics_Expecter) TransactionValidationSkipped ¶ added in v0.46.0
func (_e *TransactionValidationMetrics_Expecter) TransactionValidationSkipped() *TransactionValidationMetrics_TransactionValidationSkipped_Call
TransactionValidationSkipped is a helper method to define mock.On call
type TransactionValidationMetrics_TransactionValidated_Call ¶ added in v0.46.0
TransactionValidationMetrics_TransactionValidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidated'
func (*TransactionValidationMetrics_TransactionValidated_Call) Run ¶ added in v0.46.0
func (_c *TransactionValidationMetrics_TransactionValidated_Call) Run(run func()) *TransactionValidationMetrics_TransactionValidated_Call
func (*TransactionValidationMetrics_TransactionValidated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionValidationMetrics_TransactionValidated_Call) RunAndReturn(run func()) *TransactionValidationMetrics_TransactionValidated_Call
type TransactionValidationMetrics_TransactionValidationFailed_Call ¶ added in v0.46.0
TransactionValidationMetrics_TransactionValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationFailed'
func (*TransactionValidationMetrics_TransactionValidationFailed_Call) Run ¶ added in v0.46.0
func (_c *TransactionValidationMetrics_TransactionValidationFailed_Call) Run(run func(reason string)) *TransactionValidationMetrics_TransactionValidationFailed_Call
func (*TransactionValidationMetrics_TransactionValidationFailed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionValidationMetrics_TransactionValidationFailed_Call) RunAndReturn(run func(reason string)) *TransactionValidationMetrics_TransactionValidationFailed_Call
type TransactionValidationMetrics_TransactionValidationSkipped_Call ¶ added in v0.46.0
TransactionValidationMetrics_TransactionValidationSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationSkipped'
func (*TransactionValidationMetrics_TransactionValidationSkipped_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionValidationMetrics_TransactionValidationSkipped_Call) RunAndReturn(run func()) *TransactionValidationMetrics_TransactionValidationSkipped_Call
type UnicastManagerMetrics ¶ added in v0.30.0
UnicastManagerMetrics is an autogenerated mock type for the UnicastManagerMetrics type
func NewUnicastManagerMetrics ¶ added in v0.30.0
func NewUnicastManagerMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *UnicastManagerMetrics
NewUnicastManagerMetrics creates a new instance of UnicastManagerMetrics. 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 (*UnicastManagerMetrics) EXPECT ¶ added in v0.46.0
func (_m *UnicastManagerMetrics) EXPECT() *UnicastManagerMetrics_Expecter
func (*UnicastManagerMetrics) OnDialRetryBudgetResetToDefault ¶ added in v0.32.2
func (_mock *UnicastManagerMetrics) OnDialRetryBudgetResetToDefault()
OnDialRetryBudgetResetToDefault provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnDialRetryBudgetUpdated ¶ added in v0.32.2
func (_mock *UnicastManagerMetrics) OnDialRetryBudgetUpdated(budget uint64)
OnDialRetryBudgetUpdated provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnEstablishStreamFailure ¶ added in v0.30.0
func (_mock *UnicastManagerMetrics) OnEstablishStreamFailure(duration time.Duration, attempts int)
OnEstablishStreamFailure provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnPeerDialFailure ¶ added in v0.30.0
func (_mock *UnicastManagerMetrics) OnPeerDialFailure(duration time.Duration, attempts int)
OnPeerDialFailure provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnPeerDialed ¶ added in v0.30.0
func (_mock *UnicastManagerMetrics) OnPeerDialed(duration time.Duration, attempts int)
OnPeerDialed provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnStreamCreated ¶ added in v0.30.0
func (_mock *UnicastManagerMetrics) OnStreamCreated(duration time.Duration, attempts int)
OnStreamCreated provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnStreamCreationFailure ¶ added in v0.30.0
func (_mock *UnicastManagerMetrics) OnStreamCreationFailure(duration time.Duration, attempts int)
OnStreamCreationFailure provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnStreamCreationRetryBudgetResetToDefault ¶ added in v0.32.2
func (_mock *UnicastManagerMetrics) OnStreamCreationRetryBudgetResetToDefault()
OnStreamCreationRetryBudgetResetToDefault provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnStreamCreationRetryBudgetUpdated ¶ added in v0.32.2
func (_mock *UnicastManagerMetrics) OnStreamCreationRetryBudgetUpdated(budget uint64)
OnStreamCreationRetryBudgetUpdated provides a mock function for the type UnicastManagerMetrics
func (*UnicastManagerMetrics) OnStreamEstablished ¶ added in v0.30.0
func (_mock *UnicastManagerMetrics) OnStreamEstablished(duration time.Duration, attempts int)
OnStreamEstablished provides a mock function for the type UnicastManagerMetrics
type UnicastManagerMetrics_Expecter ¶ added in v0.46.0
type UnicastManagerMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*UnicastManagerMetrics_Expecter) OnDialRetryBudgetResetToDefault ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnDialRetryBudgetResetToDefault() *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
OnDialRetryBudgetResetToDefault is a helper method to define mock.On call
func (*UnicastManagerMetrics_Expecter) OnDialRetryBudgetUpdated ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnDialRetryBudgetUpdated(budget interface{}) *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
OnDialRetryBudgetUpdated is a helper method to define mock.On call
- budget uint64
func (*UnicastManagerMetrics_Expecter) OnEstablishStreamFailure ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnEstablishStreamFailure(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnEstablishStreamFailure_Call
OnEstablishStreamFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*UnicastManagerMetrics_Expecter) OnPeerDialFailure ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnPeerDialFailure(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnPeerDialFailure_Call
OnPeerDialFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*UnicastManagerMetrics_Expecter) OnPeerDialed ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnPeerDialed(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnPeerDialed_Call
OnPeerDialed is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*UnicastManagerMetrics_Expecter) OnStreamCreated ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnStreamCreated(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnStreamCreated_Call
OnStreamCreated is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*UnicastManagerMetrics_Expecter) OnStreamCreationFailure ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnStreamCreationFailure(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnStreamCreationFailure_Call
OnStreamCreationFailure is a helper method to define mock.On call
- duration time.Duration
- attempts int
func (*UnicastManagerMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnStreamCreationRetryBudgetResetToDefault() *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
OnStreamCreationRetryBudgetResetToDefault is a helper method to define mock.On call
func (*UnicastManagerMetrics_Expecter) OnStreamCreationRetryBudgetUpdated ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnStreamCreationRetryBudgetUpdated(budget interface{}) *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
OnStreamCreationRetryBudgetUpdated is a helper method to define mock.On call
- budget uint64
func (*UnicastManagerMetrics_Expecter) OnStreamEstablished ¶ added in v0.46.0
func (_e *UnicastManagerMetrics_Expecter) OnStreamEstablished(duration interface{}, attempts interface{}) *UnicastManagerMetrics_OnStreamEstablished_Call
OnStreamEstablished is a helper method to define mock.On call
- duration time.Duration
- attempts int
type UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetResetToDefault'
func (*UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) Run(run func()) *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
func (*UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call
type UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetUpdated'
func (*UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) Run(run func(budget uint64)) *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
func (*UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call
type UnicastManagerMetrics_OnEstablishStreamFailure_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnEstablishStreamFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEstablishStreamFailure'
func (*UnicastManagerMetrics_OnEstablishStreamFailure_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnEstablishStreamFailure_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnEstablishStreamFailure_Call
func (*UnicastManagerMetrics_OnEstablishStreamFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnEstablishStreamFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnEstablishStreamFailure_Call
type UnicastManagerMetrics_OnPeerDialFailure_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnPeerDialFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerDialFailure'
func (*UnicastManagerMetrics_OnPeerDialFailure_Call) Return ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnPeerDialFailure_Call) Return() *UnicastManagerMetrics_OnPeerDialFailure_Call
func (*UnicastManagerMetrics_OnPeerDialFailure_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnPeerDialFailure_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialFailure_Call
func (*UnicastManagerMetrics_OnPeerDialFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnPeerDialFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialFailure_Call
type UnicastManagerMetrics_OnPeerDialed_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnPeerDialed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerDialed'
func (*UnicastManagerMetrics_OnPeerDialed_Call) Return ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnPeerDialed_Call) Return() *UnicastManagerMetrics_OnPeerDialed_Call
func (*UnicastManagerMetrics_OnPeerDialed_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnPeerDialed_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialed_Call
func (*UnicastManagerMetrics_OnPeerDialed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnPeerDialed_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnPeerDialed_Call
type UnicastManagerMetrics_OnStreamCreated_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnStreamCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreated'
func (*UnicastManagerMetrics_OnStreamCreated_Call) Return ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreated_Call) Return() *UnicastManagerMetrics_OnStreamCreated_Call
func (*UnicastManagerMetrics_OnStreamCreated_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreated_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreated_Call
func (*UnicastManagerMetrics_OnStreamCreated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreated_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreated_Call
type UnicastManagerMetrics_OnStreamCreationFailure_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnStreamCreationFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationFailure'
func (*UnicastManagerMetrics_OnStreamCreationFailure_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreationFailure_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreationFailure_Call
func (*UnicastManagerMetrics_OnStreamCreationFailure_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreationFailure_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamCreationFailure_Call
type UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetResetToDefault'
func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Return ¶ added in v0.46.0
func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn(run func()) *UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call
type UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetUpdated'
func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run(run func(budget uint64)) *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn(run func(budget uint64)) *UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call
type UnicastManagerMetrics_OnStreamEstablished_Call ¶ added in v0.46.0
UnicastManagerMetrics_OnStreamEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamEstablished'
func (*UnicastManagerMetrics_OnStreamEstablished_Call) Run ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamEstablished_Call) Run(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamEstablished_Call
func (*UnicastManagerMetrics_OnStreamEstablished_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UnicastManagerMetrics_OnStreamEstablished_Call) RunAndReturn(run func(duration time.Duration, attempts int)) *UnicastManagerMetrics_OnStreamEstablished_Call
type VerificationMetrics ¶
VerificationMetrics is an autogenerated mock type for the VerificationMetrics type
func NewVerificationMetrics ¶ added in v0.26.1
func NewVerificationMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *VerificationMetrics
NewVerificationMetrics creates a new instance of VerificationMetrics. 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 (*VerificationMetrics) EXPECT ¶ added in v0.46.0
func (_m *VerificationMetrics) EXPECT() *VerificationMetrics_Expecter
func (*VerificationMetrics) OnAssignedChunkProcessedAtAssigner ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnAssignedChunkProcessedAtAssigner()
OnAssignedChunkProcessedAtAssigner provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnAssignedChunkReceivedAtFetcher ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnAssignedChunkReceivedAtFetcher()
OnAssignedChunkReceivedAtFetcher provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnBlockConsumerJobDone ¶ added in v0.19.0
func (_mock *VerificationMetrics) OnBlockConsumerJobDone(v uint64)
OnBlockConsumerJobDone provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkConsumerJobDone ¶ added in v0.19.0
func (_mock *VerificationMetrics) OnChunkConsumerJobDone(v uint64)
OnChunkConsumerJobDone provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkDataPackArrivedAtFetcher ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnChunkDataPackArrivedAtFetcher()
OnChunkDataPackArrivedAtFetcher provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkDataPackRequestDispatchedInNetworkByRequester ¶ added in v0.19.0
func (_mock *VerificationMetrics) OnChunkDataPackRequestDispatchedInNetworkByRequester()
OnChunkDataPackRequestDispatchedInNetworkByRequester provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkDataPackRequestReceivedByRequester ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnChunkDataPackRequestReceivedByRequester()
OnChunkDataPackRequestReceivedByRequester provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkDataPackRequestSentByFetcher ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnChunkDataPackRequestSentByFetcher()
OnChunkDataPackRequestSentByFetcher provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkDataPackResponseReceivedFromNetworkByRequester ¶ added in v0.19.0
func (_mock *VerificationMetrics) OnChunkDataPackResponseReceivedFromNetworkByRequester()
OnChunkDataPackResponseReceivedFromNetworkByRequester provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunkDataPackSentToFetcher ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnChunkDataPackSentToFetcher()
OnChunkDataPackSentToFetcher provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnChunksAssignmentDoneAtAssigner ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnChunksAssignmentDoneAtAssigner(chunks int)
OnChunksAssignmentDoneAtAssigner provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnExecutionResultReceivedAtAssignerEngine ¶ added in v0.19.0
func (_mock *VerificationMetrics) OnExecutionResultReceivedAtAssignerEngine()
OnExecutionResultReceivedAtAssignerEngine provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnFinalizedBlockArrivedAtAssigner ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnFinalizedBlockArrivedAtAssigner(height uint64)
OnFinalizedBlockArrivedAtAssigner provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnResultApprovalDispatchedInNetworkByVerifier ¶ added in v0.19.0
func (_mock *VerificationMetrics) OnResultApprovalDispatchedInNetworkByVerifier()
OnResultApprovalDispatchedInNetworkByVerifier provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnVerifiableChunkReceivedAtVerifierEngine ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnVerifiableChunkReceivedAtVerifierEngine()
OnVerifiableChunkReceivedAtVerifierEngine provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) OnVerifiableChunkSentToVerifier ¶ added in v0.17.1
func (_mock *VerificationMetrics) OnVerifiableChunkSentToVerifier()
OnVerifiableChunkSentToVerifier provides a mock function for the type VerificationMetrics
func (*VerificationMetrics) SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester ¶ added in v0.22.0
func (_mock *VerificationMetrics) SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester(attempts uint64)
SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester provides a mock function for the type VerificationMetrics
type VerificationMetrics_Expecter ¶ added in v0.46.0
type VerificationMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*VerificationMetrics_Expecter) OnAssignedChunkProcessedAtAssigner ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnAssignedChunkProcessedAtAssigner() *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
OnAssignedChunkProcessedAtAssigner is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnAssignedChunkReceivedAtFetcher ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnAssignedChunkReceivedAtFetcher() *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
OnAssignedChunkReceivedAtFetcher is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnBlockConsumerJobDone ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnBlockConsumerJobDone(v interface{}) *VerificationMetrics_OnBlockConsumerJobDone_Call
OnBlockConsumerJobDone is a helper method to define mock.On call
- v uint64
func (*VerificationMetrics_Expecter) OnChunkConsumerJobDone ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkConsumerJobDone(v interface{}) *VerificationMetrics_OnChunkConsumerJobDone_Call
OnChunkConsumerJobDone is a helper method to define mock.On call
- v uint64
func (*VerificationMetrics_Expecter) OnChunkDataPackArrivedAtFetcher ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkDataPackArrivedAtFetcher() *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
OnChunkDataPackArrivedAtFetcher is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnChunkDataPackRequestDispatchedInNetworkByRequester ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkDataPackRequestDispatchedInNetworkByRequester() *VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call
OnChunkDataPackRequestDispatchedInNetworkByRequester is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnChunkDataPackRequestReceivedByRequester ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkDataPackRequestReceivedByRequester() *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
OnChunkDataPackRequestReceivedByRequester is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnChunkDataPackRequestSentByFetcher ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkDataPackRequestSentByFetcher() *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
OnChunkDataPackRequestSentByFetcher is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnChunkDataPackResponseReceivedFromNetworkByRequester ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkDataPackResponseReceivedFromNetworkByRequester() *VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call
OnChunkDataPackResponseReceivedFromNetworkByRequester is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnChunkDataPackSentToFetcher ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunkDataPackSentToFetcher() *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
OnChunkDataPackSentToFetcher is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnChunksAssignmentDoneAtAssigner ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnChunksAssignmentDoneAtAssigner(chunks interface{}) *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
OnChunksAssignmentDoneAtAssigner is a helper method to define mock.On call
- chunks int
func (*VerificationMetrics_Expecter) OnExecutionResultReceivedAtAssignerEngine ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnExecutionResultReceivedAtAssignerEngine() *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
OnExecutionResultReceivedAtAssignerEngine is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnFinalizedBlockArrivedAtAssigner ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnFinalizedBlockArrivedAtAssigner(height interface{}) *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
OnFinalizedBlockArrivedAtAssigner is a helper method to define mock.On call
- height uint64
func (*VerificationMetrics_Expecter) OnResultApprovalDispatchedInNetworkByVerifier ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnResultApprovalDispatchedInNetworkByVerifier() *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
OnResultApprovalDispatchedInNetworkByVerifier is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnVerifiableChunkReceivedAtVerifierEngine ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnVerifiableChunkReceivedAtVerifierEngine() *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
OnVerifiableChunkReceivedAtVerifierEngine is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) OnVerifiableChunkSentToVerifier ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) OnVerifiableChunkSentToVerifier() *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
OnVerifiableChunkSentToVerifier is a helper method to define mock.On call
func (*VerificationMetrics_Expecter) SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester ¶ added in v0.46.0
func (_e *VerificationMetrics_Expecter) SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester(attempts interface{}) *VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call
SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester is a helper method to define mock.On call
- attempts uint64
type VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call ¶ added in v0.46.0
VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAssignedChunkProcessedAtAssigner'
func (*VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) RunAndReturn(run func()) *VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call
type VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call ¶ added in v0.46.0
VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAssignedChunkReceivedAtFetcher'
func (*VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) Run(run func()) *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
func (*VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call
type VerificationMetrics_OnBlockConsumerJobDone_Call ¶ added in v0.46.0
VerificationMetrics_OnBlockConsumerJobDone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBlockConsumerJobDone'
func (*VerificationMetrics_OnBlockConsumerJobDone_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnBlockConsumerJobDone_Call) Run(run func(v uint64)) *VerificationMetrics_OnBlockConsumerJobDone_Call
func (*VerificationMetrics_OnBlockConsumerJobDone_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnBlockConsumerJobDone_Call) RunAndReturn(run func(v uint64)) *VerificationMetrics_OnBlockConsumerJobDone_Call
type VerificationMetrics_OnChunkConsumerJobDone_Call ¶ added in v0.46.0
VerificationMetrics_OnChunkConsumerJobDone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkConsumerJobDone'
func (*VerificationMetrics_OnChunkConsumerJobDone_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkConsumerJobDone_Call) Run(run func(v uint64)) *VerificationMetrics_OnChunkConsumerJobDone_Call
func (*VerificationMetrics_OnChunkConsumerJobDone_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkConsumerJobDone_Call) RunAndReturn(run func(v uint64)) *VerificationMetrics_OnChunkConsumerJobDone_Call
type VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call ¶ added in v0.46.0
VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackArrivedAtFetcher'
func (*VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
func (*VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call
type VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call ¶ added in v0.46.0
type VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call struct {
*mock.Call
}
VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackRequestDispatchedInNetworkByRequester'
func (*VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call) Run ¶ added in v0.46.0
func (*VerificationMetrics_OnChunkDataPackRequestDispatchedInNetworkByRequester_Call) RunAndReturn ¶ added in v0.46.0
type VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call ¶ added in v0.46.0
VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackRequestReceivedByRequester'
func (*VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call
type VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call ¶ added in v0.46.0
VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackRequestSentByFetcher'
func (*VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call
type VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call ¶ added in v0.46.0
type VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call struct {
*mock.Call
}
VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackResponseReceivedFromNetworkByRequester'
func (*VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call) Run ¶ added in v0.46.0
func (*VerificationMetrics_OnChunkDataPackResponseReceivedFromNetworkByRequester_Call) RunAndReturn ¶ added in v0.46.0
type VerificationMetrics_OnChunkDataPackSentToFetcher_Call ¶ added in v0.46.0
VerificationMetrics_OnChunkDataPackSentToFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackSentToFetcher'
func (*VerificationMetrics_OnChunkDataPackSentToFetcher_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkDataPackSentToFetcher_Call) Run(run func()) *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
func (*VerificationMetrics_OnChunkDataPackSentToFetcher_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunkDataPackSentToFetcher_Call) RunAndReturn(run func()) *VerificationMetrics_OnChunkDataPackSentToFetcher_Call
type VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call ¶ added in v0.46.0
VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunksAssignmentDoneAtAssigner'
func (*VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) Run(run func(chunks int)) *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
func (*VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) RunAndReturn(run func(chunks int)) *VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call
type VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call ¶ added in v0.46.0
VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnExecutionResultReceivedAtAssignerEngine'
func (*VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) RunAndReturn(run func()) *VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call
type VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call ¶ added in v0.46.0
VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFinalizedBlockArrivedAtAssigner'
func (*VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) Run(run func(height uint64)) *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
func (*VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) RunAndReturn(run func(height uint64)) *VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call
type VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call ¶ added in v0.46.0
VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnResultApprovalDispatchedInNetworkByVerifier'
func (*VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) Run ¶ added in v0.46.0
func (*VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call) RunAndReturn(run func()) *VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call
type VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call ¶ added in v0.46.0
VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnVerifiableChunkReceivedAtVerifierEngine'
func (*VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) RunAndReturn(run func()) *VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call
type VerificationMetrics_OnVerifiableChunkSentToVerifier_Call ¶ added in v0.46.0
VerificationMetrics_OnVerifiableChunkSentToVerifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnVerifiableChunkSentToVerifier'
func (*VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) Run ¶ added in v0.46.0
func (_c *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) Run(run func()) *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
func (*VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) RunAndReturn(run func()) *VerificationMetrics_OnVerifiableChunkSentToVerifier_Call
type VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call ¶ added in v0.46.0
type VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call struct {
*mock.Call
}
VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester'
func (*VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) Return ¶ added in v0.46.0
func (*VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) Run ¶ added in v0.46.0
func (*VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call) RunAndReturn(run func(attempts uint64)) *VerificationMetrics_SetMaxChunkDataPackAttemptsForNextUnsealedHeightAtRequester_Call
type WALMetrics ¶ added in v0.15.4
WALMetrics is an autogenerated mock type for the WALMetrics type
func NewWALMetrics ¶ added in v0.26.1
func NewWALMetrics(t interface {
mock.TestingT
Cleanup(func())
}) *WALMetrics
NewWALMetrics creates a new instance of WALMetrics. 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 (*WALMetrics) EXPECT ¶ added in v0.46.0
func (_m *WALMetrics) EXPECT() *WALMetrics_Expecter
func (*WALMetrics) ExecutionCheckpointSize ¶ added in v0.33.10
func (_mock *WALMetrics) ExecutionCheckpointSize(bytes uint64)
ExecutionCheckpointSize provides a mock function for the type WALMetrics
type WALMetrics_ExecutionCheckpointSize_Call ¶ added in v0.46.0
WALMetrics_ExecutionCheckpointSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCheckpointSize'
func (*WALMetrics_ExecutionCheckpointSize_Call) Return ¶ added in v0.46.0
func (_c *WALMetrics_ExecutionCheckpointSize_Call) Return() *WALMetrics_ExecutionCheckpointSize_Call
func (*WALMetrics_ExecutionCheckpointSize_Call) Run ¶ added in v0.46.0
func (_c *WALMetrics_ExecutionCheckpointSize_Call) Run(run func(bytes uint64)) *WALMetrics_ExecutionCheckpointSize_Call
func (*WALMetrics_ExecutionCheckpointSize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *WALMetrics_ExecutionCheckpointSize_Call) RunAndReturn(run func(bytes uint64)) *WALMetrics_ExecutionCheckpointSize_Call
type WALMetrics_Expecter ¶ added in v0.46.0
type WALMetrics_Expecter struct {
// contains filtered or unexported fields
}
func (*WALMetrics_Expecter) ExecutionCheckpointSize ¶ added in v0.46.0
func (_e *WALMetrics_Expecter) ExecutionCheckpointSize(bytes interface{}) *WALMetrics_ExecutionCheckpointSize_Call
ExecutionCheckpointSize is a helper method to define mock.On call
- bytes uint64
Source Files
¶
- access_metrics.go
- alsp_metrics.go
- backend_scripts_metrics.go
- bitswap_metrics.go
- block_iterator.go
- block_requester.go
- builder.go
- cache_metrics.go
- chain_sync_metrics.go
- chunk_assigner.go
- chunk_verifier.go
- cleaner_metrics.go
- cluster_root_qc_voter.go
- collection_executed_metric.go
- collection_metrics.go
- compliance_metrics.go
- consensus_metrics.go
- cruise_ctl_metrics.go
- crypto_mocks.go
- dht_metrics.go
- dkg_broker.go
- dkg_contract_client.go
- dkg_controller.go
- dkg_controller_factory.go
- engine_metrics.go
- epoch_lookup.go
- evm_metrics.go
- execution_data_provider_metrics.go
- execution_data_pruner_metrics.go
- execution_data_requester_metrics.go
- execution_data_requester_v2_metrics.go
- execution_metrics.go
- execution_state_indexer_metrics.go
- finalized_header_cache.go
- finalizer.go
- gossip_sub_metrics.go
- gossip_sub_rpc_inspector_metrics.go
- gossip_sub_rpc_validation_inspector_metrics.go
- gossip_sub_scoring_metrics.go
- gossip_sub_scoring_registry_metrics.go
- grpc_connection_pool_metrics.go
- hero_cache_metrics.go
- hot_stuff.go
- hot_stuff_follower.go
- hotstuff_metrics.go
- identifier_provider.go
- identity_provider.go
- iterator_creator.go
- iterator_state.go
- iterator_state_reader.go
- iterator_state_writer.go
- job.go
- job_consumer.go
- job_queue.go
- jobs.go
- ledger_metrics.go
- lib_p2_p_connection_metrics.go
- lib_p2_p_metrics.go
- local.go
- local_gossip_sub_router_metrics.go
- machine_account_metrics.go
- mempool_metrics.go
- network_core_metrics.go
- network_inbound_queue_metrics.go
- network_metrics.go
- network_security_metrics.go
- new_job_listener.go
- pending_block_buffer.go
- pending_cluster_block_buffer.go
- ping_metrics.go
- processing_notifier.go
- provider_metrics.go
- qc_contract_client.go
- random_beacon_key_store.go
- rate_limited_blockstore_metrics.go
- readonly_sealing_lag_rate_limiter_config.go
- ready_done_aware.go
- receipt_validator.go
- requester.go
- resolver_metrics.go
- rest_metrics.go
- runtime_metrics.go
- sdk_client_wrapper.go
- seal_validator.go
- sealing_configs_getter.go
- sealing_configs_setter.go
- sealing_lag_rate_limiter_config.go
- startable.go
- sync_core.go
- tracer.go
- transaction_error_messages_metrics.go
- transaction_metrics.go
- transaction_validation_metrics.go
- unicast_manager_metrics.go
- verification_metrics.go
- wal_metrics.go