fake

package
Version: v2.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationConfigRetriever added in v1.3.0

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

func (*ApplicationConfigRetriever) GetApplicationConfig added in v1.3.0

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

func (*ApplicationConfigRetriever) GetApplicationConfigArgsForCall added in v1.3.0

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

func (*ApplicationConfigRetriever) GetApplicationConfigCallCount added in v1.3.0

func (fake *ApplicationConfigRetriever) GetApplicationConfigCallCount() int

func (*ApplicationConfigRetriever) GetApplicationConfigCalls added in v1.4.0

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

func (*ApplicationConfigRetriever) GetApplicationConfigReturns added in v1.3.0

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

func (*ApplicationConfigRetriever) GetApplicationConfigReturnsOnCall added in v1.3.0

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

func (*ApplicationConfigRetriever) Invocations added in v1.3.0

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 added in v1.4.0

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

func (*ContextRegistry) Create

func (*ContextRegistry) CreateArgsForCall

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

func (*ContextRegistry) CreateCallCount

func (fake *ContextRegistry) CreateCallCount() int

func (*ContextRegistry) CreateCalls added in v1.4.0

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 added in v1.4.0

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 added in v1.4.0

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 {
	DeregisterStub func(string) error

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

func (*LaunchRegistry) Deregister

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

func (*LaunchRegistry) DeregisterArgsForCall

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

func (*LaunchRegistry) DeregisterCallCount

func (fake *LaunchRegistry) DeregisterCallCount() int

func (*LaunchRegistry) DeregisterCalls added in v1.4.0

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

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(arg1 string) (*chaincode.LaunchState, bool)

func (*LaunchRegistry) LaunchingArgsForCall

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

func (*LaunchRegistry) LaunchingCallCount

func (fake *LaunchRegistry) LaunchingCallCount() int

func (*LaunchRegistry) LaunchingCalls added in v1.4.0

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

func (*LaunchRegistry) LaunchingReturns

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

func (*LaunchRegistry) LaunchingReturnsOnCall

func (fake *LaunchRegistry) LaunchingReturnsOnCall(i int, result1 *chaincode.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 (*MessageHandler) HandleArgsForCall

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

func (*MessageHandler) HandleCallCount

func (fake *MessageHandler) HandleCallCount() int

func (*MessageHandler) HandleCalls added in v1.4.0

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 added in v1.4.0

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 {
	DeregisterStub func(string) error

	FailedStub func(string, error)

	ReadyStub func(string)

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

func (*Registry) Deregister

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

func (*Registry) DeregisterArgsForCall

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

func (*Registry) DeregisterCallCount

func (fake *Registry) DeregisterCallCount() int

func (*Registry) DeregisterCalls added in v1.4.0

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

func (*Registry) DeregisterReturns

func (fake *Registry) DeregisterReturns(result1 error)

func (*Registry) DeregisterReturnsOnCall

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

func (*Registry) Failed

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

func (*Registry) FailedArgsForCall

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

func (*Registry) FailedCallCount

func (fake *Registry) FailedCallCount() int

func (*Registry) FailedCalls added in v1.4.0

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

func (*Registry) Invocations

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

func (*Registry) Ready

func (fake *Registry) Ready(arg1 string)

func (*Registry) ReadyArgsForCall

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

func (*Registry) ReadyCallCount

func (fake *Registry) ReadyCallCount() int

func (*Registry) ReadyCalls added in v1.4.0

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

func (*Registry) Register

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

func (*Registry) RegisterArgsForCall

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

func (*Registry) RegisterCallCount

func (fake *Registry) RegisterCallCount() int

func (*Registry) RegisterCalls added in v1.4.0

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

func (*Registry) RegisterReturns

func (fake *Registry) RegisterReturns(result1 error)

func (*Registry) RegisterReturnsOnCall

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL