Documentation
¶
Index ¶
- type Manager
- func (_m *Manager) APIRouter() *mux.Router
- func (_m *Manager) CleanupAPIManagedEventStream(name string) error
- func (_m *Manager) Close()
- func (_m *Manager) GetAPIManagedEventStream(spec *apitypes.EventStream, listeners []*apitypes.Listener) (bool, eventapi.EventStream, error)
- func (_m *Manager) GetTransactionByIDWithStatus(ctx context.Context, txID string, withHistory bool) (*apitypes.TXWithStatus, error)
- func (_m *Manager) MetricsRegistry() metric.MetricsRegistry
- func (_m *Manager) ReconcileConfirmationsForTransaction(ctx context.Context, txHash string, ...) (*ffcapi.ConfirmationUpdateResult, error)
- func (_m *Manager) Start() error
- func (_m *Manager) TransactionCompletions() txhandler.TransactionCompletions
- func (_m *Manager) TransactionHandler() txhandler.TransactionHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
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) CleanupAPIManagedEventStream ¶
CleanupAPIManagedEventStream provides a mock function with given fields: name
func (*Manager) GetAPIManagedEventStream ¶
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 ¶
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) MetricsRegistry ¶
func (_m *Manager) MetricsRegistry() metric.MetricsRegistry
MetricsRegistry provides a mock function with no fields
func (*Manager) ReconcileConfirmationsForTransaction ¶
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) TransactionCompletions ¶
func (_m *Manager) TransactionCompletions() txhandler.TransactionCompletions
TransactionCompletions provides a mock function with no fields
func (*Manager) TransactionHandler ¶
func (_m *Manager) TransactionHandler() txhandler.TransactionHandler
TransactionHandler provides a mock function with no fields