Documentation ¶
Index ¶
- type ChannelStateRetriever
- type MockChaincodeDefinition
- func (m *MockChaincodeDefinition) CCName() string
- func (m *MockChaincodeDefinition) CCVersion() string
- func (m *MockChaincodeDefinition) Endorsement() string
- func (m *MockChaincodeDefinition) Hash() []byte
- func (m *MockChaincodeDefinition) RequiresInit() bool
- func (m *MockChaincodeDefinition) Validation() (string, []byte)
- type MockSupport
- func (s *MockSupport) ChannelState(channel string) (endorser.QueryCreator, error)
- func (s *MockSupport) CheckACL(channelID string, signedProp *pb.SignedProposal) error
- func (s *MockSupport) CheckInstantiationPolicy(nameVersion string, cd ccprovider.ChaincodeDefinition) error
- func (s *MockSupport) Execute(txParams *ccprovider.TransactionParams, name string, spec *pb.ChaincodeInput) (*pb.Response, *pb.ChaincodeEvent, error)
- func (s *MockSupport) ExecuteLegacyInit(txParams *ccprovider.TransactionParams, name, version string, ...) (*pb.Response, *pb.ChaincodeEvent, error)
- func (s *MockSupport) GetApplicationConfig(cid string) (channelconfig.Application, bool)
- func (s *MockSupport) GetChaincodeDefinition(channelID, chaincodeName string, txsim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
- func (s *MockSupport) GetChaincodeDeploymentSpecFS(cds *pb.ChaincodeDeploymentSpec) (*pb.ChaincodeDeploymentSpec, error)
- func (s *MockSupport) GetDeployedCCInfoProvider() ledger.DeployedChaincodeInfoProvider
- func (s *MockSupport) GetHistoryQueryExecutor(ledgername string) (ledger.HistoryQueryExecutor, error)
- func (s *MockSupport) GetLedgerHeight(channelID string) (uint64, error)
- func (s *MockSupport) GetTransactionByID(chid, txID string) (*pb.ProcessedTransaction, error)
- func (s *MockSupport) GetTxSimulator(ledgername string, txid string) (ledger.TxSimulator, error)
- func (s *MockSupport) IsSysCC(name string) bool
- func (s *MockSupport) IsSysCCAndNotInvokableExternal(name string) bool
- func (s *MockSupport) NewQueryCreator(channel string) (endorser.QueryCreator, error)
- func (s *MockSupport) Serialize() ([]byte, error)
- func (s *MockSupport) Sign(message []byte) ([]byte, error)
- type MockTxSim
- func (m *MockTxSim) DeletePrivateData(namespace, collection, key string) error
- func (m *MockTxSim) DeletePrivateDataMetadata(namespace, collection, key string) error
- func (m *MockTxSim) DeleteState(namespace string, key string) error
- func (m *MockTxSim) DeleteStateMetadata(namespace, key string) error
- func (m *MockTxSim) Done()
- func (m *MockTxSim) ExecuteQuery(namespace, query string) (commonledger.ResultsIterator, error)
- func (m *MockTxSim) ExecuteQueryOnPrivateData(namespace, collection, query string) (commonledger.ResultsIterator, error)
- func (m *MockTxSim) ExecuteQueryWithMetadata(namespace, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
- func (m *MockTxSim) ExecuteUpdate(query string) error
- func (m *MockTxSim) GetPrivateData(namespace, collection, key string) ([]byte, error)
- func (m *MockTxSim) GetPrivateDataHash(namespace, collection, key string) ([]byte, error)
- func (m *MockTxSim) GetPrivateDataMetadata(namespace, collection, key string) (map[string][]byte, error)
- func (m *MockTxSim) GetPrivateDataMetadataByHash(namespace, collection string, keyhash []byte) (map[string][]byte, error)
- func (m *MockTxSim) GetPrivateDataMultipleKeys(namespace, collection string, keys []string) ([][]byte, error)
- func (m *MockTxSim) GetPrivateDataRangeScanIterator(namespace, collection, startKey, endKey string) (commonledger.ResultsIterator, error)
- func (m *MockTxSim) GetState(namespace string, key string) ([]byte, error)
- func (m *MockTxSim) GetStateMetadata(namespace, key string) (map[string][]byte, error)
- func (m *MockTxSim) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)
- func (m *MockTxSim) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)
- func (m *MockTxSim) GetStateRangeScanIteratorWithMetadata(namespace string, startKey, endKey string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
- func (m *MockTxSim) GetTxSimulationResults() (*ledger.TxSimulationResults, error)
- func (m *MockTxSim) SetPrivateData(namespace, collection, key string, value []byte) error
- func (m *MockTxSim) SetPrivateDataMetadata(namespace, collection, key string, metadata map[string][]byte) error
- func (m *MockTxSim) SetPrivateDataMultipleKeys(namespace, collection string, kvs map[string][]byte) error
- func (m *MockTxSim) SetState(namespace string, key string, value []byte) error
- func (m *MockTxSim) SetStateMetadata(namespace, key string, metadata map[string][]byte) error
- func (m *MockTxSim) SetStateMultipleKeys(namespace string, kvs map[string][]byte) error
- type Plugin
- type PluginFactory
- type PluginMapper
- type QueryCreator
- type SigningIdentityFetcher
- type Store
- func (_m *Store) GetMinTransientBlkHt() (uint64, error)
- func (_m *Store) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error)
- func (_m *Store) Persist(txid string, blockHeight uint64, ...) error
- func (_m *Store) PurgeByHeight(maxBlockNumToRetain uint64) error
- func (_m *Store) PurgeByTxids(txids []string) error
- func (_m *Store) Shutdown()
- type Support
- func (fake *Support) CheckACL(arg1 string, arg2 *peer.SignedProposal) error
- func (fake *Support) CheckACLArgsForCall(i int) (string, *peer.SignedProposal)
- func (fake *Support) CheckACLCallCount() int
- func (fake *Support) CheckACLCalls(stub func(string, *peer.SignedProposal) error)
- func (fake *Support) CheckACLReturns(result1 error)
- func (fake *Support) CheckACLReturnsOnCall(i int, result1 error)
- func (fake *Support) EndorseWithPlugin(arg1 string, arg2 string, arg3 []byte, arg4 *peer.SignedProposal) (*peer.Endorsement, []byte, error)
- func (fake *Support) EndorseWithPluginArgsForCall(i int) (string, string, []byte, *peer.SignedProposal)
- func (fake *Support) EndorseWithPluginCallCount() int
- func (fake *Support) EndorseWithPluginCalls(...)
- func (fake *Support) EndorseWithPluginReturns(result1 *peer.Endorsement, result2 []byte, result3 error)
- func (fake *Support) EndorseWithPluginReturnsOnCall(i int, result1 *peer.Endorsement, result2 []byte, result3 error)
- func (fake *Support) Execute(arg1 *ccprovider.TransactionParams, arg2 string, arg3 *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error)
- func (fake *Support) ExecuteArgsForCall(i int) (*ccprovider.TransactionParams, string, *peer.ChaincodeInput)
- func (fake *Support) ExecuteCallCount() int
- func (fake *Support) ExecuteCalls(...)
- func (fake *Support) ExecuteLegacyInit(arg1 *ccprovider.TransactionParams, arg2 string, arg3 string, ...) (*peer.Response, *peer.ChaincodeEvent, error)
- func (fake *Support) ExecuteLegacyInitArgsForCall(i int) (*ccprovider.TransactionParams, string, string, *peer.ChaincodeInput)
- func (fake *Support) ExecuteLegacyInitCallCount() int
- func (fake *Support) ExecuteLegacyInitCalls(...)
- func (fake *Support) ExecuteLegacyInitReturns(result1 *peer.Response, result2 *peer.ChaincodeEvent, result3 error)
- func (fake *Support) ExecuteLegacyInitReturnsOnCall(i int, result1 *peer.Response, result2 *peer.ChaincodeEvent, result3 error)
- func (fake *Support) ExecuteReturns(result1 *peer.Response, result2 *peer.ChaincodeEvent, result3 error)
- func (fake *Support) ExecuteReturnsOnCall(i int, result1 *peer.Response, result2 *peer.ChaincodeEvent, result3 error)
- func (fake *Support) GetChaincodeDefinition(arg1 string, arg2 string, arg3 ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
- func (fake *Support) GetChaincodeDefinitionArgsForCall(i int) (string, string, ledger.QueryExecutor)
- func (fake *Support) GetChaincodeDefinitionCallCount() int
- func (fake *Support) GetChaincodeDefinitionCalls(...)
- func (fake *Support) GetChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
- func (fake *Support) GetChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
- func (fake *Support) GetDeployedCCInfoProvider() ledger.DeployedChaincodeInfoProvider
- func (fake *Support) GetDeployedCCInfoProviderCallCount() int
- func (fake *Support) GetDeployedCCInfoProviderCalls(stub func() ledger.DeployedChaincodeInfoProvider)
- func (fake *Support) GetDeployedCCInfoProviderReturns(result1 ledger.DeployedChaincodeInfoProvider)
- func (fake *Support) GetDeployedCCInfoProviderReturnsOnCall(i int, result1 ledger.DeployedChaincodeInfoProvider)
- func (fake *Support) GetHistoryQueryExecutor(arg1 string) (ledger.HistoryQueryExecutor, error)
- func (fake *Support) GetHistoryQueryExecutorArgsForCall(i int) string
- func (fake *Support) GetHistoryQueryExecutorCallCount() int
- func (fake *Support) GetHistoryQueryExecutorCalls(stub func(string) (ledger.HistoryQueryExecutor, error))
- func (fake *Support) GetHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)
- func (fake *Support) GetHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)
- func (fake *Support) GetLedgerHeight(arg1 string) (uint64, error)
- func (fake *Support) GetLedgerHeightArgsForCall(i int) string
- func (fake *Support) GetLedgerHeightCallCount() int
- func (fake *Support) GetLedgerHeightCalls(stub func(string) (uint64, error))
- func (fake *Support) GetLedgerHeightReturns(result1 uint64, result2 error)
- func (fake *Support) GetLedgerHeightReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *Support) GetTransactionByID(arg1 string, arg2 string) (*peer.ProcessedTransaction, error)
- func (fake *Support) GetTransactionByIDArgsForCall(i int) (string, string)
- func (fake *Support) GetTransactionByIDCallCount() int
- func (fake *Support) GetTransactionByIDCalls(stub func(string, string) (*peer.ProcessedTransaction, error))
- func (fake *Support) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)
- func (fake *Support) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
- func (fake *Support) GetTxSimulator(arg1 string, arg2 string) (ledger.TxSimulator, error)
- func (fake *Support) GetTxSimulatorArgsForCall(i int) (string, string)
- func (fake *Support) GetTxSimulatorCallCount() int
- func (fake *Support) GetTxSimulatorCalls(stub func(string, string) (ledger.TxSimulator, error))
- func (fake *Support) GetTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
- func (fake *Support) GetTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
- func (fake *Support) Invocations() map[string][][]interface{}
- func (fake *Support) IsSysCC(arg1 string) bool
- func (fake *Support) IsSysCCArgsForCall(i int) string
- func (fake *Support) IsSysCCCallCount() int
- func (fake *Support) IsSysCCCalls(stub func(string) bool)
- func (fake *Support) IsSysCCReturns(result1 bool)
- func (fake *Support) IsSysCCReturnsOnCall(i int, result1 bool)
- func (fake *Support) Serialize() ([]byte, error)
- func (fake *Support) SerializeCallCount() int
- func (fake *Support) SerializeCalls(stub func() ([]byte, error))
- func (fake *Support) SerializeReturns(result1 []byte, result2 error)
- func (fake *Support) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Support) Sign(arg1 []byte) ([]byte, error)
- func (fake *Support) SignArgsForCall(i int) []byte
- func (fake *Support) SignCallCount() int
- func (fake *Support) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *Support) SignReturns(result1 []byte, result2 error)
- func (fake *Support) SignReturnsOnCall(i int, result1 []byte, result2 error)
- type TransientStoreRetriever
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelStateRetriever ¶
func (*ChannelStateRetriever) NewQueryCreator ¶
func (_m *ChannelStateRetriever) NewQueryCreator(channel string) (endorser.QueryCreator, error)
type MockChaincodeDefinition ¶
type MockChaincodeDefinition struct { NameRv string VersionRv string EndorsementStr string ValidationStr string ValidationBytes []byte HashRv []byte RequiresInitRv bool }
func (*MockChaincodeDefinition) CCName ¶
func (m *MockChaincodeDefinition) CCName() string
func (*MockChaincodeDefinition) CCVersion ¶
func (m *MockChaincodeDefinition) CCVersion() string
func (*MockChaincodeDefinition) Endorsement ¶
func (m *MockChaincodeDefinition) Endorsement() string
func (*MockChaincodeDefinition) Hash ¶
func (m *MockChaincodeDefinition) Hash() []byte
func (*MockChaincodeDefinition) RequiresInit ¶
func (m *MockChaincodeDefinition) RequiresInit() bool
func (*MockChaincodeDefinition) Validation ¶
func (m *MockChaincodeDefinition) Validation() (string, []byte)
type MockSupport ¶
type MockSupport struct { *mock.Mock *endorser.PluginEndorser IsSysCCAndNotInvokableExternalRv bool IsSysCCRv bool ExecuteCDSResp *pb.Response ExecuteCDSEvent *pb.ChaincodeEvent ExecuteCDSError error ExecuteResp *pb.Response ExecuteEvent *pb.ChaincodeEvent ExecuteError error ChaincodeDefinitionRv ccprovider.ChaincodeDefinition ChaincodeDefinitionError error GetTxSimulatorRv *MockTxSim GetTxSimulatorErr error CheckInstantiationPolicyError error GetTransactionByIDErr error CheckACLErr error SysCCMap map[string]struct{} IsJavaRV bool IsJavaErr error GetApplicationConfigRv channelconfig.Application GetApplicationConfigBoolRv bool DeployedCCInfoProvider ledger.DeployedChaincodeInfoProvider }
func (*MockSupport) ChannelState ¶
func (s *MockSupport) ChannelState(channel string) (endorser.QueryCreator, error)
func (*MockSupport) CheckACL ¶
func (s *MockSupport) CheckACL(channelID string, signedProp *pb.SignedProposal) error
func (*MockSupport) CheckInstantiationPolicy ¶
func (s *MockSupport) CheckInstantiationPolicy(nameVersion string, cd ccprovider.ChaincodeDefinition) error
func (*MockSupport) Execute ¶
func (s *MockSupport) Execute(txParams *ccprovider.TransactionParams, name string, spec *pb.ChaincodeInput) (*pb.Response, *pb.ChaincodeEvent, error)
func (*MockSupport) ExecuteLegacyInit ¶
func (s *MockSupport) ExecuteLegacyInit(txParams *ccprovider.TransactionParams, name, version string, spec *pb.ChaincodeInput) (*pb.Response, *pb.ChaincodeEvent, error)
func (*MockSupport) GetApplicationConfig ¶
func (s *MockSupport) GetApplicationConfig(cid string) (channelconfig.Application, bool)
func (*MockSupport) GetChaincodeDefinition ¶
func (s *MockSupport) GetChaincodeDefinition(channelID, chaincodeName string, txsim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
func (*MockSupport) GetChaincodeDeploymentSpecFS ¶
func (s *MockSupport) GetChaincodeDeploymentSpecFS(cds *pb.ChaincodeDeploymentSpec) (*pb.ChaincodeDeploymentSpec, error)
func (*MockSupport) GetDeployedCCInfoProvider ¶
func (s *MockSupport) GetDeployedCCInfoProvider() ledger.DeployedChaincodeInfoProvider
func (*MockSupport) GetHistoryQueryExecutor ¶
func (s *MockSupport) GetHistoryQueryExecutor(ledgername string) (ledger.HistoryQueryExecutor, error)
func (*MockSupport) GetLedgerHeight ¶
func (s *MockSupport) GetLedgerHeight(channelID string) (uint64, error)
func (*MockSupport) GetTransactionByID ¶
func (s *MockSupport) GetTransactionByID(chid, txID string) (*pb.ProcessedTransaction, error)
func (*MockSupport) GetTxSimulator ¶
func (s *MockSupport) GetTxSimulator(ledgername string, txid string) (ledger.TxSimulator, error)
func (*MockSupport) IsSysCC ¶
func (s *MockSupport) IsSysCC(name string) bool
func (*MockSupport) IsSysCCAndNotInvokableExternal ¶
func (s *MockSupport) IsSysCCAndNotInvokableExternal(name string) bool
func (*MockSupport) NewQueryCreator ¶
func (s *MockSupport) NewQueryCreator(channel string) (endorser.QueryCreator, error)
func (*MockSupport) Serialize ¶
func (s *MockSupport) Serialize() ([]byte, error)
type MockTxSim ¶
type MockTxSim struct {
GetTxSimulationResultsRv *ledger.TxSimulationResults
}
func (*MockTxSim) DeletePrivateData ¶
func (*MockTxSim) DeletePrivateDataMetadata ¶
func (*MockTxSim) DeleteStateMetadata ¶
func (*MockTxSim) ExecuteQuery ¶
func (m *MockTxSim) ExecuteQuery(namespace, query string) (commonledger.ResultsIterator, error)
func (*MockTxSim) ExecuteQueryOnPrivateData ¶
func (m *MockTxSim) ExecuteQueryOnPrivateData(namespace, collection, query string) (commonledger.ResultsIterator, error)
func (*MockTxSim) ExecuteQueryWithMetadata ¶
func (*MockTxSim) ExecuteUpdate ¶
func (*MockTxSim) GetPrivateData ¶
func (*MockTxSim) GetPrivateDataHash ¶
func (*MockTxSim) GetPrivateDataMetadata ¶
func (*MockTxSim) GetPrivateDataMetadataByHash ¶
func (*MockTxSim) GetPrivateDataMultipleKeys ¶
func (*MockTxSim) GetPrivateDataRangeScanIterator ¶
func (m *MockTxSim) GetPrivateDataRangeScanIterator(namespace, collection, startKey, endKey string) (commonledger.ResultsIterator, error)
func (*MockTxSim) GetStateMetadata ¶
func (*MockTxSim) GetStateMultipleKeys ¶
func (*MockTxSim) GetStateRangeScanIterator ¶
func (m *MockTxSim) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)
func (*MockTxSim) GetStateRangeScanIteratorWithMetadata ¶
func (*MockTxSim) GetTxSimulationResults ¶
func (m *MockTxSim) GetTxSimulationResults() (*ledger.TxSimulationResults, error)
func (*MockTxSim) SetPrivateData ¶
func (*MockTxSim) SetPrivateDataMetadata ¶
func (*MockTxSim) SetPrivateDataMultipleKeys ¶
func (*MockTxSim) SetStateMetadata ¶
type Plugin ¶
func (*Plugin) Endorse ¶
func (_m *Plugin) Endorse(payload []byte, sp *peer.SignedProposal) (*peer.Endorsement, []byte, error)
func (*Plugin) Init ¶
func (_m *Plugin) Init(dependencies ...endorsement.Dependency) error
type PluginFactory ¶
func (*PluginFactory) New ¶
func (_m *PluginFactory) New() endorsement.Plugin
type PluginMapper ¶
func (*PluginMapper) PluginFactoryByName ¶
func (_m *PluginMapper) PluginFactoryByName(name endorser.PluginName) endorsement.PluginFactory
type QueryCreator ¶
func (*QueryCreator) NewQueryExecutor ¶
func (_m *QueryCreator) NewQueryExecutor() (ledger.QueryExecutor, error)
type SigningIdentityFetcher ¶
func (*SigningIdentityFetcher) SigningIdentityForRequest ¶
func (_m *SigningIdentityFetcher) SigningIdentityForRequest(_a0 *peer.SignedProposal) (endorsement.SigningIdentity, error)
type Store ¶
func (*Store) GetMinTransientBlkHt ¶
func (*Store) GetTxPvtRWSetByTxid ¶
func (_m *Store) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error)
func (*Store) Persist ¶
func (_m *Store) Persist(txid string, blockHeight uint64, privateSimulationResultsWithConfig *blockchain_protos_gotransientstore.TxPvtReadWriteSetWithConfigInfo) error
func (*Store) PurgeByHeight ¶
func (*Store) PurgeByTxids ¶
type Support ¶
type Support struct { CheckACLStub func(string, *peer.SignedProposal) error EndorseWithPluginStub func(string, string, []byte, *peer.SignedProposal) (*peer.Endorsement, []byte, error) ExecuteStub func(*ccprovider.TransactionParams, string, *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error) ExecuteLegacyInitStub func(*ccprovider.TransactionParams, string, string, *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error) GetChaincodeDefinitionStub func(string, string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error) GetDeployedCCInfoProviderStub func() ledger.DeployedChaincodeInfoProvider GetHistoryQueryExecutorStub func(string) (ledger.HistoryQueryExecutor, error) GetLedgerHeightStub func(string) (uint64, error) GetTransactionByIDStub func(string, string) (*peer.ProcessedTransaction, error) GetTxSimulatorStub func(string, string) (ledger.TxSimulator, error) IsSysCCStub func(string) bool SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*Support) CheckACL ¶
func (fake *Support) CheckACL(arg1 string, arg2 *peer.SignedProposal) error
func (*Support) CheckACLArgsForCall ¶
func (fake *Support) CheckACLArgsForCall(i int) (string, *peer.SignedProposal)
func (*Support) CheckACLCallCount ¶
func (*Support) CheckACLCalls ¶
func (fake *Support) CheckACLCalls(stub func(string, *peer.SignedProposal) error)
func (*Support) CheckACLReturns ¶
func (*Support) CheckACLReturnsOnCall ¶
func (*Support) EndorseWithPlugin ¶
func (fake *Support) EndorseWithPlugin(arg1 string, arg2 string, arg3 []byte, arg4 *peer.SignedProposal) (*peer.Endorsement, []byte, error)
func (*Support) EndorseWithPluginArgsForCall ¶
func (*Support) EndorseWithPluginCallCount ¶
func (*Support) EndorseWithPluginCalls ¶
func (fake *Support) EndorseWithPluginCalls(stub func(string, string, []byte, *peer.SignedProposal) (*peer.Endorsement, []byte, error))
func (*Support) EndorseWithPluginReturns ¶
func (fake *Support) EndorseWithPluginReturns(result1 *peer.Endorsement, result2 []byte, result3 error)
func (*Support) EndorseWithPluginReturnsOnCall ¶
func (*Support) Execute ¶
func (fake *Support) Execute(arg1 *ccprovider.TransactionParams, arg2 string, arg3 *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error)
func (*Support) ExecuteArgsForCall ¶
func (fake *Support) ExecuteArgsForCall(i int) (*ccprovider.TransactionParams, string, *peer.ChaincodeInput)
func (*Support) ExecuteCallCount ¶
func (*Support) ExecuteCalls ¶
func (fake *Support) ExecuteCalls(stub func(*ccprovider.TransactionParams, string, *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error))
func (*Support) ExecuteLegacyInit ¶
func (fake *Support) ExecuteLegacyInit(arg1 *ccprovider.TransactionParams, arg2 string, arg3 string, arg4 *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error)
func (*Support) ExecuteLegacyInitArgsForCall ¶
func (fake *Support) ExecuteLegacyInitArgsForCall(i int) (*ccprovider.TransactionParams, string, string, *peer.ChaincodeInput)
func (*Support) ExecuteLegacyInitCallCount ¶
func (*Support) ExecuteLegacyInitCalls ¶
func (fake *Support) ExecuteLegacyInitCalls(stub func(*ccprovider.TransactionParams, string, string, *peer.ChaincodeInput) (*peer.Response, *peer.ChaincodeEvent, error))
func (*Support) ExecuteLegacyInitReturns ¶
func (*Support) ExecuteLegacyInitReturnsOnCall ¶
func (*Support) ExecuteReturns ¶
func (*Support) ExecuteReturnsOnCall ¶
func (*Support) GetChaincodeDefinition ¶
func (fake *Support) GetChaincodeDefinition(arg1 string, arg2 string, arg3 ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
func (*Support) GetChaincodeDefinitionArgsForCall ¶
func (*Support) GetChaincodeDefinitionCallCount ¶
func (*Support) GetChaincodeDefinitionCalls ¶
func (fake *Support) GetChaincodeDefinitionCalls(stub func(string, string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error))
func (*Support) GetChaincodeDefinitionReturns ¶
func (fake *Support) GetChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
func (*Support) GetChaincodeDefinitionReturnsOnCall ¶
func (fake *Support) GetChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
func (*Support) GetDeployedCCInfoProvider ¶
func (fake *Support) GetDeployedCCInfoProvider() ledger.DeployedChaincodeInfoProvider
func (*Support) GetDeployedCCInfoProviderCallCount ¶
func (*Support) GetDeployedCCInfoProviderCalls ¶
func (fake *Support) GetDeployedCCInfoProviderCalls(stub func() ledger.DeployedChaincodeInfoProvider)
func (*Support) GetDeployedCCInfoProviderReturns ¶
func (fake *Support) GetDeployedCCInfoProviderReturns(result1 ledger.DeployedChaincodeInfoProvider)
func (*Support) GetDeployedCCInfoProviderReturnsOnCall ¶
func (fake *Support) GetDeployedCCInfoProviderReturnsOnCall(i int, result1 ledger.DeployedChaincodeInfoProvider)
func (*Support) GetHistoryQueryExecutor ¶
func (fake *Support) GetHistoryQueryExecutor(arg1 string) (ledger.HistoryQueryExecutor, error)
func (*Support) GetHistoryQueryExecutorArgsForCall ¶
func (*Support) GetHistoryQueryExecutorCallCount ¶
func (*Support) GetHistoryQueryExecutorCalls ¶
func (fake *Support) GetHistoryQueryExecutorCalls(stub func(string) (ledger.HistoryQueryExecutor, error))
func (*Support) GetHistoryQueryExecutorReturns ¶
func (fake *Support) GetHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)
func (*Support) GetHistoryQueryExecutorReturnsOnCall ¶
func (fake *Support) GetHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)
func (*Support) GetLedgerHeightArgsForCall ¶
func (*Support) GetLedgerHeightCallCount ¶
func (*Support) GetLedgerHeightCalls ¶
func (*Support) GetLedgerHeightReturns ¶
func (*Support) GetLedgerHeightReturnsOnCall ¶
func (*Support) GetTransactionByID ¶
func (*Support) GetTransactionByIDArgsForCall ¶
func (*Support) GetTransactionByIDCallCount ¶
func (*Support) GetTransactionByIDCalls ¶
func (*Support) GetTransactionByIDReturns ¶
func (fake *Support) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)
func (*Support) GetTransactionByIDReturnsOnCall ¶
func (fake *Support) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
func (*Support) GetTxSimulator ¶
func (*Support) GetTxSimulatorArgsForCall ¶
func (*Support) GetTxSimulatorCallCount ¶
func (*Support) GetTxSimulatorCalls ¶
func (*Support) GetTxSimulatorReturns ¶
func (fake *Support) GetTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
func (*Support) GetTxSimulatorReturnsOnCall ¶
func (fake *Support) GetTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
func (*Support) Invocations ¶
func (*Support) IsSysCCArgsForCall ¶
func (*Support) IsSysCCCallCount ¶
func (*Support) IsSysCCCalls ¶
func (*Support) IsSysCCReturns ¶
func (*Support) IsSysCCReturnsOnCall ¶
func (*Support) SerializeCallCount ¶
func (*Support) SerializeCalls ¶
func (*Support) SerializeReturns ¶
func (*Support) SerializeReturnsOnCall ¶
func (*Support) SignArgsForCall ¶
func (*Support) SignCallCount ¶
func (*Support) SignReturns ¶
type TransientStoreRetriever ¶
func (*TransientStoreRetriever) StoreForChannel ¶
func (_m *TransientStoreRetriever) StoreForChannel(channel string) transientstore.Store
Click to show internal directories.
Click to hide internal directories.