fftmmocks

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 7 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.3

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) APIRouter added in v1.4.0

func (_m *Manager) APIRouter() *mux.Router

APIRouter provides a mock function with no fields

func (*Manager) CleanupAPIManagedEventStream added in v1.4.0

func (_m *Manager) CleanupAPIManagedEventStream(name string) error

CleanupAPIManagedEventStream provides a mock function with given fields: name

func (*Manager) Close

func (_m *Manager) Close()

Close provides a mock function with no fields

func (*Manager) GetAPIManagedEventStream added in v1.4.0

func (_m *Manager) GetAPIManagedEventStream(spec *apitypes.EventStream, listeners []*apitypes.Listener) (bool, eventapi.EventStream, error)

GetAPIManagedEventStream provides a mock function with given fields: spec, listeners

func (*Manager) GetTransactionByIDWithStatus added in v1.4.0

func (_m *Manager) GetTransactionByIDWithStatus(ctx context.Context, txID string, withHistory bool) (*apitypes.TXWithStatus, error)

GetTransactionByIDWithStatus provides a mock function with given fields: ctx, txID, withHistory

func (*Manager) ReconcileConfirmationsForTransaction added in v1.4.1

func (_m *Manager) ReconcileConfirmationsForTransaction(ctx context.Context, txHash string, existingConfirmations []*ffcapi.MinimalBlockInfo, targetConfirmationCount uint64) (*ffcapi.ConfirmationUpdateResult, error)

ReconcileConfirmationsForTransaction provides a mock function with given fields: ctx, txHash, existingConfirmations, targetConfirmationCount

func (*Manager) Start

func (_m *Manager) Start() error

Start provides a mock function with no fields

func (*Manager) TransactionCompletions added in v1.4.0

func (_m *Manager) TransactionCompletions() txhandler.TransactionCompletions

TransactionCompletions provides a mock function with no fields

func (*Manager) TransactionHandler added in v1.4.0

func (_m *Manager) TransactionHandler() txhandler.TransactionHandler

TransactionHandler provides a mock function with no fields

Jump to

Keyboard shortcuts

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