Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type AuditService
- 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
- 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
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditService ¶
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
// contains filtered or unexported fields
}
func (*AuditService) Audit ¶
func (fake *AuditService) Audit(arg1 context.Context, arg2 auditora.Transaction) (*token.InputStream, *token.OutputStream, error)
func (*AuditService) AuditArgsForCall ¶
func (fake *AuditService) AuditArgsForCall(i int) (context.Context, auditora.Transaction)
func (*AuditService) AuditCallCount ¶
func (fake *AuditService) AuditCallCount() int
func (*AuditService) AuditCalls ¶
func (fake *AuditService) AuditCalls(stub func(context.Context, auditora.Transaction) (*token.InputStream, *token.OutputStream, error))
func (*AuditService) AuditReturns ¶
func (fake *AuditService) AuditReturns(result1 *token.InputStream, result2 *token.OutputStream, result3 error)
func (*AuditService) AuditReturnsOnCall ¶
func (fake *AuditService) AuditReturnsOnCall(i int, result1 *token.InputStream, result2 *token.OutputStream, result3 error)
func (*AuditService) Check ¶
func (fake *AuditService) Check(arg1 context.Context) ([]string, error)
func (*AuditService) CheckArgsForCall ¶
func (fake *AuditService) CheckArgsForCall(i int) context.Context
func (*AuditService) CheckCallCount ¶
func (fake *AuditService) CheckCallCount() int
func (*AuditService) CheckCalls ¶
func (fake *AuditService) CheckCalls(stub func(context.Context) ([]string, error))
func (*AuditService) CheckReturns ¶
func (fake *AuditService) CheckReturns(result1 []string, result2 error)
func (*AuditService) CheckReturnsOnCall ¶
func (fake *AuditService) CheckReturnsOnCall(i int, result1 []string, result2 error)
func (*AuditService) GetTokenRequest ¶
func (*AuditService) GetTokenRequestArgsForCall ¶
func (fake *AuditService) GetTokenRequestArgsForCall(i int) (context.Context, string)
func (*AuditService) GetTokenRequestCallCount ¶
func (fake *AuditService) GetTokenRequestCallCount() int
func (*AuditService) GetTokenRequestCalls ¶
func (*AuditService) GetTokenRequestReturns ¶
func (fake *AuditService) GetTokenRequestReturns(result1 []byte, result2 error)
func (*AuditService) GetTokenRequestReturnsOnCall ¶
func (fake *AuditService) GetTokenRequestReturnsOnCall(i int, result1 []byte, result2 error)
func (*AuditService) Invocations ¶
func (fake *AuditService) Invocations() map[string][][]interface{}
func (*AuditService) Release ¶
func (fake *AuditService) Release(arg1 context.Context, arg2 auditora.Transaction)
func (*AuditService) ReleaseArgsForCall ¶
func (fake *AuditService) ReleaseArgsForCall(i int) (context.Context, auditora.Transaction)
func (*AuditService) ReleaseCallCount ¶
func (fake *AuditService) ReleaseCallCount() int
func (*AuditService) ReleaseCalls ¶
func (fake *AuditService) ReleaseCalls(stub func(context.Context, auditora.Transaction))
func (*AuditService) ValidateArgsForCall ¶
func (*AuditService) ValidateCallCount ¶
func (fake *AuditService) ValidateCallCount() int
func (*AuditService) ValidateCalls ¶
func (*AuditService) ValidateReturns ¶
func (fake *AuditService) ValidateReturns(result1 error)
func (*AuditService) ValidateReturnsOnCall ¶
func (fake *AuditService) ValidateReturnsOnCall(i int, result1 error)
type AuditServiceProvider ¶
type AuditServiceProvider struct {
AuditorServiceStub func(token.TMSID) (auditor.Service, auditor.StoreService, error)
// contains filtered or unexported fields
}
func (*AuditServiceProvider) AuditorService ¶
func (fake *AuditServiceProvider) AuditorService(arg1 token.TMSID) (auditor.Service, auditor.StoreService, error)
func (*AuditServiceProvider) AuditorServiceArgsForCall ¶
func (fake *AuditServiceProvider) AuditorServiceArgsForCall(i int) token.TMSID
func (*AuditServiceProvider) AuditorServiceCallCount ¶
func (fake *AuditServiceProvider) AuditorServiceCallCount() int
func (*AuditServiceProvider) AuditorServiceCalls ¶
func (fake *AuditServiceProvider) AuditorServiceCalls(stub func(token.TMSID) (auditor.Service, auditor.StoreService, error))
func (*AuditServiceProvider) AuditorServiceReturns ¶
func (fake *AuditServiceProvider) AuditorServiceReturns(result1 auditor.Service, result2 auditor.StoreService, result3 error)
func (*AuditServiceProvider) AuditorServiceReturnsOnCall ¶
func (fake *AuditServiceProvider) AuditorServiceReturnsOnCall(i int, result1 auditor.Service, result2 auditor.StoreService, result3 error)
func (*AuditServiceProvider) Invocations ¶
func (fake *AuditServiceProvider) Invocations() map[string][][]interface{}
type AuditStoreService ¶
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)
// contains filtered or unexported fields
}
func (*AuditStoreService) Invocations ¶
func (fake *AuditStoreService) Invocations() map[string][][]interface{}
func (*AuditStoreService) NewHoldingsFilter ¶
func (fake *AuditStoreService) NewHoldingsFilter() *auditdb.HoldingsFilter
func (*AuditStoreService) NewHoldingsFilterCallCount ¶
func (fake *AuditStoreService) NewHoldingsFilterCallCount() int
func (*AuditStoreService) NewHoldingsFilterCalls ¶
func (fake *AuditStoreService) NewHoldingsFilterCalls(stub func() *auditdb.HoldingsFilter)
func (*AuditStoreService) NewHoldingsFilterReturns ¶
func (fake *AuditStoreService) NewHoldingsFilterReturns(result1 *auditdb.HoldingsFilter)
func (*AuditStoreService) NewHoldingsFilterReturnsOnCall ¶
func (fake *AuditStoreService) NewHoldingsFilterReturnsOnCall(i int, result1 *auditdb.HoldingsFilter)
func (*AuditStoreService) NewPaymentsFilter ¶
func (fake *AuditStoreService) NewPaymentsFilter() *auditdb.PaymentsFilter
func (*AuditStoreService) NewPaymentsFilterCallCount ¶
func (fake *AuditStoreService) NewPaymentsFilterCallCount() int
func (*AuditStoreService) NewPaymentsFilterCalls ¶
func (fake *AuditStoreService) NewPaymentsFilterCalls(stub func() *auditdb.PaymentsFilter)
func (*AuditStoreService) NewPaymentsFilterReturns ¶
func (fake *AuditStoreService) NewPaymentsFilterReturns(result1 *auditdb.PaymentsFilter)
func (*AuditStoreService) NewPaymentsFilterReturnsOnCall ¶
func (fake *AuditStoreService) NewPaymentsFilterReturnsOnCall(i int, result1 *auditdb.PaymentsFilter)
func (*AuditStoreService) SetStatusArgsForCall ¶
func (*AuditStoreService) SetStatusCallCount ¶
func (fake *AuditStoreService) SetStatusCallCount() int
func (*AuditStoreService) SetStatusCalls ¶
func (*AuditStoreService) SetStatusReturns ¶
func (fake *AuditStoreService) SetStatusReturns(result1 error)
func (*AuditStoreService) SetStatusReturnsOnCall ¶
func (fake *AuditStoreService) SetStatusReturnsOnCall(i int, result1 error)
func (*AuditStoreService) Transactions ¶
func (fake *AuditStoreService) Transactions(arg1 context.Context, arg2 db.QueryTransactionsParams, arg3 db.Pagination) (*db.PageTransactionsIterator, error)
func (*AuditStoreService) TransactionsArgsForCall ¶
func (fake *AuditStoreService) TransactionsArgsForCall(i int) (context.Context, db.QueryTransactionsParams, db.Pagination)
func (*AuditStoreService) TransactionsCallCount ¶
func (fake *AuditStoreService) TransactionsCallCount() int
func (*AuditStoreService) TransactionsCalls ¶
func (fake *AuditStoreService) TransactionsCalls(stub func(context.Context, db.QueryTransactionsParams, db.Pagination) (*db.PageTransactionsIterator, error))
func (*AuditStoreService) TransactionsReturns ¶
func (fake *AuditStoreService) TransactionsReturns(result1 *db.PageTransactionsIterator, result2 error)
func (*AuditStoreService) TransactionsReturnsOnCall ¶
func (fake *AuditStoreService) TransactionsReturnsOnCall(i int, result1 *db.PageTransactionsIterator, result2 error)
Click to show internal directories.
Click to hide internal directories.