confirmationsmocks

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 5 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.2.1

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) CheckInFlight added in v0.9.3

func (_m *Manager) CheckInFlight(listenerID *fftypes.UUID) bool

CheckInFlight provides a mock function with given fields: listenerID

func (*Manager) NewBlockHashes added in v0.9.3

func (_m *Manager) NewBlockHashes() chan<- *ffcapi.BlockHashEvent

NewBlockHashes provides a mock function with no fields

func (*Manager) Notify

func (_m *Manager) Notify(n *confirmations.Notification) error

Notify provides a mock function with given fields: n

func (*Manager) Start

func (_m *Manager) Start()

Start provides a mock function with no fields

func (*Manager) StartConfirmedBlockListener added in v1.3.15

func (_m *Manager) StartConfirmedBlockListener(ctx context.Context, id *fftypes.UUID, fromBlock string, checkpoint *ffcapi.BlockListenerCheckpoint, eventStream chan<- *ffcapi.ListenerEvent) error

StartConfirmedBlockListener provides a mock function with given fields: ctx, id, fromBlock, checkpoint, eventStream

func (*Manager) Stop

func (_m *Manager) Stop()

Stop provides a mock function with no fields

func (*Manager) StopConfirmedBlockListener added in v1.3.15

func (_m *Manager) StopConfirmedBlockListener(ctx context.Context, id *fftypes.UUID) error

StopConfirmedBlockListener provides a mock function with given fields: ctx, id

Jump to

Keyboard shortcuts

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