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.
Index ¶
- type ContextRegistry
- func (fake *ContextRegistry) Close()
- func (fake *ContextRegistry) CloseCallCount() int
- func (fake *ContextRegistry) Create(ctx context.Context, chainID string, txID string, ...) (*chaincode_test.TransactionContext, error)
- func (fake *ContextRegistry) CreateArgsForCall(i int) (context.Context, string, string, *pb.SignedProposal, *pb.Proposal)
- func (fake *ContextRegistry) CreateCallCount() int
- func (fake *ContextRegistry) CreateReturns(result1 *chaincode_test.TransactionContext, result2 error)
- func (fake *ContextRegistry) CreateReturnsOnCall(i int, result1 *chaincode_test.TransactionContext, result2 error)
- func (fake *ContextRegistry) Delete(chainID string, txID string)
- func (fake *ContextRegistry) DeleteArgsForCall(i int) (string, string)
- func (fake *ContextRegistry) DeleteCallCount() int
- func (fake *ContextRegistry) Get(chainID string, txID string) *chaincode_test.TransactionContext
- func (fake *ContextRegistry) GetArgsForCall(i int) (string, string)
- func (fake *ContextRegistry) GetCallCount() int
- func (fake *ContextRegistry) GetReturns(result1 *chaincode_test.TransactionContext)
- func (fake *ContextRegistry) GetReturnsOnCall(i int, result1 *chaincode_test.TransactionContext)
- func (fake *ContextRegistry) Invocations() map[string][][]interface{}
- type LaunchRegistry
- func (fake *LaunchRegistry) Deregister(cname string) error
- func (fake *LaunchRegistry) DeregisterArgsForCall(i int) string
- 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(cname string) (*chaincode_test.LaunchState, error)
- func (fake *LaunchRegistry) LaunchingArgsForCall(i int) string
- func (fake *LaunchRegistry) LaunchingCallCount() int
- func (fake *LaunchRegistry) LaunchingReturns(result1 *chaincode_test.LaunchState, result2 error)
- func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode_test.LaunchState, result2 error)
- type MessageHandler
- func (fake *MessageHandler) Handle(arg1 *pb.ChaincodeMessage, arg2 *chaincode_test.TransactionContext) (*pb.ChaincodeMessage, error)
- func (fake *MessageHandler) HandleArgsForCall(i int) (*pb.ChaincodeMessage, *chaincode_test.TransactionContext)
- func (fake *MessageHandler) HandleCallCount() int
- func (fake *MessageHandler) HandleReturns(result1 *pb.ChaincodeMessage, result2 error)
- func (fake *MessageHandler) HandleReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)
- func (fake *MessageHandler) Invocations() map[string][][]interface{}
- type QueryResponseBuilder
- func (fake *QueryResponseBuilder) BuildQueryResponse(txContext *chaincode_test.TransactionContext, ...) (*pb.QueryResponse, error)
- func (fake *QueryResponseBuilder) BuildQueryResponseArgsForCall(i int) (*chaincode_test.TransactionContext, commonledger.ResultsIterator, string)
- func (fake *QueryResponseBuilder) BuildQueryResponseCallCount() int
- func (fake *QueryResponseBuilder) BuildQueryResponseReturns(result1 *pb.QueryResponse, result2 error)
- func (fake *QueryResponseBuilder) BuildQueryResponseReturnsOnCall(i int, result1 *pb.QueryResponse, result2 error)
- func (fake *QueryResponseBuilder) Invocations() map[string][][]interface{}
- type Registry
- func (fake *Registry) Deregister(cname string) error
- func (fake *Registry) DeregisterArgsForCall(i int) string
- func (fake *Registry) DeregisterCallCount() int
- func (fake *Registry) DeregisterReturns(result1 error)
- func (fake *Registry) DeregisterReturnsOnCall(i int, result1 error)
- func (fake *Registry) Failed(cname string, err error)
- func (fake *Registry) FailedArgsForCall(i int) (string, error)
- func (fake *Registry) FailedCallCount() int
- func (fake *Registry) Invocations() map[string][][]interface{}
- func (fake *Registry) Ready(cname string)
- func (fake *Registry) ReadyArgsForCall(i int) string
- 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 ContextRegistry ¶
type ContextRegistry struct { CreateStub func(ctx context.Context, chainID, txID string, signedProp *pb.SignedProposal, proposal *pb.Proposal) (*chaincode_test.TransactionContext, error) GetStub func(chainID, txID string) *chaincode_test.TransactionContext DeleteStub func(chainID, txID string) CloseStub func() // contains filtered or unexported fields }
func (*ContextRegistry) Close ¶
func (fake *ContextRegistry) Close()
func (*ContextRegistry) CloseCallCount ¶
func (fake *ContextRegistry) CloseCallCount() int
func (*ContextRegistry) Create ¶
func (fake *ContextRegistry) Create(ctx context.Context, chainID string, txID string, signedProp *pb.SignedProposal, proposal *pb.Proposal) (*chaincode_test.TransactionContext, error)
func (*ContextRegistry) CreateArgsForCall ¶
func (fake *ContextRegistry) CreateArgsForCall(i int) (context.Context, string, string, *pb.SignedProposal, *pb.Proposal)
func (*ContextRegistry) CreateCallCount ¶
func (fake *ContextRegistry) CreateCallCount() int
func (*ContextRegistry) CreateReturns ¶
func (fake *ContextRegistry) CreateReturns(result1 *chaincode_test.TransactionContext, result2 error)
func (*ContextRegistry) CreateReturnsOnCall ¶
func (fake *ContextRegistry) CreateReturnsOnCall(i int, result1 *chaincode_test.TransactionContext, result2 error)
func (*ContextRegistry) Delete ¶
func (fake *ContextRegistry) Delete(chainID string, txID string)
func (*ContextRegistry) DeleteArgsForCall ¶
func (fake *ContextRegistry) DeleteArgsForCall(i int) (string, string)
func (*ContextRegistry) DeleteCallCount ¶
func (fake *ContextRegistry) DeleteCallCount() int
func (*ContextRegistry) Get ¶
func (fake *ContextRegistry) Get(chainID string, txID string) *chaincode_test.TransactionContext
func (*ContextRegistry) GetArgsForCall ¶
func (fake *ContextRegistry) GetArgsForCall(i int) (string, string)
func (*ContextRegistry) GetCallCount ¶
func (fake *ContextRegistry) GetCallCount() int
func (*ContextRegistry) GetReturns ¶
func (fake *ContextRegistry) GetReturns(result1 *chaincode_test.TransactionContext)
func (*ContextRegistry) GetReturnsOnCall ¶
func (fake *ContextRegistry) GetReturnsOnCall(i int, result1 *chaincode_test.TransactionContext)
func (*ContextRegistry) Invocations ¶
func (fake *ContextRegistry) Invocations() map[string][][]interface{}
type LaunchRegistry ¶
type LaunchRegistry struct { LaunchingStub func(cname string) (*chaincode_test.LaunchState, error) DeregisterStub func(cname string) error // contains filtered or unexported fields }
func (*LaunchRegistry) Deregister ¶
func (fake *LaunchRegistry) Deregister(cname string) error
func (*LaunchRegistry) DeregisterArgsForCall ¶
func (fake *LaunchRegistry) DeregisterArgsForCall(i int) string
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(cname string) (*chaincode_test.LaunchState, error)
func (*LaunchRegistry) LaunchingArgsForCall ¶
func (fake *LaunchRegistry) LaunchingArgsForCall(i int) string
func (*LaunchRegistry) LaunchingCallCount ¶
func (fake *LaunchRegistry) LaunchingCallCount() int
func (*LaunchRegistry) LaunchingReturns ¶
func (fake *LaunchRegistry) LaunchingReturns(result1 *chaincode_test.LaunchState, result2 error)
func (*LaunchRegistry) LaunchingReturnsOnCall ¶
func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode_test.LaunchState, result2 error)
type MessageHandler ¶
type MessageHandler struct { HandleStub func(*pb.ChaincodeMessage, *chaincode_test.TransactionContext) (*pb.ChaincodeMessage, error) // contains filtered or unexported fields }
func (*MessageHandler) Handle ¶
func (fake *MessageHandler) Handle(arg1 *pb.ChaincodeMessage, arg2 *chaincode_test.TransactionContext) (*pb.ChaincodeMessage, error)
func (*MessageHandler) HandleArgsForCall ¶
func (fake *MessageHandler) HandleArgsForCall(i int) (*pb.ChaincodeMessage, *chaincode_test.TransactionContext)
func (*MessageHandler) HandleCallCount ¶
func (fake *MessageHandler) HandleCallCount() int
func (*MessageHandler) HandleReturns ¶
func (fake *MessageHandler) HandleReturns(result1 *pb.ChaincodeMessage, result2 error)
func (*MessageHandler) HandleReturnsOnCall ¶
func (fake *MessageHandler) HandleReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)
func (*MessageHandler) Invocations ¶
func (fake *MessageHandler) Invocations() map[string][][]interface{}
type QueryResponseBuilder ¶
type QueryResponseBuilder struct { BuildQueryResponseStub func(txContext *chaincode_test.TransactionContext, iter commonledger.ResultsIterator, iterID string) (*pb.QueryResponse, error) // contains filtered or unexported fields }
func (*QueryResponseBuilder) BuildQueryResponse ¶
func (fake *QueryResponseBuilder) BuildQueryResponse(txContext *chaincode_test.TransactionContext, iter commonledger.ResultsIterator, iterID string) (*pb.QueryResponse, error)
func (*QueryResponseBuilder) BuildQueryResponseArgsForCall ¶
func (fake *QueryResponseBuilder) BuildQueryResponseArgsForCall(i int) (*chaincode_test.TransactionContext, commonledger.ResultsIterator, string)
func (*QueryResponseBuilder) BuildQueryResponseCallCount ¶
func (fake *QueryResponseBuilder) BuildQueryResponseCallCount() int
func (*QueryResponseBuilder) BuildQueryResponseReturns ¶
func (fake *QueryResponseBuilder) BuildQueryResponseReturns(result1 *pb.QueryResponse, result2 error)
func (*QueryResponseBuilder) BuildQueryResponseReturnsOnCall ¶
func (fake *QueryResponseBuilder) BuildQueryResponseReturnsOnCall(i int, result1 *pb.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(cname string) FailedStub func(cname string, err error) DeregisterStub func(cname string) error // contains filtered or unexported fields }
func (*Registry) DeregisterReturnsOnCall ¶
func (*Registry) Register ¶
func (fake *Registry) Register(arg1 *chaincode_test.Handler) error
func (*Registry) RegisterArgsForCall ¶
func (fake *Registry) RegisterArgsForCall(i int) *chaincode_test.Handler
Click to show internal directories.
Click to hide internal directories.