Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ApplicationConfigRetriever
- 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
- 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
- func (fake *LaunchRegistry) Deregister(packageID ccintf.CCID) error
- func (fake *LaunchRegistry) DeregisterArgsForCall(i int) ccintf.CCID
- func (fake *LaunchRegistry) DeregisterCallCount() int
- 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(packageID ccintf.CCID) (launchState *chaincode_test.LaunchState, started bool)
- func (fake *LaunchRegistry) LaunchingArgsForCall(i int) ccintf.CCID
- func (fake *LaunchRegistry) LaunchingCallCount() int
- func (fake *LaunchRegistry) LaunchingReturns(result1 *chaincode_test.LaunchState, result2 bool)
- func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode_test.LaunchState, result2 bool)
- type MessageHandler
- 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
- 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
- func (fake *Registry) Deregister(arg1 ccintf.CCID) error
- func (fake *Registry) DeregisterArgsForCall(i int) ccintf.CCID
- func (fake *Registry) DeregisterCallCount() int
- func (fake *Registry) DeregisterReturns(result1 error)
- func (fake *Registry) DeregisterReturnsOnCall(i int, result1 error)
- func (fake *Registry) Failed(arg1 ccintf.CCID, arg2 error)
- func (fake *Registry) FailedArgsForCall(i int) (ccintf.CCID, error)
- func (fake *Registry) FailedCallCount() int
- func (fake *Registry) Invocations() map[string][][]interface{}
- func (fake *Registry) Ready(arg1 ccintf.CCID)
- func (fake *Registry) ReadyArgsForCall(i int) ccintf.CCID
- func (fake *Registry) ReadyCallCount() int
- func (fake *Registry) Register(arg1 *chaincode_test.Handler) error
- func (fake *Registry) RegisterArgsForCall(i int) *chaincode_test.Handler
- func (fake *Registry) RegisterCallCount() int
- func (fake *Registry) RegisterReturns(result1 error)
- func (fake *Registry) RegisterReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationConfigRetriever ¶
type ApplicationConfigRetriever struct { GetApplicationConfigStub func(string) (channelconfig.Application, bool) // contains filtered or unexported fields }
func (*ApplicationConfigRetriever) GetApplicationConfig ¶
func (fake *ApplicationConfigRetriever) GetApplicationConfig(arg1 string) (channelconfig.Application, bool)
func (*ApplicationConfigRetriever) GetApplicationConfigArgsForCall ¶
func (fake *ApplicationConfigRetriever) GetApplicationConfigArgsForCall(i int) string
func (*ApplicationConfigRetriever) GetApplicationConfigCallCount ¶
func (fake *ApplicationConfigRetriever) GetApplicationConfigCallCount() int
func (*ApplicationConfigRetriever) GetApplicationConfigCalls ¶
func (fake *ApplicationConfigRetriever) GetApplicationConfigCalls(stub func(string) (channelconfig.Application, bool))
func (*ApplicationConfigRetriever) GetApplicationConfigReturns ¶
func (fake *ApplicationConfigRetriever) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
func (*ApplicationConfigRetriever) GetApplicationConfigReturnsOnCall ¶
func (fake *ApplicationConfigRetriever) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
func (*ApplicationConfigRetriever) Invocations ¶
func (fake *ApplicationConfigRetriever) Invocations() map[string][][]interface{}
type ContextRegistry ¶
type ContextRegistry struct { CloseStub func() CreateStub func(*ccprovider.TransactionParams) (*chaincode.TransactionContext, error) DeleteStub func(string, string) GetStub func(string, string) *chaincode.TransactionContext // contains filtered or unexported fields }
func (*ContextRegistry) Close ¶
func (fake *ContextRegistry) Close()
func (*ContextRegistry) CloseCallCount ¶
func (fake *ContextRegistry) CloseCallCount() int
func (*ContextRegistry) CloseCalls ¶
func (fake *ContextRegistry) CloseCalls(stub func())
func (*ContextRegistry) Create ¶
func (fake *ContextRegistry) Create(arg1 *ccprovider.TransactionParams) (*chaincode.TransactionContext, error)
func (*ContextRegistry) CreateArgsForCall ¶
func (fake *ContextRegistry) CreateArgsForCall(i int) *ccprovider.TransactionParams
func (*ContextRegistry) CreateCallCount ¶
func (fake *ContextRegistry) CreateCallCount() int
func (*ContextRegistry) CreateCalls ¶
func (fake *ContextRegistry) CreateCalls(stub func(*ccprovider.TransactionParams) (*chaincode.TransactionContext, error))
func (*ContextRegistry) CreateReturns ¶
func (fake *ContextRegistry) CreateReturns(result1 *chaincode.TransactionContext, result2 error)
func (*ContextRegistry) CreateReturnsOnCall ¶
func (fake *ContextRegistry) CreateReturnsOnCall(i int, result1 *chaincode.TransactionContext, result2 error)
func (*ContextRegistry) Delete ¶
func (fake *ContextRegistry) Delete(arg1 string, arg2 string)
func (*ContextRegistry) DeleteArgsForCall ¶
func (fake *ContextRegistry) DeleteArgsForCall(i int) (string, string)
func (*ContextRegistry) DeleteCallCount ¶
func (fake *ContextRegistry) DeleteCallCount() int
func (*ContextRegistry) DeleteCalls ¶
func (fake *ContextRegistry) DeleteCalls(stub func(string, string))
func (*ContextRegistry) Get ¶
func (fake *ContextRegistry) Get(arg1 string, arg2 string) *chaincode.TransactionContext
func (*ContextRegistry) GetArgsForCall ¶
func (fake *ContextRegistry) GetArgsForCall(i int) (string, string)
func (*ContextRegistry) GetCallCount ¶
func (fake *ContextRegistry) GetCallCount() int
func (*ContextRegistry) GetCalls ¶
func (fake *ContextRegistry) GetCalls(stub func(string, string) *chaincode.TransactionContext)
func (*ContextRegistry) GetReturns ¶
func (fake *ContextRegistry) GetReturns(result1 *chaincode.TransactionContext)
func (*ContextRegistry) GetReturnsOnCall ¶
func (fake *ContextRegistry) GetReturnsOnCall(i int, result1 *chaincode.TransactionContext)
func (*ContextRegistry) Invocations ¶
func (fake *ContextRegistry) Invocations() map[string][][]interface{}
type LaunchRegistry ¶
type LaunchRegistry struct { LaunchingStub func(packageID ccintf.CCID) (launchState *chaincode_test.LaunchState, started bool) DeregisterStub func(packageID ccintf.CCID) error // contains filtered or unexported fields }
func (*LaunchRegistry) Deregister ¶
func (fake *LaunchRegistry) Deregister(packageID ccintf.CCID) error
func (*LaunchRegistry) DeregisterArgsForCall ¶
func (fake *LaunchRegistry) DeregisterArgsForCall(i int) ccintf.CCID
func (*LaunchRegistry) DeregisterCallCount ¶
func (fake *LaunchRegistry) DeregisterCallCount() int
func (*LaunchRegistry) DeregisterReturns ¶
func (fake *LaunchRegistry) DeregisterReturns(result1 error)
func (*LaunchRegistry) DeregisterReturnsOnCall ¶
func (fake *LaunchRegistry) DeregisterReturnsOnCall(i int, result1 error)
func (*LaunchRegistry) Invocations ¶
func (fake *LaunchRegistry) Invocations() map[string][][]interface{}
func (*LaunchRegistry) Launching ¶
func (fake *LaunchRegistry) Launching(packageID ccintf.CCID) (launchState *chaincode_test.LaunchState, started bool)
func (*LaunchRegistry) LaunchingArgsForCall ¶
func (fake *LaunchRegistry) LaunchingArgsForCall(i int) ccintf.CCID
func (*LaunchRegistry) LaunchingCallCount ¶
func (fake *LaunchRegistry) LaunchingCallCount() int
func (*LaunchRegistry) LaunchingReturns ¶
func (fake *LaunchRegistry) LaunchingReturns(result1 *chaincode_test.LaunchState, result2 bool)
func (*LaunchRegistry) LaunchingReturnsOnCall ¶
func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode_test.LaunchState, result2 bool)
type MessageHandler ¶
type MessageHandler struct { HandleStub func(*peer.ChaincodeMessage, *chaincode.TransactionContext) (*peer.ChaincodeMessage, error) // contains filtered or unexported fields }
func (*MessageHandler) Handle ¶
func (fake *MessageHandler) Handle(arg1 *peer.ChaincodeMessage, arg2 *chaincode.TransactionContext) (*peer.ChaincodeMessage, error)
func (*MessageHandler) HandleArgsForCall ¶
func (fake *MessageHandler) HandleArgsForCall(i int) (*peer.ChaincodeMessage, *chaincode.TransactionContext)
func (*MessageHandler) HandleCallCount ¶
func (fake *MessageHandler) HandleCallCount() int
func (*MessageHandler) HandleCalls ¶
func (fake *MessageHandler) HandleCalls(stub func(*peer.ChaincodeMessage, *chaincode.TransactionContext) (*peer.ChaincodeMessage, error))
func (*MessageHandler) HandleReturns ¶
func (fake *MessageHandler) HandleReturns(result1 *peer.ChaincodeMessage, result2 error)
func (*MessageHandler) HandleReturnsOnCall ¶
func (fake *MessageHandler) HandleReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)
func (*MessageHandler) Invocations ¶
func (fake *MessageHandler) Invocations() map[string][][]interface{}
type QueryResponseBuilder ¶
type QueryResponseBuilder struct { BuildQueryResponseStub func(*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32) (*peer.QueryResponse, error) // contains filtered or unexported fields }
func (*QueryResponseBuilder) BuildQueryResponse ¶
func (fake *QueryResponseBuilder) BuildQueryResponse(arg1 *chaincode.TransactionContext, arg2 ledger.ResultsIterator, arg3 string, arg4 bool, arg5 int32) (*peer.QueryResponse, error)
func (*QueryResponseBuilder) BuildQueryResponseArgsForCall ¶
func (fake *QueryResponseBuilder) BuildQueryResponseArgsForCall(i int) (*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32)
func (*QueryResponseBuilder) BuildQueryResponseCallCount ¶
func (fake *QueryResponseBuilder) BuildQueryResponseCallCount() int
func (*QueryResponseBuilder) BuildQueryResponseCalls ¶
func (fake *QueryResponseBuilder) BuildQueryResponseCalls(stub func(*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32) (*peer.QueryResponse, error))
func (*QueryResponseBuilder) BuildQueryResponseReturns ¶
func (fake *QueryResponseBuilder) BuildQueryResponseReturns(result1 *peer.QueryResponse, result2 error)
func (*QueryResponseBuilder) BuildQueryResponseReturnsOnCall ¶
func (fake *QueryResponseBuilder) BuildQueryResponseReturnsOnCall(i int, result1 *peer.QueryResponse, result2 error)
func (*QueryResponseBuilder) Invocations ¶
func (fake *QueryResponseBuilder) Invocations() map[string][][]interface{}
type Registry ¶
type Registry struct { RegisterStub func(*chaincode_test.Handler) error ReadyStub func(ccintf.CCID) FailedStub func(ccintf.CCID, error) DeregisterStub func(ccintf.CCID) error // contains filtered or unexported fields }
func (*Registry) DeregisterArgsForCall ¶
func (*Registry) DeregisterCallCount ¶
func (*Registry) DeregisterReturns ¶
func (*Registry) DeregisterReturnsOnCall ¶
func (*Registry) FailedArgsForCall ¶
func (*Registry) FailedCallCount ¶
func (*Registry) Invocations ¶
func (*Registry) ReadyCallCount ¶
func (*Registry) RegisterArgsForCall ¶
func (fake *Registry) RegisterArgsForCall(i int) *chaincode_test.Handler
func (*Registry) RegisterCallCount ¶
func (*Registry) RegisterReturns ¶
func (*Registry) RegisterReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.