Documentation ¶
Index ¶
- type CreatorInfo
- type LedgerWriter
- func (fake *LedgerWriter) GetState(namespace string, key string) ([]byte, error)
- func (fake *LedgerWriter) GetStateArgsForCall(i int) (string, string)
- func (fake *LedgerWriter) GetStateCallCount() int
- func (fake *LedgerWriter) GetStateReturns(result1 []byte, result2 error)
- func (fake *LedgerWriter) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *LedgerWriter) Invocations() map[string][][]interface{}
- func (fake *LedgerWriter) SetState(namespace string, key string, value []byte) error
- func (fake *LedgerWriter) SetStateArgsForCall(i int) (string, string, []byte)
- func (fake *LedgerWriter) SetStateCallCount() int
- func (fake *LedgerWriter) SetStateReturns(result1 error)
- func (fake *LedgerWriter) SetStateReturnsOnCall(i int, result1 error)
- type PolicyValidator
- func (fake *PolicyValidator) Invocations() map[string][][]interface{}
- func (fake *PolicyValidator) IsIssuer(creator transaction.CreatorInfo, tokenType string) error
- func (fake *PolicyValidator) IsIssuerArgsForCall(i int) (transaction.CreatorInfo, string)
- func (fake *PolicyValidator) IsIssuerCallCount() int
- func (fake *PolicyValidator) IsIssuerReturns(result1 error)
- func (fake *PolicyValidator) IsIssuerReturnsOnCall(i int, result1 error)
- type TMSManager
- func (fake *TMSManager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)
- func (fake *TMSManager) GetTxProcessorArgsForCall(i int) string
- func (fake *TMSManager) GetTxProcessorCallCount() int
- func (fake *TMSManager) GetTxProcessorReturns(result1 transaction.TMSTxProcessor, result2 error)
- func (fake *TMSManager) GetTxProcessorReturnsOnCall(i int, result1 transaction.TMSTxProcessor, result2 error)
- func (fake *TMSManager) Invocations() map[string][][]interface{}
- type TMSTxProcessor
- func (fake *TMSTxProcessor) Invocations() map[string][][]interface{}
- func (fake *TMSTxProcessor) ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, ...) error
- func (fake *TMSTxProcessor) ProcessTxArgsForCall(i int) (string, identity.PublicInfo, *token.TokenTransaction, ledger.LedgerWriter)
- func (fake *TMSTxProcessor) ProcessTxCallCount() int
- func (fake *TMSTxProcessor) ProcessTxReturns(result1 error)
- func (fake *TMSTxProcessor) ProcessTxReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatorInfo ¶
type CreatorInfo struct { PublicStub func() []byte // contains filtered or unexported fields }
func (*CreatorInfo) Invocations ¶
func (fake *CreatorInfo) Invocations() map[string][][]interface{}
func (*CreatorInfo) Public ¶
func (fake *CreatorInfo) Public() []byte
func (*CreatorInfo) PublicCallCount ¶
func (fake *CreatorInfo) PublicCallCount() int
func (*CreatorInfo) PublicReturns ¶
func (fake *CreatorInfo) PublicReturns(result1 []byte)
func (*CreatorInfo) PublicReturnsOnCall ¶
func (fake *CreatorInfo) PublicReturnsOnCall(i int, result1 []byte)
type LedgerWriter ¶
type LedgerWriter struct { GetStateStub func(namespace string, key string) ([]byte, error) SetStateStub func(namespace string, key string, value []byte) error // contains filtered or unexported fields }
func (*LedgerWriter) GetState ¶
func (fake *LedgerWriter) GetState(namespace string, key string) ([]byte, error)
func (*LedgerWriter) GetStateArgsForCall ¶
func (fake *LedgerWriter) GetStateArgsForCall(i int) (string, string)
func (*LedgerWriter) GetStateCallCount ¶
func (fake *LedgerWriter) GetStateCallCount() int
func (*LedgerWriter) GetStateReturns ¶
func (fake *LedgerWriter) GetStateReturns(result1 []byte, result2 error)
func (*LedgerWriter) GetStateReturnsOnCall ¶
func (fake *LedgerWriter) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*LedgerWriter) Invocations ¶
func (fake *LedgerWriter) Invocations() map[string][][]interface{}
func (*LedgerWriter) SetState ¶
func (fake *LedgerWriter) SetState(namespace string, key string, value []byte) error
func (*LedgerWriter) SetStateArgsForCall ¶
func (fake *LedgerWriter) SetStateArgsForCall(i int) (string, string, []byte)
func (*LedgerWriter) SetStateCallCount ¶
func (fake *LedgerWriter) SetStateCallCount() int
func (*LedgerWriter) SetStateReturns ¶
func (fake *LedgerWriter) SetStateReturns(result1 error)
func (*LedgerWriter) SetStateReturnsOnCall ¶
func (fake *LedgerWriter) SetStateReturnsOnCall(i int, result1 error)
type PolicyValidator ¶
type PolicyValidator struct { IsIssuerStub func(creator transaction.CreatorInfo, tokenType string) error // contains filtered or unexported fields }
func (*PolicyValidator) Invocations ¶
func (fake *PolicyValidator) Invocations() map[string][][]interface{}
func (*PolicyValidator) IsIssuer ¶
func (fake *PolicyValidator) IsIssuer(creator transaction.CreatorInfo, tokenType string) error
func (*PolicyValidator) IsIssuerArgsForCall ¶
func (fake *PolicyValidator) IsIssuerArgsForCall(i int) (transaction.CreatorInfo, string)
func (*PolicyValidator) IsIssuerCallCount ¶
func (fake *PolicyValidator) IsIssuerCallCount() int
func (*PolicyValidator) IsIssuerReturns ¶
func (fake *PolicyValidator) IsIssuerReturns(result1 error)
func (*PolicyValidator) IsIssuerReturnsOnCall ¶
func (fake *PolicyValidator) IsIssuerReturnsOnCall(i int, result1 error)
type TMSManager ¶
type TMSManager struct { GetTxProcessorStub func(channel string) (transaction.TMSTxProcessor, error) // contains filtered or unexported fields }
func (*TMSManager) GetTxProcessor ¶
func (fake *TMSManager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)
func (*TMSManager) GetTxProcessorArgsForCall ¶
func (fake *TMSManager) GetTxProcessorArgsForCall(i int) string
func (*TMSManager) GetTxProcessorCallCount ¶
func (fake *TMSManager) GetTxProcessorCallCount() int
func (*TMSManager) GetTxProcessorReturns ¶
func (fake *TMSManager) GetTxProcessorReturns(result1 transaction.TMSTxProcessor, result2 error)
func (*TMSManager) GetTxProcessorReturnsOnCall ¶
func (fake *TMSManager) GetTxProcessorReturnsOnCall(i int, result1 transaction.TMSTxProcessor, result2 error)
func (*TMSManager) Invocations ¶
func (fake *TMSManager) Invocations() map[string][][]interface{}
type TMSTxProcessor ¶
type TMSTxProcessor struct { ProcessTxStub func(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error // contains filtered or unexported fields }
func (*TMSTxProcessor) Invocations ¶
func (fake *TMSTxProcessor) Invocations() map[string][][]interface{}
func (*TMSTxProcessor) ProcessTx ¶
func (fake *TMSTxProcessor) ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
func (*TMSTxProcessor) ProcessTxArgsForCall ¶
func (fake *TMSTxProcessor) ProcessTxArgsForCall(i int) (string, identity.PublicInfo, *token.TokenTransaction, ledger.LedgerWriter)
func (*TMSTxProcessor) ProcessTxCallCount ¶
func (fake *TMSTxProcessor) ProcessTxCallCount() int
func (*TMSTxProcessor) ProcessTxReturns ¶
func (fake *TMSTxProcessor) ProcessTxReturns(result1 error)
func (*TMSTxProcessor) ProcessTxReturnsOnCall ¶
func (fake *TMSTxProcessor) ProcessTxReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.