Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.47.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: AGPL-3.0 Imports: 25 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessMetrics added in v0.26.16

type AccessMetrics struct {
	mock.Mock
}

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

type AccessMetrics_AddInflightRequests_Call struct {
	*mock.Call
}

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 (*AccessMetrics_AddInflightRequests_Call) Run added in v0.46.0

func (*AccessMetrics_AddInflightRequests_Call) RunAndReturn added in v0.46.0

type AccessMetrics_AddTotalRequests_Call added in v0.46.0

type AccessMetrics_AddTotalRequests_Call struct {
	*mock.Call
}

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 (*AccessMetrics_AddTotalRequests_Call) Run added in v0.46.0

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

type AccessMetrics_ConnectionAddedToPool_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ConnectionAddedToPool_Call) Run added in v0.46.0

func (*AccessMetrics_ConnectionAddedToPool_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ConnectionFromPoolEvicted_Call added in v0.46.0

type AccessMetrics_ConnectionFromPoolEvicted_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ConnectionFromPoolEvicted_Call) Run added in v0.46.0

func (*AccessMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ConnectionFromPoolInvalidated_Call added in v0.46.0

type AccessMetrics_ConnectionFromPoolInvalidated_Call struct {
	*mock.Call
}

AccessMetrics_ConnectionFromPoolInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolInvalidated'

func (*AccessMetrics_ConnectionFromPoolInvalidated_Call) Return added in v0.46.0

func (*AccessMetrics_ConnectionFromPoolInvalidated_Call) Run added in v0.46.0

func (*AccessMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ConnectionFromPoolReused_Call added in v0.46.0

type AccessMetrics_ConnectionFromPoolReused_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ConnectionFromPoolReused_Call) Run added in v0.46.0

func (*AccessMetrics_ConnectionFromPoolReused_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ConnectionFromPoolUpdated_Call added in v0.46.0

type AccessMetrics_ConnectionFromPoolUpdated_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ConnectionFromPoolUpdated_Call) Run added in v0.46.0

func (*AccessMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn added in v0.46.0

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

ConnectionAddedToPool is a helper method to define mock.On call

func (*AccessMetrics_Expecter) ConnectionFromPoolEvicted added in v0.46.0

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

ConnectionFromPoolReused is a helper method to define mock.On call

func (*AccessMetrics_Expecter) ConnectionFromPoolUpdated added in v0.46.0

ConnectionFromPoolUpdated is a helper method to define mock.On call

func (*AccessMetrics_Expecter) NewConnectionEstablished added in v0.46.0

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

ScriptExecutionErrorLocal is a helper method to define mock.On call

func (*AccessMetrics_Expecter) ScriptExecutionErrorMatch added in v0.46.0

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

ScriptExecutionNotIndexed is a helper method to define mock.On call

func (*AccessMetrics_Expecter) ScriptExecutionResultMatch added in v0.46.0

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

TransactionSubmissionFailed is a helper method to define mock.On call

func (*AccessMetrics_Expecter) TransactionValidated added in v0.46.0

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

type AccessMetrics_NewConnectionEstablished_Call struct {
	*mock.Call
}

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 (*AccessMetrics_NewConnectionEstablished_Call) Run added in v0.46.0

func (*AccessMetrics_NewConnectionEstablished_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ObserveHTTPRequestDuration_Call added in v0.46.0

type AccessMetrics_ObserveHTTPRequestDuration_Call struct {
	*mock.Call
}

AccessMetrics_ObserveHTTPRequestDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveHTTPRequestDuration'

func (*AccessMetrics_ObserveHTTPRequestDuration_Call) Return added in v0.46.0

func (*AccessMetrics_ObserveHTTPRequestDuration_Call) Run added in v0.46.0

func (*AccessMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ObserveHTTPResponseSize_Call added in v0.46.0

type AccessMetrics_ObserveHTTPResponseSize_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ObserveHTTPResponseSize_Call) Run added in v0.46.0

func (*AccessMetrics_ObserveHTTPResponseSize_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecuted_Call added in v0.46.0

type AccessMetrics_ScriptExecuted_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ScriptExecuted_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecuted_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionErrorLocal_Call added in v0.46.0

type AccessMetrics_ScriptExecutionErrorLocal_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ScriptExecutionErrorLocal_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionErrorMatch_Call added in v0.46.0

type AccessMetrics_ScriptExecutionErrorMatch_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ScriptExecutionErrorMatch_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionErrorMismatch_Call added in v0.46.0

type AccessMetrics_ScriptExecutionErrorMismatch_Call struct {
	*mock.Call
}

AccessMetrics_ScriptExecutionErrorMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMismatch'

func (*AccessMetrics_ScriptExecutionErrorMismatch_Call) Return added in v0.46.0

func (*AccessMetrics_ScriptExecutionErrorMismatch_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call added in v0.46.0

type AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call struct {
	*mock.Call
}

AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorOnExecutionNode'

func (*AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) Return added in v0.46.0

func (*AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionNotIndexed_Call added in v0.46.0

type AccessMetrics_ScriptExecutionNotIndexed_Call struct {
	*mock.Call
}

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 (*AccessMetrics_ScriptExecutionNotIndexed_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionResultMatch_Call added in v0.46.0

type AccessMetrics_ScriptExecutionResultMatch_Call struct {
	*mock.Call
}

AccessMetrics_ScriptExecutionResultMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMatch'

func (*AccessMetrics_ScriptExecutionResultMatch_Call) Return added in v0.46.0

func (*AccessMetrics_ScriptExecutionResultMatch_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionResultMatch_Call) RunAndReturn added in v0.46.0

type AccessMetrics_ScriptExecutionResultMismatch_Call added in v0.46.0

type AccessMetrics_ScriptExecutionResultMismatch_Call struct {
	*mock.Call
}

AccessMetrics_ScriptExecutionResultMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMismatch'

func (*AccessMetrics_ScriptExecutionResultMismatch_Call) Return added in v0.46.0

func (*AccessMetrics_ScriptExecutionResultMismatch_Call) Run added in v0.46.0

func (*AccessMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TotalConnectionsInPool_Call added in v0.46.0

type AccessMetrics_TotalConnectionsInPool_Call struct {
	*mock.Call
}

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 (*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

type AccessMetrics_TransactionExecuted_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionExecuted_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionExecuted_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionExpired_Call added in v0.46.0

type AccessMetrics_TransactionExpired_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionExpired_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionExpired_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionFinalized_Call added in v0.46.0

type AccessMetrics_TransactionFinalized_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionFinalized_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionFinalized_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionReceived_Call added in v0.46.0

type AccessMetrics_TransactionReceived_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionReceived_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionReceived_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionResultFetched_Call added in v0.46.0

type AccessMetrics_TransactionResultFetched_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionResultFetched_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionResultFetched_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionSealed_Call added in v0.46.0

type AccessMetrics_TransactionSealed_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionSealed_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionSealed_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionSubmissionFailed_Call added in v0.46.0

type AccessMetrics_TransactionSubmissionFailed_Call struct {
	*mock.Call
}

AccessMetrics_TransactionSubmissionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionSubmissionFailed'

func (*AccessMetrics_TransactionSubmissionFailed_Call) Return added in v0.46.0

func (*AccessMetrics_TransactionSubmissionFailed_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionSubmissionFailed_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionValidated_Call added in v0.46.0

type AccessMetrics_TransactionValidated_Call struct {
	*mock.Call
}

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 (*AccessMetrics_TransactionValidated_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionValidated_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionValidationFailed_Call added in v0.46.0

type AccessMetrics_TransactionValidationFailed_Call struct {
	*mock.Call
}

AccessMetrics_TransactionValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationFailed'

func (*AccessMetrics_TransactionValidationFailed_Call) Return added in v0.46.0

func (*AccessMetrics_TransactionValidationFailed_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionValidationFailed_Call) RunAndReturn added in v0.46.0

type AccessMetrics_TransactionValidationSkipped_Call added in v0.46.0

type AccessMetrics_TransactionValidationSkipped_Call struct {
	*mock.Call
}

AccessMetrics_TransactionValidationSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationSkipped'

func (*AccessMetrics_TransactionValidationSkipped_Call) Return added in v0.46.0

func (*AccessMetrics_TransactionValidationSkipped_Call) Run added in v0.46.0

func (*AccessMetrics_TransactionValidationSkipped_Call) RunAndReturn added in v0.46.0

type AccessMetrics_UpdateExecutionReceiptMaxHeight_Call added in v0.46.0

type AccessMetrics_UpdateExecutionReceiptMaxHeight_Call struct {
	*mock.Call
}

AccessMetrics_UpdateExecutionReceiptMaxHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateExecutionReceiptMaxHeight'

func (*AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) Return added in v0.46.0

func (*AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) Run added in v0.46.0

func (*AccessMetrics_UpdateExecutionReceiptMaxHeight_Call) RunAndReturn added in v0.46.0

type AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call added in v0.46.0

type AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call struct {
	*mock.Call
}

AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIngestionFinalizedBlockHeight'

func (*AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) Return added in v0.46.0

func (*AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) Run added in v0.46.0

func (*AccessMetrics_UpdateIngestionFinalizedBlockHeight_Call) RunAndReturn added in v0.46.0

type AccessMetrics_UpdateLastFullBlockHeight_Call added in v0.46.0

type AccessMetrics_UpdateLastFullBlockHeight_Call struct {
	*mock.Call
}

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 (*AccessMetrics_UpdateLastFullBlockHeight_Call) Run added in v0.46.0

func (*AccessMetrics_UpdateLastFullBlockHeight_Call) RunAndReturn added in v0.46.0

type AlspMetrics added in v0.31.0

type AlspMetrics struct {
	mock.Mock
}

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

type AlspMetrics_OnMisbehaviorReported_Call struct {
	*mock.Call
}

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 (*AlspMetrics_OnMisbehaviorReported_Call) Run added in v0.46.0

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

type BackendScriptsMetrics struct {
	mock.Mock
}

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 (*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

ScriptExecutionErrorLocal is a helper method to define mock.On call

func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorMatch added in v0.46.0

ScriptExecutionErrorMatch is a helper method to define mock.On call

func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorMismatch added in v0.46.0

ScriptExecutionErrorMismatch is a helper method to define mock.On call

func (*BackendScriptsMetrics_Expecter) ScriptExecutionErrorOnExecutionNode added in v0.46.0

ScriptExecutionErrorOnExecutionNode is a helper method to define mock.On call

func (*BackendScriptsMetrics_Expecter) ScriptExecutionNotIndexed added in v0.46.0

ScriptExecutionNotIndexed is a helper method to define mock.On call

func (*BackendScriptsMetrics_Expecter) ScriptExecutionResultMatch added in v0.46.0

ScriptExecutionResultMatch is a helper method to define mock.On call

func (*BackendScriptsMetrics_Expecter) ScriptExecutionResultMismatch added in v0.46.0

ScriptExecutionResultMismatch is a helper method to define mock.On call

type BackendScriptsMetrics_ScriptExecuted_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecuted_Call struct {
	*mock.Call
}

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 (*BackendScriptsMetrics_ScriptExecuted_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecuted_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorLocal_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorLocal_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionErrorLocal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorLocal'

func (*BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorLocal_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorMatch_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorMatch_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionErrorMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMatch'

func (*BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorMatch_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorMismatch'

func (*BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorMismatch_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionErrorOnExecutionNode'

func (*BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionErrorOnExecutionNode_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionNotIndexed_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionNotIndexed_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionNotIndexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionNotIndexed'

func (*BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionNotIndexed_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionResultMatch_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionResultMatch_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionResultMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMatch'

func (*BackendScriptsMetrics_ScriptExecutionResultMatch_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionResultMatch_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionResultMatch_Call) RunAndReturn added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionResultMismatch_Call added in v0.46.0

type BackendScriptsMetrics_ScriptExecutionResultMismatch_Call struct {
	*mock.Call
}

BackendScriptsMetrics_ScriptExecutionResultMismatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptExecutionResultMismatch'

func (*BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) Return added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) Run added in v0.46.0

func (*BackendScriptsMetrics_ScriptExecutionResultMismatch_Call) RunAndReturn added in v0.46.0

type BitswapMetrics added in v0.27.3

type BitswapMetrics struct {
	mock.Mock
}

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 (*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

type BitswapMetrics_BlobsReceived_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_BlobsReceived_Call) Run added in v0.46.0

func (*BitswapMetrics_BlobsReceived_Call) RunAndReturn added in v0.46.0

type BitswapMetrics_BlobsSent_Call added in v0.46.0

type BitswapMetrics_BlobsSent_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_BlobsSent_Call) Run added in v0.46.0

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

type BitswapMetrics_DataReceived_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_DataReceived_Call) Run added in v0.46.0

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

type BitswapMetrics_DataSent_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_DataSent_Call) Run added in v0.46.0

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

type BitswapMetrics_DupBlobsReceived_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_DupBlobsReceived_Call) Run added in v0.46.0

func (*BitswapMetrics_DupBlobsReceived_Call) RunAndReturn added in v0.46.0

type BitswapMetrics_DupDataReceived_Call added in v0.46.0

type BitswapMetrics_DupDataReceived_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_DupDataReceived_Call) Run added in v0.46.0

func (*BitswapMetrics_DupDataReceived_Call) RunAndReturn added in v0.46.0

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

type BitswapMetrics_MessagesReceived_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_MessagesReceived_Call) Run added in v0.46.0

func (*BitswapMetrics_MessagesReceived_Call) RunAndReturn added in v0.46.0

type BitswapMetrics_Peers_Call added in v0.46.0

type BitswapMetrics_Peers_Call struct {
	*mock.Call
}

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 (*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

type BitswapMetrics_Wantlist_Call struct {
	*mock.Call
}

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 (*BitswapMetrics_Wantlist_Call) Run added in v0.46.0

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

type BlockIterator struct {
	mock.Mock
}

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

func (*BlockIterator) Progress added in v0.39.1

func (_mock *BlockIterator) Progress() (uint64, uint64, uint64)

Progress provides a mock function for the type BlockIterator

type BlockIterator_Checkpoint_Call added in v0.46.0

type BlockIterator_Checkpoint_Call struct {
	*mock.Call
}

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 (*BlockIterator_Checkpoint_Call) RunAndReturn added in v0.46.0

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

Checkpoint is a helper method to define mock.On call

func (*BlockIterator_Expecter) Next added in v0.46.0

Next is a helper method to define mock.On call

func (*BlockIterator_Expecter) Progress added in v0.46.0

Progress is a helper method to define mock.On call

type BlockIterator_Next_Call added in v0.46.0

type BlockIterator_Next_Call struct {
	*mock.Call
}

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

type BlockIterator_Progress_Call struct {
	*mock.Call
}

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 (*BlockIterator_Progress_Call) Run added in v0.46.0

func (*BlockIterator_Progress_Call) RunAndReturn added in v0.46.0

type BlockRequester

type BlockRequester struct {
	mock.Mock
}

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 (*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

type BlockRequester_Prune_Call struct {
	*mock.Call
}

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 (*BlockRequester_Prune_Call) Run added in v0.46.0

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

type BlockRequester_RequestBlock_Call struct {
	*mock.Call
}

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 (*BlockRequester_RequestBlock_Call) Run added in v0.46.0

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

type BlockRequester_RequestHeight_Call struct {
	*mock.Call
}

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 (*BlockRequester_RequestHeight_Call) Run added in v0.46.0

func (*BlockRequester_RequestHeight_Call) RunAndReturn added in v0.46.0

type Builder

type Builder struct {
	mock.Mock
}

Builder is an autogenerated mock type for the Builder type

func NewBuilder added in v0.26.1

func NewBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *Builder

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

type Builder_BuildOn_Call struct {
	*mock.Call
}

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

type CacheMetrics struct {
	mock.Mock
}

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

type CacheMetrics_CacheEntries_Call struct {
	*mock.Call
}

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 (*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

type CacheMetrics_CacheHit_Call struct {
	*mock.Call
}

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 (*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

type CacheMetrics_CacheMiss_Call struct {
	*mock.Call
}

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 (*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

type CacheMetrics_CacheNotFound_Call struct {
	*mock.Call
}

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 (*CacheMetrics_CacheNotFound_Call) Run added in v0.46.0

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

type ChainSyncMetrics struct {
	mock.Mock
}

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 (*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

type ChainSyncMetrics_BatchRequested_Call struct {
	*mock.Call
}

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 (*ChainSyncMetrics_BatchRequested_Call) Run added in v0.46.0

func (*ChainSyncMetrics_BatchRequested_Call) RunAndReturn added in v0.46.0

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

type ChainSyncMetrics_PrunedBlockByHeight_Call struct {
	*mock.Call
}

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 (*ChainSyncMetrics_PrunedBlockByHeight_Call) Run added in v0.46.0

func (*ChainSyncMetrics_PrunedBlockByHeight_Call) RunAndReturn added in v0.46.0

type ChainSyncMetrics_PrunedBlockById_Call added in v0.46.0

type ChainSyncMetrics_PrunedBlockById_Call struct {
	*mock.Call
}

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 (*ChainSyncMetrics_PrunedBlockById_Call) Run added in v0.46.0

func (*ChainSyncMetrics_PrunedBlockById_Call) RunAndReturn added in v0.46.0

type ChainSyncMetrics_PrunedBlocks_Call added in v0.46.0

type ChainSyncMetrics_PrunedBlocks_Call struct {
	*mock.Call
}

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 (*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

type ChainSyncMetrics_RangeRequested_Call struct {
	*mock.Call
}

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 (*ChainSyncMetrics_RangeRequested_Call) Run added in v0.46.0

func (*ChainSyncMetrics_RangeRequested_Call) RunAndReturn added in v0.46.0

type ChunkAssigner

type ChunkAssigner struct {
	mock.Mock
}

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

type ChunkAssigner_Assign_Call struct {
	*mock.Call
}

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 (*ChunkAssigner_Assign_Call) Run added in v0.46.0

func (*ChunkAssigner_Assign_Call) RunAndReturn added in v0.46.0

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

type ChunkVerifier struct {
	mock.Mock
}

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

type ChunkVerifier_Verify_Call struct {
	*mock.Call
}

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 (*ChunkVerifier_Verify_Call) Run added in v0.46.0

func (*ChunkVerifier_Verify_Call) RunAndReturn added in v0.46.0

type CleanerMetrics

type CleanerMetrics struct {
	mock.Mock
}

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 (*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

type CleanerMetrics_RanGC_Call struct {
	*mock.Call
}

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 (*CleanerMetrics_RanGC_Call) Run added in v0.46.0

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

type ClusterRootQCVoter struct {
	mock.Mock
}

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 (*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

type ClusterRootQCVoter_Vote_Call struct {
	*mock.Call
}

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 (*ClusterRootQCVoter_Vote_Call) Run added in v0.46.0

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

type CollectionExecutedMetric struct {
	mock.Mock
}

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 (*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

type CollectionExecutedMetric_BlockFinalized_Call struct {
	*mock.Call
}

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 (*CollectionExecutedMetric_BlockFinalized_Call) Run added in v0.46.0

func (*CollectionExecutedMetric_BlockFinalized_Call) RunAndReturn added in v0.46.0

type CollectionExecutedMetric_CollectionExecuted_Call added in v0.46.0

type CollectionExecutedMetric_CollectionExecuted_Call struct {
	*mock.Call
}

CollectionExecutedMetric_CollectionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionExecuted'

func (*CollectionExecutedMetric_CollectionExecuted_Call) Return added in v0.46.0

func (*CollectionExecutedMetric_CollectionExecuted_Call) Run added in v0.46.0

func (*CollectionExecutedMetric_CollectionExecuted_Call) RunAndReturn added in v0.46.0

type CollectionExecutedMetric_CollectionFinalized_Call added in v0.46.0

type CollectionExecutedMetric_CollectionFinalized_Call struct {
	*mock.Call
}

CollectionExecutedMetric_CollectionFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionFinalized'

func (*CollectionExecutedMetric_CollectionFinalized_Call) Return added in v0.46.0

func (*CollectionExecutedMetric_CollectionFinalized_Call) Run added in v0.46.0

func (*CollectionExecutedMetric_CollectionFinalized_Call) RunAndReturn added in v0.46.0

type CollectionExecutedMetric_ExecutionReceiptReceived_Call added in v0.46.0

type CollectionExecutedMetric_ExecutionReceiptReceived_Call struct {
	*mock.Call
}

CollectionExecutedMetric_ExecutionReceiptReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionReceiptReceived'

func (*CollectionExecutedMetric_ExecutionReceiptReceived_Call) Return added in v0.46.0

func (*CollectionExecutedMetric_ExecutionReceiptReceived_Call) Run added in v0.46.0

func (*CollectionExecutedMetric_ExecutionReceiptReceived_Call) RunAndReturn added in v0.46.0

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

BlockFinalized is a helper method to define mock.On call

  • block *flow.Block

func (*CollectionExecutedMetric_Expecter) CollectionExecuted added in v0.46.0

CollectionExecuted is a helper method to define mock.On call

  • light *flow.LightCollection

func (*CollectionExecutedMetric_Expecter) CollectionFinalized added in v0.46.0

CollectionFinalized is a helper method to define mock.On call

  • light *flow.LightCollection

func (*CollectionExecutedMetric_Expecter) ExecutionReceiptReceived added in v0.46.0

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

type CollectionExecutedMetric_UpdateLastFullBlockHeight_Call struct {
	*mock.Call
}

CollectionExecutedMetric_UpdateLastFullBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLastFullBlockHeight'

func (*CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) Return added in v0.46.0

func (*CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) Run added in v0.46.0

func (*CollectionExecutedMetric_UpdateLastFullBlockHeight_Call) RunAndReturn added in v0.46.0

type CollectionMetrics

type CollectionMetrics struct {
	mock.Mock
}

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 (*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

type CollectionMetrics_ClusterBlockCreated_Call struct {
	*mock.Call
}

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 (*CollectionMetrics_ClusterBlockCreated_Call) Run added in v0.46.0

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

type CollectionMetrics_ClusterBlockFinalized_Call struct {
	*mock.Call
}

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 (*CollectionMetrics_ClusterBlockFinalized_Call) Run added in v0.46.0

func (*CollectionMetrics_ClusterBlockFinalized_Call) RunAndReturn added in v0.46.0

type CollectionMetrics_CollectionMaxSize_Call added in v0.46.0

type CollectionMetrics_CollectionMaxSize_Call struct {
	*mock.Call
}

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 (*CollectionMetrics_CollectionMaxSize_Call) Run added in v0.46.0

func (*CollectionMetrics_CollectionMaxSize_Call) RunAndReturn added in v0.46.0

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

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

TransactionValidationSkipped is a helper method to define mock.On call

type CollectionMetrics_TransactionIngested_Call added in v0.46.0

type CollectionMetrics_TransactionIngested_Call struct {
	*mock.Call
}

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 (*CollectionMetrics_TransactionIngested_Call) Run added in v0.46.0

func (*CollectionMetrics_TransactionIngested_Call) RunAndReturn added in v0.46.0

type CollectionMetrics_TransactionValidated_Call added in v0.46.0

type CollectionMetrics_TransactionValidated_Call struct {
	*mock.Call
}

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 (*CollectionMetrics_TransactionValidated_Call) Run added in v0.46.0

func (*CollectionMetrics_TransactionValidated_Call) RunAndReturn added in v0.46.0

type CollectionMetrics_TransactionValidationFailed_Call added in v0.46.0

type CollectionMetrics_TransactionValidationFailed_Call struct {
	*mock.Call
}

CollectionMetrics_TransactionValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationFailed'

func (*CollectionMetrics_TransactionValidationFailed_Call) Return added in v0.46.0

func (*CollectionMetrics_TransactionValidationFailed_Call) Run added in v0.46.0

func (*CollectionMetrics_TransactionValidationFailed_Call) RunAndReturn added in v0.46.0

type CollectionMetrics_TransactionValidationSkipped_Call added in v0.46.0

type CollectionMetrics_TransactionValidationSkipped_Call struct {
	*mock.Call
}

CollectionMetrics_TransactionValidationSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationSkipped'

func (*CollectionMetrics_TransactionValidationSkipped_Call) Return added in v0.46.0

func (*CollectionMetrics_TransactionValidationSkipped_Call) Run added in v0.46.0

func (*CollectionMetrics_TransactionValidationSkipped_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics

type ComplianceMetrics struct {
	mock.Mock
}

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 (*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

type ComplianceMetrics_BlockFinalized_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_BlockFinalized_Call) Run added in v0.46.0

func (*ComplianceMetrics_BlockFinalized_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_BlockSealed_Call added in v0.46.0

type ComplianceMetrics_BlockSealed_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_BlockSealed_Call) Run added in v0.46.0

func (*ComplianceMetrics_BlockSealed_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_CurrentDKGPhaseViews_Call added in v0.46.0

type ComplianceMetrics_CurrentDKGPhaseViews_Call struct {
	*mock.Call
}

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 (*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

type ComplianceMetrics_CurrentEpochCounter_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_CurrentEpochCounter_Call) Run added in v0.46.0

func (*ComplianceMetrics_CurrentEpochCounter_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_CurrentEpochFinalView_Call added in v0.46.0

type ComplianceMetrics_CurrentEpochFinalView_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_CurrentEpochFinalView_Call) Run added in v0.46.0

func (*ComplianceMetrics_CurrentEpochFinalView_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_CurrentEpochPhase_Call added in v0.46.0

type ComplianceMetrics_CurrentEpochPhase_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_CurrentEpochPhase_Call) Run added in v0.46.0

func (*ComplianceMetrics_CurrentEpochPhase_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_EpochFallbackModeExited_Call added in v0.46.0

type ComplianceMetrics_EpochFallbackModeExited_Call struct {
	*mock.Call
}

ComplianceMetrics_EpochFallbackModeExited_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EpochFallbackModeExited'

func (*ComplianceMetrics_EpochFallbackModeExited_Call) Return added in v0.46.0

func (*ComplianceMetrics_EpochFallbackModeExited_Call) Run added in v0.46.0

func (*ComplianceMetrics_EpochFallbackModeExited_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_EpochFallbackModeTriggered_Call added in v0.46.0

type ComplianceMetrics_EpochFallbackModeTriggered_Call struct {
	*mock.Call
}

ComplianceMetrics_EpochFallbackModeTriggered_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EpochFallbackModeTriggered'

func (*ComplianceMetrics_EpochFallbackModeTriggered_Call) Return added in v0.46.0

func (*ComplianceMetrics_EpochFallbackModeTriggered_Call) Run added in v0.46.0

func (*ComplianceMetrics_EpochFallbackModeTriggered_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_EpochTransitionHeight_Call added in v0.46.0

type ComplianceMetrics_EpochTransitionHeight_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_EpochTransitionHeight_Call) Run added in v0.46.0

func (*ComplianceMetrics_EpochTransitionHeight_Call) RunAndReturn added in v0.46.0

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

EpochFallbackModeExited is a helper method to define mock.On call

func (*ComplianceMetrics_Expecter) EpochFallbackModeTriggered added in v0.46.0

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

type ComplianceMetrics_FinalizedHeight_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_FinalizedHeight_Call) Run added in v0.46.0

func (*ComplianceMetrics_FinalizedHeight_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_ProtocolStateVersion_Call added in v0.46.0

type ComplianceMetrics_ProtocolStateVersion_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_ProtocolStateVersion_Call) Run added in v0.46.0

func (*ComplianceMetrics_ProtocolStateVersion_Call) RunAndReturn added in v0.46.0

type ComplianceMetrics_SealedHeight_Call added in v0.46.0

type ComplianceMetrics_SealedHeight_Call struct {
	*mock.Call
}

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 (*ComplianceMetrics_SealedHeight_Call) Run added in v0.46.0

func (*ComplianceMetrics_SealedHeight_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics

type ConsensusMetrics struct {
	mock.Mock
}

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 (*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

type ConsensusMetrics_CheckSealingDuration_Call struct {
	*mock.Call
}

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 (*ConsensusMetrics_CheckSealingDuration_Call) Run added in v0.46.0

func (*ConsensusMetrics_CheckSealingDuration_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics_EmergencySeal_Call added in v0.46.0

type ConsensusMetrics_EmergencySeal_Call struct {
	*mock.Call
}

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 (*ConsensusMetrics_EmergencySeal_Call) Run added in v0.46.0

func (*ConsensusMetrics_EmergencySeal_Call) RunAndReturn added in v0.46.0

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

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

type ConsensusMetrics_FinishBlockToSeal_Call struct {
	*mock.Call
}

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 (*ConsensusMetrics_FinishBlockToSeal_Call) Run added in v0.46.0

func (*ConsensusMetrics_FinishBlockToSeal_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics_FinishCollectionToFinalized_Call added in v0.46.0

type ConsensusMetrics_FinishCollectionToFinalized_Call struct {
	*mock.Call
}

ConsensusMetrics_FinishCollectionToFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishCollectionToFinalized'

func (*ConsensusMetrics_FinishCollectionToFinalized_Call) Return added in v0.46.0

func (*ConsensusMetrics_FinishCollectionToFinalized_Call) Run added in v0.46.0

func (*ConsensusMetrics_FinishCollectionToFinalized_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics_OnApprovalProcessingDuration_Call added in v0.46.0

type ConsensusMetrics_OnApprovalProcessingDuration_Call struct {
	*mock.Call
}

ConsensusMetrics_OnApprovalProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnApprovalProcessingDuration'

func (*ConsensusMetrics_OnApprovalProcessingDuration_Call) Return added in v0.46.0

func (*ConsensusMetrics_OnApprovalProcessingDuration_Call) Run added in v0.46.0

func (*ConsensusMetrics_OnApprovalProcessingDuration_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics_OnReceiptProcessingDuration_Call added in v0.46.0

type ConsensusMetrics_OnReceiptProcessingDuration_Call struct {
	*mock.Call
}

ConsensusMetrics_OnReceiptProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReceiptProcessingDuration'

func (*ConsensusMetrics_OnReceiptProcessingDuration_Call) Return added in v0.46.0

func (*ConsensusMetrics_OnReceiptProcessingDuration_Call) Run added in v0.46.0

func (*ConsensusMetrics_OnReceiptProcessingDuration_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics_StartBlockToSeal_Call added in v0.46.0

type ConsensusMetrics_StartBlockToSeal_Call struct {
	*mock.Call
}

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 (*ConsensusMetrics_StartBlockToSeal_Call) Run added in v0.46.0

func (*ConsensusMetrics_StartBlockToSeal_Call) RunAndReturn added in v0.46.0

type ConsensusMetrics_StartCollectionToFinalized_Call added in v0.46.0

type ConsensusMetrics_StartCollectionToFinalized_Call struct {
	*mock.Call
}

ConsensusMetrics_StartCollectionToFinalized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartCollectionToFinalized'

func (*ConsensusMetrics_StartCollectionToFinalized_Call) Return added in v0.46.0

func (*ConsensusMetrics_StartCollectionToFinalized_Call) Run added in v0.46.0

func (*ConsensusMetrics_StartCollectionToFinalized_Call) RunAndReturn added in v0.46.0

type CruiseCtlMetrics added in v0.31.0

type CruiseCtlMetrics struct {
	mock.Mock
}

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 (*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

type CruiseCtlMetrics_ControllerOutput_Call struct {
	*mock.Call
}

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 (*CruiseCtlMetrics_ControllerOutput_Call) Run added in v0.46.0

func (*CruiseCtlMetrics_ControllerOutput_Call) RunAndReturn added in v0.46.0

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

type CruiseCtlMetrics_PIDError_Call struct {
	*mock.Call
}

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 (*CruiseCtlMetrics_PIDError_Call) Run added in v0.46.0

func (*CruiseCtlMetrics_PIDError_Call) RunAndReturn added in v0.46.0

type CruiseCtlMetrics_ProposalPublicationDelay_Call added in v0.46.0

type CruiseCtlMetrics_ProposalPublicationDelay_Call struct {
	*mock.Call
}

CruiseCtlMetrics_ProposalPublicationDelay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalPublicationDelay'

func (*CruiseCtlMetrics_ProposalPublicationDelay_Call) Return added in v0.46.0

func (*CruiseCtlMetrics_ProposalPublicationDelay_Call) Run added in v0.46.0

func (*CruiseCtlMetrics_ProposalPublicationDelay_Call) RunAndReturn added in v0.46.0

type CruiseCtlMetrics_TargetProposalDuration_Call added in v0.46.0

type CruiseCtlMetrics_TargetProposalDuration_Call struct {
	*mock.Call
}

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 (*CruiseCtlMetrics_TargetProposalDuration_Call) Run added in v0.46.0

func (*CruiseCtlMetrics_TargetProposalDuration_Call) RunAndReturn added in v0.46.0

type DHTMetrics added in v0.26.17

type DHTMetrics struct {
	mock.Mock
}

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

type DHTMetrics_RoutingTablePeerAdded_Call struct {
	*mock.Call
}

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 (*DHTMetrics_RoutingTablePeerAdded_Call) Run added in v0.46.0

func (*DHTMetrics_RoutingTablePeerAdded_Call) RunAndReturn added in v0.46.0

type DHTMetrics_RoutingTablePeerRemoved_Call added in v0.46.0

type DHTMetrics_RoutingTablePeerRemoved_Call struct {
	*mock.Call
}

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 (*DHTMetrics_RoutingTablePeerRemoved_Call) Run added in v0.46.0

func (*DHTMetrics_RoutingTablePeerRemoved_Call) RunAndReturn added in v0.46.0

type DKGBroker added in v0.20.0

type DKGBroker struct {
	mock.Mock
}

DKGBroker is an autogenerated mock type for the DKGBroker type

func NewDKGBroker added in v0.26.1

func NewDKGBroker(t interface {
	mock.TestingT
	Cleanup(func())
}) *DKGBroker

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

func (_mock *DKGBroker) Broadcast(data []byte)

Broadcast provides a mock function for the type DKGBroker

func (*DKGBroker) Disqualify added in v0.20.0

func (_mock *DKGBroker) Disqualify(index int, log string)

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

func (_mock *DKGBroker) FlagMisbehavior(index int, log string)

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

func (_mock *DKGBroker) GetIndex() int

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

func (_mock *DKGBroker) PrivateSend(dest int, data []byte)

PrivateSend provides a mock function for the type DKGBroker

func (*DKGBroker) Shutdown added in v0.20.0

func (_mock *DKGBroker) Shutdown()

Shutdown provides a mock function for the type DKGBroker

func (*DKGBroker) SubmitResult added in v0.20.0

func (_mock *DKGBroker) SubmitResult(publicKey crypto.PublicKey, publicKeys []crypto.PublicKey) error

SubmitResult provides a mock function for the type DKGBroker

type DKGBroker_Broadcast_Call added in v0.46.0

type DKGBroker_Broadcast_Call struct {
	*mock.Call
}

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 (*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

type DKGBroker_Disqualify_Call struct {
	*mock.Call
}

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 (*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

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

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

type DKGBroker_FlagMisbehavior_Call struct {
	*mock.Call
}

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 (*DKGBroker_FlagMisbehavior_Call) Run added in v0.46.0

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

type DKGBroker_GetBroadcastMsgCh_Call struct {
	*mock.Call
}

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 (*DKGBroker_GetBroadcastMsgCh_Call) Run added in v0.46.0

func (*DKGBroker_GetBroadcastMsgCh_Call) RunAndReturn added in v0.46.0

type DKGBroker_GetIndex_Call added in v0.46.0

type DKGBroker_GetIndex_Call struct {
	*mock.Call
}

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 (*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

type DKGBroker_GetPrivateMsgCh_Call struct {
	*mock.Call
}

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 (*DKGBroker_GetPrivateMsgCh_Call) Run added in v0.46.0

func (*DKGBroker_GetPrivateMsgCh_Call) RunAndReturn added in v0.46.0

type DKGBroker_Poll_Call added in v0.46.0

type DKGBroker_Poll_Call struct {
	*mock.Call
}

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 (*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

type DKGBroker_PrivateSend_Call struct {
	*mock.Call
}

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 (*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

type DKGBroker_Shutdown_Call struct {
	*mock.Call
}

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 (*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

type DKGBroker_SubmitResult_Call struct {
	*mock.Call
}

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 (*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

type DKGContractClient struct {
	mock.Mock
}

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 (*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

type DKGContractClient_Broadcast_Call struct {
	*mock.Call
}

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 (*DKGContractClient_Broadcast_Call) Run added in v0.46.0

func (*DKGContractClient_Broadcast_Call) RunAndReturn added in v0.46.0

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

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

type DKGContractClient_ReadBroadcast_Call struct {
	*mock.Call
}

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 (*DKGContractClient_ReadBroadcast_Call) Run added in v0.46.0

func (*DKGContractClient_ReadBroadcast_Call) RunAndReturn added in v0.46.0

type DKGContractClient_SubmitEmptyResult_Call added in v0.46.0

type DKGContractClient_SubmitEmptyResult_Call struct {
	*mock.Call
}

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 (*DKGContractClient_SubmitEmptyResult_Call) Run added in v0.46.0

func (*DKGContractClient_SubmitEmptyResult_Call) RunAndReturn added in v0.46.0

type DKGContractClient_SubmitParametersAndResult_Call added in v0.46.0

type DKGContractClient_SubmitParametersAndResult_Call struct {
	*mock.Call
}

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 (*DKGContractClient_SubmitParametersAndResult_Call) Run added in v0.46.0

func (*DKGContractClient_SubmitParametersAndResult_Call) RunAndReturn added in v0.46.0

type DKGController added in v0.20.0

type DKGController struct {
	mock.Mock
}

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

type DKGControllerFactory struct {
	mock.Mock
}

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

type DKGControllerFactory_Create_Call added in v0.46.0

type DKGControllerFactory_Create_Call struct {
	*mock.Call
}

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 (*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

type DKGController_EndPhase1_Call struct {
	*mock.Call
}

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 (*DKGController_EndPhase1_Call) Run added in v0.46.0

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

type DKGController_EndPhase2_Call struct {
	*mock.Call
}

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 (*DKGController_EndPhase2_Call) Run added in v0.46.0

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

type DKGController_End_Call struct {
	*mock.Call
}

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 (*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

End is a helper method to define mock.On call

func (*DKGController_Expecter) EndPhase1 added in v0.46.0

EndPhase1 is a helper method to define mock.On call

func (*DKGController_Expecter) EndPhase2 added in v0.46.0

EndPhase2 is a helper method to define mock.On call

func (*DKGController_Expecter) GetArtifacts added in v0.46.0

GetArtifacts is a helper method to define mock.On call

func (*DKGController_Expecter) GetIndex added in v0.46.0

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

Run is a helper method to define mock.On call

func (*DKGController_Expecter) Shutdown added in v0.46.0

Shutdown is a helper method to define mock.On call

func (*DKGController_Expecter) SubmitResult added in v0.46.0

SubmitResult is a helper method to define mock.On call

type DKGController_GetArtifacts_Call added in v0.46.0

type DKGController_GetArtifacts_Call struct {
	*mock.Call
}

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 (*DKGController_GetArtifacts_Call) Run added in v0.46.0

func (*DKGController_GetArtifacts_Call) RunAndReturn added in v0.46.0

type DKGController_GetIndex_Call added in v0.46.0

type DKGController_GetIndex_Call struct {
	*mock.Call
}

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 (*DKGController_GetIndex_Call) Run added in v0.46.0

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

type DKGController_Poll_Call struct {
	*mock.Call
}

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 (*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

type DKGController_Run_Call struct {
	*mock.Call
}

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 (*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

type DKGController_Shutdown_Call struct {
	*mock.Call
}

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 (*DKGController_Shutdown_Call) Run added in v0.46.0

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

type DKGController_SubmitResult_Call struct {
	*mock.Call
}

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 (*DKGController_SubmitResult_Call) Run added in v0.46.0

func (*DKGController_SubmitResult_Call) RunAndReturn added in v0.46.0

type DKGProcessor added in v0.43.2

type DKGProcessor struct {
	mock.Mock
}

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

type DKGProcessor_Broadcast_Call struct {
	*mock.Call
}

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 (*DKGProcessor_Broadcast_Call) Run added in v0.46.0

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

type DKGProcessor_Disqualify_Call struct {
	*mock.Call
}

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 (*DKGProcessor_Disqualify_Call) Run added in v0.46.0

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

type DKGProcessor_FlagMisbehavior_Call struct {
	*mock.Call
}

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 (*DKGProcessor_FlagMisbehavior_Call) Run added in v0.46.0

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

type DKGProcessor_PrivateSend_Call struct {
	*mock.Call
}

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 (*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

type DKGState struct {
	mock.Mock
}

DKGState is an autogenerated mock type for the DKGState type

func NewDKGState added in v0.43.2

func NewDKGState(t interface {
	mock.TestingT
	Cleanup(func())
}) *DKGState

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) End added in v0.43.2

End provides a mock function for the type DKGState

func (*DKGState) ForceDisqualify added in v0.43.2

func (_mock *DKGState) ForceDisqualify(participant int) error

ForceDisqualify provides a mock function for the type DKGState

func (*DKGState) HandleBroadcastMsg added in v0.43.2

func (_mock *DKGState) HandleBroadcastMsg(orig int, msg []byte) error

HandleBroadcastMsg provides a mock function for the type DKGState

func (*DKGState) HandlePrivateMsg added in v0.43.2

func (_mock *DKGState) HandlePrivateMsg(orig int, msg []byte) error

HandlePrivateMsg provides a mock function for the type DKGState

func (*DKGState) NextTimeout added in v0.43.2

func (_mock *DKGState) NextTimeout() error

NextTimeout provides a mock function for the type DKGState

func (*DKGState) Running added in v0.43.2

func (_mock *DKGState) Running() bool

Running provides a mock function for the type DKGState

func (*DKGState) Size added in v0.43.2

func (_mock *DKGState) Size() int

Size provides a mock function for the type DKGState

func (*DKGState) Start added in v0.43.2

func (_mock *DKGState) Start(seed []byte) error

Start provides a mock function for the type DKGState

func (*DKGState) Threshold added in v0.43.2

func (_mock *DKGState) Threshold() int

Threshold provides a mock function for the type DKGState

type DKGState_End_Call added in v0.46.0

type DKGState_End_Call struct {
	*mock.Call
}

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

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

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

Running is a helper method to define mock.On call

func (*DKGState_Expecter) Size added in v0.46.0

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

type DKGState_ForceDisqualify_Call struct {
	*mock.Call
}

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 (*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

type DKGState_HandleBroadcastMsg_Call struct {
	*mock.Call
}

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 (*DKGState_HandleBroadcastMsg_Call) Run added in v0.46.0

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

type DKGState_HandlePrivateMsg_Call struct {
	*mock.Call
}

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 (*DKGState_HandlePrivateMsg_Call) Run added in v0.46.0

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

type DKGState_NextTimeout_Call struct {
	*mock.Call
}

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 (*DKGState_NextTimeout_Call) Run added in v0.46.0

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

type DKGState_Running_Call struct {
	*mock.Call
}

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 (*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

type DKGState_Size_Call struct {
	*mock.Call
}

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

type DKGState_Start_Call struct {
	*mock.Call
}

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 (*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

type DKGState_Threshold_Call struct {
	*mock.Call
}

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 (*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

type EVMMetrics struct {
	mock.Mock
}

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

type EVMMetrics_EVMBlockExecuted_Call struct {
	*mock.Call
}

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 (*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

type EVMMetrics_EVMTransactionExecuted_Call struct {
	*mock.Call
}

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 (*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

type EVMMetrics_SetNumberOfDeployedCOAs_Call struct {
	*mock.Call
}

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 (*EVMMetrics_SetNumberOfDeployedCOAs_Call) Run added in v0.46.0

func (*EVMMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn added in v0.46.0

type EngineMetrics

type EngineMetrics struct {
	mock.Mock
}

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

type EngineMetrics_InboundMessageDropped_Call struct {
	*mock.Call
}

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 (*EngineMetrics_InboundMessageDropped_Call) Run added in v0.46.0

func (*EngineMetrics_InboundMessageDropped_Call) RunAndReturn added in v0.46.0

type EngineMetrics_MessageHandled_Call added in v0.46.0

type EngineMetrics_MessageHandled_Call struct {
	*mock.Call
}

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 (*EngineMetrics_MessageHandled_Call) Run added in v0.46.0

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

type EngineMetrics_MessageReceived_Call struct {
	*mock.Call
}

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 (*EngineMetrics_MessageReceived_Call) Run added in v0.46.0

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

type EngineMetrics_MessageSent_Call struct {
	*mock.Call
}

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 (*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

type EngineMetrics_OutboundMessageDropped_Call struct {
	*mock.Call
}

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 (*EngineMetrics_OutboundMessageDropped_Call) Run added in v0.46.0

func (*EngineMetrics_OutboundMessageDropped_Call) RunAndReturn added in v0.46.0

type EpochLookup added in v0.20.0

type EpochLookup struct {
	mock.Mock
}

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

type EpochLookup_EpochForView_Call struct {
	*mock.Call
}

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 (*EpochLookup_EpochForView_Call) Run added in v0.46.0

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

type ExecutionDataProviderMetrics struct {
	mock.Mock
}

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 (*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

type ExecutionDataProviderMetrics_AddBlobsFailed_Call struct {
	*mock.Call
}

ExecutionDataProviderMetrics_AddBlobsFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlobsFailed'

func (*ExecutionDataProviderMetrics_AddBlobsFailed_Call) Return added in v0.46.0

func (*ExecutionDataProviderMetrics_AddBlobsFailed_Call) Run added in v0.46.0

func (*ExecutionDataProviderMetrics_AddBlobsFailed_Call) RunAndReturn added in v0.46.0

type ExecutionDataProviderMetrics_AddBlobsSucceeded_Call added in v0.46.0

type ExecutionDataProviderMetrics_AddBlobsSucceeded_Call struct {
	*mock.Call
}

ExecutionDataProviderMetrics_AddBlobsSucceeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlobsSucceeded'

func (*ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) Return added in v0.46.0

func (*ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) Run added in v0.46.0

func (*ExecutionDataProviderMetrics_AddBlobsSucceeded_Call) RunAndReturn added in v0.46.0

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

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

type ExecutionDataProviderMetrics_RootIDComputed_Call struct {
	*mock.Call
}

ExecutionDataProviderMetrics_RootIDComputed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RootIDComputed'

func (*ExecutionDataProviderMetrics_RootIDComputed_Call) Return added in v0.46.0

func (*ExecutionDataProviderMetrics_RootIDComputed_Call) Run added in v0.46.0

func (*ExecutionDataProviderMetrics_RootIDComputed_Call) RunAndReturn added in v0.46.0

type ExecutionDataPrunerMetrics added in v0.27.2

type ExecutionDataPrunerMetrics struct {
	mock.Mock
}

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 (*ExecutionDataPrunerMetrics) Pruned added in v0.27.2

func (_mock *ExecutionDataPrunerMetrics) Pruned(height uint64, duration time.Duration)

Pruned provides a mock function for the type ExecutionDataPrunerMetrics

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

type ExecutionDataPrunerMetrics_Pruned_Call struct {
	*mock.Call
}

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 (*ExecutionDataPrunerMetrics_Pruned_Call) Run added in v0.46.0

func (*ExecutionDataPrunerMetrics_Pruned_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterMetrics added in v0.26.2

type ExecutionDataRequesterMetrics struct {
	mock.Mock
}

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 (*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

type ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call struct {
	*mock.Call
}

ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionDataFetchFinished'

func (*ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) Return added in v0.46.0

func (*ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) Run added in v0.46.0

func (*ExecutionDataRequesterMetrics_ExecutionDataFetchFinished_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call added in v0.46.0

type ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call struct {
	*mock.Call
}

ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionDataFetchStarted'

func (*ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) Return added in v0.46.0

func (*ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) Run added in v0.46.0

func (*ExecutionDataRequesterMetrics_ExecutionDataFetchStarted_Call) RunAndReturn added in v0.46.0

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

ExecutionDataFetchStarted is a helper method to define mock.On call

func (*ExecutionDataRequesterMetrics_Expecter) FetchRetried added in v0.46.0

FetchRetried is a helper method to define mock.On call

func (*ExecutionDataRequesterMetrics_Expecter) NotificationSent added in v0.46.0

NotificationSent is a helper method to define mock.On call

  • height uint64

type ExecutionDataRequesterMetrics_FetchRetried_Call added in v0.46.0

type ExecutionDataRequesterMetrics_FetchRetried_Call struct {
	*mock.Call
}

ExecutionDataRequesterMetrics_FetchRetried_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchRetried'

func (*ExecutionDataRequesterMetrics_FetchRetried_Call) Return added in v0.46.0

func (*ExecutionDataRequesterMetrics_FetchRetried_Call) Run added in v0.46.0

func (*ExecutionDataRequesterMetrics_FetchRetried_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterMetrics_NotificationSent_Call added in v0.46.0

type ExecutionDataRequesterMetrics_NotificationSent_Call struct {
	*mock.Call
}

ExecutionDataRequesterMetrics_NotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotificationSent'

func (*ExecutionDataRequesterMetrics_NotificationSent_Call) Return added in v0.46.0

func (*ExecutionDataRequesterMetrics_NotificationSent_Call) Run added in v0.46.0

func (*ExecutionDataRequesterMetrics_NotificationSent_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterV2Metrics added in v0.27.2

type ExecutionDataRequesterV2Metrics struct {
	mock.Mock
}

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 (*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

FulfilledHeight is a helper method to define mock.On call

  • blockHeight uint64

func (*ExecutionDataRequesterV2Metrics_Expecter) ReceiptSkipped added in v0.46.0

ReceiptSkipped is a helper method to define mock.On call

func (*ExecutionDataRequesterV2Metrics_Expecter) RequestCanceled added in v0.46.0

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

ResponseDropped is a helper method to define mock.On call

type ExecutionDataRequesterV2Metrics_FulfilledHeight_Call added in v0.46.0

type ExecutionDataRequesterV2Metrics_FulfilledHeight_Call struct {
	*mock.Call
}

ExecutionDataRequesterV2Metrics_FulfilledHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FulfilledHeight'

func (*ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) Return added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) Run added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_FulfilledHeight_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call added in v0.46.0

type ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call struct {
	*mock.Call
}

ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReceiptSkipped'

func (*ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) Return added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) Run added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_ReceiptSkipped_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterV2Metrics_RequestCanceled_Call added in v0.46.0

type ExecutionDataRequesterV2Metrics_RequestCanceled_Call struct {
	*mock.Call
}

ExecutionDataRequesterV2Metrics_RequestCanceled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestCanceled'

func (*ExecutionDataRequesterV2Metrics_RequestCanceled_Call) Return added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_RequestCanceled_Call) Run added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_RequestCanceled_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterV2Metrics_RequestFailed_Call added in v0.46.0

type ExecutionDataRequesterV2Metrics_RequestFailed_Call struct {
	*mock.Call
}

ExecutionDataRequesterV2Metrics_RequestFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestFailed'

func (*ExecutionDataRequesterV2Metrics_RequestFailed_Call) Return added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_RequestFailed_Call) Run added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_RequestFailed_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequesterV2Metrics_RequestSucceeded_Call added in v0.46.0

type ExecutionDataRequesterV2Metrics_RequestSucceeded_Call struct {
	*mock.Call
}

ExecutionDataRequesterV2Metrics_RequestSucceeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestSucceeded'

func (*ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) Return added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_RequestSucceeded_Call) Run added in v0.46.0

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

type ExecutionDataRequesterV2Metrics_ResponseDropped_Call struct {
	*mock.Call
}

ExecutionDataRequesterV2Metrics_ResponseDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResponseDropped'

func (*ExecutionDataRequesterV2Metrics_ResponseDropped_Call) Return added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_ResponseDropped_Call) Run added in v0.46.0

func (*ExecutionDataRequesterV2Metrics_ResponseDropped_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics

type ExecutionMetrics struct {
	mock.Mock
}

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 (*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

type ExecutionMetrics_ChunkDataPackRequestProcessed_Call struct {
	*mock.Call
}

ExecutionMetrics_ChunkDataPackRequestProcessed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkDataPackRequestProcessed'

func (*ExecutionMetrics_ChunkDataPackRequestProcessed_Call) Return added in v0.46.0

func (*ExecutionMetrics_ChunkDataPackRequestProcessed_Call) Run added in v0.46.0

func (*ExecutionMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_EVMBlockExecuted_Call added in v0.46.0

type ExecutionMetrics_EVMBlockExecuted_Call struct {
	*mock.Call
}

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 (*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

type ExecutionMetrics_EVMTransactionExecuted_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_EVMTransactionExecuted_Call) Run added in v0.46.0

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

type ExecutionMetrics_ExecutionBlockCachedPrograms_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionBlockCachedPrograms_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockCachedPrograms'

func (*ExecutionMetrics_ExecutionBlockCachedPrograms_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockCachedPrograms_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockCachedPrograms_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionBlockDataUploadFinished_Call added in v0.46.0

type ExecutionMetrics_ExecutionBlockDataUploadFinished_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionBlockDataUploadFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockDataUploadFinished'

func (*ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockDataUploadFinished_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionBlockDataUploadStarted_Call added in v0.46.0

type ExecutionMetrics_ExecutionBlockDataUploadStarted_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionBlockDataUploadStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionBlockDataUploadStarted'

func (*ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockDataUploadStarted_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionBlockExecuted_Call added in v0.46.0

type ExecutionMetrics_ExecutionBlockExecuted_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ExecutionBlockExecuted_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockExecuted_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call added in v0.46.0

type ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionBlockExecutionEffortVectorComponent_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionCheckpointSize_Call added in v0.46.0

type ExecutionMetrics_ExecutionCheckpointSize_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionCheckpointSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCheckpointSize'

func (*ExecutionMetrics_ExecutionCheckpointSize_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionCheckpointSize_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionCheckpointSize_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionChunkDataPackGenerated_Call added in v0.46.0

type ExecutionMetrics_ExecutionChunkDataPackGenerated_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionChunkDataPackGenerated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionChunkDataPackGenerated'

func (*ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionChunkDataPackGenerated_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionCollectionExecuted_Call added in v0.46.0

type ExecutionMetrics_ExecutionCollectionExecuted_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionCollectionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCollectionExecuted'

func (*ExecutionMetrics_ExecutionCollectionExecuted_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionCollectionExecuted_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionCollectionExecuted_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionCollectionRequestSent_Call added in v0.46.0

type ExecutionMetrics_ExecutionCollectionRequestSent_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionCollectionRequestSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionCollectionRequestSent'

func (*ExecutionMetrics_ExecutionCollectionRequestSent_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionCollectionRequestSent_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionCollectionRequestSent_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionComputationResultUploadRetried_Call added in v0.46.0

type ExecutionMetrics_ExecutionComputationResultUploadRetried_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionComputationResultUploadRetried_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionComputationResultUploadRetried'

func (*ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionComputationResultUploadRetried_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionComputationResultUploaded_Call added in v0.46.0

type ExecutionMetrics_ExecutionComputationResultUploaded_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionComputationResultUploaded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionComputationResultUploaded'

func (*ExecutionMetrics_ExecutionComputationResultUploaded_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionComputationResultUploaded_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionComputationResultUploaded_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call added in v0.46.0

type ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionLastChunkDataPackPrunedHeight'

func (*ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionLastChunkDataPackPrunedHeight_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call added in v0.46.0

type ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionLastExecutedBlockHeight'

func (*ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionLastExecutedBlockHeight_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call added in v0.46.0

type ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionLastFinalizedExecutedBlockHeight'

func (*ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionLastFinalizedExecutedBlockHeight_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call added in v0.46.0

type ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionScheduledTransactionsExecuted'

func (*ExecutionMetrics_ExecutionScheduledTransactionsExecuted_Call) Return added in v0.46.0

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

type ExecutionMetrics_ExecutionScriptExecuted_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionScriptExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionScriptExecuted'

func (*ExecutionMetrics_ExecutionScriptExecuted_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionScriptExecuted_Call) Run added in v0.46.0

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

type ExecutionMetrics_ExecutionStorageStateCommitment_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionStorageStateCommitment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionStorageStateCommitment'

func (*ExecutionMetrics_ExecutionStorageStateCommitment_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionStorageStateCommitment_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionStorageStateCommitment_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionSync_Call added in v0.46.0

type ExecutionMetrics_ExecutionSync_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ExecutionSync_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionSync_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call added in v0.46.0

type ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionTargetChunkDataPackPrunedHeight'

func (*ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionTargetChunkDataPackPrunedHeight_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ExecutionTransactionExecuted_Call added in v0.46.0

type ExecutionMetrics_ExecutionTransactionExecuted_Call struct {
	*mock.Call
}

ExecutionMetrics_ExecutionTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionTransactionExecuted'

func (*ExecutionMetrics_ExecutionTransactionExecuted_Call) Return added in v0.46.0

func (*ExecutionMetrics_ExecutionTransactionExecuted_Call) Run added in v0.46.0

func (*ExecutionMetrics_ExecutionTransactionExecuted_Call) RunAndReturn added in v0.46.0

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

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

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

ExecutionCollectionRequestSent is a helper method to define mock.On call

func (*ExecutionMetrics_Expecter) ExecutionComputationResultUploadRetried added in v0.46.0

ExecutionComputationResultUploadRetried is a helper method to define mock.On call

func (*ExecutionMetrics_Expecter) ExecutionComputationResultUploaded added in v0.46.0

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

RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call

func (*ExecutionMetrics_Expecter) RuntimeTransactionProgramsCacheMiss added in v0.46.0

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

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

type ExecutionMetrics_FinishBlockReceivedToExecuted_Call struct {
	*mock.Call
}

ExecutionMetrics_FinishBlockReceivedToExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinishBlockReceivedToExecuted'

func (*ExecutionMetrics_FinishBlockReceivedToExecuted_Call) Return added in v0.46.0

func (*ExecutionMetrics_FinishBlockReceivedToExecuted_Call) Run added in v0.46.0

func (*ExecutionMetrics_FinishBlockReceivedToExecuted_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ForestApproxMemorySize_Call added in v0.46.0

type ExecutionMetrics_ForestApproxMemorySize_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ForestApproxMemorySize_Call) Run added in v0.46.0

func (*ExecutionMetrics_ForestApproxMemorySize_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ForestNumberOfTrees_Call added in v0.46.0

type ExecutionMetrics_ForestNumberOfTrees_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ForestNumberOfTrees_Call) Run added in v0.46.0

func (*ExecutionMetrics_ForestNumberOfTrees_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_LatestTrieMaxDepthTouched_Call added in v0.46.0

type ExecutionMetrics_LatestTrieMaxDepthTouched_Call struct {
	*mock.Call
}

ExecutionMetrics_LatestTrieMaxDepthTouched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestTrieMaxDepthTouched'

func (*ExecutionMetrics_LatestTrieMaxDepthTouched_Call) Return added in v0.46.0

func (*ExecutionMetrics_LatestTrieMaxDepthTouched_Call) Run added in v0.46.0

func (*ExecutionMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_LatestTrieRegCountDiff_Call added in v0.46.0

type ExecutionMetrics_LatestTrieRegCountDiff_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_LatestTrieRegCountDiff_Call) Run added in v0.46.0

func (*ExecutionMetrics_LatestTrieRegCountDiff_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_LatestTrieRegCount_Call added in v0.46.0

type ExecutionMetrics_LatestTrieRegCount_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_LatestTrieRegCount_Call) Run added in v0.46.0

func (*ExecutionMetrics_LatestTrieRegCount_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_LatestTrieRegSizeDiff_Call added in v0.46.0

type ExecutionMetrics_LatestTrieRegSizeDiff_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_LatestTrieRegSizeDiff_Call) Run added in v0.46.0

func (*ExecutionMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_LatestTrieRegSize_Call added in v0.46.0

type ExecutionMetrics_LatestTrieRegSize_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_LatestTrieRegSize_Call) Run added in v0.46.0

func (*ExecutionMetrics_LatestTrieRegSize_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ProofSize_Call added in v0.46.0

type ExecutionMetrics_ProofSize_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ProofSize_Call) Run added in v0.46.0

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

type ExecutionMetrics_ReadDurationPerItem_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ReadDurationPerItem_Call) Run added in v0.46.0

func (*ExecutionMetrics_ReadDurationPerItem_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ReadDuration_Call added in v0.46.0

type ExecutionMetrics_ReadDuration_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ReadDuration_Call) Run added in v0.46.0

func (*ExecutionMetrics_ReadDuration_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ReadValuesNumber_Call added in v0.46.0

type ExecutionMetrics_ReadValuesNumber_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ReadValuesNumber_Call) Run added in v0.46.0

func (*ExecutionMetrics_ReadValuesNumber_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_ReadValuesSize_Call added in v0.46.0

type ExecutionMetrics_ReadValuesSize_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_ReadValuesSize_Call) Run added in v0.46.0

func (*ExecutionMetrics_ReadValuesSize_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_RuntimeSetNumberOfAccounts_Call added in v0.46.0

type ExecutionMetrics_RuntimeSetNumberOfAccounts_Call struct {
	*mock.Call
}

ExecutionMetrics_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'

func (*ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) Return added in v0.46.0

func (*ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) Run added in v0.46.0

func (*ExecutionMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_RuntimeTransactionChecked_Call added in v0.46.0

type ExecutionMetrics_RuntimeTransactionChecked_Call struct {
	*mock.Call
}

ExecutionMetrics_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'

func (*ExecutionMetrics_RuntimeTransactionChecked_Call) Return added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionChecked_Call) Run added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionChecked_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_RuntimeTransactionInterpreted_Call added in v0.46.0

type ExecutionMetrics_RuntimeTransactionInterpreted_Call struct {
	*mock.Call
}

ExecutionMetrics_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'

func (*ExecutionMetrics_RuntimeTransactionInterpreted_Call) Return added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionInterpreted_Call) Run added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_RuntimeTransactionParsed_Call added in v0.46.0

type ExecutionMetrics_RuntimeTransactionParsed_Call struct {
	*mock.Call
}

ExecutionMetrics_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'

func (*ExecutionMetrics_RuntimeTransactionParsed_Call) Return added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionParsed_Call) Run added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionParsed_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call added in v0.46.0

type ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call struct {
	*mock.Call
}

ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'

func (*ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) Return added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) Run added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call added in v0.46.0

type ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call struct {
	*mock.Call
}

ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'

func (*ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) Return added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run added in v0.46.0

func (*ExecutionMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_SetNumberOfDeployedCOAs_Call added in v0.46.0

type ExecutionMetrics_SetNumberOfDeployedCOAs_Call struct {
	*mock.Call
}

ExecutionMetrics_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'

func (*ExecutionMetrics_SetNumberOfDeployedCOAs_Call) Return added in v0.46.0

func (*ExecutionMetrics_SetNumberOfDeployedCOAs_Call) Run added in v0.46.0

func (*ExecutionMetrics_SetNumberOfDeployedCOAs_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_StartBlockReceivedToExecuted_Call added in v0.46.0

type ExecutionMetrics_StartBlockReceivedToExecuted_Call struct {
	*mock.Call
}

ExecutionMetrics_StartBlockReceivedToExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartBlockReceivedToExecuted'

func (*ExecutionMetrics_StartBlockReceivedToExecuted_Call) Return added in v0.46.0

func (*ExecutionMetrics_StartBlockReceivedToExecuted_Call) Run added in v0.46.0

func (*ExecutionMetrics_StartBlockReceivedToExecuted_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_UpdateCollectionMaxHeight_Call added in v0.46.0

type ExecutionMetrics_UpdateCollectionMaxHeight_Call struct {
	*mock.Call
}

ExecutionMetrics_UpdateCollectionMaxHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCollectionMaxHeight'

func (*ExecutionMetrics_UpdateCollectionMaxHeight_Call) Return added in v0.46.0

func (*ExecutionMetrics_UpdateCollectionMaxHeight_Call) Run added in v0.46.0

func (*ExecutionMetrics_UpdateCollectionMaxHeight_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_UpdateCount_Call added in v0.46.0

type ExecutionMetrics_UpdateCount_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_UpdateCount_Call) Run added in v0.46.0

func (*ExecutionMetrics_UpdateCount_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_UpdateDurationPerItem_Call added in v0.46.0

type ExecutionMetrics_UpdateDurationPerItem_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_UpdateDurationPerItem_Call) Run added in v0.46.0

func (*ExecutionMetrics_UpdateDurationPerItem_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_UpdateDuration_Call added in v0.46.0

type ExecutionMetrics_UpdateDuration_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_UpdateDuration_Call) Run added in v0.46.0

func (*ExecutionMetrics_UpdateDuration_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_UpdateValuesNumber_Call added in v0.46.0

type ExecutionMetrics_UpdateValuesNumber_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_UpdateValuesNumber_Call) Run added in v0.46.0

func (*ExecutionMetrics_UpdateValuesNumber_Call) RunAndReturn added in v0.46.0

type ExecutionMetrics_UpdateValuesSize_Call added in v0.46.0

type ExecutionMetrics_UpdateValuesSize_Call struct {
	*mock.Call
}

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 (*ExecutionMetrics_UpdateValuesSize_Call) Run added in v0.46.0

func (*ExecutionMetrics_UpdateValuesSize_Call) RunAndReturn added in v0.46.0

type ExecutionStateIndexerMetrics added in v0.32.1

type ExecutionStateIndexerMetrics struct {
	mock.Mock
}

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 (*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

type ExecutionStateIndexerMetrics_BlockIndexed_Call struct {
	*mock.Call
}

ExecutionStateIndexerMetrics_BlockIndexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIndexed'

func (*ExecutionStateIndexerMetrics_BlockIndexed_Call) Return added in v0.46.0

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

type ExecutionStateIndexerMetrics_BlockReindexed_Call struct {
	*mock.Call
}

ExecutionStateIndexerMetrics_BlockReindexed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockReindexed'

func (*ExecutionStateIndexerMetrics_BlockReindexed_Call) Return added in v0.46.0

func (*ExecutionStateIndexerMetrics_BlockReindexed_Call) Run added in v0.46.0

func (*ExecutionStateIndexerMetrics_BlockReindexed_Call) RunAndReturn added in v0.46.0

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

BlockReindexed is a helper method to define mock.On call

func (*ExecutionStateIndexerMetrics_Expecter) InitializeLatestHeight added in v0.46.0

InitializeLatestHeight is a helper method to define mock.On call

  • height uint64

type ExecutionStateIndexerMetrics_InitializeLatestHeight_Call added in v0.46.0

type ExecutionStateIndexerMetrics_InitializeLatestHeight_Call struct {
	*mock.Call
}

ExecutionStateIndexerMetrics_InitializeLatestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitializeLatestHeight'

func (*ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) Return added in v0.46.0

func (*ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) Run added in v0.46.0

func (*ExecutionStateIndexerMetrics_InitializeLatestHeight_Call) RunAndReturn added in v0.46.0

type ExtendedIndexingMetrics added in v0.47.0

type ExtendedIndexingMetrics struct {
	mock.Mock
}

ExtendedIndexingMetrics is an autogenerated mock type for the ExtendedIndexingMetrics type

func NewExtendedIndexingMetrics added in v0.47.0

func NewExtendedIndexingMetrics(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExtendedIndexingMetrics

NewExtendedIndexingMetrics creates a new instance of ExtendedIndexingMetrics. 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 (*ExtendedIndexingMetrics) BlockIndexedExtended added in v0.47.0

func (_mock *ExtendedIndexingMetrics) BlockIndexedExtended(indexer string, height uint64)

BlockIndexedExtended provides a mock function for the type ExtendedIndexingMetrics

func (*ExtendedIndexingMetrics) EXPECT added in v0.47.0

type ExtendedIndexingMetrics_BlockIndexedExtended_Call added in v0.47.0

type ExtendedIndexingMetrics_BlockIndexedExtended_Call struct {
	*mock.Call
}

ExtendedIndexingMetrics_BlockIndexedExtended_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIndexedExtended'

func (*ExtendedIndexingMetrics_BlockIndexedExtended_Call) Return added in v0.47.0

func (*ExtendedIndexingMetrics_BlockIndexedExtended_Call) Run added in v0.47.0

func (*ExtendedIndexingMetrics_BlockIndexedExtended_Call) RunAndReturn added in v0.47.0

type ExtendedIndexingMetrics_Expecter added in v0.47.0

type ExtendedIndexingMetrics_Expecter struct {
	// contains filtered or unexported fields
}

func (*ExtendedIndexingMetrics_Expecter) BlockIndexedExtended added in v0.47.0

func (_e *ExtendedIndexingMetrics_Expecter) BlockIndexedExtended(indexer interface{}, height interface{}) *ExtendedIndexingMetrics_BlockIndexedExtended_Call

BlockIndexedExtended is a helper method to define mock.On call

  • indexer string
  • height uint64

type FinalizedHeaderCache added in v0.31.0

type FinalizedHeaderCache struct {
	mock.Mock
}

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 (*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

Get is a helper method to define mock.On call

type FinalizedHeaderCache_Get_Call added in v0.46.0

type FinalizedHeaderCache_Get_Call struct {
	*mock.Call
}

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 (*FinalizedHeaderCache_Get_Call) Run added in v0.46.0

func (*FinalizedHeaderCache_Get_Call) RunAndReturn added in v0.46.0

type Finalizer

type Finalizer struct {
	mock.Mock
}

Finalizer is an autogenerated mock type for the Finalizer type

func NewFinalizer added in v0.26.1

func NewFinalizer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Finalizer

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

func (*Finalizer) MakeFinal

func (_mock *Finalizer) MakeFinal(blockID flow.Identifier) error

MakeFinal provides a mock function for the type Finalizer

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

type Finalizer_MakeFinal_Call struct {
	*mock.Call
}

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 (*Finalizer_MakeFinal_Call) Run added in v0.46.0

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

type GRPCConnectionPoolMetrics struct {
	mock.Mock
}

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 (*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

type GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionAddedToPool'

func (*GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) Run added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionAddedToPool_Call) RunAndReturn added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolEvicted'

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) Run added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolEvicted_Call) RunAndReturn added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolInvalidated'

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) Run added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolInvalidated_Call) RunAndReturn added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolReused'

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) Run added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolReused_Call) RunAndReturn added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call added in v0.46.0

type GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectionFromPoolUpdated'

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) Run added in v0.46.0

func (*GRPCConnectionPoolMetrics_ConnectionFromPoolUpdated_Call) RunAndReturn added in v0.46.0

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

ConnectionAddedToPool is a helper method to define mock.On call

func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolEvicted added in v0.46.0

ConnectionFromPoolEvicted is a helper method to define mock.On call

func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolInvalidated added in v0.46.0

ConnectionFromPoolInvalidated is a helper method to define mock.On call

func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolReused added in v0.46.0

ConnectionFromPoolReused is a helper method to define mock.On call

func (*GRPCConnectionPoolMetrics_Expecter) ConnectionFromPoolUpdated added in v0.46.0

ConnectionFromPoolUpdated is a helper method to define mock.On call

func (*GRPCConnectionPoolMetrics_Expecter) NewConnectionEstablished added in v0.46.0

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

type GRPCConnectionPoolMetrics_NewConnectionEstablished_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_NewConnectionEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewConnectionEstablished'

func (*GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) Run added in v0.46.0

func (*GRPCConnectionPoolMetrics_NewConnectionEstablished_Call) RunAndReturn added in v0.46.0

type GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call added in v0.46.0

type GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call struct {
	*mock.Call
}

GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalConnectionsInPool'

func (*GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) Return added in v0.46.0

func (*GRPCConnectionPoolMetrics_TotalConnectionsInPool_Call) Run added in v0.46.0

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

type GossipSubMetrics struct {
	mock.Mock
}

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 (*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

type GossipSubMetrics_AsyncProcessingFinished_Call struct {
	*mock.Call
}

GossipSubMetrics_AsyncProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncProcessingFinished'

func (*GossipSubMetrics_AsyncProcessingFinished_Call) Return added in v0.46.0

func (*GossipSubMetrics_AsyncProcessingFinished_Call) Run added in v0.46.0

func (*GossipSubMetrics_AsyncProcessingFinished_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_AsyncProcessingStarted_Call added in v0.46.0

type GossipSubMetrics_AsyncProcessingStarted_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_AsyncProcessingStarted_Call) Run added in v0.46.0

func (*GossipSubMetrics_AsyncProcessingStarted_Call) RunAndReturn added in v0.46.0

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

AsyncProcessingStarted is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnActiveClusterIDsNotSetErr added in v0.46.0

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

OnGraftDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold added in v0.46.0

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

OnIHaveDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold added in v0.46.0

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

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

OnLocalPeerJoinedTopic is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnLocalPeerLeftTopic added in v0.46.0

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

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

OnPeerRemovedFromProtocol is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnPeerThrottled added in v0.46.0

OnPeerThrottled is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold added in v0.46.0

OnPruneDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold added in v0.46.0

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

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

OnUndeliveredMessage is a helper method to define mock.On call

func (*GossipSubMetrics_Expecter) OnUnstakedPeerInspectionFailed added in v0.46.0

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

type GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call struct {
	*mock.Call
}

GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'

func (*GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnAppSpecificScoreUpdated_Call added in v0.46.0

type GossipSubMetrics_OnAppSpecificScoreUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'

func (*GossipSubMetrics_OnAppSpecificScoreUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnAppSpecificScoreUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnBehaviourPenaltyUpdated_Call added in v0.46.0

type GossipSubMetrics_OnBehaviourPenaltyUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'

func (*GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnControlMessagesTruncated_Call added in v0.46.0

type GossipSubMetrics_OnControlMessagesTruncated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'

func (*GossipSubMetrics_OnControlMessagesTruncated_Call) Return added in v0.46.0

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

type GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'

func (*GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'

func (*GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'

func (*GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnGraftMessageInspected_Call added in v0.46.0

type GossipSubMetrics_OnGraftMessageInspected_Call struct {
	*mock.Call
}

GossipSubMetrics_OnGraftMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftMessageInspected'

func (*GossipSubMetrics_OnGraftMessageInspected_Call) Return added in v0.46.0

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

type GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'

func (*GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'

func (*GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'

func (*GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'

func (*GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIHaveMessageIDsReceived_Call added in v0.46.0

type GossipSubMetrics_OnIHaveMessageIDsReceived_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'

func (*GossipSubMetrics_OnIHaveMessageIDsReceived_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIHaveMessageIDsReceived_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIHaveMessagesInspected_Call added in v0.46.0

type GossipSubMetrics_OnIHaveMessagesInspected_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIHaveMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessagesInspected'

func (*GossipSubMetrics_OnIHaveMessagesInspected_Call) Return added in v0.46.0

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

type GossipSubMetrics_OnIPColocationFactorUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'

func (*GossipSubMetrics_OnIPColocationFactorUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIPColocationFactorUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'

func (*GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call added in v0.46.0

type GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'

func (*GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'

func (*GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIWantMessageIDsReceived_Call added in v0.46.0

type GossipSubMetrics_OnIWantMessageIDsReceived_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'

func (*GossipSubMetrics_OnIWantMessageIDsReceived_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIWantMessageIDsReceived_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnIWantMessagesInspected_Call added in v0.46.0

type GossipSubMetrics_OnIWantMessagesInspected_Call struct {
	*mock.Call
}

GossipSubMetrics_OnIWantMessagesInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessagesInspected'

func (*GossipSubMetrics_OnIWantMessagesInspected_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnIWantMessagesInspected_Call) Run added in v0.46.0

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

type GossipSubMetrics_OnIncomingRpcReceived_Call struct {
	*mock.Call
}

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 (*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

type GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call struct {
	*mock.Call
}

GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'

func (*GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call added in v0.46.0

type GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'

func (*GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call added in v0.46.0

type GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call struct {
	*mock.Call
}

GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'

func (*GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnLocalMeshSizeUpdated_Call added in v0.46.0

type GossipSubMetrics_OnLocalMeshSizeUpdated_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnLocalMeshSizeUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnLocalPeerJoinedTopic_Call added in v0.46.0

type GossipSubMetrics_OnLocalPeerJoinedTopic_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnLocalPeerJoinedTopic_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnLocalPeerLeftTopic_Call added in v0.46.0

type GossipSubMetrics_OnLocalPeerLeftTopic_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnLocalPeerLeftTopic_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call added in v0.46.0

type GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'

func (*GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call added in v0.46.0

type GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call struct {
	*mock.Call
}

GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'

func (*GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnMessageDuplicate_Call added in v0.46.0

type GossipSubMetrics_OnMessageDuplicate_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnMessageDuplicate_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnMessageDuplicate_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnMessageEnteredValidation_Call added in v0.46.0

type GossipSubMetrics_OnMessageEnteredValidation_Call struct {
	*mock.Call
}

GossipSubMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'

func (*GossipSubMetrics_OnMessageEnteredValidation_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnMessageEnteredValidation_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnMessageEnteredValidation_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnMessageRejected_Call added in v0.46.0

type GossipSubMetrics_OnMessageRejected_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnMessageRejected_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnMessageRejected_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnOutboundRpcDropped_Call added in v0.46.0

type GossipSubMetrics_OnOutboundRpcDropped_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnOutboundRpcDropped_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnOutboundRpcDropped_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnOverallPeerScoreUpdated_Call added in v0.46.0

type GossipSubMetrics_OnOverallPeerScoreUpdated_Call struct {
	*mock.Call
}

GossipSubMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'

func (*GossipSubMetrics_OnOverallPeerScoreUpdated_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnOverallPeerScoreUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPeerAddedToProtocol_Call added in v0.46.0

type GossipSubMetrics_OnPeerAddedToProtocol_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnPeerAddedToProtocol_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPeerAddedToProtocol_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPeerGraftTopic_Call added in v0.46.0

type GossipSubMetrics_OnPeerGraftTopic_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnPeerGraftTopic_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPeerGraftTopic_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPeerPruneTopic_Call added in v0.46.0

type GossipSubMetrics_OnPeerPruneTopic_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnPeerPruneTopic_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPeerPruneTopic_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPeerRemovedFromProtocol_Call added in v0.46.0

type GossipSubMetrics_OnPeerRemovedFromProtocol_Call struct {
	*mock.Call
}

GossipSubMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'

func (*GossipSubMetrics_OnPeerRemovedFromProtocol_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnPeerRemovedFromProtocol_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPeerThrottled_Call added in v0.46.0

type GossipSubMetrics_OnPeerThrottled_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnPeerThrottled_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPeerThrottled_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'

func (*GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'

func (*GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnPruneMessageInspected_Call added in v0.46.0

type GossipSubMetrics_OnPruneMessageInspected_Call struct {
	*mock.Call
}

GossipSubMetrics_OnPruneMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneMessageInspected'

func (*GossipSubMetrics_OnPruneMessageInspected_Call) Return added in v0.46.0

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

type GossipSubMetrics_OnPublishMessageInspected_Call struct {
	*mock.Call
}

GossipSubMetrics_OnPublishMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessageInspected'

func (*GossipSubMetrics_OnPublishMessageInspected_Call) Return added in v0.46.0

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

type GossipSubMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call struct {
	*mock.Call
}

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

type GossipSubMetrics_OnRpcReceived_Call added in v0.46.0

type GossipSubMetrics_OnRpcReceived_Call struct {
	*mock.Call
}

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 (*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

type GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call struct {
	*mock.Call
}

GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'

func (*GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnRpcSent_Call added in v0.46.0

type GossipSubMetrics_OnRpcSent_Call struct {
	*mock.Call
}

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 (*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

type GossipSubMetrics_OnTimeInMeshUpdated_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnTimeInMeshUpdated_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnTimeInMeshUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnUndeliveredMessage_Call added in v0.46.0

type GossipSubMetrics_OnUndeliveredMessage_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_OnUndeliveredMessage_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnUndeliveredMessage_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call added in v0.46.0

type GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call struct {
	*mock.Call
}

GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'

func (*GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) Return added in v0.46.0

func (*GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) Run added in v0.46.0

func (*GossipSubMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn added in v0.46.0

type GossipSubMetrics_SetWarningStateCount_Call added in v0.46.0

type GossipSubMetrics_SetWarningStateCount_Call struct {
	*mock.Call
}

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 (*GossipSubMetrics_SetWarningStateCount_Call) Run added in v0.46.0

func (*GossipSubMetrics_SetWarningStateCount_Call) RunAndReturn added in v0.46.0

type GossipSubRpcInspectorMetrics added in v0.33.1

type GossipSubRpcInspectorMetrics struct {
	mock.Mock
}

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 (*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

type GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call struct {
	*mock.Call
}

GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'

func (*GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) Return added in v0.46.0

func (*GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) Run added in v0.46.0

func (*GossipSubRpcInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call added in v0.46.0

type GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call struct {
	*mock.Call
}

GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'

func (*GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) Return added in v0.46.0

func (*GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) Run added in v0.46.0

func (*GossipSubRpcInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call added in v0.46.0

type GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call struct {
	*mock.Call
}

GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'

func (*GossipSubRpcInspectorMetrics_OnIncomingRpcReceived_Call) Return added in v0.46.0

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

type GossipSubRpcValidationInspectorMetrics struct {
	mock.Mock
}

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 (*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

type GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingFinished_Call) RunAndReturn added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*GossipSubRpcValidationInspectorMetrics_AsyncProcessingStarted_Call) RunAndReturn added in v0.46.0

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

AsyncProcessingFinished is a helper method to define mock.On call

  • duration time.Duration

func (*GossipSubRpcValidationInspectorMetrics_Expecter) AsyncProcessingStarted added in v0.46.0

AsyncProcessingStarted is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnActiveClusterIDsNotSetErr added in v0.46.0

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

OnGraftDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnGraftInvalidTopicIdsExceedThreshold added in v0.46.0

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

OnIHaveControlMessageIdsTruncated is a helper method to define mock.On call

  • diff int

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateMessageIdsExceedThreshold added in v0.46.0

OnIHaveDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveDuplicateTopicIdsExceedThreshold added in v0.46.0

OnIHaveDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIHaveInvalidTopicIdsExceedThreshold added in v0.46.0

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

OnIWantCacheMissMessageIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantControlMessageIdsTruncated added in v0.46.0

OnIWantControlMessageIdsTruncated is a helper method to define mock.On call

  • diff int

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantDuplicateMessageIdsExceedThreshold added in v0.46.0

OnIWantDuplicateMessageIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnIWantMessageIDsReceived added in v0.46.0

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

OnInvalidControlMessageNotificationSent is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnInvalidTopicIdDetectedForControlMessage added in v0.46.0

OnInvalidTopicIdDetectedForControlMessage is a helper method to define mock.On call

  • messageType p2pmsg.ControlMessageType

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneDuplicateTopicIdsExceedThreshold added in v0.46.0

OnPruneDuplicateTopicIdsExceedThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnPruneInvalidTopicIdsExceedThreshold added in v0.46.0

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

OnPublishMessagesInspectionErrorExceedsThreshold is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnRpcRejectedFromUnknownSender added in v0.46.0

OnRpcRejectedFromUnknownSender is a helper method to define mock.On call

func (*GossipSubRpcValidationInspectorMetrics_Expecter) OnUnstakedPeerInspectionFailed added in v0.46.0

OnUnstakedPeerInspectionFailed is a helper method to define mock.On call

type GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnActiveClusterIDsNotSetErr_Call struct {
	*mock.Call
}

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

type GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_OnControlMessagesTruncated_Call) RunAndReturn added in v0.46.0

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

type GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_OnGraftMessageInspected_Call) RunAndReturn added in v0.46.0

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

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

type GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnIHaveMessagesInspected_Call struct {
	*mock.Call
}

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 (*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

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

type GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_OnIWantMessagesInspected_Call) RunAndReturn added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call struct {
	*mock.Call
}

GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIncomingRpcReceived'

func (*GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) Return added in v0.46.0

func (*GossipSubRpcValidationInspectorMetrics_OnIncomingRpcReceived_Call) Run added in v0.46.0

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 (*GossipSubRpcValidationInspectorMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn added in v0.46.0

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

type GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call struct {
	*mock.Call
}

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 (*GossipSubRpcValidationInspectorMetrics_OnPruneMessageInspected_Call) RunAndReturn added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call added in v0.46.0

type GossipSubRpcValidationInspectorMetrics_OnPublishMessageInspected_Call struct {
	*mock.Call
}

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

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

type GossipSubScoringMetrics added in v0.30.0

type GossipSubScoringMetrics struct {
	mock.Mock
}

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 (*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

OnAppSpecificScoreUpdated is a helper method to define mock.On call

  • f float64

func (*GossipSubScoringMetrics_Expecter) OnBehaviourPenaltyUpdated added in v0.46.0

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

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

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

SetWarningStateCount is a helper method to define mock.On call

  • v uint

type GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'

func (*GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'

func (*GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'

func (*GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'

func (*GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'

func (*GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'

func (*GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'

func (*GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_OnTimeInMeshUpdated_Call added in v0.46.0

type GossipSubScoringMetrics_OnTimeInMeshUpdated_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_OnTimeInMeshUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTimeInMeshUpdated'

func (*GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_OnTimeInMeshUpdated_Call) RunAndReturn added in v0.46.0

type GossipSubScoringMetrics_SetWarningStateCount_Call added in v0.46.0

type GossipSubScoringMetrics_SetWarningStateCount_Call struct {
	*mock.Call
}

GossipSubScoringMetrics_SetWarningStateCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWarningStateCount'

func (*GossipSubScoringMetrics_SetWarningStateCount_Call) Return added in v0.46.0

func (*GossipSubScoringMetrics_SetWarningStateCount_Call) Run added in v0.46.0

func (*GossipSubScoringMetrics_SetWarningStateCount_Call) RunAndReturn added in v0.46.0

type GossipSubScoringRegistryMetrics added in v0.33.30

type GossipSubScoringRegistryMetrics struct {
	mock.Mock
}

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

type GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call added in v0.46.0

type GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call struct {
	*mock.Call
}

GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagePenalties'

func (*GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) Return added in v0.46.0

func (*GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) Run added in v0.46.0

func (*GossipSubScoringRegistryMetrics_DuplicateMessagePenalties_Call) RunAndReturn added in v0.46.0

type GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call added in v0.46.0

type GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call struct {
	*mock.Call
}

GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagesCounts'

func (*GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) Return added in v0.46.0

func (*GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) Run added in v0.46.0

func (*GossipSubScoringRegistryMetrics_DuplicateMessagesCounts_Call) RunAndReturn added in v0.46.0

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

DuplicateMessagePenalties is a helper method to define mock.On call

  • penalty float64

func (*GossipSubScoringRegistryMetrics_Expecter) DuplicateMessagesCounts added in v0.46.0

DuplicateMessagesCounts is a helper method to define mock.On call

  • count float64

type HeroCacheMetrics added in v0.24.11

type HeroCacheMetrics struct {
	mock.Mock
}

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 (*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

type HeroCacheMetrics_BucketAvailableSlots_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_BucketAvailableSlots_Call) Run added in v0.46.0

func (*HeroCacheMetrics_BucketAvailableSlots_Call) RunAndReturn added in v0.46.0

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

OnEntityEjectionDueToEmergency is a helper method to define mock.On call

func (*HeroCacheMetrics_Expecter) OnEntityEjectionDueToFullCapacity added in v0.46.0

OnEntityEjectionDueToFullCapacity is a helper method to define mock.On call

func (*HeroCacheMetrics_Expecter) OnKeyGetFailure added in v0.46.0

OnKeyGetFailure is a helper method to define mock.On call

func (*HeroCacheMetrics_Expecter) OnKeyGetSuccess added in v0.46.0

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

OnKeyPutDeduplicated is a helper method to define mock.On call

func (*HeroCacheMetrics_Expecter) OnKeyPutDrop added in v0.46.0

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

type HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call struct {
	*mock.Call
}

HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEntityEjectionDueToEmergency'

func (*HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) Return added in v0.46.0

func (*HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnEntityEjectionDueToEmergency_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call added in v0.46.0

type HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call struct {
	*mock.Call
}

HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEntityEjectionDueToFullCapacity'

func (*HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) Return added in v0.46.0

func (*HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnEntityEjectionDueToFullCapacity_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyGetFailure_Call added in v0.46.0

type HeroCacheMetrics_OnKeyGetFailure_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyGetFailure_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyGetFailure_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyGetSuccess_Call added in v0.46.0

type HeroCacheMetrics_OnKeyGetSuccess_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyGetSuccess_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyGetSuccess_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyPutAttempt_Call added in v0.46.0

type HeroCacheMetrics_OnKeyPutAttempt_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyPutAttempt_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyPutAttempt_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyPutDeduplicated_Call added in v0.46.0

type HeroCacheMetrics_OnKeyPutDeduplicated_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyPutDeduplicated_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyPutDeduplicated_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyPutDrop_Call added in v0.46.0

type HeroCacheMetrics_OnKeyPutDrop_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyPutDrop_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyPutDrop_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyPutSuccess_Call added in v0.46.0

type HeroCacheMetrics_OnKeyPutSuccess_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyPutSuccess_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyPutSuccess_Call) RunAndReturn added in v0.46.0

type HeroCacheMetrics_OnKeyRemoved_Call added in v0.46.0

type HeroCacheMetrics_OnKeyRemoved_Call struct {
	*mock.Call
}

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 (*HeroCacheMetrics_OnKeyRemoved_Call) Run added in v0.46.0

func (*HeroCacheMetrics_OnKeyRemoved_Call) RunAndReturn added in v0.46.0

type HotStuff

type HotStuff struct {
	mock.Mock
}

HotStuff is an autogenerated mock type for the HotStuff type

func NewHotStuff added in v0.26.1

func NewHotStuff(t interface {
	mock.TestingT
	Cleanup(func())
}) *HotStuff

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

type HotStuffFollower struct {
	mock.Mock
}

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 (*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

type HotStuffFollower_AddCertifiedBlock_Call struct {
	*mock.Call
}

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 (*HotStuffFollower_AddCertifiedBlock_Call) Run added in v0.46.0

func (*HotStuffFollower_AddCertifiedBlock_Call) RunAndReturn added in v0.46.0

type HotStuffFollower_Done_Call added in v0.46.0

type HotStuffFollower_Done_Call struct {
	*mock.Call
}

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 (*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

Done is a helper method to define mock.On call

func (*HotStuffFollower_Expecter) Ready added in v0.46.0

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

type HotStuffFollower_Ready_Call struct {
	*mock.Call
}

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 (*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

type HotStuffFollower_Start_Call struct {
	*mock.Call
}

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 (*HotStuffFollower_Start_Call) Run added in v0.46.0

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

type HotStuff_Done_Call struct {
	*mock.Call
}

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

Done is a helper method to define mock.On call

func (*HotStuff_Expecter) Ready added in v0.46.0

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

type HotStuff_Ready_Call struct {
	*mock.Call
}

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

type HotStuff_Start_Call struct {
	*mock.Call
}

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 (*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

type HotStuff_SubmitProposal_Call struct {
	*mock.Call
}

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 (*HotStuff_SubmitProposal_Call) Run added in v0.46.0

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

type HotstuffMetrics struct {
	mock.Mock
}

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 (*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

type HotstuffMetrics_BlockProcessingDuration_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_BlockProcessingDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_BlockProcessingDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_CommitteeProcessingDuration_Call added in v0.46.0

type HotstuffMetrics_CommitteeProcessingDuration_Call struct {
	*mock.Call
}

HotstuffMetrics_CommitteeProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommitteeProcessingDuration'

func (*HotstuffMetrics_CommitteeProcessingDuration_Call) Return added in v0.46.0

func (*HotstuffMetrics_CommitteeProcessingDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_CommitteeProcessingDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_CountSkipped_Call added in v0.46.0

type HotstuffMetrics_CountSkipped_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_CountSkipped_Call) Run added in v0.46.0

func (*HotstuffMetrics_CountSkipped_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_CountTimeout_Call added in v0.46.0

type HotstuffMetrics_CountTimeout_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_CountTimeout_Call) Run added in v0.46.0

func (*HotstuffMetrics_CountTimeout_Call) RunAndReturn added in v0.46.0

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

CountSkipped is a helper method to define mock.On call

func (*HotstuffMetrics_Expecter) CountTimeout added in v0.46.0

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

type HotstuffMetrics_HotStuffBusyDuration_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_HotStuffBusyDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_HotStuffBusyDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_HotStuffIdleDuration_Call added in v0.46.0

type HotstuffMetrics_HotStuffIdleDuration_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_HotStuffIdleDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_HotStuffIdleDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_HotStuffWaitDuration_Call added in v0.46.0

type HotstuffMetrics_HotStuffWaitDuration_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_HotStuffWaitDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_HotStuffWaitDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_PayloadProductionDuration_Call added in v0.46.0

type HotstuffMetrics_PayloadProductionDuration_Call struct {
	*mock.Call
}

HotstuffMetrics_PayloadProductionDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PayloadProductionDuration'

func (*HotstuffMetrics_PayloadProductionDuration_Call) Return added in v0.46.0

func (*HotstuffMetrics_PayloadProductionDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_PayloadProductionDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_SetCurView_Call added in v0.46.0

type HotstuffMetrics_SetCurView_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_SetCurView_Call) Run added in v0.46.0

func (*HotstuffMetrics_SetCurView_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_SetQCView_Call added in v0.46.0

type HotstuffMetrics_SetQCView_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_SetQCView_Call) Run added in v0.46.0

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

type HotstuffMetrics_SetTCView_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_SetTCView_Call) Run added in v0.46.0

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

type HotstuffMetrics_SetTimeout_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_SetTimeout_Call) Run added in v0.46.0

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

type HotstuffMetrics_SignerProcessingDuration_Call struct {
	*mock.Call
}

HotstuffMetrics_SignerProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignerProcessingDuration'

func (*HotstuffMetrics_SignerProcessingDuration_Call) Return added in v0.46.0

func (*HotstuffMetrics_SignerProcessingDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_SignerProcessingDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_TimeoutCollectorsRange_Call added in v0.46.0

type HotstuffMetrics_TimeoutCollectorsRange_Call struct {
	*mock.Call
}

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 (*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

type HotstuffMetrics_TimeoutObjectProcessingDuration_Call struct {
	*mock.Call
}

HotstuffMetrics_TimeoutObjectProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeoutObjectProcessingDuration'

func (*HotstuffMetrics_TimeoutObjectProcessingDuration_Call) Return added in v0.46.0

func (*HotstuffMetrics_TimeoutObjectProcessingDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_TimeoutObjectProcessingDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_ValidatorProcessingDuration_Call added in v0.46.0

type HotstuffMetrics_ValidatorProcessingDuration_Call struct {
	*mock.Call
}

HotstuffMetrics_ValidatorProcessingDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatorProcessingDuration'

func (*HotstuffMetrics_ValidatorProcessingDuration_Call) Return added in v0.46.0

func (*HotstuffMetrics_ValidatorProcessingDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_ValidatorProcessingDuration_Call) RunAndReturn added in v0.46.0

type HotstuffMetrics_VoteProcessingDuration_Call added in v0.46.0

type HotstuffMetrics_VoteProcessingDuration_Call struct {
	*mock.Call
}

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 (*HotstuffMetrics_VoteProcessingDuration_Call) Run added in v0.46.0

func (*HotstuffMetrics_VoteProcessingDuration_Call) RunAndReturn added in v0.46.0

type IdentifierProvider added in v0.28.0

type IdentifierProvider struct {
	mock.Mock
}

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 (*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

Identifiers is a helper method to define mock.On call

type IdentifierProvider_Identifiers_Call added in v0.46.0

type IdentifierProvider_Identifiers_Call struct {
	*mock.Call
}

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 (*IdentifierProvider_Identifiers_Call) Run added in v0.46.0

func (*IdentifierProvider_Identifiers_Call) RunAndReturn added in v0.46.0

type IdentityProvider added in v0.28.0

type IdentityProvider struct {
	mock.Mock
}

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

func (_mock *IdentityProvider) ByPeerID(iD peer.ID) (*flow.Identity, bool)

ByPeerID provides a mock function for the type IdentityProvider

func (*IdentityProvider) EXPECT added in v0.46.0

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

type IdentityProvider_ByNodeID_Call struct {
	*mock.Call
}

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 (*IdentityProvider_ByNodeID_Call) Run added in v0.46.0

func (*IdentityProvider_ByNodeID_Call) RunAndReturn added in v0.46.0

type IdentityProvider_ByPeerID_Call added in v0.46.0

type IdentityProvider_ByPeerID_Call struct {
	*mock.Call
}

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 (*IdentityProvider_ByPeerID_Call) Run added in v0.46.0

func (*IdentityProvider_ByPeerID_Call) RunAndReturn added in v0.46.0

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

type IdentityProvider_Identities_Call struct {
	*mock.Call
}

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 (*IdentityProvider_Identities_Call) Run added in v0.46.0

func (*IdentityProvider_Identities_Call) RunAndReturn added in v0.46.0

type IteratorCreator added in v0.39.1

type IteratorCreator struct {
	mock.Mock
}

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 (*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

type IteratorCreator_Create_Call struct {
	*mock.Call
}

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 (*IteratorCreator_Create_Call) RunAndReturn added in v0.46.0

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

Create is a helper method to define mock.On call

func (*IteratorCreator_Expecter) IteratorState added in v0.46.0

IteratorState is a helper method to define mock.On call

type IteratorCreator_IteratorState_Call added in v0.46.0

type IteratorCreator_IteratorState_Call struct {
	*mock.Call
}

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 (*IteratorCreator_IteratorState_Call) Run added in v0.46.0

func (*IteratorCreator_IteratorState_Call) RunAndReturn added in v0.46.0

type IteratorState added in v0.39.1

type IteratorState struct {
	mock.Mock
}

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

type IteratorStateReader struct {
	mock.Mock
}

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 (*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

LoadState is a helper method to define mock.On call

type IteratorStateReader_LoadState_Call added in v0.46.0

type IteratorStateReader_LoadState_Call struct {
	*mock.Call
}

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 (*IteratorStateReader_LoadState_Call) Run added in v0.46.0

func (*IteratorStateReader_LoadState_Call) RunAndReturn added in v0.46.0

type IteratorStateWriter added in v0.39.1

type IteratorStateWriter struct {
	mock.Mock
}

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 (*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

SaveState is a helper method to define mock.On call

  • v uint64

type IteratorStateWriter_SaveState_Call added in v0.46.0

type IteratorStateWriter_SaveState_Call struct {
	*mock.Call
}

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 (*IteratorStateWriter_SaveState_Call) Run added in v0.46.0

func (*IteratorStateWriter_SaveState_Call) RunAndReturn added in v0.46.0

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

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

type IteratorState_LoadState_Call struct {
	*mock.Call
}

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 (*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

type IteratorState_SaveState_Call struct {
	*mock.Call
}

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 (*IteratorState_SaveState_Call) Run added in v0.46.0

func (*IteratorState_SaveState_Call) RunAndReturn added in v0.46.0

type Job added in v0.15.0

type Job struct {
	mock.Mock
}

Job is an autogenerated mock type for the Job type

func NewJob added in v0.26.1

func NewJob(t interface {
	mock.TestingT
	Cleanup(func())
}) *Job

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

func (*Job) ID added in v0.15.0

func (_mock *Job) ID() module.JobID

ID provides a mock function for the type Job

type JobConsumer added in v0.15.0

type JobConsumer struct {
	mock.Mock
}

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

type JobConsumer_Check_Call struct {
	*mock.Call
}

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 (*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

Check is a helper method to define mock.On call

func (*JobConsumer_Expecter) LastProcessedIndex added in v0.46.0

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

Size is a helper method to define mock.On call

func (*JobConsumer_Expecter) Start added in v0.46.0

Start is a helper method to define mock.On call

func (*JobConsumer_Expecter) Stop added in v0.46.0

Stop is a helper method to define mock.On call

type JobConsumer_LastProcessedIndex_Call added in v0.46.0

type JobConsumer_LastProcessedIndex_Call struct {
	*mock.Call
}

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 (*JobConsumer_LastProcessedIndex_Call) Run added in v0.46.0

func (*JobConsumer_LastProcessedIndex_Call) RunAndReturn added in v0.46.0

type JobConsumer_NotifyJobIsDone_Call added in v0.46.0

type JobConsumer_NotifyJobIsDone_Call struct {
	*mock.Call
}

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 (*JobConsumer_NotifyJobIsDone_Call) Run added in v0.46.0

func (*JobConsumer_NotifyJobIsDone_Call) RunAndReturn added in v0.46.0

type JobConsumer_Size_Call added in v0.46.0

type JobConsumer_Size_Call struct {
	*mock.Call
}

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 (*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

type JobConsumer_Start_Call struct {
	*mock.Call
}

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 (*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

type JobConsumer_Stop_Call struct {
	*mock.Call
}

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 (*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

type JobQueue struct {
	mock.Mock
}

JobQueue is an autogenerated mock type for the JobQueue type

func NewJobQueue added in v0.26.1

func NewJobQueue(t interface {
	mock.TestingT
	Cleanup(func())
}) *JobQueue

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) Add added in v0.15.0

func (_mock *JobQueue) Add(job module.Job) error

Add provides a mock function for the type JobQueue

func (*JobQueue) EXPECT added in v0.46.0

func (_m *JobQueue) EXPECT() *JobQueue_Expecter

type JobQueue_Add_Call added in v0.46.0

type JobQueue_Add_Call struct {
	*mock.Call
}

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

type Job_ID_Call struct {
	*mock.Call
}

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

type Jobs struct {
	mock.Mock
}

Jobs is an autogenerated mock type for the Jobs type

func NewJobs added in v0.26.1

func NewJobs(t interface {
	mock.TestingT
	Cleanup(func())
}) *Jobs

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) AtIndex added in v0.15.0

func (_mock *Jobs) AtIndex(index uint64) (module.Job, error)

AtIndex provides a mock function for the type Jobs

func (*Jobs) EXPECT added in v0.46.0

func (_m *Jobs) EXPECT() *Jobs_Expecter

func (*Jobs) Head added in v0.15.0

func (_mock *Jobs) Head() (uint64, error)

Head provides a mock function for the type Jobs

type Jobs_AtIndex_Call added in v0.46.0

type Jobs_AtIndex_Call struct {
	*mock.Call
}

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

type Jobs_Head_Call struct {
	*mock.Call
}

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

type LedgerMetrics struct {
	mock.Mock
}

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

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

type LedgerMetrics_ForestApproxMemorySize_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ForestApproxMemorySize_Call) Run added in v0.46.0

func (*LedgerMetrics_ForestApproxMemorySize_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_ForestNumberOfTrees_Call added in v0.46.0

type LedgerMetrics_ForestNumberOfTrees_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ForestNumberOfTrees_Call) Run added in v0.46.0

func (*LedgerMetrics_ForestNumberOfTrees_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_LatestTrieMaxDepthTouched_Call added in v0.46.0

type LedgerMetrics_LatestTrieMaxDepthTouched_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_LatestTrieMaxDepthTouched_Call) Run added in v0.46.0

func (*LedgerMetrics_LatestTrieMaxDepthTouched_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_LatestTrieRegCountDiff_Call added in v0.46.0

type LedgerMetrics_LatestTrieRegCountDiff_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_LatestTrieRegCountDiff_Call) Run added in v0.46.0

func (*LedgerMetrics_LatestTrieRegCountDiff_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_LatestTrieRegCount_Call added in v0.46.0

type LedgerMetrics_LatestTrieRegCount_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_LatestTrieRegCount_Call) Run added in v0.46.0

func (*LedgerMetrics_LatestTrieRegCount_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_LatestTrieRegSizeDiff_Call added in v0.46.0

type LedgerMetrics_LatestTrieRegSizeDiff_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_LatestTrieRegSizeDiff_Call) Run added in v0.46.0

func (*LedgerMetrics_LatestTrieRegSizeDiff_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_LatestTrieRegSize_Call added in v0.46.0

type LedgerMetrics_LatestTrieRegSize_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_LatestTrieRegSize_Call) Run added in v0.46.0

func (*LedgerMetrics_LatestTrieRegSize_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_ProofSize_Call added in v0.46.0

type LedgerMetrics_ProofSize_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ProofSize_Call) Run added in v0.46.0

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

type LedgerMetrics_ReadDurationPerItem_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ReadDurationPerItem_Call) Run added in v0.46.0

func (*LedgerMetrics_ReadDurationPerItem_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_ReadDuration_Call added in v0.46.0

type LedgerMetrics_ReadDuration_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ReadDuration_Call) Run added in v0.46.0

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

type LedgerMetrics_ReadValuesNumber_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ReadValuesNumber_Call) Run added in v0.46.0

func (*LedgerMetrics_ReadValuesNumber_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_ReadValuesSize_Call added in v0.46.0

type LedgerMetrics_ReadValuesSize_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_ReadValuesSize_Call) Run added in v0.46.0

func (*LedgerMetrics_ReadValuesSize_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_UpdateCount_Call added in v0.46.0

type LedgerMetrics_UpdateCount_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_UpdateCount_Call) Run added in v0.46.0

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

type LedgerMetrics_UpdateDurationPerItem_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_UpdateDurationPerItem_Call) Run added in v0.46.0

func (*LedgerMetrics_UpdateDurationPerItem_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_UpdateDuration_Call added in v0.46.0

type LedgerMetrics_UpdateDuration_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_UpdateDuration_Call) Run added in v0.46.0

func (*LedgerMetrics_UpdateDuration_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_UpdateValuesNumber_Call added in v0.46.0

type LedgerMetrics_UpdateValuesNumber_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_UpdateValuesNumber_Call) Run added in v0.46.0

func (*LedgerMetrics_UpdateValuesNumber_Call) RunAndReturn added in v0.46.0

type LedgerMetrics_UpdateValuesSize_Call added in v0.46.0

type LedgerMetrics_UpdateValuesSize_Call struct {
	*mock.Call
}

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 (*LedgerMetrics_UpdateValuesSize_Call) Run added in v0.46.0

func (*LedgerMetrics_UpdateValuesSize_Call) RunAndReturn added in v0.46.0

type LibP2PConnectionMetrics added in v0.29.1

type LibP2PConnectionMetrics struct {
	mock.Mock
}

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 (*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

type LibP2PConnectionMetrics_InboundConnections_Call struct {
	*mock.Call
}

LibP2PConnectionMetrics_InboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundConnections'

func (*LibP2PConnectionMetrics_InboundConnections_Call) Return added in v0.46.0

func (*LibP2PConnectionMetrics_InboundConnections_Call) Run added in v0.46.0

func (*LibP2PConnectionMetrics_InboundConnections_Call) RunAndReturn added in v0.46.0

type LibP2PConnectionMetrics_OutboundConnections_Call added in v0.46.0

type LibP2PConnectionMetrics_OutboundConnections_Call struct {
	*mock.Call
}

LibP2PConnectionMetrics_OutboundConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutboundConnections'

func (*LibP2PConnectionMetrics_OutboundConnections_Call) Return added in v0.46.0

func (*LibP2PConnectionMetrics_OutboundConnections_Call) Run added in v0.46.0

func (*LibP2PConnectionMetrics_OutboundConnections_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics added in v0.29.0

type LibP2PMetrics struct {
	mock.Mock
}

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

type LibP2PMetrics_AllowConn_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AllowConn_Call) Run added in v0.46.0

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

type LibP2PMetrics_AllowMemory_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AllowMemory_Call) Run added in v0.46.0

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

type LibP2PMetrics_AllowPeer_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AllowPeer_Call) Run added in v0.46.0

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

type LibP2PMetrics_AllowProtocol_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AllowProtocol_Call) Run added in v0.46.0

func (*LibP2PMetrics_AllowProtocol_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_AllowService_Call added in v0.46.0

type LibP2PMetrics_AllowService_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AllowService_Call) Run added in v0.46.0

func (*LibP2PMetrics_AllowService_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_AllowStream_Call added in v0.46.0

type LibP2PMetrics_AllowStream_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AllowStream_Call) Run added in v0.46.0

func (*LibP2PMetrics_AllowStream_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_AsyncProcessingFinished_Call added in v0.46.0

type LibP2PMetrics_AsyncProcessingFinished_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AsyncProcessingFinished_Call) Run added in v0.46.0

func (*LibP2PMetrics_AsyncProcessingFinished_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_AsyncProcessingStarted_Call added in v0.46.0

type LibP2PMetrics_AsyncProcessingStarted_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_AsyncProcessingStarted_Call) Run added in v0.46.0

func (*LibP2PMetrics_AsyncProcessingStarted_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_BlockConn_Call added in v0.46.0

type LibP2PMetrics_BlockConn_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockConn_Call) Run added in v0.46.0

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

type LibP2PMetrics_BlockMemory_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockMemory_Call) Run added in v0.46.0

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

type LibP2PMetrics_BlockPeer_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockPeer_Call) Run added in v0.46.0

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

type LibP2PMetrics_BlockProtocolPeer_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockProtocolPeer_Call) Run added in v0.46.0

func (*LibP2PMetrics_BlockProtocolPeer_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_BlockProtocol_Call added in v0.46.0

type LibP2PMetrics_BlockProtocol_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockProtocol_Call) Run added in v0.46.0

func (*LibP2PMetrics_BlockProtocol_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_BlockServicePeer_Call added in v0.46.0

type LibP2PMetrics_BlockServicePeer_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockServicePeer_Call) Run added in v0.46.0

func (*LibP2PMetrics_BlockServicePeer_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_BlockService_Call added in v0.46.0

type LibP2PMetrics_BlockService_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockService_Call) Run added in v0.46.0

func (*LibP2PMetrics_BlockService_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_BlockStream_Call added in v0.46.0

type LibP2PMetrics_BlockStream_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_BlockStream_Call) Run added in v0.46.0

func (*LibP2PMetrics_BlockStream_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_DNSLookupDuration_Call added in v0.46.0

type LibP2PMetrics_DNSLookupDuration_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_DNSLookupDuration_Call) Run added in v0.46.0

func (*LibP2PMetrics_DNSLookupDuration_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_DuplicateMessagePenalties_Call added in v0.46.0

type LibP2PMetrics_DuplicateMessagePenalties_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_DuplicateMessagePenalties_Call) Run added in v0.46.0

func (*LibP2PMetrics_DuplicateMessagePenalties_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_DuplicateMessagesCounts_Call added in v0.46.0

type LibP2PMetrics_DuplicateMessagesCounts_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_DuplicateMessagesCounts_Call) Run added in v0.46.0

func (*LibP2PMetrics_DuplicateMessagesCounts_Call) RunAndReturn added in v0.46.0

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

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

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

OnDNSCacheHit is a helper method to define mock.On call

func (*LibP2PMetrics_Expecter) OnDNSCacheInvalidated added in v0.46.0

OnDNSCacheInvalidated is a helper method to define mock.On call

func (*LibP2PMetrics_Expecter) OnDNSCacheMiss added in v0.46.0

OnDNSCacheMiss is a helper method to define mock.On call

func (*LibP2PMetrics_Expecter) OnDNSLookupRequestDropped added in v0.46.0

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

OnLocalPeerJoinedTopic is a helper method to define mock.On call

func (*LibP2PMetrics_Expecter) OnLocalPeerLeftTopic added in v0.46.0

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

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

OnPeerRemovedFromProtocol is a helper method to define mock.On call

func (*LibP2PMetrics_Expecter) OnPeerThrottled added in v0.46.0

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

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

RoutingTablePeerAdded is a helper method to define mock.On call

func (*LibP2PMetrics_Expecter) RoutingTablePeerRemoved added in v0.46.0

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

type LibP2PMetrics_InboundConnections_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_InboundConnections_Call) Run added in v0.46.0

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

type LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call struct {
	*mock.Call
}

LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'

func (*LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnAppSpecificScoreUpdated_Call added in v0.46.0

type LibP2PMetrics_OnAppSpecificScoreUpdated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnAppSpecificScoreUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnBehaviourPenaltyUpdated_Call added in v0.46.0

type LibP2PMetrics_OnBehaviourPenaltyUpdated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnControlMessagesTruncated_Call added in v0.46.0

type LibP2PMetrics_OnControlMessagesTruncated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'

func (*LibP2PMetrics_OnControlMessagesTruncated_Call) Return added in v0.46.0

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

type LibP2PMetrics_OnDNSCacheHit_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnDNSCacheHit_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnDNSCacheHit_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnDNSCacheInvalidated_Call added in v0.46.0

type LibP2PMetrics_OnDNSCacheInvalidated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnDNSCacheInvalidated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnDNSCacheInvalidated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnDNSCacheMiss_Call added in v0.46.0

type LibP2PMetrics_OnDNSCacheMiss_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnDNSCacheMiss_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnDNSCacheMiss_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnDNSLookupRequestDropped_Call added in v0.46.0

type LibP2PMetrics_OnDNSLookupRequestDropped_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnDNSLookupRequestDropped_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call added in v0.46.0

type LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call struct {
	*mock.Call
}

LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetResetToDefault'

func (*LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnDialRetryBudgetUpdated_Call added in v0.46.0

type LibP2PMetrics_OnDialRetryBudgetUpdated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnDialRetryBudgetUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnEstablishStreamFailure_Call added in v0.46.0

type LibP2PMetrics_OnEstablishStreamFailure_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnEstablishStreamFailure_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnEstablishStreamFailure_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call added in v0.46.0

type LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'

func (*LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'

func (*LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'

func (*LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnGraftMessageInspected_Call added in v0.46.0

type LibP2PMetrics_OnGraftMessageInspected_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'

func (*LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'

func (*LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'

func (*LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'

func (*LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIHaveMessageIDsReceived_Call added in v0.46.0

type LibP2PMetrics_OnIHaveMessageIDsReceived_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnIHaveMessageIDsReceived_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIHaveMessagesInspected_Call added in v0.46.0

type LibP2PMetrics_OnIHaveMessagesInspected_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnIPColocationFactorUpdated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'

func (*LibP2PMetrics_OnIPColocationFactorUpdated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIPColocationFactorUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'

func (*LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call added in v0.46.0

type LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'

func (*LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'

func (*LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIWantMessageIDsReceived_Call added in v0.46.0

type LibP2PMetrics_OnIWantMessageIDsReceived_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnIWantMessageIDsReceived_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnIWantMessagesInspected_Call added in v0.46.0

type LibP2PMetrics_OnIWantMessagesInspected_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnIncomingRpcReceived_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call struct {
	*mock.Call
}

LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'

func (*LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call added in v0.46.0

type LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'

func (*LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call added in v0.46.0

type LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call struct {
	*mock.Call
}

LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'

func (*LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnLocalMeshSizeUpdated_Call added in v0.46.0

type LibP2PMetrics_OnLocalMeshSizeUpdated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnLocalMeshSizeUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnLocalPeerJoinedTopic_Call added in v0.46.0

type LibP2PMetrics_OnLocalPeerJoinedTopic_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnLocalPeerJoinedTopic_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnLocalPeerLeftTopic_Call added in v0.46.0

type LibP2PMetrics_OnLocalPeerLeftTopic_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnLocalPeerLeftTopic_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call added in v0.46.0

type LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'

func (*LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call added in v0.46.0

type LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call struct {
	*mock.Call
}

LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'

func (*LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnMessageDuplicate_Call added in v0.46.0

type LibP2PMetrics_OnMessageDuplicate_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnMessageDuplicate_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnMessageDuplicate_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnMessageEnteredValidation_Call added in v0.46.0

type LibP2PMetrics_OnMessageEnteredValidation_Call struct {
	*mock.Call
}

LibP2PMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'

func (*LibP2PMetrics_OnMessageEnteredValidation_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnMessageEnteredValidation_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnMessageEnteredValidation_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnMessageRejected_Call added in v0.46.0

type LibP2PMetrics_OnMessageRejected_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnMessageRejected_Call) Run added in v0.46.0

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

type LibP2PMetrics_OnOutboundRpcDropped_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnOutboundRpcDropped_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnOutboundRpcDropped_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnOverallPeerScoreUpdated_Call added in v0.46.0

type LibP2PMetrics_OnOverallPeerScoreUpdated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnOverallPeerScoreUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPeerAddedToProtocol_Call added in v0.46.0

type LibP2PMetrics_OnPeerAddedToProtocol_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnPeerAddedToProtocol_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPeerAddedToProtocol_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPeerDialFailure_Call added in v0.46.0

type LibP2PMetrics_OnPeerDialFailure_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnPeerDialFailure_Call) Run added in v0.46.0

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

type LibP2PMetrics_OnPeerDialed_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnPeerGraftTopic_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnPeerGraftTopic_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPeerGraftTopic_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPeerPruneTopic_Call added in v0.46.0

type LibP2PMetrics_OnPeerPruneTopic_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnPeerPruneTopic_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPeerPruneTopic_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPeerRemovedFromProtocol_Call added in v0.46.0

type LibP2PMetrics_OnPeerRemovedFromProtocol_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnPeerRemovedFromProtocol_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPeerThrottled_Call added in v0.46.0

type LibP2PMetrics_OnPeerThrottled_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnPeerThrottled_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPeerThrottled_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'

func (*LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'

func (*LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnPruneMessageInspected_Call added in v0.46.0

type LibP2PMetrics_OnPruneMessageInspected_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnPublishMessageInspected_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*LibP2PMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnRpcReceived_Call added in v0.46.0

type LibP2PMetrics_OnRpcReceived_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call struct {
	*mock.Call
}

LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'

func (*LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnRpcSent_Call added in v0.46.0

type LibP2PMetrics_OnRpcSent_Call struct {
	*mock.Call
}

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 (*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

type LibP2PMetrics_OnStreamCreated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnStreamCreated_Call) Run added in v0.46.0

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

type LibP2PMetrics_OnStreamCreationFailure_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnStreamCreationFailure_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnStreamCreationFailure_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call added in v0.46.0

type LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call struct {
	*mock.Call
}

LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetResetToDefault'

func (*LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call added in v0.46.0

type LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call struct {
	*mock.Call
}

LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetUpdated'

func (*LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnStreamEstablished_Call added in v0.46.0

type LibP2PMetrics_OnStreamEstablished_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnStreamEstablished_Call) Run added in v0.46.0

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

type LibP2PMetrics_OnTimeInMeshUpdated_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnTimeInMeshUpdated_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnTimeInMeshUpdated_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnUndeliveredMessage_Call added in v0.46.0

type LibP2PMetrics_OnUndeliveredMessage_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OnUndeliveredMessage_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnUndeliveredMessage_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call added in v0.46.0

type LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call struct {
	*mock.Call
}

LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'

func (*LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) Return added in v0.46.0

func (*LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) Run added in v0.46.0

func (*LibP2PMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_OutboundConnections_Call added in v0.46.0

type LibP2PMetrics_OutboundConnections_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_OutboundConnections_Call) Run added in v0.46.0

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

type LibP2PMetrics_RoutingTablePeerAdded_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_RoutingTablePeerAdded_Call) Run added in v0.46.0

func (*LibP2PMetrics_RoutingTablePeerAdded_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_RoutingTablePeerRemoved_Call added in v0.46.0

type LibP2PMetrics_RoutingTablePeerRemoved_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_RoutingTablePeerRemoved_Call) Run added in v0.46.0

func (*LibP2PMetrics_RoutingTablePeerRemoved_Call) RunAndReturn added in v0.46.0

type LibP2PMetrics_SetWarningStateCount_Call added in v0.46.0

type LibP2PMetrics_SetWarningStateCount_Call struct {
	*mock.Call
}

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 (*LibP2PMetrics_SetWarningStateCount_Call) Run added in v0.46.0

func (*LibP2PMetrics_SetWarningStateCount_Call) RunAndReturn added in v0.46.0

type Local

type Local struct {
	mock.Mock
}

Local is an autogenerated mock type for the Local type

func NewLocal added in v0.26.1

func NewLocal(t interface {
	mock.TestingT
	Cleanup(func())
}) *Local

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) Address

func (_mock *Local) Address() string

Address provides a mock function for the type Local

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

func (*Local) Sign

func (_mock *Local) Sign(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)

Sign provides a mock function for the type Local

func (*Local) SignFunc

func (_mock *Local) SignFunc(bytes []byte, hasher hash.Hasher, fn func(crypto.PrivateKey, []byte, hash.Hasher) (crypto.Signature, error)) (crypto.Signature, error)

SignFunc provides a mock function for the type Local

type LocalGossipSubRouterMetrics added in v0.33.1

type LocalGossipSubRouterMetrics struct {
	mock.Mock
}

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 (*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

OnLocalPeerJoinedTopic is a helper method to define mock.On call

func (*LocalGossipSubRouterMetrics_Expecter) OnLocalPeerLeftTopic added in v0.46.0

OnLocalPeerLeftTopic is a helper method to define mock.On call

func (*LocalGossipSubRouterMetrics_Expecter) OnMessageDeliveredToAllSubscribers added in v0.46.0

OnMessageDeliveredToAllSubscribers is a helper method to define mock.On call

  • size int

func (*LocalGossipSubRouterMetrics_Expecter) OnMessageDuplicate added in v0.46.0

OnMessageDuplicate is a helper method to define mock.On call

  • size int

func (*LocalGossipSubRouterMetrics_Expecter) OnMessageEnteredValidation added in v0.46.0

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

OnOutboundRpcDropped is a helper method to define mock.On call

func (*LocalGossipSubRouterMetrics_Expecter) OnPeerAddedToProtocol added in v0.46.0

OnPeerAddedToProtocol is a helper method to define mock.On call

  • protocol string

func (*LocalGossipSubRouterMetrics_Expecter) OnPeerGraftTopic added in v0.46.0

OnPeerGraftTopic is a helper method to define mock.On call

  • topic string

func (*LocalGossipSubRouterMetrics_Expecter) OnPeerPruneTopic added in v0.46.0

OnPeerPruneTopic is a helper method to define mock.On call

  • topic string

func (*LocalGossipSubRouterMetrics_Expecter) OnPeerRemovedFromProtocol added in v0.46.0

OnPeerRemovedFromProtocol is a helper method to define mock.On call

func (*LocalGossipSubRouterMetrics_Expecter) OnPeerThrottled added in v0.46.0

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

OnUndeliveredMessage is a helper method to define mock.On call

type LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalMeshSizeUpdated'

func (*LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerJoinedTopic'

func (*LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLocalPeerLeftTopic'

func (*LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageDuplicate_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageDuplicate_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnMessageDuplicate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDuplicate'

func (*LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageDuplicate_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'

func (*LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageEnteredValidation_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageRejected_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnMessageRejected_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnMessageRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageRejected'

func (*LocalGossipSubRouterMetrics_OnMessageRejected_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageRejected_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnMessageRejected_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOutboundRpcDropped'

func (*LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnOutboundRpcDropped_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerAddedToProtocol'

func (*LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerAddedToProtocol_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerGraftTopic'

func (*LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerGraftTopic_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerPruneTopic'

func (*LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerPruneTopic_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'

func (*LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerThrottled_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnPeerThrottled_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnPeerThrottled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerThrottled'

func (*LocalGossipSubRouterMetrics_OnPeerThrottled_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerThrottled_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnPeerThrottled_Call) RunAndReturn added in v0.46.0

type LocalGossipSubRouterMetrics_OnRpcReceived_Call added in v0.46.0

type LocalGossipSubRouterMetrics_OnRpcReceived_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnRpcReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcReceived'

func (*LocalGossipSubRouterMetrics_OnRpcReceived_Call) Return added in v0.46.0

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

type LocalGossipSubRouterMetrics_OnRpcSent_Call struct {
	*mock.Call
}

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 (*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

type LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call struct {
	*mock.Call
}

LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUndeliveredMessage'

func (*LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) Return added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) Run added in v0.46.0

func (*LocalGossipSubRouterMetrics_OnUndeliveredMessage_Call) RunAndReturn added in v0.46.0

type Local_Address_Call added in v0.46.0

type Local_Address_Call struct {
	*mock.Call
}

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 (*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

type Local_NodeID_Call struct {
	*mock.Call
}

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

type Local_NotMeFilter_Call struct {
	*mock.Call
}

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 (*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

type Local_SignFunc_Call added in v0.46.0

type Local_SignFunc_Call struct {
	*mock.Call
}

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

func (_c *Local_SignFunc_Call) RunAndReturn(run func(bytes []byte, hasher hash.Hasher, fn func(crypto.PrivateKey, []byte, hash.Hasher) (crypto.Signature, error)) (crypto.Signature, error)) *Local_SignFunc_Call

type Local_Sign_Call added in v0.46.0

type Local_Sign_Call struct {
	*mock.Call
}

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

type MachineAccountMetrics struct {
	mock.Mock
}

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 (*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

type MachineAccountMetrics_AccountBalance_Call struct {
	*mock.Call
}

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 (*MachineAccountMetrics_AccountBalance_Call) Run added in v0.46.0

func (*MachineAccountMetrics_AccountBalance_Call) RunAndReturn added in v0.46.0

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

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

type MachineAccountMetrics_IsMisconfigured_Call struct {
	*mock.Call
}

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 (*MachineAccountMetrics_IsMisconfigured_Call) Run added in v0.46.0

func (*MachineAccountMetrics_IsMisconfigured_Call) RunAndReturn added in v0.46.0

type MachineAccountMetrics_RecommendedMinBalance_Call added in v0.46.0

type MachineAccountMetrics_RecommendedMinBalance_Call struct {
	*mock.Call
}

MachineAccountMetrics_RecommendedMinBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecommendedMinBalance'

func (*MachineAccountMetrics_RecommendedMinBalance_Call) Return added in v0.46.0

func (*MachineAccountMetrics_RecommendedMinBalance_Call) Run added in v0.46.0

func (*MachineAccountMetrics_RecommendedMinBalance_Call) RunAndReturn added in v0.46.0

type MempoolMetrics

type MempoolMetrics struct {
	mock.Mock
}

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 (*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

type MempoolMetrics_MempoolEntries_Call struct {
	*mock.Call
}

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 (*MempoolMetrics_MempoolEntries_Call) Run added in v0.46.0

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

type MempoolMetrics_Register_Call struct {
	*mock.Call
}

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 (*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

type NetworkCoreMetrics struct {
	mock.Mock
}

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 (*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

type NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call struct {
	*mock.Call
}

NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateInboundMessagesDropped'

func (*NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn added in v0.46.0

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

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

type NetworkCoreMetrics_InboundMessageReceived_Call struct {
	*mock.Call
}

NetworkCoreMetrics_InboundMessageReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InboundMessageReceived'

func (*NetworkCoreMetrics_InboundMessageReceived_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_InboundMessageReceived_Call) Run added in v0.46.0

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

type NetworkCoreMetrics_MessageAdded_Call struct {
	*mock.Call
}

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 (*NetworkCoreMetrics_MessageAdded_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_MessageAdded_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_MessageProcessingFinished_Call added in v0.46.0

type NetworkCoreMetrics_MessageProcessingFinished_Call struct {
	*mock.Call
}

NetworkCoreMetrics_MessageProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingFinished'

func (*NetworkCoreMetrics_MessageProcessingFinished_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_MessageProcessingFinished_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_MessageProcessingFinished_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_MessageProcessingStarted_Call added in v0.46.0

type NetworkCoreMetrics_MessageProcessingStarted_Call struct {
	*mock.Call
}

NetworkCoreMetrics_MessageProcessingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingStarted'

func (*NetworkCoreMetrics_MessageProcessingStarted_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_MessageProcessingStarted_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_MessageProcessingStarted_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_MessageRemoved_Call added in v0.46.0

type NetworkCoreMetrics_MessageRemoved_Call struct {
	*mock.Call
}

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 (*NetworkCoreMetrics_MessageRemoved_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_MessageRemoved_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_OnMisbehaviorReported_Call added in v0.46.0

type NetworkCoreMetrics_OnMisbehaviorReported_Call struct {
	*mock.Call
}

NetworkCoreMetrics_OnMisbehaviorReported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMisbehaviorReported'

func (*NetworkCoreMetrics_OnMisbehaviorReported_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_OnMisbehaviorReported_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_OnMisbehaviorReported_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_OnRateLimitedPeer_Call added in v0.46.0

type NetworkCoreMetrics_OnRateLimitedPeer_Call struct {
	*mock.Call
}

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 (*NetworkCoreMetrics_OnRateLimitedPeer_Call) Run added in v0.46.0

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 {
	*mock.Call
}

NetworkCoreMetrics_OnUnauthorizedMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnauthorizedMessage'

func (*NetworkCoreMetrics_OnUnauthorizedMessage_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_OnUnauthorizedMessage_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_OnUnauthorizedMessage_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_OnViolationReportSkipped_Call added in v0.46.0

type NetworkCoreMetrics_OnViolationReportSkipped_Call struct {
	*mock.Call
}

NetworkCoreMetrics_OnViolationReportSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnViolationReportSkipped'

func (*NetworkCoreMetrics_OnViolationReportSkipped_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_OnViolationReportSkipped_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_OnViolationReportSkipped_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_OutboundMessageSent_Call added in v0.46.0

type NetworkCoreMetrics_OutboundMessageSent_Call struct {
	*mock.Call
}

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 (*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

type NetworkCoreMetrics_QueueDuration_Call struct {
	*mock.Call
}

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 (*NetworkCoreMetrics_QueueDuration_Call) Run added in v0.46.0

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

type NetworkCoreMetrics_UnicastMessageSendingCompleted_Call struct {
	*mock.Call
}

NetworkCoreMetrics_UnicastMessageSendingCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingCompleted'

func (*NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn added in v0.46.0

type NetworkCoreMetrics_UnicastMessageSendingStarted_Call added in v0.46.0

type NetworkCoreMetrics_UnicastMessageSendingStarted_Call struct {
	*mock.Call
}

NetworkCoreMetrics_UnicastMessageSendingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingStarted'

func (*NetworkCoreMetrics_UnicastMessageSendingStarted_Call) Return added in v0.46.0

func (*NetworkCoreMetrics_UnicastMessageSendingStarted_Call) Run added in v0.46.0

func (*NetworkCoreMetrics_UnicastMessageSendingStarted_Call) RunAndReturn added in v0.46.0

type NetworkInboundQueueMetrics added in v0.29.1

type NetworkInboundQueueMetrics struct {
	mock.Mock
}

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 (*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

MessageAdded is a helper method to define mock.On call

  • priority int

func (*NetworkInboundQueueMetrics_Expecter) MessageRemoved added in v0.46.0

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

type NetworkInboundQueueMetrics_MessageAdded_Call struct {
	*mock.Call
}

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 (*NetworkInboundQueueMetrics_MessageAdded_Call) Run added in v0.46.0

func (*NetworkInboundQueueMetrics_MessageAdded_Call) RunAndReturn added in v0.46.0

type NetworkInboundQueueMetrics_MessageRemoved_Call added in v0.46.0

type NetworkInboundQueueMetrics_MessageRemoved_Call struct {
	*mock.Call
}

NetworkInboundQueueMetrics_MessageRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageRemoved'

func (*NetworkInboundQueueMetrics_MessageRemoved_Call) Return added in v0.46.0

func (*NetworkInboundQueueMetrics_MessageRemoved_Call) Run added in v0.46.0

func (*NetworkInboundQueueMetrics_MessageRemoved_Call) RunAndReturn added in v0.46.0

type NetworkInboundQueueMetrics_QueueDuration_Call added in v0.46.0

type NetworkInboundQueueMetrics_QueueDuration_Call struct {
	*mock.Call
}

NetworkInboundQueueMetrics_QueueDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueueDuration'

func (*NetworkInboundQueueMetrics_QueueDuration_Call) Return added in v0.46.0

func (*NetworkInboundQueueMetrics_QueueDuration_Call) Run added in v0.46.0

func (*NetworkInboundQueueMetrics_QueueDuration_Call) RunAndReturn added in v0.46.0

type NetworkMetrics

type NetworkMetrics struct {
	mock.Mock
}

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 (*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

type NetworkMetrics_AllowConn_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AllowConn_Call) Run added in v0.46.0

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

type NetworkMetrics_AllowMemory_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AllowMemory_Call) Run added in v0.46.0

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

type NetworkMetrics_AllowPeer_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AllowPeer_Call) Run added in v0.46.0

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

type NetworkMetrics_AllowProtocol_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AllowProtocol_Call) Run added in v0.46.0

func (*NetworkMetrics_AllowProtocol_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_AllowService_Call added in v0.46.0

type NetworkMetrics_AllowService_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AllowService_Call) Run added in v0.46.0

func (*NetworkMetrics_AllowService_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_AllowStream_Call added in v0.46.0

type NetworkMetrics_AllowStream_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AllowStream_Call) Run added in v0.46.0

func (*NetworkMetrics_AllowStream_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_AsyncProcessingFinished_Call added in v0.46.0

type NetworkMetrics_AsyncProcessingFinished_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AsyncProcessingFinished_Call) Run added in v0.46.0

func (*NetworkMetrics_AsyncProcessingFinished_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_AsyncProcessingStarted_Call added in v0.46.0

type NetworkMetrics_AsyncProcessingStarted_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_AsyncProcessingStarted_Call) Run added in v0.46.0

func (*NetworkMetrics_AsyncProcessingStarted_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_BlockConn_Call added in v0.46.0

type NetworkMetrics_BlockConn_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockConn_Call) Run added in v0.46.0

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

type NetworkMetrics_BlockMemory_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockMemory_Call) Run added in v0.46.0

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

type NetworkMetrics_BlockPeer_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockPeer_Call) Run added in v0.46.0

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

type NetworkMetrics_BlockProtocolPeer_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockProtocolPeer_Call) Run added in v0.46.0

func (*NetworkMetrics_BlockProtocolPeer_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_BlockProtocol_Call added in v0.46.0

type NetworkMetrics_BlockProtocol_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockProtocol_Call) Run added in v0.46.0

func (*NetworkMetrics_BlockProtocol_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_BlockServicePeer_Call added in v0.46.0

type NetworkMetrics_BlockServicePeer_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockServicePeer_Call) Run added in v0.46.0

func (*NetworkMetrics_BlockServicePeer_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_BlockService_Call added in v0.46.0

type NetworkMetrics_BlockService_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockService_Call) Run added in v0.46.0

func (*NetworkMetrics_BlockService_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_BlockStream_Call added in v0.46.0

type NetworkMetrics_BlockStream_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_BlockStream_Call) Run added in v0.46.0

func (*NetworkMetrics_BlockStream_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_DNSLookupDuration_Call added in v0.46.0

type NetworkMetrics_DNSLookupDuration_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_DNSLookupDuration_Call) Run added in v0.46.0

func (*NetworkMetrics_DNSLookupDuration_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_DuplicateInboundMessagesDropped_Call added in v0.46.0

type NetworkMetrics_DuplicateInboundMessagesDropped_Call struct {
	*mock.Call
}

NetworkMetrics_DuplicateInboundMessagesDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateInboundMessagesDropped'

func (*NetworkMetrics_DuplicateInboundMessagesDropped_Call) Return added in v0.46.0

func (*NetworkMetrics_DuplicateInboundMessagesDropped_Call) Run added in v0.46.0

func (*NetworkMetrics_DuplicateInboundMessagesDropped_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_DuplicateMessagePenalties_Call added in v0.46.0

type NetworkMetrics_DuplicateMessagePenalties_Call struct {
	*mock.Call
}

NetworkMetrics_DuplicateMessagePenalties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DuplicateMessagePenalties'

func (*NetworkMetrics_DuplicateMessagePenalties_Call) Return added in v0.46.0

func (*NetworkMetrics_DuplicateMessagePenalties_Call) Run added in v0.46.0

func (*NetworkMetrics_DuplicateMessagePenalties_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_DuplicateMessagesCounts_Call added in v0.46.0

type NetworkMetrics_DuplicateMessagesCounts_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_DuplicateMessagesCounts_Call) Run added in v0.46.0

func (*NetworkMetrics_DuplicateMessagesCounts_Call) RunAndReturn added in v0.46.0

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

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

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

OnDNSCacheHit is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnDNSCacheInvalidated added in v0.46.0

OnDNSCacheInvalidated is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnDNSCacheMiss added in v0.46.0

OnDNSCacheMiss is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnDNSLookupRequestDropped added in v0.46.0

OnDNSLookupRequestDropped is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnDialRetryBudgetResetToDefault added in v0.46.0

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

OnLocalPeerJoinedTopic is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnLocalPeerLeftTopic added in v0.46.0

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

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

OnPeerRemovedFromProtocol is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnPeerThrottled added in v0.46.0

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

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

OnUndeliveredMessage is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnUnstakedPeerInspectionFailed added in v0.46.0

OnUnstakedPeerInspectionFailed is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) OnViolationReportSkipped added in v0.46.0

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

RoutingTablePeerAdded is a helper method to define mock.On call

func (*NetworkMetrics_Expecter) RoutingTablePeerRemoved added in v0.46.0

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

type NetworkMetrics_InboundConnections_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_InboundConnections_Call) Run added in v0.46.0

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

type NetworkMetrics_InboundMessageReceived_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_MessageAdded_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_MessageAdded_Call) Run added in v0.46.0

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

type NetworkMetrics_MessageProcessingFinished_Call struct {
	*mock.Call
}

NetworkMetrics_MessageProcessingFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageProcessingFinished'

func (*NetworkMetrics_MessageProcessingFinished_Call) Return added in v0.46.0

func (*NetworkMetrics_MessageProcessingFinished_Call) Run added in v0.46.0

func (*NetworkMetrics_MessageProcessingFinished_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_MessageProcessingStarted_Call added in v0.46.0

type NetworkMetrics_MessageProcessingStarted_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_MessageProcessingStarted_Call) Run added in v0.46.0

func (*NetworkMetrics_MessageProcessingStarted_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_MessageRemoved_Call added in v0.46.0

type NetworkMetrics_MessageRemoved_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_MessageRemoved_Call) Run added in v0.46.0

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

type NetworkMetrics_OnActiveClusterIDsNotSetErr_Call struct {
	*mock.Call
}

NetworkMetrics_OnActiveClusterIDsNotSetErr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnActiveClusterIDsNotSetErr'

func (*NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) Return added in v0.46.0

func (*NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) Run added in v0.46.0

func (*NetworkMetrics_OnActiveClusterIDsNotSetErr_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnAppSpecificScoreUpdated_Call added in v0.46.0

type NetworkMetrics_OnAppSpecificScoreUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnAppSpecificScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAppSpecificScoreUpdated'

func (*NetworkMetrics_OnAppSpecificScoreUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnAppSpecificScoreUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnAppSpecificScoreUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnBehaviourPenaltyUpdated_Call added in v0.46.0

type NetworkMetrics_OnBehaviourPenaltyUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnBehaviourPenaltyUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBehaviourPenaltyUpdated'

func (*NetworkMetrics_OnBehaviourPenaltyUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnBehaviourPenaltyUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnBehaviourPenaltyUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnControlMessagesTruncated_Call added in v0.46.0

type NetworkMetrics_OnControlMessagesTruncated_Call struct {
	*mock.Call
}

NetworkMetrics_OnControlMessagesTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnControlMessagesTruncated'

func (*NetworkMetrics_OnControlMessagesTruncated_Call) Return added in v0.46.0

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

type NetworkMetrics_OnDNSCacheHit_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnDNSCacheHit_Call) Run added in v0.46.0

func (*NetworkMetrics_OnDNSCacheHit_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnDNSCacheInvalidated_Call added in v0.46.0

type NetworkMetrics_OnDNSCacheInvalidated_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnDNSCacheInvalidated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnDNSCacheInvalidated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnDNSCacheMiss_Call added in v0.46.0

type NetworkMetrics_OnDNSCacheMiss_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnDNSCacheMiss_Call) Run added in v0.46.0

func (*NetworkMetrics_OnDNSCacheMiss_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnDNSLookupRequestDropped_Call added in v0.46.0

type NetworkMetrics_OnDNSLookupRequestDropped_Call struct {
	*mock.Call
}

NetworkMetrics_OnDNSLookupRequestDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSLookupRequestDropped'

func (*NetworkMetrics_OnDNSLookupRequestDropped_Call) Return added in v0.46.0

func (*NetworkMetrics_OnDNSLookupRequestDropped_Call) Run added in v0.46.0

func (*NetworkMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnDialRetryBudgetResetToDefault_Call added in v0.46.0

type NetworkMetrics_OnDialRetryBudgetResetToDefault_Call struct {
	*mock.Call
}

NetworkMetrics_OnDialRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetResetToDefault'

func (*NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) Return added in v0.46.0

func (*NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) Run added in v0.46.0

func (*NetworkMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnDialRetryBudgetUpdated_Call added in v0.46.0

type NetworkMetrics_OnDialRetryBudgetUpdated_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnDialRetryBudgetUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnEstablishStreamFailure_Call added in v0.46.0

type NetworkMetrics_OnEstablishStreamFailure_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnEstablishStreamFailure_Call) Run added in v0.46.0

func (*NetworkMetrics_OnEstablishStreamFailure_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnFirstMessageDeliveredUpdated_Call added in v0.46.0

type NetworkMetrics_OnFirstMessageDeliveredUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnFirstMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirstMessageDeliveredUpdated'

func (*NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnFirstMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftDuplicateTopicIdsExceedThreshold'

func (*NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnGraftDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGraftInvalidTopicIdsExceedThreshold'

func (*NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnGraftInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnGraftMessageInspected_Call added in v0.46.0

type NetworkMetrics_OnGraftMessageInspected_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call struct {
	*mock.Call
}

NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveControlMessageIdsTruncated'

func (*NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIHaveControlMessageIdsTruncated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateMessageIdsExceedThreshold'

func (*NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIHaveDuplicateMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveDuplicateTopicIdsExceedThreshold'

func (*NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIHaveDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveInvalidTopicIdsExceedThreshold'

func (*NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIHaveInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIHaveMessageIDsReceived_Call added in v0.46.0

type NetworkMetrics_OnIHaveMessageIDsReceived_Call struct {
	*mock.Call
}

NetworkMetrics_OnIHaveMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIHaveMessageIDsReceived'

func (*NetworkMetrics_OnIHaveMessageIDsReceived_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIHaveMessageIDsReceived_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIHaveMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIHaveMessagesInspected_Call added in v0.46.0

type NetworkMetrics_OnIHaveMessagesInspected_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnIPColocationFactorUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnIPColocationFactorUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIPColocationFactorUpdated'

func (*NetworkMetrics_OnIPColocationFactorUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIPColocationFactorUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIPColocationFactorUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantCacheMissMessageIdsExceedThreshold'

func (*NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIWantCacheMissMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIWantControlMessageIdsTruncated_Call added in v0.46.0

type NetworkMetrics_OnIWantControlMessageIdsTruncated_Call struct {
	*mock.Call
}

NetworkMetrics_OnIWantControlMessageIdsTruncated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantControlMessageIdsTruncated'

func (*NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIWantControlMessageIdsTruncated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantDuplicateMessageIdsExceedThreshold'

func (*NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIWantDuplicateMessageIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIWantMessageIDsReceived_Call added in v0.46.0

type NetworkMetrics_OnIWantMessageIDsReceived_Call struct {
	*mock.Call
}

NetworkMetrics_OnIWantMessageIDsReceived_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnIWantMessageIDsReceived'

func (*NetworkMetrics_OnIWantMessageIDsReceived_Call) Return added in v0.46.0

func (*NetworkMetrics_OnIWantMessageIDsReceived_Call) Run added in v0.46.0

func (*NetworkMetrics_OnIWantMessageIDsReceived_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnIWantMessagesInspected_Call added in v0.46.0

type NetworkMetrics_OnIWantMessagesInspected_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnIncomingRpcReceived_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnInvalidControlMessageNotificationSent_Call struct {
	*mock.Call
}

NetworkMetrics_OnInvalidControlMessageNotificationSent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidControlMessageNotificationSent'

func (*NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) Return added in v0.46.0

func (*NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) Run added in v0.46.0

func (*NetworkMetrics_OnInvalidControlMessageNotificationSent_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call added in v0.46.0

type NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidMessageDeliveredUpdated'

func (*NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnInvalidMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call added in v0.46.0

type NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call struct {
	*mock.Call
}

NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInvalidTopicIdDetectedForControlMessage'

func (*NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Return added in v0.46.0

func (*NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) Run added in v0.46.0

func (*NetworkMetrics_OnInvalidTopicIdDetectedForControlMessage_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnLocalMeshSizeUpdated_Call added in v0.46.0

type NetworkMetrics_OnLocalMeshSizeUpdated_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnLocalMeshSizeUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnLocalMeshSizeUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnLocalPeerJoinedTopic_Call added in v0.46.0

type NetworkMetrics_OnLocalPeerJoinedTopic_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnLocalPeerJoinedTopic_Call) Run added in v0.46.0

func (*NetworkMetrics_OnLocalPeerJoinedTopic_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnLocalPeerLeftTopic_Call added in v0.46.0

type NetworkMetrics_OnLocalPeerLeftTopic_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnLocalPeerLeftTopic_Call) Run added in v0.46.0

func (*NetworkMetrics_OnLocalPeerLeftTopic_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnMeshMessageDeliveredUpdated_Call added in v0.46.0

type NetworkMetrics_OnMeshMessageDeliveredUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnMeshMessageDeliveredUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeshMessageDeliveredUpdated'

func (*NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnMeshMessageDeliveredUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call added in v0.46.0

type NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call struct {
	*mock.Call
}

NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageDeliveredToAllSubscribers'

func (*NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) Return added in v0.46.0

func (*NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) Run added in v0.46.0

func (*NetworkMetrics_OnMessageDeliveredToAllSubscribers_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnMessageDuplicate_Call added in v0.46.0

type NetworkMetrics_OnMessageDuplicate_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnMessageDuplicate_Call) Run added in v0.46.0

func (*NetworkMetrics_OnMessageDuplicate_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnMessageEnteredValidation_Call added in v0.46.0

type NetworkMetrics_OnMessageEnteredValidation_Call struct {
	*mock.Call
}

NetworkMetrics_OnMessageEnteredValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMessageEnteredValidation'

func (*NetworkMetrics_OnMessageEnteredValidation_Call) Return added in v0.46.0

func (*NetworkMetrics_OnMessageEnteredValidation_Call) Run added in v0.46.0

func (*NetworkMetrics_OnMessageEnteredValidation_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnMessageRejected_Call added in v0.46.0

type NetworkMetrics_OnMessageRejected_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnMessageRejected_Call) Run added in v0.46.0

func (*NetworkMetrics_OnMessageRejected_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnMisbehaviorReported_Call added in v0.46.0

type NetworkMetrics_OnMisbehaviorReported_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnMisbehaviorReported_Call) Run added in v0.46.0

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

type NetworkMetrics_OnOutboundRpcDropped_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnOutboundRpcDropped_Call) Run added in v0.46.0

func (*NetworkMetrics_OnOutboundRpcDropped_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnOverallPeerScoreUpdated_Call added in v0.46.0

type NetworkMetrics_OnOverallPeerScoreUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnOverallPeerScoreUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOverallPeerScoreUpdated'

func (*NetworkMetrics_OnOverallPeerScoreUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnOverallPeerScoreUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnOverallPeerScoreUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPeerAddedToProtocol_Call added in v0.46.0

type NetworkMetrics_OnPeerAddedToProtocol_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnPeerAddedToProtocol_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPeerAddedToProtocol_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPeerDialFailure_Call added in v0.46.0

type NetworkMetrics_OnPeerDialFailure_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnPeerDialFailure_Call) Run added in v0.46.0

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

type NetworkMetrics_OnPeerDialed_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnPeerDialed_Call) Run added in v0.46.0

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

type NetworkMetrics_OnPeerGraftTopic_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnPeerGraftTopic_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPeerGraftTopic_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPeerPruneTopic_Call added in v0.46.0

type NetworkMetrics_OnPeerPruneTopic_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnPeerPruneTopic_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPeerPruneTopic_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPeerRemovedFromProtocol_Call added in v0.46.0

type NetworkMetrics_OnPeerRemovedFromProtocol_Call struct {
	*mock.Call
}

NetworkMetrics_OnPeerRemovedFromProtocol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPeerRemovedFromProtocol'

func (*NetworkMetrics_OnPeerRemovedFromProtocol_Call) Return added in v0.46.0

func (*NetworkMetrics_OnPeerRemovedFromProtocol_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPeerRemovedFromProtocol_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPeerThrottled_Call added in v0.46.0

type NetworkMetrics_OnPeerThrottled_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnPeerThrottled_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPeerThrottled_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneDuplicateTopicIdsExceedThreshold'

func (*NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPruneDuplicateTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call added in v0.46.0

type NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call struct {
	*mock.Call
}

NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPruneInvalidTopicIdsExceedThreshold'

func (*NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Return added in v0.46.0

func (*NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) Run added in v0.46.0

func (*NetworkMetrics_OnPruneInvalidTopicIdsExceedThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnPruneMessageInspected_Call added in v0.46.0

type NetworkMetrics_OnPruneMessageInspected_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnPublishMessageInspected_Call struct {
	*mock.Call
}

NetworkMetrics_OnPublishMessageInspected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnPublishMessageInspected'

func (*NetworkMetrics_OnPublishMessageInspected_Call) Return added in v0.46.0

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

type NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*NetworkMetrics_OnPublishMessagesInspectionErrorExceedsThreshold_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnRateLimitedPeer_Call added in v0.46.0

type NetworkMetrics_OnRateLimitedPeer_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnRpcReceived_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnRpcRejectedFromUnknownSender_Call struct {
	*mock.Call
}

NetworkMetrics_OnRpcRejectedFromUnknownSender_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRpcRejectedFromUnknownSender'

func (*NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) Return added in v0.46.0

func (*NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) Run added in v0.46.0

func (*NetworkMetrics_OnRpcRejectedFromUnknownSender_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnRpcSent_Call added in v0.46.0

type NetworkMetrics_OnRpcSent_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_OnStreamCreated_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnStreamCreated_Call) Run added in v0.46.0

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

type NetworkMetrics_OnStreamCreationFailure_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnStreamCreationFailure_Call) Run added in v0.46.0

func (*NetworkMetrics_OnStreamCreationFailure_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call added in v0.46.0

type NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call struct {
	*mock.Call
}

NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetResetToDefault'

func (*NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Return added in v0.46.0

func (*NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) Run added in v0.46.0

func (*NetworkMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call added in v0.46.0

type NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call struct {
	*mock.Call
}

NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetUpdated'

func (*NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) Return added in v0.46.0

func (*NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnStreamEstablished_Call added in v0.46.0

type NetworkMetrics_OnStreamEstablished_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnStreamEstablished_Call) Run added in v0.46.0

func (*NetworkMetrics_OnStreamEstablished_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnTimeInMeshUpdated_Call added in v0.46.0

type NetworkMetrics_OnTimeInMeshUpdated_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnTimeInMeshUpdated_Call) Run added in v0.46.0

func (*NetworkMetrics_OnTimeInMeshUpdated_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnUnauthorizedMessage_Call added in v0.46.0

type NetworkMetrics_OnUnauthorizedMessage_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnUnauthorizedMessage_Call) Run added in v0.46.0

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

type NetworkMetrics_OnUndeliveredMessage_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnUndeliveredMessage_Call) Run added in v0.46.0

func (*NetworkMetrics_OnUndeliveredMessage_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnUnstakedPeerInspectionFailed_Call added in v0.46.0

type NetworkMetrics_OnUnstakedPeerInspectionFailed_Call struct {
	*mock.Call
}

NetworkMetrics_OnUnstakedPeerInspectionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnstakedPeerInspectionFailed'

func (*NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) Return added in v0.46.0

func (*NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) Run added in v0.46.0

func (*NetworkMetrics_OnUnstakedPeerInspectionFailed_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OnViolationReportSkipped_Call added in v0.46.0

type NetworkMetrics_OnViolationReportSkipped_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OnViolationReportSkipped_Call) Run added in v0.46.0

func (*NetworkMetrics_OnViolationReportSkipped_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_OutboundConnections_Call added in v0.46.0

type NetworkMetrics_OutboundConnections_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_OutboundConnections_Call) Run added in v0.46.0

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

type NetworkMetrics_OutboundMessageSent_Call struct {
	*mock.Call
}

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 (*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

type NetworkMetrics_QueueDuration_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_QueueDuration_Call) Run added in v0.46.0

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

type NetworkMetrics_RoutingTablePeerAdded_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_RoutingTablePeerAdded_Call) Run added in v0.46.0

func (*NetworkMetrics_RoutingTablePeerAdded_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_RoutingTablePeerRemoved_Call added in v0.46.0

type NetworkMetrics_RoutingTablePeerRemoved_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_RoutingTablePeerRemoved_Call) Run added in v0.46.0

func (*NetworkMetrics_RoutingTablePeerRemoved_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_SetWarningStateCount_Call added in v0.46.0

type NetworkMetrics_SetWarningStateCount_Call struct {
	*mock.Call
}

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 (*NetworkMetrics_SetWarningStateCount_Call) Run added in v0.46.0

func (*NetworkMetrics_SetWarningStateCount_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_UnicastMessageSendingCompleted_Call added in v0.46.0

type NetworkMetrics_UnicastMessageSendingCompleted_Call struct {
	*mock.Call
}

NetworkMetrics_UnicastMessageSendingCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingCompleted'

func (*NetworkMetrics_UnicastMessageSendingCompleted_Call) Return added in v0.46.0

func (*NetworkMetrics_UnicastMessageSendingCompleted_Call) Run added in v0.46.0

func (*NetworkMetrics_UnicastMessageSendingCompleted_Call) RunAndReturn added in v0.46.0

type NetworkMetrics_UnicastMessageSendingStarted_Call added in v0.46.0

type NetworkMetrics_UnicastMessageSendingStarted_Call struct {
	*mock.Call
}

NetworkMetrics_UnicastMessageSendingStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicastMessageSendingStarted'

func (*NetworkMetrics_UnicastMessageSendingStarted_Call) Return added in v0.46.0

func (*NetworkMetrics_UnicastMessageSendingStarted_Call) Run added in v0.46.0

func (*NetworkMetrics_UnicastMessageSendingStarted_Call) RunAndReturn added in v0.46.0

type NetworkSecurityMetrics added in v0.28.0

type NetworkSecurityMetrics struct {
	mock.Mock
}

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 (*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

OnViolationReportSkipped is a helper method to define mock.On call

type NetworkSecurityMetrics_OnRateLimitedPeer_Call added in v0.46.0

type NetworkSecurityMetrics_OnRateLimitedPeer_Call struct {
	*mock.Call
}

NetworkSecurityMetrics_OnRateLimitedPeer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRateLimitedPeer'

func (*NetworkSecurityMetrics_OnRateLimitedPeer_Call) Return added in v0.46.0

func (*NetworkSecurityMetrics_OnRateLimitedPeer_Call) Run added in v0.46.0

func (*NetworkSecurityMetrics_OnRateLimitedPeer_Call) RunAndReturn added in v0.46.0

type NetworkSecurityMetrics_OnUnauthorizedMessage_Call added in v0.46.0

type NetworkSecurityMetrics_OnUnauthorizedMessage_Call struct {
	*mock.Call
}

NetworkSecurityMetrics_OnUnauthorizedMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnauthorizedMessage'

func (*NetworkSecurityMetrics_OnUnauthorizedMessage_Call) Return added in v0.46.0

func (*NetworkSecurityMetrics_OnUnauthorizedMessage_Call) Run added in v0.46.0

func (*NetworkSecurityMetrics_OnUnauthorizedMessage_Call) RunAndReturn added in v0.46.0

type NetworkSecurityMetrics_OnViolationReportSkipped_Call added in v0.46.0

type NetworkSecurityMetrics_OnViolationReportSkipped_Call struct {
	*mock.Call
}

NetworkSecurityMetrics_OnViolationReportSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnViolationReportSkipped'

func (*NetworkSecurityMetrics_OnViolationReportSkipped_Call) Return added in v0.46.0

func (*NetworkSecurityMetrics_OnViolationReportSkipped_Call) Run added in v0.46.0

func (*NetworkSecurityMetrics_OnViolationReportSkipped_Call) RunAndReturn added in v0.46.0

type NewJobListener added in v0.15.0

type NewJobListener struct {
	mock.Mock
}

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

type NewJobListener_Check_Call added in v0.46.0

type NewJobListener_Check_Call struct {
	*mock.Call
}

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 (*NewJobListener_Check_Call) Run added in v0.46.0

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

Check is a helper method to define mock.On call

type PendingBlockBuffer

type PendingBlockBuffer struct {
	mock.Mock
}

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) Add

func (_mock *PendingBlockBuffer) Add(block flow.Slashable[*flow.Proposal]) bool

Add provides a mock function for the type PendingBlockBuffer

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 (*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

type PendingBlockBuffer_Add_Call struct {
	*mock.Call
}

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 (*PendingBlockBuffer_Add_Call) Run added in v0.46.0

func (*PendingBlockBuffer_Add_Call) RunAndReturn added in v0.46.0

type PendingBlockBuffer_ByID_Call added in v0.46.0

type PendingBlockBuffer_ByID_Call struct {
	*mock.Call
}

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 (*PendingBlockBuffer_ByID_Call) Run added in v0.46.0

func (*PendingBlockBuffer_ByID_Call) RunAndReturn added in v0.46.0

type PendingBlockBuffer_ByParentID_Call added in v0.46.0

type PendingBlockBuffer_ByParentID_Call struct {
	*mock.Call
}

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 (*PendingBlockBuffer_ByParentID_Call) Run added in v0.46.0

func (*PendingBlockBuffer_ByParentID_Call) RunAndReturn added in v0.46.0

type PendingBlockBuffer_DropForParent_Call added in v0.46.0

type PendingBlockBuffer_DropForParent_Call struct {
	*mock.Call
}

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 (*PendingBlockBuffer_DropForParent_Call) Run added in v0.46.0

func (*PendingBlockBuffer_DropForParent_Call) RunAndReturn added in v0.46.0

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

Size is a helper method to define mock.On call

type PendingBlockBuffer_PruneByView_Call added in v0.46.0

type PendingBlockBuffer_PruneByView_Call struct {
	*mock.Call
}

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 (*PendingBlockBuffer_PruneByView_Call) Run added in v0.46.0

func (*PendingBlockBuffer_PruneByView_Call) RunAndReturn added in v0.46.0

type PendingBlockBuffer_Size_Call added in v0.46.0

type PendingBlockBuffer_Size_Call struct {
	*mock.Call
}

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 (*PendingBlockBuffer_Size_Call) Run added in v0.46.0

func (*PendingBlockBuffer_Size_Call) RunAndReturn added in v0.46.0

func (_c *PendingBlockBuffer_Size_Call) RunAndReturn(run func() uint) *PendingBlockBuffer_Size_Call

type PendingClusterBlockBuffer

type PendingClusterBlockBuffer struct {
	mock.Mock
}

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

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 (*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

type PendingClusterBlockBuffer_Add_Call struct {
	*mock.Call
}

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 (*PendingClusterBlockBuffer_Add_Call) Run added in v0.46.0

func (*PendingClusterBlockBuffer_Add_Call) RunAndReturn added in v0.46.0

type PendingClusterBlockBuffer_ByID_Call added in v0.46.0

type PendingClusterBlockBuffer_ByID_Call struct {
	*mock.Call
}

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 (*PendingClusterBlockBuffer_ByID_Call) Run added in v0.46.0

func (*PendingClusterBlockBuffer_ByID_Call) RunAndReturn added in v0.46.0

type PendingClusterBlockBuffer_ByParentID_Call added in v0.46.0

type PendingClusterBlockBuffer_ByParentID_Call struct {
	*mock.Call
}

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 (*PendingClusterBlockBuffer_ByParentID_Call) Run added in v0.46.0

func (*PendingClusterBlockBuffer_ByParentID_Call) RunAndReturn added in v0.46.0

type PendingClusterBlockBuffer_DropForParent_Call added in v0.46.0

type PendingClusterBlockBuffer_DropForParent_Call struct {
	*mock.Call
}

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 (*PendingClusterBlockBuffer_DropForParent_Call) Run added in v0.46.0

func (*PendingClusterBlockBuffer_DropForParent_Call) RunAndReturn added in v0.46.0

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

Add is a helper method to define mock.On call

  • block flow.Slashable[*cluster.Proposal]

func (*PendingClusterBlockBuffer_Expecter) ByID added in v0.46.0

ByID is a helper method to define mock.On call

  • blockID flow.Identifier

func (*PendingClusterBlockBuffer_Expecter) ByParentID added in v0.46.0

ByParentID is a helper method to define mock.On call

  • parentID flow.Identifier

func (*PendingClusterBlockBuffer_Expecter) DropForParent added in v0.46.0

DropForParent is a helper method to define mock.On call

  • parentID flow.Identifier

func (*PendingClusterBlockBuffer_Expecter) PruneByView added in v0.46.0

PruneByView is a helper method to define mock.On call

  • view uint64

func (*PendingClusterBlockBuffer_Expecter) Size added in v0.46.0

Size is a helper method to define mock.On call

type PendingClusterBlockBuffer_PruneByView_Call added in v0.46.0

type PendingClusterBlockBuffer_PruneByView_Call struct {
	*mock.Call
}

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 (*PendingClusterBlockBuffer_PruneByView_Call) Run added in v0.46.0

func (*PendingClusterBlockBuffer_PruneByView_Call) RunAndReturn added in v0.46.0

type PendingClusterBlockBuffer_Size_Call added in v0.46.0

type PendingClusterBlockBuffer_Size_Call struct {
	*mock.Call
}

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 (*PendingClusterBlockBuffer_Size_Call) Run added in v0.46.0

func (*PendingClusterBlockBuffer_Size_Call) RunAndReturn added in v0.46.0

type PingMetrics

type PingMetrics struct {
	mock.Mock
}

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

func (_mock *PingMetrics) NodeReachable(node *flow.Identity, nodeInfo string, rtt time.Duration)

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

type PingMetrics_NodeInfo_Call struct {
	*mock.Call
}

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 (*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

type PingMetrics_NodeReachable_Call struct {
	*mock.Call
}

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 (*PingMetrics_NodeReachable_Call) Run added in v0.46.0

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

type PrivateKey struct {
	mock.Mock
}

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) Sign added in v0.43.2

func (_mock *PrivateKey) Sign(bytes []byte, hasher hash.Hasher) (crypto.Signature, error)

Sign 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

type PrivateKey_Algorithm_Call struct {
	*mock.Call
}

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 (*PrivateKey_Algorithm_Call) Run added in v0.46.0

func (*PrivateKey_Algorithm_Call) RunAndReturn added in v0.46.0

type PrivateKey_Encode_Call added in v0.46.0

type PrivateKey_Encode_Call struct {
	*mock.Call
}

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

type PrivateKey_Equals_Call struct {
	*mock.Call
}

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 (*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

Algorithm is a helper method to define mock.On call

func (*PrivateKey_Expecter) Encode added in v0.46.0

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

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

Size is a helper method to define mock.On call

func (*PrivateKey_Expecter) String added in v0.46.0

String is a helper method to define mock.On call

type PrivateKey_PublicKey_Call added in v0.46.0

type PrivateKey_PublicKey_Call struct {
	*mock.Call
}

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 (*PrivateKey_PublicKey_Call) Run added in v0.46.0

func (*PrivateKey_PublicKey_Call) RunAndReturn added in v0.46.0

type PrivateKey_Sign_Call added in v0.46.0

type PrivateKey_Sign_Call struct {
	*mock.Call
}

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

type PrivateKey_Size_Call struct {
	*mock.Call
}

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 (*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

type PrivateKey_String_Call struct {
	*mock.Call
}

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 (*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

type ProcessingNotifier struct {
	mock.Mock
}

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 (*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

type ProcessingNotifier_Notify_Call struct {
	*mock.Call
}

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 (*ProcessingNotifier_Notify_Call) Run added in v0.46.0

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

type ProviderMetrics struct {
	mock.Mock
}

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

type ProviderMetrics_ChunkDataPackRequestProcessed_Call added in v0.46.0

type ProviderMetrics_ChunkDataPackRequestProcessed_Call struct {
	*mock.Call
}

ProviderMetrics_ChunkDataPackRequestProcessed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkDataPackRequestProcessed'

func (*ProviderMetrics_ChunkDataPackRequestProcessed_Call) Return added in v0.46.0

func (*ProviderMetrics_ChunkDataPackRequestProcessed_Call) Run added in v0.46.0

func (*ProviderMetrics_ChunkDataPackRequestProcessed_Call) RunAndReturn added in v0.46.0

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

ChunkDataPackRequestProcessed is a helper method to define mock.On call

type PublicKey added in v0.23.9

type PublicKey struct {
	mock.Mock
}

PublicKey is an autogenerated mock type for the PublicKey type

func NewPublicKey added in v0.26.1

func NewPublicKey(t interface {
	mock.TestingT
	Cleanup(func())
}) *PublicKey

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) Encode added in v0.23.9

func (_mock *PublicKey) Encode() []byte

Encode provides a mock function for the type PublicKey

func (*PublicKey) EncodeCompressed added in v0.23.9

func (_mock *PublicKey) EncodeCompressed() []byte

EncodeCompressed provides a mock function for the type PublicKey

func (*PublicKey) Equals added in v0.23.9

func (_mock *PublicKey) Equals(publicKey crypto.PublicKey) bool

Equals provides a mock function for the type PublicKey

func (*PublicKey) Size added in v0.23.9

func (_mock *PublicKey) Size() int

Size provides a mock function for the type PublicKey

func (*PublicKey) String added in v0.23.9

func (_mock *PublicKey) String() string

String provides a mock function for the type PublicKey

func (*PublicKey) Verify added in v0.23.9

func (_mock *PublicKey) Verify(signature crypto.Signature, bytes []byte, hasher hash.Hasher) (bool, error)

Verify provides a mock function for the type PublicKey

type PublicKey_Algorithm_Call added in v0.46.0

type PublicKey_Algorithm_Call struct {
	*mock.Call
}

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 (*PublicKey_Algorithm_Call) Run added in v0.46.0

func (*PublicKey_Algorithm_Call) RunAndReturn added in v0.46.0

type PublicKey_EncodeCompressed_Call added in v0.46.0

type PublicKey_EncodeCompressed_Call struct {
	*mock.Call
}

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 (*PublicKey_EncodeCompressed_Call) Run added in v0.46.0

func (*PublicKey_EncodeCompressed_Call) RunAndReturn added in v0.46.0

type PublicKey_Encode_Call added in v0.46.0

type PublicKey_Encode_Call struct {
	*mock.Call
}

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

type PublicKey_Equals_Call struct {
	*mock.Call
}

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 (*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

Algorithm is a helper method to define mock.On call

func (*PublicKey_Expecter) Encode added in v0.46.0

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

Size is a helper method to define mock.On call

func (*PublicKey_Expecter) String added in v0.46.0

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

type PublicKey_Size_Call struct {
	*mock.Call
}

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 (*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

type PublicKey_String_Call struct {
	*mock.Call
}

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 (*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

type PublicKey_Verify_Call struct {
	*mock.Call
}

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 (*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

type QCContractClient struct {
	mock.Mock
}

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 (*QCContractClient) SubmitVote

func (_mock *QCContractClient) SubmitVote(ctx context.Context, vote *model.Vote) error

SubmitVote provides a mock function for the type QCContractClient

func (*QCContractClient) Voted

func (_mock *QCContractClient) Voted(ctx context.Context) (bool, error)

Voted 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

type QCContractClient_SubmitVote_Call struct {
	*mock.Call
}

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 (*QCContractClient_SubmitVote_Call) Run added in v0.46.0

func (*QCContractClient_SubmitVote_Call) RunAndReturn added in v0.46.0

type QCContractClient_Voted_Call added in v0.46.0

type QCContractClient_Voted_Call struct {
	*mock.Call
}

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 (*QCContractClient_Voted_Call) Run added in v0.46.0

func (*QCContractClient_Voted_Call) RunAndReturn added in v0.46.0

type RandomBeaconKeyStore added in v0.23.9

type RandomBeaconKeyStore struct {
	mock.Mock
}

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

type RandomBeaconKeyStore_ByView_Call added in v0.46.0

type RandomBeaconKeyStore_ByView_Call struct {
	*mock.Call
}

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 (*RandomBeaconKeyStore_ByView_Call) Run added in v0.46.0

func (*RandomBeaconKeyStore_ByView_Call) RunAndReturn added in v0.46.0

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

ByView is a helper method to define mock.On call

  • view uint64

type RateLimitedBlockstoreMetrics added in v0.28.0

type RateLimitedBlockstoreMetrics struct {
	mock.Mock
}

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

type RateLimitedBlockstoreMetrics_BytesRead_Call added in v0.46.0

type RateLimitedBlockstoreMetrics_BytesRead_Call struct {
	*mock.Call
}

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 (*RateLimitedBlockstoreMetrics_BytesRead_Call) Run added in v0.46.0

func (*RateLimitedBlockstoreMetrics_BytesRead_Call) RunAndReturn added in v0.46.0

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

BytesRead is a helper method to define mock.On call

  • n int

type ReadonlySealingLagRateLimiterConfig added in v0.43.0

type ReadonlySealingLagRateLimiterConfig struct {
	mock.Mock
}

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 (*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

HalvingInterval is a helper method to define mock.On call

func (*ReadonlySealingLagRateLimiterConfig_Expecter) MaxSealingLag added in v0.46.0

MaxSealingLag is a helper method to define mock.On call

func (*ReadonlySealingLagRateLimiterConfig_Expecter) MinCollectionSize added in v0.46.0

MinCollectionSize is a helper method to define mock.On call

func (*ReadonlySealingLagRateLimiterConfig_Expecter) MinSealingLag added in v0.46.0

MinSealingLag is a helper method to define mock.On call

type ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call struct {
	*mock.Call
}

ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HalvingInterval'

func (*ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) Return added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) Run added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call struct {
	*mock.Call
}

ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxSealingLag'

func (*ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) Return added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) Run added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call struct {
	*mock.Call
}

ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinCollectionSize'

func (*ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) Return added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) Run added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call added in v0.46.0

type ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call struct {
	*mock.Call
}

ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinSealingLag'

func (*ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) Return added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) Run added in v0.46.0

func (*ReadonlySealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn added in v0.46.0

type ReadyDoneAware

type ReadyDoneAware struct {
	mock.Mock
}

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 (*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

type ReadyDoneAware_Done_Call struct {
	*mock.Call
}

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 (*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

Done is a helper method to define mock.On call

func (*ReadyDoneAware_Expecter) Ready added in v0.46.0

Ready is a helper method to define mock.On call

type ReadyDoneAware_Ready_Call added in v0.46.0

type ReadyDoneAware_Ready_Call struct {
	*mock.Call
}

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 (*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

type ReceiptValidator struct {
	mock.Mock
}

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 (*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

type ReceiptValidator_ValidatePayload_Call struct {
	*mock.Call
}

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 (*ReceiptValidator_ValidatePayload_Call) Run added in v0.46.0

func (*ReceiptValidator_ValidatePayload_Call) RunAndReturn added in v0.46.0

type ReceiptValidator_Validate_Call added in v0.46.0

type ReceiptValidator_Validate_Call struct {
	*mock.Call
}

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 (*ReceiptValidator_Validate_Call) Run added in v0.46.0

func (*ReceiptValidator_Validate_Call) RunAndReturn added in v0.46.0

type Requester

type Requester struct {
	mock.Mock
}

Requester is an autogenerated mock type for the Requester type

func NewRequester added in v0.26.1

func NewRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *Requester

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

func (*Requester) Force

func (_mock *Requester) Force()

Force provides a mock function for the type Requester

type Requester_EntityByID_Call added in v0.46.0

type Requester_EntityByID_Call struct {
	*mock.Call
}

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 (*Requester_EntityByID_Call) Run added in v0.46.0

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

type Requester_EntityBySecondaryKey_Call struct {
	*mock.Call
}

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 (*Requester_EntityBySecondaryKey_Call) Run added in v0.46.0

func (*Requester_EntityBySecondaryKey_Call) RunAndReturn added in v0.46.0

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

Force is a helper method to define mock.On call

type Requester_Force_Call added in v0.46.0

type Requester_Force_Call struct {
	*mock.Call
}

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 (*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

type ResolverMetrics struct {
	mock.Mock
}

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 (*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

type ResolverMetrics_DNSLookupDuration_Call struct {
	*mock.Call
}

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 (*ResolverMetrics_DNSLookupDuration_Call) Run added in v0.46.0

func (*ResolverMetrics_DNSLookupDuration_Call) RunAndReturn added in v0.46.0

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

OnDNSCacheHit is a helper method to define mock.On call

func (*ResolverMetrics_Expecter) OnDNSCacheInvalidated added in v0.46.0

OnDNSCacheInvalidated is a helper method to define mock.On call

func (*ResolverMetrics_Expecter) OnDNSCacheMiss added in v0.46.0

OnDNSCacheMiss is a helper method to define mock.On call

func (*ResolverMetrics_Expecter) OnDNSLookupRequestDropped added in v0.46.0

OnDNSLookupRequestDropped is a helper method to define mock.On call

type ResolverMetrics_OnDNSCacheHit_Call added in v0.46.0

type ResolverMetrics_OnDNSCacheHit_Call struct {
	*mock.Call
}

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 (*ResolverMetrics_OnDNSCacheHit_Call) Run added in v0.46.0

func (*ResolverMetrics_OnDNSCacheHit_Call) RunAndReturn added in v0.46.0

type ResolverMetrics_OnDNSCacheInvalidated_Call added in v0.46.0

type ResolverMetrics_OnDNSCacheInvalidated_Call struct {
	*mock.Call
}

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 (*ResolverMetrics_OnDNSCacheInvalidated_Call) Run added in v0.46.0

func (*ResolverMetrics_OnDNSCacheInvalidated_Call) RunAndReturn added in v0.46.0

type ResolverMetrics_OnDNSCacheMiss_Call added in v0.46.0

type ResolverMetrics_OnDNSCacheMiss_Call struct {
	*mock.Call
}

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 (*ResolverMetrics_OnDNSCacheMiss_Call) Run added in v0.46.0

func (*ResolverMetrics_OnDNSCacheMiss_Call) RunAndReturn added in v0.46.0

type ResolverMetrics_OnDNSLookupRequestDropped_Call added in v0.46.0

type ResolverMetrics_OnDNSLookupRequestDropped_Call struct {
	*mock.Call
}

ResolverMetrics_OnDNSLookupRequestDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDNSLookupRequestDropped'

func (*ResolverMetrics_OnDNSLookupRequestDropped_Call) Return added in v0.46.0

func (*ResolverMetrics_OnDNSLookupRequestDropped_Call) Run added in v0.46.0

func (*ResolverMetrics_OnDNSLookupRequestDropped_Call) RunAndReturn added in v0.46.0

type RestMetrics added in v0.31.0

type RestMetrics struct {
	mock.Mock
}

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

type RestMetrics_AddInflightRequests_Call struct {
	*mock.Call
}

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 (*RestMetrics_AddInflightRequests_Call) Run added in v0.46.0

func (*RestMetrics_AddInflightRequests_Call) RunAndReturn added in v0.46.0

type RestMetrics_AddTotalRequests_Call added in v0.46.0

type RestMetrics_AddTotalRequests_Call struct {
	*mock.Call
}

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 (*RestMetrics_AddTotalRequests_Call) Run added in v0.46.0

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

type RestMetrics_ObserveHTTPRequestDuration_Call struct {
	*mock.Call
}

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 (*RestMetrics_ObserveHTTPRequestDuration_Call) Run added in v0.46.0

func (*RestMetrics_ObserveHTTPRequestDuration_Call) RunAndReturn added in v0.46.0

type RestMetrics_ObserveHTTPResponseSize_Call added in v0.46.0

type RestMetrics_ObserveHTTPResponseSize_Call struct {
	*mock.Call
}

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 (*RestMetrics_ObserveHTTPResponseSize_Call) Run added in v0.46.0

func (*RestMetrics_ObserveHTTPResponseSize_Call) RunAndReturn added in v0.46.0

type RuntimeMetrics

type RuntimeMetrics struct {
	mock.Mock
}

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 (*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

type RuntimeMetrics_RuntimeSetNumberOfAccounts_Call struct {
	*mock.Call
}

RuntimeMetrics_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'

func (*RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) Return added in v0.46.0

func (*RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) Run added in v0.46.0

func (*RuntimeMetrics_RuntimeSetNumberOfAccounts_Call) RunAndReturn added in v0.46.0

type RuntimeMetrics_RuntimeTransactionChecked_Call added in v0.46.0

type RuntimeMetrics_RuntimeTransactionChecked_Call struct {
	*mock.Call
}

RuntimeMetrics_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'

func (*RuntimeMetrics_RuntimeTransactionChecked_Call) Return added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionChecked_Call) Run added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionChecked_Call) RunAndReturn added in v0.46.0

type RuntimeMetrics_RuntimeTransactionInterpreted_Call added in v0.46.0

type RuntimeMetrics_RuntimeTransactionInterpreted_Call struct {
	*mock.Call
}

RuntimeMetrics_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'

func (*RuntimeMetrics_RuntimeTransactionInterpreted_Call) Return added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionInterpreted_Call) Run added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionInterpreted_Call) RunAndReturn added in v0.46.0

type RuntimeMetrics_RuntimeTransactionParsed_Call added in v0.46.0

type RuntimeMetrics_RuntimeTransactionParsed_Call struct {
	*mock.Call
}

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 (*RuntimeMetrics_RuntimeTransactionParsed_Call) Run added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionParsed_Call) RunAndReturn added in v0.46.0

type RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call added in v0.46.0

type RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call struct {
	*mock.Call
}

RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'

func (*RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) Return added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) Run added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn added in v0.46.0

type RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call added in v0.46.0

type RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call struct {
	*mock.Call
}

RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'

func (*RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) Return added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) Run added in v0.46.0

func (*RuntimeMetrics_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn added in v0.46.0

type SDKClientWrapper added in v0.20.0

type SDKClientWrapper struct {
	mock.Mock
}

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 (*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

type SDKClientWrapper_ExecuteScriptAtBlockID_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_ExecuteScriptAtBlockID_Call) Run added in v0.46.0

func (*SDKClientWrapper_ExecuteScriptAtBlockID_Call) RunAndReturn added in v0.46.0

type SDKClientWrapper_ExecuteScriptAtLatestBlock_Call added in v0.46.0

type SDKClientWrapper_ExecuteScriptAtLatestBlock_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) Run added in v0.46.0

func (*SDKClientWrapper_ExecuteScriptAtLatestBlock_Call) RunAndReturn added in v0.46.0

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

type SDKClientWrapper_GetAccountAtLatestBlock_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_GetAccountAtLatestBlock_Call) Run added in v0.46.0

func (*SDKClientWrapper_GetAccountAtLatestBlock_Call) RunAndReturn added in v0.46.0

type SDKClientWrapper_GetAccount_Call added in v0.46.0

type SDKClientWrapper_GetAccount_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_GetAccount_Call) Run added in v0.46.0

func (*SDKClientWrapper_GetAccount_Call) RunAndReturn added in v0.46.0

type SDKClientWrapper_GetLatestBlock_Call added in v0.46.0

type SDKClientWrapper_GetLatestBlock_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_GetLatestBlock_Call) Run added in v0.46.0

func (*SDKClientWrapper_GetLatestBlock_Call) RunAndReturn added in v0.46.0

type SDKClientWrapper_GetTransactionResult_Call added in v0.46.0

type SDKClientWrapper_GetTransactionResult_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_GetTransactionResult_Call) Run added in v0.46.0

func (*SDKClientWrapper_GetTransactionResult_Call) RunAndReturn added in v0.46.0

type SDKClientWrapper_SendTransaction_Call added in v0.46.0

type SDKClientWrapper_SendTransaction_Call struct {
	*mock.Call
}

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 (*SDKClientWrapper_SendTransaction_Call) Run added in v0.46.0

func (*SDKClientWrapper_SendTransaction_Call) RunAndReturn added in v0.46.0

type SealValidator added in v0.14.0

type SealValidator struct {
	mock.Mock
}

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

func (*SealValidator) Validate added in v0.14.0

func (_mock *SealValidator) Validate(candidate *flow.Block) (*flow.Seal, error)

Validate provides a mock function for the type SealValidator

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

type SealValidator_Validate_Call struct {
	*mock.Call
}

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 (*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

type SealingConfigsGetter struct {
	mock.Mock
}

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 (*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

type SealingConfigsGetter_ApprovalRequestsThresholdConst_Call struct {
	*mock.Call
}

SealingConfigsGetter_ApprovalRequestsThresholdConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApprovalRequestsThresholdConst'

func (*SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) Return added in v0.46.0

func (*SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) Run added in v0.46.0

func (*SealingConfigsGetter_ApprovalRequestsThresholdConst_Call) RunAndReturn added in v0.46.0

type SealingConfigsGetter_ChunkAlphaConst_Call added in v0.46.0

type SealingConfigsGetter_ChunkAlphaConst_Call struct {
	*mock.Call
}

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 (*SealingConfigsGetter_ChunkAlphaConst_Call) Run added in v0.46.0

func (*SealingConfigsGetter_ChunkAlphaConst_Call) RunAndReturn added in v0.46.0

type SealingConfigsGetter_EmergencySealingActiveConst_Call added in v0.46.0

type SealingConfigsGetter_EmergencySealingActiveConst_Call struct {
	*mock.Call
}

SealingConfigsGetter_EmergencySealingActiveConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmergencySealingActiveConst'

func (*SealingConfigsGetter_EmergencySealingActiveConst_Call) Return added in v0.46.0

func (*SealingConfigsGetter_EmergencySealingActiveConst_Call) Run added in v0.46.0

func (*SealingConfigsGetter_EmergencySealingActiveConst_Call) RunAndReturn added in v0.46.0

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

ApprovalRequestsThresholdConst is a helper method to define mock.On call

func (*SealingConfigsGetter_Expecter) ChunkAlphaConst added in v0.46.0

ChunkAlphaConst is a helper method to define mock.On call

func (*SealingConfigsGetter_Expecter) EmergencySealingActiveConst added in v0.46.0

EmergencySealingActiveConst is a helper method to define mock.On call

func (*SealingConfigsGetter_Expecter) RequireApprovalsForSealConstructionDynamicValue added in v0.46.0

RequireApprovalsForSealConstructionDynamicValue is a helper method to define mock.On call

func (*SealingConfigsGetter_Expecter) RequireApprovalsForSealVerificationConst added in v0.46.0

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

type SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call added in v0.46.0

type SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*SealingConfigsGetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn added in v0.46.0

type SealingConfigsSetter added in v0.26.17

type SealingConfigsSetter struct {
	mock.Mock
}

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 (*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

type SealingConfigsSetter_ApprovalRequestsThresholdConst_Call struct {
	*mock.Call
}

SealingConfigsSetter_ApprovalRequestsThresholdConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApprovalRequestsThresholdConst'

func (*SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) Return added in v0.46.0

func (*SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) Run added in v0.46.0

func (*SealingConfigsSetter_ApprovalRequestsThresholdConst_Call) RunAndReturn added in v0.46.0

type SealingConfigsSetter_ChunkAlphaConst_Call added in v0.46.0

type SealingConfigsSetter_ChunkAlphaConst_Call struct {
	*mock.Call
}

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 (*SealingConfigsSetter_ChunkAlphaConst_Call) Run added in v0.46.0

func (*SealingConfigsSetter_ChunkAlphaConst_Call) RunAndReturn added in v0.46.0

type SealingConfigsSetter_EmergencySealingActiveConst_Call added in v0.46.0

type SealingConfigsSetter_EmergencySealingActiveConst_Call struct {
	*mock.Call
}

SealingConfigsSetter_EmergencySealingActiveConst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmergencySealingActiveConst'

func (*SealingConfigsSetter_EmergencySealingActiveConst_Call) Return added in v0.46.0

func (*SealingConfigsSetter_EmergencySealingActiveConst_Call) Run added in v0.46.0

func (*SealingConfigsSetter_EmergencySealingActiveConst_Call) RunAndReturn added in v0.46.0

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

ApprovalRequestsThresholdConst is a helper method to define mock.On call

func (*SealingConfigsSetter_Expecter) ChunkAlphaConst added in v0.46.0

ChunkAlphaConst is a helper method to define mock.On call

func (*SealingConfigsSetter_Expecter) EmergencySealingActiveConst added in v0.46.0

EmergencySealingActiveConst is a helper method to define mock.On call

func (*SealingConfigsSetter_Expecter) RequireApprovalsForSealConstructionDynamicValue added in v0.46.0

RequireApprovalsForSealConstructionDynamicValue is a helper method to define mock.On call

func (*SealingConfigsSetter_Expecter) RequireApprovalsForSealVerificationConst added in v0.46.0

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

type SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call added in v0.46.0

type SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*SealingConfigsSetter_RequireApprovalsForSealVerificationConst_Call) RunAndReturn added in v0.46.0

type SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call added in v0.46.0

type SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call struct {
	*mock.Call
}

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 (*SealingConfigsSetter_SetRequiredApprovalsForSealingConstruction_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig added in v0.43.0

type SealingLagRateLimiterConfig struct {
	mock.Mock
}

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 (*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

HalvingInterval is a helper method to define mock.On call

func (*SealingLagRateLimiterConfig_Expecter) MaxSealingLag added in v0.46.0

MaxSealingLag is a helper method to define mock.On call

func (*SealingLagRateLimiterConfig_Expecter) MinCollectionSize added in v0.46.0

MinCollectionSize is a helper method to define mock.On call

func (*SealingLagRateLimiterConfig_Expecter) MinSealingLag added in v0.46.0

MinSealingLag is a helper method to define mock.On call

func (*SealingLagRateLimiterConfig_Expecter) SetHalvingInterval added in v0.46.0

SetHalvingInterval is a helper method to define mock.On call

  • value uint

func (*SealingLagRateLimiterConfig_Expecter) SetMaxSealingLag added in v0.46.0

SetMaxSealingLag is a helper method to define mock.On call

  • value uint

func (*SealingLagRateLimiterConfig_Expecter) SetMinCollectionSize added in v0.46.0

SetMinCollectionSize is a helper method to define mock.On call

  • value uint

func (*SealingLagRateLimiterConfig_Expecter) SetMinSealingLag added in v0.46.0

SetMinSealingLag is a helper method to define mock.On call

  • value uint

type SealingLagRateLimiterConfig_HalvingInterval_Call added in v0.46.0

type SealingLagRateLimiterConfig_HalvingInterval_Call struct {
	*mock.Call
}

SealingLagRateLimiterConfig_HalvingInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HalvingInterval'

func (*SealingLagRateLimiterConfig_HalvingInterval_Call) Return added in v0.46.0

func (*SealingLagRateLimiterConfig_HalvingInterval_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_HalvingInterval_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_MaxSealingLag_Call added in v0.46.0

type SealingLagRateLimiterConfig_MaxSealingLag_Call struct {
	*mock.Call
}

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 (*SealingLagRateLimiterConfig_MaxSealingLag_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_MaxSealingLag_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_MinCollectionSize_Call added in v0.46.0

type SealingLagRateLimiterConfig_MinCollectionSize_Call struct {
	*mock.Call
}

SealingLagRateLimiterConfig_MinCollectionSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinCollectionSize'

func (*SealingLagRateLimiterConfig_MinCollectionSize_Call) Return added in v0.46.0

func (*SealingLagRateLimiterConfig_MinCollectionSize_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_MinCollectionSize_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_MinSealingLag_Call added in v0.46.0

type SealingLagRateLimiterConfig_MinSealingLag_Call struct {
	*mock.Call
}

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 (*SealingLagRateLimiterConfig_MinSealingLag_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_MinSealingLag_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_SetHalvingInterval_Call added in v0.46.0

type SealingLagRateLimiterConfig_SetHalvingInterval_Call struct {
	*mock.Call
}

SealingLagRateLimiterConfig_SetHalvingInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalvingInterval'

func (*SealingLagRateLimiterConfig_SetHalvingInterval_Call) Return added in v0.46.0

func (*SealingLagRateLimiterConfig_SetHalvingInterval_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_SetHalvingInterval_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_SetMaxSealingLag_Call added in v0.46.0

type SealingLagRateLimiterConfig_SetMaxSealingLag_Call struct {
	*mock.Call
}

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 (*SealingLagRateLimiterConfig_SetMaxSealingLag_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_SetMaxSealingLag_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_SetMinCollectionSize_Call added in v0.46.0

type SealingLagRateLimiterConfig_SetMinCollectionSize_Call struct {
	*mock.Call
}

SealingLagRateLimiterConfig_SetMinCollectionSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMinCollectionSize'

func (*SealingLagRateLimiterConfig_SetMinCollectionSize_Call) Return added in v0.46.0

func (*SealingLagRateLimiterConfig_SetMinCollectionSize_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_SetMinCollectionSize_Call) RunAndReturn added in v0.46.0

type SealingLagRateLimiterConfig_SetMinSealingLag_Call added in v0.46.0

type SealingLagRateLimiterConfig_SetMinSealingLag_Call struct {
	*mock.Call
}

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 (*SealingLagRateLimiterConfig_SetMinSealingLag_Call) Run added in v0.46.0

func (*SealingLagRateLimiterConfig_SetMinSealingLag_Call) RunAndReturn added in v0.46.0

type Startable added in v0.22.4

type Startable struct {
	mock.Mock
}

Startable is an autogenerated mock type for the Startable type

func NewStartable added in v0.26.1

func NewStartable(t interface {
	mock.TestingT
	Cleanup(func())
}) *Startable

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

type Startable_Start_Call struct {
	*mock.Call
}

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 (*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

type SyncCore struct {
	mock.Mock
}

SyncCore is an autogenerated mock type for the SyncCore type

func NewSyncCore added in v0.26.1

func NewSyncCore(t interface {
	mock.TestingT
	Cleanup(func())
}) *SyncCore

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

func (_mock *SyncCore) BatchRequested(batch chainsync.Batch)

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

func (_mock *SyncCore) HandleBlock(header *flow.Header) bool

HandleBlock provides a mock function for the type SyncCore

func (*SyncCore) HandleHeight

func (_mock *SyncCore) HandleHeight(final *flow.Header, height uint64)

HandleHeight provides a mock function for the type SyncCore

func (*SyncCore) RangeRequested

func (_mock *SyncCore) RangeRequested(ran chainsync.Range)

RangeRequested provides a mock function for the type SyncCore

func (*SyncCore) ScanPending

func (_mock *SyncCore) ScanPending(final *flow.Header) ([]chainsync.Range, []chainsync.Batch)

ScanPending provides a mock function for the type SyncCore

func (*SyncCore) WithinTolerance

func (_mock *SyncCore) WithinTolerance(final *flow.Header, height uint64) bool

WithinTolerance provides a mock function for the type SyncCore

type SyncCore_BatchRequested_Call added in v0.46.0

type SyncCore_BatchRequested_Call struct {
	*mock.Call
}

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 (*SyncCore_BatchRequested_Call) Run added in v0.46.0

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

type SyncCore_HandleBlock_Call struct {
	*mock.Call
}

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 (*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

type SyncCore_HandleHeight_Call struct {
	*mock.Call
}

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 (*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

type SyncCore_RangeRequested_Call struct {
	*mock.Call
}

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 (*SyncCore_RangeRequested_Call) Run added in v0.46.0

func (*SyncCore_RangeRequested_Call) RunAndReturn added in v0.46.0

type SyncCore_ScanPending_Call added in v0.46.0

type SyncCore_ScanPending_Call struct {
	*mock.Call
}

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 (*SyncCore_ScanPending_Call) Run added in v0.46.0

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

type SyncCore_WithinTolerance_Call struct {
	*mock.Call
}

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 (*SyncCore_WithinTolerance_Call) Run added in v0.46.0

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

type ThresholdSignatureInspector struct {
	mock.Mock
}

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 (*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 {
	*mock.Call
}

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 (*ThresholdSignatureInspector_EnoughShares_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_EnoughShares_Call) RunAndReturn added in v0.46.0

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

EnoughShares is a helper method to define mock.On call

func (*ThresholdSignatureInspector_Expecter) HasShare added in v0.46.0

HasShare is a helper method to define mock.On call

  • index int

func (*ThresholdSignatureInspector_Expecter) ThresholdSignature added in v0.46.0

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 {
	*mock.Call
}

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 (*ThresholdSignatureInspector_HasShare_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_HasShare_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureInspector_ThresholdSignature_Call added in v0.46.0

type ThresholdSignatureInspector_ThresholdSignature_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureInspector_ThresholdSignature_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_ThresholdSignature_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureInspector_TrustedAdd_Call added in v0.46.0

type ThresholdSignatureInspector_TrustedAdd_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureInspector_TrustedAdd_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_TrustedAdd_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureInspector_VerifyAndAdd_Call added in v0.46.0

type ThresholdSignatureInspector_VerifyAndAdd_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureInspector_VerifyAndAdd_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_VerifyAndAdd_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureInspector_VerifyShare_Call added in v0.46.0

type ThresholdSignatureInspector_VerifyShare_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureInspector_VerifyShare_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_VerifyShare_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureInspector_VerifyThresholdSignature_Call added in v0.46.0

type ThresholdSignatureInspector_VerifyThresholdSignature_Call struct {
	*mock.Call
}

ThresholdSignatureInspector_VerifyThresholdSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyThresholdSignature'

func (*ThresholdSignatureInspector_VerifyThresholdSignature_Call) Return added in v0.46.0

func (*ThresholdSignatureInspector_VerifyThresholdSignature_Call) Run added in v0.46.0

func (*ThresholdSignatureInspector_VerifyThresholdSignature_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant added in v0.43.2

type ThresholdSignatureParticipant struct {
	mock.Mock
}

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 (*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 {
	*mock.Call
}

ThresholdSignatureParticipant_EnoughShares_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnoughShares'

func (*ThresholdSignatureParticipant_EnoughShares_Call) Return added in v0.46.0

func (*ThresholdSignatureParticipant_EnoughShares_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_EnoughShares_Call) RunAndReturn added in v0.46.0

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

EnoughShares is a helper method to define mock.On call

func (*ThresholdSignatureParticipant_Expecter) HasShare added in v0.46.0

HasShare is a helper method to define mock.On call

  • index int

func (*ThresholdSignatureParticipant_Expecter) SignShare added in v0.46.0

SignShare is a helper method to define mock.On call

func (*ThresholdSignatureParticipant_Expecter) ThresholdSignature added in v0.46.0

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 {
	*mock.Call
}

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 (*ThresholdSignatureParticipant_HasShare_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_HasShare_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant_SignShare_Call added in v0.46.0

type ThresholdSignatureParticipant_SignShare_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureParticipant_SignShare_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_SignShare_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant_ThresholdSignature_Call added in v0.46.0

type ThresholdSignatureParticipant_ThresholdSignature_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureParticipant_ThresholdSignature_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_ThresholdSignature_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant_TrustedAdd_Call added in v0.46.0

type ThresholdSignatureParticipant_TrustedAdd_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureParticipant_TrustedAdd_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_TrustedAdd_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant_VerifyAndAdd_Call added in v0.46.0

type ThresholdSignatureParticipant_VerifyAndAdd_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureParticipant_VerifyAndAdd_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_VerifyAndAdd_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant_VerifyShare_Call added in v0.46.0

type ThresholdSignatureParticipant_VerifyShare_Call struct {
	*mock.Call
}

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 (*ThresholdSignatureParticipant_VerifyShare_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_VerifyShare_Call) RunAndReturn added in v0.46.0

type ThresholdSignatureParticipant_VerifyThresholdSignature_Call added in v0.46.0

type ThresholdSignatureParticipant_VerifyThresholdSignature_Call struct {
	*mock.Call
}

ThresholdSignatureParticipant_VerifyThresholdSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyThresholdSignature'

func (*ThresholdSignatureParticipant_VerifyThresholdSignature_Call) Return added in v0.46.0

func (*ThresholdSignatureParticipant_VerifyThresholdSignature_Call) Run added in v0.46.0

func (*ThresholdSignatureParticipant_VerifyThresholdSignature_Call) RunAndReturn added in v0.46.0

type Tracer

type Tracer struct {
	mock.Mock
}

Tracer is an autogenerated mock type for the Tracer type

func NewTracer added in v0.26.1

func NewTracer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Tracer

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

type Tracer_BlockRootSpan_Call struct {
	*mock.Call
}

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 (*Tracer_BlockRootSpan_Call) Run added in v0.46.0

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

type Tracer_Done_Call struct {
	*mock.Call
}

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

type Tracer_Ready_Call struct {
	*mock.Call
}

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

type Tracer_ShouldSample_Call struct {
	*mock.Call
}

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 (*Tracer_ShouldSample_Call) Run added in v0.46.0

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

type Tracer_StartBlockSpan_Call struct {
	*mock.Call
}

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 (*Tracer_StartBlockSpan_Call) Run added in v0.46.0

func (*Tracer_StartBlockSpan_Call) RunAndReturn added in v0.46.0

type Tracer_StartCollectionSpan_Call added in v0.46.0

type Tracer_StartCollectionSpan_Call struct {
	*mock.Call
}

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 (*Tracer_StartCollectionSpan_Call) Run added in v0.46.0

func (*Tracer_StartCollectionSpan_Call) RunAndReturn added in v0.46.0

type Tracer_StartSampledSpanFromParent_Call added in v0.46.0

type Tracer_StartSampledSpanFromParent_Call struct {
	*mock.Call
}

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 (*Tracer_StartSampledSpanFromParent_Call) Run added in v0.46.0

func (*Tracer_StartSampledSpanFromParent_Call) RunAndReturn added in v0.46.0

type Tracer_StartSpanFromContext_Call added in v0.46.0

type Tracer_StartSpanFromContext_Call struct {
	*mock.Call
}

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 (*Tracer_StartSpanFromContext_Call) Run added in v0.46.0

func (*Tracer_StartSpanFromContext_Call) RunAndReturn added in v0.46.0

type Tracer_StartSpanFromParent_Call added in v0.46.0

type Tracer_StartSpanFromParent_Call struct {
	*mock.Call
}

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 (*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

type Tracer_StartTransactionSpan_Call struct {
	*mock.Call
}

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 (*Tracer_StartTransactionSpan_Call) Run added in v0.46.0

func (*Tracer_StartTransactionSpan_Call) RunAndReturn added in v0.46.0

type Tracer_WithSpanFromContext_Call added in v0.46.0

type Tracer_WithSpanFromContext_Call struct {
	*mock.Call
}

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 (*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

type TransactionErrorMessagesMetrics struct {
	mock.Mock
}

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 (*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

TxErrorsFetchRetried is a helper method to define mock.On call

func (*TransactionErrorMessagesMetrics_Expecter) TxErrorsFetchStarted added in v0.46.0

TxErrorsFetchStarted is a helper method to define mock.On call

func (*TransactionErrorMessagesMetrics_Expecter) TxErrorsInitialHeight added in v0.46.0

TxErrorsInitialHeight is a helper method to define mock.On call

  • height uint64

type TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call struct {
	*mock.Call
}

TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsFetchFinished'

func (*TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) Return added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) Run added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsFetchFinished_Call) RunAndReturn added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call struct {
	*mock.Call
}

TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsFetchRetried'

func (*TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) Return added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) Run added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsFetchRetried_Call) RunAndReturn added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call struct {
	*mock.Call
}

TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsFetchStarted'

func (*TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) Return added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) Run added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsFetchStarted_Call) RunAndReturn added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call added in v0.46.0

type TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call struct {
	*mock.Call
}

TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxErrorsInitialHeight'

func (*TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) Return added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) Run added in v0.46.0

func (*TransactionErrorMessagesMetrics_TxErrorsInitialHeight_Call) RunAndReturn added in v0.46.0

type TransactionMetrics

type TransactionMetrics struct {
	mock.Mock
}

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 (*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

TransactionSubmissionFailed is a helper method to define mock.On call

type TransactionMetrics_TransactionExecuted_Call added in v0.46.0

type TransactionMetrics_TransactionExecuted_Call struct {
	*mock.Call
}

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 (*TransactionMetrics_TransactionExecuted_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionExecuted_Call) RunAndReturn added in v0.46.0

type TransactionMetrics_TransactionExpired_Call added in v0.46.0

type TransactionMetrics_TransactionExpired_Call struct {
	*mock.Call
}

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 (*TransactionMetrics_TransactionExpired_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionExpired_Call) RunAndReturn added in v0.46.0

type TransactionMetrics_TransactionFinalized_Call added in v0.46.0

type TransactionMetrics_TransactionFinalized_Call struct {
	*mock.Call
}

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 (*TransactionMetrics_TransactionFinalized_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionFinalized_Call) RunAndReturn added in v0.46.0

type TransactionMetrics_TransactionReceived_Call added in v0.46.0

type TransactionMetrics_TransactionReceived_Call struct {
	*mock.Call
}

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 (*TransactionMetrics_TransactionReceived_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionReceived_Call) RunAndReturn added in v0.46.0

type TransactionMetrics_TransactionResultFetched_Call added in v0.46.0

type TransactionMetrics_TransactionResultFetched_Call struct {
	*mock.Call
}

TransactionMetrics_TransactionResultFetched_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionResultFetched'

func (*TransactionMetrics_TransactionResultFetched_Call) Return added in v0.46.0

func (*TransactionMetrics_TransactionResultFetched_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionResultFetched_Call) RunAndReturn added in v0.46.0

type TransactionMetrics_TransactionSealed_Call added in v0.46.0

type TransactionMetrics_TransactionSealed_Call struct {
	*mock.Call
}

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 (*TransactionMetrics_TransactionSealed_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionSealed_Call) RunAndReturn added in v0.46.0

type TransactionMetrics_TransactionSubmissionFailed_Call added in v0.46.0

type TransactionMetrics_TransactionSubmissionFailed_Call struct {
	*mock.Call
}

TransactionMetrics_TransactionSubmissionFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionSubmissionFailed'

func (*TransactionMetrics_TransactionSubmissionFailed_Call) Return added in v0.46.0

func (*TransactionMetrics_TransactionSubmissionFailed_Call) Run added in v0.46.0

func (*TransactionMetrics_TransactionSubmissionFailed_Call) RunAndReturn added in v0.46.0

type TransactionValidationMetrics added in v0.37.22

type TransactionValidationMetrics struct {
	mock.Mock
}

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 (*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

TransactionValidated is a helper method to define mock.On call

func (*TransactionValidationMetrics_Expecter) TransactionValidationFailed added in v0.46.0

TransactionValidationFailed is a helper method to define mock.On call

  • reason string

func (*TransactionValidationMetrics_Expecter) TransactionValidationSkipped added in v0.46.0

TransactionValidationSkipped is a helper method to define mock.On call

type TransactionValidationMetrics_TransactionValidated_Call added in v0.46.0

type TransactionValidationMetrics_TransactionValidated_Call struct {
	*mock.Call
}

TransactionValidationMetrics_TransactionValidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidated'

func (*TransactionValidationMetrics_TransactionValidated_Call) Return added in v0.46.0

func (*TransactionValidationMetrics_TransactionValidated_Call) Run added in v0.46.0

func (*TransactionValidationMetrics_TransactionValidated_Call) RunAndReturn added in v0.46.0

type TransactionValidationMetrics_TransactionValidationFailed_Call added in v0.46.0

type TransactionValidationMetrics_TransactionValidationFailed_Call struct {
	*mock.Call
}

TransactionValidationMetrics_TransactionValidationFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationFailed'

func (*TransactionValidationMetrics_TransactionValidationFailed_Call) Return added in v0.46.0

func (*TransactionValidationMetrics_TransactionValidationFailed_Call) Run added in v0.46.0

func (*TransactionValidationMetrics_TransactionValidationFailed_Call) RunAndReturn added in v0.46.0

type TransactionValidationMetrics_TransactionValidationSkipped_Call added in v0.46.0

type TransactionValidationMetrics_TransactionValidationSkipped_Call struct {
	*mock.Call
}

TransactionValidationMetrics_TransactionValidationSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionValidationSkipped'

func (*TransactionValidationMetrics_TransactionValidationSkipped_Call) Return added in v0.46.0

func (*TransactionValidationMetrics_TransactionValidationSkipped_Call) Run added in v0.46.0

func (*TransactionValidationMetrics_TransactionValidationSkipped_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics added in v0.30.0

type UnicastManagerMetrics struct {
	mock.Mock
}

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 (*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

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

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

type UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call struct {
	*mock.Call
}

UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetResetToDefault'

func (*UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) Return added in v0.46.0

func (*UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnDialRetryBudgetResetToDefault_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call added in v0.46.0

type UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call struct {
	*mock.Call
}

UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDialRetryBudgetUpdated'

func (*UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) Return added in v0.46.0

func (*UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnDialRetryBudgetUpdated_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnEstablishStreamFailure_Call added in v0.46.0

type UnicastManagerMetrics_OnEstablishStreamFailure_Call struct {
	*mock.Call
}

UnicastManagerMetrics_OnEstablishStreamFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEstablishStreamFailure'

func (*UnicastManagerMetrics_OnEstablishStreamFailure_Call) Return added in v0.46.0

func (*UnicastManagerMetrics_OnEstablishStreamFailure_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnEstablishStreamFailure_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnPeerDialFailure_Call added in v0.46.0

type UnicastManagerMetrics_OnPeerDialFailure_Call struct {
	*mock.Call
}

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 (*UnicastManagerMetrics_OnPeerDialFailure_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnPeerDialFailure_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnPeerDialed_Call added in v0.46.0

type UnicastManagerMetrics_OnPeerDialed_Call struct {
	*mock.Call
}

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 (*UnicastManagerMetrics_OnPeerDialed_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnPeerDialed_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnStreamCreated_Call added in v0.46.0

type UnicastManagerMetrics_OnStreamCreated_Call struct {
	*mock.Call
}

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 (*UnicastManagerMetrics_OnStreamCreated_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnStreamCreated_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnStreamCreationFailure_Call added in v0.46.0

type UnicastManagerMetrics_OnStreamCreationFailure_Call struct {
	*mock.Call
}

UnicastManagerMetrics_OnStreamCreationFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationFailure'

func (*UnicastManagerMetrics_OnStreamCreationFailure_Call) Return added in v0.46.0

func (*UnicastManagerMetrics_OnStreamCreationFailure_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnStreamCreationFailure_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call added in v0.46.0

type UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetResetToDefault_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call added in v0.46.0

type UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call struct {
	*mock.Call
}

UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamCreationRetryBudgetUpdated'

func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) Return added in v0.46.0

func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnStreamCreationRetryBudgetUpdated_Call) RunAndReturn added in v0.46.0

type UnicastManagerMetrics_OnStreamEstablished_Call added in v0.46.0

type UnicastManagerMetrics_OnStreamEstablished_Call struct {
	*mock.Call
}

UnicastManagerMetrics_OnStreamEstablished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStreamEstablished'

func (*UnicastManagerMetrics_OnStreamEstablished_Call) Return added in v0.46.0

func (*UnicastManagerMetrics_OnStreamEstablished_Call) Run added in v0.46.0

func (*UnicastManagerMetrics_OnStreamEstablished_Call) RunAndReturn added in v0.46.0

type VerificationMetrics

type VerificationMetrics struct {
	mock.Mock
}

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 (*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

OnAssignedChunkProcessedAtAssigner is a helper method to define mock.On call

func (*VerificationMetrics_Expecter) OnAssignedChunkReceivedAtFetcher added in v0.46.0

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

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

OnChunkDataPackRequestReceivedByRequester is a helper method to define mock.On call

func (*VerificationMetrics_Expecter) OnChunkDataPackRequestSentByFetcher added in v0.46.0

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

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

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

OnResultApprovalDispatchedInNetworkByVerifier is a helper method to define mock.On call

func (*VerificationMetrics_Expecter) OnVerifiableChunkReceivedAtVerifierEngine added in v0.46.0

OnVerifiableChunkReceivedAtVerifierEngine is a helper method to define mock.On call

func (*VerificationMetrics_Expecter) OnVerifiableChunkSentToVerifier added in v0.46.0

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

type VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call struct {
	*mock.Call
}

VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAssignedChunkProcessedAtAssigner'

func (*VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) Return added in v0.46.0

func (*VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) Run added in v0.46.0

func (*VerificationMetrics_OnAssignedChunkProcessedAtAssigner_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call added in v0.46.0

type VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call struct {
	*mock.Call
}

VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAssignedChunkReceivedAtFetcher'

func (*VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) Return added in v0.46.0

func (*VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) Run added in v0.46.0

func (*VerificationMetrics_OnAssignedChunkReceivedAtFetcher_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnBlockConsumerJobDone_Call added in v0.46.0

type VerificationMetrics_OnBlockConsumerJobDone_Call struct {
	*mock.Call
}

VerificationMetrics_OnBlockConsumerJobDone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBlockConsumerJobDone'

func (*VerificationMetrics_OnBlockConsumerJobDone_Call) Return added in v0.46.0

func (*VerificationMetrics_OnBlockConsumerJobDone_Call) Run added in v0.46.0

func (*VerificationMetrics_OnBlockConsumerJobDone_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnChunkConsumerJobDone_Call added in v0.46.0

type VerificationMetrics_OnChunkConsumerJobDone_Call struct {
	*mock.Call
}

VerificationMetrics_OnChunkConsumerJobDone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkConsumerJobDone'

func (*VerificationMetrics_OnChunkConsumerJobDone_Call) Return added in v0.46.0

func (*VerificationMetrics_OnChunkConsumerJobDone_Call) Run added in v0.46.0

func (*VerificationMetrics_OnChunkConsumerJobDone_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call added in v0.46.0

type VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call struct {
	*mock.Call
}

VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackArrivedAtFetcher'

func (*VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) Return added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) Run added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackArrivedAtFetcher_Call) RunAndReturn added in v0.46.0

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

type VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackRequestReceivedByRequester_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call added in v0.46.0

type VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call struct {
	*mock.Call
}

VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackRequestSentByFetcher'

func (*VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) Return added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) Run added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackRequestSentByFetcher_Call) RunAndReturn added in v0.46.0

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

type VerificationMetrics_OnChunkDataPackSentToFetcher_Call struct {
	*mock.Call
}

VerificationMetrics_OnChunkDataPackSentToFetcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunkDataPackSentToFetcher'

func (*VerificationMetrics_OnChunkDataPackSentToFetcher_Call) Return added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackSentToFetcher_Call) Run added in v0.46.0

func (*VerificationMetrics_OnChunkDataPackSentToFetcher_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call added in v0.46.0

type VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call struct {
	*mock.Call
}

VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChunksAssignmentDoneAtAssigner'

func (*VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) Return added in v0.46.0

func (*VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) Run added in v0.46.0

func (*VerificationMetrics_OnChunksAssignmentDoneAtAssigner_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call added in v0.46.0

type VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*VerificationMetrics_OnExecutionResultReceivedAtAssignerEngine_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call added in v0.46.0

type VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call struct {
	*mock.Call
}

VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFinalizedBlockArrivedAtAssigner'

func (*VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) Return added in v0.46.0

func (*VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) Run added in v0.46.0

func (*VerificationMetrics_OnFinalizedBlockArrivedAtAssigner_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call added in v0.46.0

type VerificationMetrics_OnResultApprovalDispatchedInNetworkByVerifier_Call struct {
	*mock.Call
}

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

type VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call added in v0.46.0

type VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call struct {
	*mock.Call
}

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) Run added in v0.46.0

func (*VerificationMetrics_OnVerifiableChunkReceivedAtVerifierEngine_Call) RunAndReturn added in v0.46.0

type VerificationMetrics_OnVerifiableChunkSentToVerifier_Call added in v0.46.0

type VerificationMetrics_OnVerifiableChunkSentToVerifier_Call struct {
	*mock.Call
}

VerificationMetrics_OnVerifiableChunkSentToVerifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnVerifiableChunkSentToVerifier'

func (*VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) Return added in v0.46.0

func (*VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) Run added in v0.46.0

func (*VerificationMetrics_OnVerifiableChunkSentToVerifier_Call) RunAndReturn added in v0.46.0

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

type WALMetrics added in v0.15.4

type WALMetrics struct {
	mock.Mock
}

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

type WALMetrics_ExecutionCheckpointSize_Call struct {
	*mock.Call
}

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 (*WALMetrics_ExecutionCheckpointSize_Call) Run added in v0.46.0

func (*WALMetrics_ExecutionCheckpointSize_Call) RunAndReturn added in v0.46.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL