metricsmocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. 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 (*Manager) AddTime

func (_m *Manager) AddTime(id string)

AddTime provides a mock function with given fields: id

func (*Manager) BlockchainContractDeployment

func (_m *Manager) BlockchainContractDeployment()

BlockchainContractDeployment provides a mock function with given fields:

func (*Manager) BlockchainEvent

func (_m *Manager) BlockchainEvent(location string, signature string)

BlockchainEvent provides a mock function with given fields: location, signature

func (*Manager) BlockchainQuery

func (_m *Manager) BlockchainQuery(location string, methodName string)

BlockchainQuery provides a mock function with given fields: location, methodName

func (*Manager) BlockchainTransaction

func (_m *Manager) BlockchainTransaction(location string, methodName string)

BlockchainTransaction provides a mock function with given fields: location, methodName

func (*Manager) CountBatchPin

func (_m *Manager) CountBatchPin(namespace string)

CountBatchPin provides a mock function with given fields: namespace

func (*Manager) DeleteTime

func (_m *Manager) DeleteTime(id string)

DeleteTime provides a mock function with given fields: id

func (*Manager) GetTime

func (_m *Manager) GetTime(id string) time.Time

GetTime provides a mock function with given fields: id

func (*Manager) IsMetricsEnabled

func (_m *Manager) IsMetricsEnabled() bool

IsMetricsEnabled provides a mock function with given fields:

func (*Manager) MessageConfirmed

func (_m *Manager) MessageConfirmed(msg *core.Message, eventType fftypes.FFEnum)

MessageConfirmed provides a mock function with given fields: msg, eventType

func (*Manager) MessageSubmitted

func (_m *Manager) MessageSubmitted(msg *core.Message)

MessageSubmitted provides a mock function with given fields: msg

func (*Manager) NodeIdentityDXCertExpiry

func (_m *Manager) NodeIdentityDXCertExpiry(namespace string, expiry time.Time)

NodeIdentityDXCertExpiry provides a mock function with given fields: namespace, expiry

func (*Manager) NodeIdentityDXCertMismatch

func (_m *Manager) NodeIdentityDXCertMismatch(namespace string, mismatch metrics.NodeIdentityDXCertMismatchStatus)

NodeIdentityDXCertMismatch provides a mock function with given fields: namespace, mismatch

func (*Manager) TransferConfirmed

func (_m *Manager) TransferConfirmed(transfer *core.TokenTransfer)

TransferConfirmed provides a mock function with given fields: transfer

func (*Manager) TransferSubmitted

func (_m *Manager) TransferSubmitted(transfer *core.TokenTransfer)

TransferSubmitted provides a mock function with given fields: transfer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL