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) 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 ¶ added in v1.2.3
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 ¶ added in v1.4.0
CleanupAPIManagedEventStream provides a mock function with given fields: name
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) 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