Documentation ¶
Index ¶
- type Handler
- func (_m *Handler) ReconciliationExempt(ctx context.Context, reconciliationType string, ...) error
- func (_m *Handler) ReconciliationFailed(ctx context.Context, reconciliationType string, ...) error
- func (_m *Handler) ReconciliationSkipped(ctx context.Context, reconciliationType string, ...) error
- func (_m *Handler) ReconciliationSucceeded(ctx context.Context, reconciliationType string, ...) error
- type Helper
- func (_m *Helper) CanonicalBlock(ctx context.Context, dbTx database.Transaction, block *types.BlockIdentifier) (bool, error)
- func (_m *Helper) ComputedBalance(ctx context.Context, dbTx database.Transaction, ...) (*types.Amount, error)
- func (_m *Helper) CurrentBlock(ctx context.Context, dbTx database.Transaction) (*types.BlockIdentifier, error)
- func (_m *Helper) DatabaseTransaction(ctx context.Context) database.Transaction
- func (_m *Helper) IndexAtTip(ctx context.Context, index int64) (bool, error)
- func (_m *Helper) LiveBalance(ctx context.Context, account *types.AccountIdentifier, ...) (*types.Amount, *types.BlockIdentifier, error)
- func (_m *Helper) PruneBalances(ctx context.Context, account *types.AccountIdentifier, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func (*Handler) ReconciliationExempt ¶
func (_m *Handler) ReconciliationExempt(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, computedBalance string, liveBalance string, block *types.BlockIdentifier, exemption *types.BalanceExemption) error
ReconciliationExempt provides a mock function with given fields: ctx, reconciliationType, account, currency, computedBalance, liveBalance, block, exemption
func (*Handler) ReconciliationFailed ¶
func (_m *Handler) ReconciliationFailed(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, computedBalance string, liveBalance string, block *types.BlockIdentifier) error
ReconciliationFailed provides a mock function with given fields: ctx, reconciliationType, account, currency, computedBalance, liveBalance, block
func (*Handler) ReconciliationSkipped ¶
func (_m *Handler) ReconciliationSkipped(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, cause string) error
ReconciliationSkipped provides a mock function with given fields: ctx, reconciliationType, account, currency, cause
func (*Handler) ReconciliationSucceeded ¶
func (_m *Handler) ReconciliationSucceeded(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, balance string, block *types.BlockIdentifier) error
ReconciliationSucceeded provides a mock function with given fields: ctx, reconciliationType, account, currency, balance, block
type Helper ¶
Helper is an autogenerated mock type for the Helper type
func (*Helper) CanonicalBlock ¶
func (_m *Helper) CanonicalBlock(ctx context.Context, dbTx database.Transaction, block *types.BlockIdentifier) (bool, error)
CanonicalBlock provides a mock function with given fields: ctx, dbTx, block
func (*Helper) ComputedBalance ¶
func (_m *Helper) ComputedBalance(ctx context.Context, dbTx database.Transaction, account *types.AccountIdentifier, currency *types.Currency, index int64) (*types.Amount, error)
ComputedBalance provides a mock function with given fields: ctx, dbTx, account, currency, index
func (*Helper) CurrentBlock ¶
func (_m *Helper) CurrentBlock(ctx context.Context, dbTx database.Transaction) (*types.BlockIdentifier, error)
CurrentBlock provides a mock function with given fields: ctx, dbTx
func (*Helper) DatabaseTransaction ¶
func (_m *Helper) DatabaseTransaction(ctx context.Context) database.Transaction
DatabaseTransaction provides a mock function with given fields: ctx
func (*Helper) IndexAtTip ¶
IndexAtTip provides a mock function with given fields: ctx, index
func (*Helper) LiveBalance ¶
func (_m *Helper) LiveBalance(ctx context.Context, account *types.AccountIdentifier, currency *types.Currency, index int64) (*types.Amount, *types.BlockIdentifier, error)
LiveBalance provides a mock function with given fields: ctx, account, currency, index