Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + type ApplicationConfigRetriever struct + GetApplicationConfigStub func(string) (channelconfig.Application, bool) + func (fake *ApplicationConfigRetriever) GetApplicationConfig(arg1 string) (channelconfig.Application, bool) + func (fake *ApplicationConfigRetriever) GetApplicationConfigArgsForCall(i int) string + func (fake *ApplicationConfigRetriever) GetApplicationConfigCallCount() int + func (fake *ApplicationConfigRetriever) GetApplicationConfigCalls(stub func(string) (channelconfig.Application, bool)) + func (fake *ApplicationConfigRetriever) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool) + func (fake *ApplicationConfigRetriever) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool) + func (fake *ApplicationConfigRetriever) Invocations() map[string][][]interface{} + type ContextRegistry struct + CloseStub func() + CreateStub func(*ccprovider.TransactionParams) (*chaincode.TransactionContext, error) + DeleteStub func(string, string) + GetStub func(string, string) *chaincode.TransactionContext + func (fake *ContextRegistry) Close() + func (fake *ContextRegistry) CloseCallCount() int + func (fake *ContextRegistry) CloseCalls(stub func()) + func (fake *ContextRegistry) Create(arg1 *ccprovider.TransactionParams) (*chaincode.TransactionContext, error) + func (fake *ContextRegistry) CreateArgsForCall(i int) *ccprovider.TransactionParams + func (fake *ContextRegistry) CreateCallCount() int + func (fake *ContextRegistry) CreateCalls(...) + func (fake *ContextRegistry) CreateReturns(result1 *chaincode.TransactionContext, result2 error) + func (fake *ContextRegistry) CreateReturnsOnCall(i int, result1 *chaincode.TransactionContext, result2 error) + func (fake *ContextRegistry) Delete(arg1 string, arg2 string) + func (fake *ContextRegistry) DeleteArgsForCall(i int) (string, string) + func (fake *ContextRegistry) DeleteCallCount() int + func (fake *ContextRegistry) DeleteCalls(stub func(string, string)) + func (fake *ContextRegistry) Get(arg1 string, arg2 string) *chaincode.TransactionContext + func (fake *ContextRegistry) GetArgsForCall(i int) (string, string) + func (fake *ContextRegistry) GetCallCount() int + func (fake *ContextRegistry) GetCalls(stub func(string, string) *chaincode.TransactionContext) + func (fake *ContextRegistry) GetReturns(result1 *chaincode.TransactionContext) + func (fake *ContextRegistry) GetReturnsOnCall(i int, result1 *chaincode.TransactionContext) + func (fake *ContextRegistry) Invocations() map[string][][]interface{} + type LaunchRegistry struct + DeregisterStub func(string) error + LaunchingStub func(string) (*chaincode.LaunchState, bool) + func (fake *LaunchRegistry) Deregister(arg1 string) error + func (fake *LaunchRegistry) DeregisterArgsForCall(i int) string + func (fake *LaunchRegistry) DeregisterCallCount() int + func (fake *LaunchRegistry) DeregisterCalls(stub func(string) error) + func (fake *LaunchRegistry) DeregisterReturns(result1 error) + func (fake *LaunchRegistry) DeregisterReturnsOnCall(i int, result1 error) + func (fake *LaunchRegistry) Invocations() map[string][][]interface{} + func (fake *LaunchRegistry) Launching(arg1 string) (*chaincode.LaunchState, bool) + func (fake *LaunchRegistry) LaunchingArgsForCall(i int) string + func (fake *LaunchRegistry) LaunchingCallCount() int + func (fake *LaunchRegistry) LaunchingCalls(stub func(string) (*chaincode.LaunchState, bool)) + func (fake *LaunchRegistry) LaunchingReturns(result1 *chaincode.LaunchState, result2 bool) + func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode.LaunchState, result2 bool) + type MessageHandler struct + HandleStub func(*peer.ChaincodeMessage, *chaincode.TransactionContext) (*peer.ChaincodeMessage, error) + func (fake *MessageHandler) Handle(arg1 *peer.ChaincodeMessage, arg2 *chaincode.TransactionContext) (*peer.ChaincodeMessage, error) + func (fake *MessageHandler) HandleArgsForCall(i int) (*peer.ChaincodeMessage, *chaincode.TransactionContext) + func (fake *MessageHandler) HandleCallCount() int + func (fake *MessageHandler) HandleCalls(...) + func (fake *MessageHandler) HandleReturns(result1 *peer.ChaincodeMessage, result2 error) + func (fake *MessageHandler) HandleReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error) + func (fake *MessageHandler) Invocations() map[string][][]interface{} + type QueryResponseBuilder struct + BuildQueryResponseStub func(*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32) (*peer.QueryResponse, error) + func (fake *QueryResponseBuilder) BuildQueryResponse(arg1 *chaincode.TransactionContext, arg2 ledger.ResultsIterator, arg3 string, ...) (*peer.QueryResponse, error) + func (fake *QueryResponseBuilder) BuildQueryResponseArgsForCall(i int) (*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32) + func (fake *QueryResponseBuilder) BuildQueryResponseCallCount() int + func (fake *QueryResponseBuilder) BuildQueryResponseCalls(...) + func (fake *QueryResponseBuilder) BuildQueryResponseReturns(result1 *peer.QueryResponse, result2 error) + func (fake *QueryResponseBuilder) BuildQueryResponseReturnsOnCall(i int, result1 *peer.QueryResponse, result2 error) + func (fake *QueryResponseBuilder) Invocations() map[string][][]interface{} + type Registry struct + DeregisterStub func(string) error + FailedStub func(string, error) + ReadyStub func(string) + RegisterStub func(*chaincode.Handler) error + func (fake *Registry) Deregister(arg1 string) error + func (fake *Registry) DeregisterArgsForCall(i int) string + func (fake *Registry) DeregisterCallCount() int + func (fake *Registry) DeregisterCalls(stub func(string) error) + func (fake *Registry) DeregisterReturns(result1 error) + func (fake *Registry) DeregisterReturnsOnCall(i int, result1 error) + func (fake *Registry) Failed(arg1 string, arg2 error) + func (fake *Registry) FailedArgsForCall(i int) (string, error) + func (fake *Registry) FailedCallCount() int + func (fake *Registry) FailedCalls(stub func(string, error)) + func (fake *Registry) Invocations() map[string][][]interface{} + func (fake *Registry) Ready(arg1 string) + func (fake *Registry) ReadyArgsForCall(i int) string + func (fake *Registry) ReadyCallCount() int + func (fake *Registry) ReadyCalls(stub func(string)) + func (fake *Registry) Register(arg1 *chaincode.Handler) error + func (fake *Registry) RegisterArgsForCall(i int) *chaincode.Handler + func (fake *Registry) RegisterCallCount() int + func (fake *Registry) RegisterCalls(stub func(*chaincode.Handler) error) + func (fake *Registry) RegisterReturns(result1 error) + func (fake *Registry) RegisterReturnsOnCall(i int, result1 error)