fabric: github.com/hyperledger/fabric/core/chaincode/fake Index | Files

package fake

import "github.com/hyperledger/fabric/core/chaincode/fake"

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

Package Files

application_config_retriever.go context_registry.go launch_registry.go message_handler.go query_response_builder.go registry.go

type ApplicationConfigRetriever Uses

type ApplicationConfigRetriever struct {
    GetApplicationConfigStub func(string) (channelconfig.Application, bool)
    // contains filtered or unexported fields
}

func (*ApplicationConfigRetriever) GetApplicationConfig Uses

func (fake *ApplicationConfigRetriever) GetApplicationConfig(arg1 string) (channelconfig.Application, bool)

func (*ApplicationConfigRetriever) GetApplicationConfigArgsForCall Uses

func (fake *ApplicationConfigRetriever) GetApplicationConfigArgsForCall(i int) string

func (*ApplicationConfigRetriever) GetApplicationConfigCallCount Uses

func (fake *ApplicationConfigRetriever) GetApplicationConfigCallCount() int

func (*ApplicationConfigRetriever) GetApplicationConfigCalls Uses

func (fake *ApplicationConfigRetriever) GetApplicationConfigCalls(stub func(string) (channelconfig.Application, bool))

func (*ApplicationConfigRetriever) GetApplicationConfigReturns Uses

func (fake *ApplicationConfigRetriever) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool)

func (*ApplicationConfigRetriever) GetApplicationConfigReturnsOnCall Uses

func (fake *ApplicationConfigRetriever) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)

func (*ApplicationConfigRetriever) Invocations Uses

func (fake *ApplicationConfigRetriever) Invocations() map[string][][]interface{}

type ContextRegistry Uses

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 Uses

func (fake *ContextRegistry) Close()

func (*ContextRegistry) CloseCallCount Uses

func (fake *ContextRegistry) CloseCallCount() int

func (*ContextRegistry) CloseCalls Uses

func (fake *ContextRegistry) CloseCalls(stub func())

func (*ContextRegistry) Create Uses

func (fake *ContextRegistry) Create(arg1 *ccprovider.TransactionParams) (*chaincode.TransactionContext, error)

func (*ContextRegistry) CreateArgsForCall Uses

func (fake *ContextRegistry) CreateArgsForCall(i int) *ccprovider.TransactionParams

func (*ContextRegistry) CreateCallCount Uses

func (fake *ContextRegistry) CreateCallCount() int

func (*ContextRegistry) CreateCalls Uses

func (fake *ContextRegistry) CreateCalls(stub func(*ccprovider.TransactionParams) (*chaincode.TransactionContext, error))

func (*ContextRegistry) CreateReturns Uses

func (fake *ContextRegistry) CreateReturns(result1 *chaincode.TransactionContext, result2 error)

func (*ContextRegistry) CreateReturnsOnCall Uses

func (fake *ContextRegistry) CreateReturnsOnCall(i int, result1 *chaincode.TransactionContext, result2 error)

func (*ContextRegistry) Delete Uses

func (fake *ContextRegistry) Delete(arg1 string, arg2 string)

func (*ContextRegistry) DeleteArgsForCall Uses

func (fake *ContextRegistry) DeleteArgsForCall(i int) (string, string)

func (*ContextRegistry) DeleteCallCount Uses

func (fake *ContextRegistry) DeleteCallCount() int

func (*ContextRegistry) DeleteCalls Uses

func (fake *ContextRegistry) DeleteCalls(stub func(string, string))

func (*ContextRegistry) Get Uses

func (fake *ContextRegistry) Get(arg1 string, arg2 string) *chaincode.TransactionContext

func (*ContextRegistry) GetArgsForCall Uses

func (fake *ContextRegistry) GetArgsForCall(i int) (string, string)

func (*ContextRegistry) GetCallCount Uses

func (fake *ContextRegistry) GetCallCount() int

func (*ContextRegistry) GetCalls Uses

func (fake *ContextRegistry) GetCalls(stub func(string, string) *chaincode.TransactionContext)

func (*ContextRegistry) GetReturns Uses

func (fake *ContextRegistry) GetReturns(result1 *chaincode.TransactionContext)

func (*ContextRegistry) GetReturnsOnCall Uses

func (fake *ContextRegistry) GetReturnsOnCall(i int, result1 *chaincode.TransactionContext)

func (*ContextRegistry) Invocations Uses

func (fake *ContextRegistry) Invocations() map[string][][]interface{}

type LaunchRegistry Uses

type LaunchRegistry struct {
    DeregisterStub func(string) error

    LaunchingStub func(string) (*chaincode.LaunchState, bool)
    // contains filtered or unexported fields
}

func (*LaunchRegistry) Deregister Uses

func (fake *LaunchRegistry) Deregister(arg1 string) error

func (*LaunchRegistry) DeregisterArgsForCall Uses

func (fake *LaunchRegistry) DeregisterArgsForCall(i int) string

func (*LaunchRegistry) DeregisterCallCount Uses

func (fake *LaunchRegistry) DeregisterCallCount() int

func (*LaunchRegistry) DeregisterCalls Uses

func (fake *LaunchRegistry) DeregisterCalls(stub func(string) error)

func (*LaunchRegistry) DeregisterReturns Uses

func (fake *LaunchRegistry) DeregisterReturns(result1 error)

func (*LaunchRegistry) DeregisterReturnsOnCall Uses

func (fake *LaunchRegistry) DeregisterReturnsOnCall(i int, result1 error)

func (*LaunchRegistry) Invocations Uses

func (fake *LaunchRegistry) Invocations() map[string][][]interface{}

func (*LaunchRegistry) Launching Uses

func (fake *LaunchRegistry) Launching(arg1 string) (*chaincode.LaunchState, bool)

func (*LaunchRegistry) LaunchingArgsForCall Uses

func (fake *LaunchRegistry) LaunchingArgsForCall(i int) string

func (*LaunchRegistry) LaunchingCallCount Uses

func (fake *LaunchRegistry) LaunchingCallCount() int

func (*LaunchRegistry) LaunchingCalls Uses

func (fake *LaunchRegistry) LaunchingCalls(stub func(string) (*chaincode.LaunchState, bool))

func (*LaunchRegistry) LaunchingReturns Uses

func (fake *LaunchRegistry) LaunchingReturns(result1 *chaincode.LaunchState, result2 bool)

func (*LaunchRegistry) LaunchingReturnsOnCall Uses

func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode.LaunchState, result2 bool)

type MessageHandler Uses

type MessageHandler struct {
    HandleStub func(*peer.ChaincodeMessage, *chaincode.TransactionContext) (*peer.ChaincodeMessage, error)
    // contains filtered or unexported fields
}

func (*MessageHandler) Handle Uses

func (fake *MessageHandler) Handle(arg1 *peer.ChaincodeMessage, arg2 *chaincode.TransactionContext) (*peer.ChaincodeMessage, error)

func (*MessageHandler) HandleArgsForCall Uses

func (fake *MessageHandler) HandleArgsForCall(i int) (*peer.ChaincodeMessage, *chaincode.TransactionContext)

func (*MessageHandler) HandleCallCount Uses

func (fake *MessageHandler) HandleCallCount() int

func (*MessageHandler) HandleCalls Uses

func (fake *MessageHandler) HandleCalls(stub func(*peer.ChaincodeMessage, *chaincode.TransactionContext) (*peer.ChaincodeMessage, error))

func (*MessageHandler) HandleReturns Uses

func (fake *MessageHandler) HandleReturns(result1 *peer.ChaincodeMessage, result2 error)

func (*MessageHandler) HandleReturnsOnCall Uses

func (fake *MessageHandler) HandleReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)

func (*MessageHandler) Invocations Uses

func (fake *MessageHandler) Invocations() map[string][][]interface{}

type QueryResponseBuilder Uses

type QueryResponseBuilder struct {
    BuildQueryResponseStub func(*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32) (*peer.QueryResponse, error)
    // contains filtered or unexported fields
}

func (*QueryResponseBuilder) BuildQueryResponse Uses

func (fake *QueryResponseBuilder) BuildQueryResponse(arg1 *chaincode.TransactionContext, arg2 ledger.ResultsIterator, arg3 string, arg4 bool, arg5 int32) (*peer.QueryResponse, error)

func (*QueryResponseBuilder) BuildQueryResponseArgsForCall Uses

func (fake *QueryResponseBuilder) BuildQueryResponseArgsForCall(i int) (*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32)

func (*QueryResponseBuilder) BuildQueryResponseCallCount Uses

func (fake *QueryResponseBuilder) BuildQueryResponseCallCount() int

func (*QueryResponseBuilder) BuildQueryResponseCalls Uses

func (fake *QueryResponseBuilder) BuildQueryResponseCalls(stub func(*chaincode.TransactionContext, ledger.ResultsIterator, string, bool, int32) (*peer.QueryResponse, error))

func (*QueryResponseBuilder) BuildQueryResponseReturns Uses

func (fake *QueryResponseBuilder) BuildQueryResponseReturns(result1 *peer.QueryResponse, result2 error)

func (*QueryResponseBuilder) BuildQueryResponseReturnsOnCall Uses

func (fake *QueryResponseBuilder) BuildQueryResponseReturnsOnCall(i int, result1 *peer.QueryResponse, result2 error)

func (*QueryResponseBuilder) Invocations Uses

func (fake *QueryResponseBuilder) Invocations() map[string][][]interface{}

type Registry Uses

type Registry struct {
    DeregisterStub func(string) error

    FailedStub func(string, error)

    ReadyStub func(string)

    RegisterStub func(*chaincode.Handler) error
    // contains filtered or unexported fields
}

func (*Registry) Deregister Uses

func (fake *Registry) Deregister(arg1 string) error

func (*Registry) DeregisterArgsForCall Uses

func (fake *Registry) DeregisterArgsForCall(i int) string

func (*Registry) DeregisterCallCount Uses

func (fake *Registry) DeregisterCallCount() int

func (*Registry) DeregisterCalls Uses

func (fake *Registry) DeregisterCalls(stub func(string) error)

func (*Registry) DeregisterReturns Uses

func (fake *Registry) DeregisterReturns(result1 error)

func (*Registry) DeregisterReturnsOnCall Uses

func (fake *Registry) DeregisterReturnsOnCall(i int, result1 error)

func (*Registry) Failed Uses

func (fake *Registry) Failed(arg1 string, arg2 error)

func (*Registry) FailedArgsForCall Uses

func (fake *Registry) FailedArgsForCall(i int) (string, error)

func (*Registry) FailedCallCount Uses

func (fake *Registry) FailedCallCount() int

func (*Registry) FailedCalls Uses

func (fake *Registry) FailedCalls(stub func(string, error))

func (*Registry) Invocations Uses

func (fake *Registry) Invocations() map[string][][]interface{}

func (*Registry) Ready Uses

func (fake *Registry) Ready(arg1 string)

func (*Registry) ReadyArgsForCall Uses

func (fake *Registry) ReadyArgsForCall(i int) string

func (*Registry) ReadyCallCount Uses

func (fake *Registry) ReadyCallCount() int

func (*Registry) ReadyCalls Uses

func (fake *Registry) ReadyCalls(stub func(string))

func (*Registry) Register Uses

func (fake *Registry) Register(arg1 *chaincode.Handler) error

func (*Registry) RegisterArgsForCall Uses

func (fake *Registry) RegisterArgsForCall(i int) *chaincode.Handler

func (*Registry) RegisterCallCount Uses

func (fake *Registry) RegisterCallCount() int

func (*Registry) RegisterCalls Uses

func (fake *Registry) RegisterCalls(stub func(*chaincode.Handler) error)

func (*Registry) RegisterReturns Uses

func (fake *Registry) RegisterReturns(result1 error)

func (*Registry) RegisterReturnsOnCall Uses

func (fake *Registry) RegisterReturnsOnCall(i int, result1 error)

Package fake imports 6 packages (graph). Updated 2018-12-12. Refresh now. Tools for package owners.