metricsmocks

package
v1.3.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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 added in v1.1.2

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 added in v1.1.2

func (_m *Manager) BlockchainContractDeployment()

BlockchainContractDeployment provides a mock function with given fields:

func (*Manager) BlockchainEvent added in v0.14.0

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

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

func (*Manager) BlockchainQuery added in v0.14.0

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

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

func (*Manager) BlockchainTransaction added in v0.14.0

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

CountBatchPin provides a mock function with given fields:

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