Versions in this module Expand all Collapse all v0 v0.7.0 Dec 4, 2025 Changes in this version + type AuditService struct + AuditStub func(context.Context, auditora.Transaction) (*token.InputStream, *token.OutputStream, error) + CheckStub func(context.Context) ([]string, error) + GetTokenRequestStub func(context.Context, string) ([]byte, error) + ReleaseStub func(context.Context, auditora.Transaction) + ValidateStub func(context.Context, *token.Request) error + func (fake *AuditService) Audit(arg1 context.Context, arg2 auditora.Transaction) (*token.InputStream, *token.OutputStream, error) + func (fake *AuditService) AuditArgsForCall(i int) (context.Context, auditora.Transaction) + func (fake *AuditService) AuditCallCount() int + func (fake *AuditService) AuditCalls(...) + func (fake *AuditService) AuditReturns(result1 *token.InputStream, result2 *token.OutputStream, result3 error) + func (fake *AuditService) AuditReturnsOnCall(i int, result1 *token.InputStream, result2 *token.OutputStream, result3 error) + func (fake *AuditService) Check(arg1 context.Context) ([]string, error) + func (fake *AuditService) CheckArgsForCall(i int) context.Context + func (fake *AuditService) CheckCallCount() int + func (fake *AuditService) CheckCalls(stub func(context.Context) ([]string, error)) + func (fake *AuditService) CheckReturns(result1 []string, result2 error) + func (fake *AuditService) CheckReturnsOnCall(i int, result1 []string, result2 error) + func (fake *AuditService) GetTokenRequest(arg1 context.Context, arg2 string) ([]byte, error) + func (fake *AuditService) GetTokenRequestArgsForCall(i int) (context.Context, string) + func (fake *AuditService) GetTokenRequestCallCount() int + func (fake *AuditService) GetTokenRequestCalls(stub func(context.Context, string) ([]byte, error)) + func (fake *AuditService) GetTokenRequestReturns(result1 []byte, result2 error) + func (fake *AuditService) GetTokenRequestReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *AuditService) Invocations() map[string][][]interface{} + func (fake *AuditService) Release(arg1 context.Context, arg2 auditora.Transaction) + func (fake *AuditService) ReleaseArgsForCall(i int) (context.Context, auditora.Transaction) + func (fake *AuditService) ReleaseCallCount() int + func (fake *AuditService) ReleaseCalls(stub func(context.Context, auditora.Transaction)) + func (fake *AuditService) Validate(arg1 context.Context, arg2 *token.Request) error + func (fake *AuditService) ValidateArgsForCall(i int) (context.Context, *token.Request) + func (fake *AuditService) ValidateCallCount() int + func (fake *AuditService) ValidateCalls(stub func(context.Context, *token.Request) error) + func (fake *AuditService) ValidateReturns(result1 error) + func (fake *AuditService) ValidateReturnsOnCall(i int, result1 error) + type AuditServiceProvider struct + AuditorServiceStub func(token.TMSID) (auditor.Service, auditor.StoreService, error) + func (fake *AuditServiceProvider) AuditorService(arg1 token.TMSID) (auditor.Service, auditor.StoreService, error) + func (fake *AuditServiceProvider) AuditorServiceArgsForCall(i int) token.TMSID + func (fake *AuditServiceProvider) AuditorServiceCallCount() int + func (fake *AuditServiceProvider) AuditorServiceCalls(stub func(token.TMSID) (auditor.Service, auditor.StoreService, error)) + func (fake *AuditServiceProvider) AuditorServiceReturns(result1 auditor.Service, result2 auditor.StoreService, result3 error) + func (fake *AuditServiceProvider) AuditorServiceReturnsOnCall(i int, result1 auditor.Service, result2 auditor.StoreService, result3 error) + func (fake *AuditServiceProvider) Invocations() map[string][][]interface{} + type AuditStoreService struct + NewHoldingsFilterStub func() *auditdb.HoldingsFilter + NewPaymentsFilterStub func() *auditdb.PaymentsFilter + SetStatusStub func(context.Context, string, driver.TxStatus, string) error + TransactionsStub func(context.Context, db.QueryTransactionsParams, db.Pagination) (*db.PageTransactionsIterator, error) + func (fake *AuditStoreService) Invocations() map[string][][]interface{} + func (fake *AuditStoreService) NewHoldingsFilter() *auditdb.HoldingsFilter + func (fake *AuditStoreService) NewHoldingsFilterCallCount() int + func (fake *AuditStoreService) NewHoldingsFilterCalls(stub func() *auditdb.HoldingsFilter) + func (fake *AuditStoreService) NewHoldingsFilterReturns(result1 *auditdb.HoldingsFilter) + func (fake *AuditStoreService) NewHoldingsFilterReturnsOnCall(i int, result1 *auditdb.HoldingsFilter) + func (fake *AuditStoreService) NewPaymentsFilter() *auditdb.PaymentsFilter + func (fake *AuditStoreService) NewPaymentsFilterCallCount() int + func (fake *AuditStoreService) NewPaymentsFilterCalls(stub func() *auditdb.PaymentsFilter) + func (fake *AuditStoreService) NewPaymentsFilterReturns(result1 *auditdb.PaymentsFilter) + func (fake *AuditStoreService) NewPaymentsFilterReturnsOnCall(i int, result1 *auditdb.PaymentsFilter) + func (fake *AuditStoreService) SetStatus(arg1 context.Context, arg2 string, arg3 driver.TxStatus, arg4 string) error + func (fake *AuditStoreService) SetStatusArgsForCall(i int) (context.Context, string, driver.TxStatus, string) + func (fake *AuditStoreService) SetStatusCallCount() int + func (fake *AuditStoreService) SetStatusCalls(stub func(context.Context, string, driver.TxStatus, string) error) + func (fake *AuditStoreService) SetStatusReturns(result1 error) + func (fake *AuditStoreService) SetStatusReturnsOnCall(i int, result1 error) + func (fake *AuditStoreService) Transactions(arg1 context.Context, arg2 db.QueryTransactionsParams, arg3 db.Pagination) (*db.PageTransactionsIterator, error) + func (fake *AuditStoreService) TransactionsArgsForCall(i int) (context.Context, db.QueryTransactionsParams, db.Pagination) + func (fake *AuditStoreService) TransactionsCallCount() int + func (fake *AuditStoreService) TransactionsCalls(...) + func (fake *AuditStoreService) TransactionsReturns(result1 *db.PageTransactionsIterator, result2 error) + func (fake *AuditStoreService) TransactionsReturnsOnCall(i int, result1 *db.PageTransactionsIterator, result2 error)