mock

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2018 License: Apache-2.0 Imports: 10 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.

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.

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 ACLProvider

type ACLProvider struct {
	CheckACLStub func(resName string, channelID string, idinfo interface{}) error
	// contains filtered or unexported fields
}

func (*ACLProvider) CheckACL

func (fake *ACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error

func (*ACLProvider) CheckACLArgsForCall

func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})

func (*ACLProvider) CheckACLCallCount

func (fake *ACLProvider) CheckACLCallCount() int

func (*ACLProvider) CheckACLReturns

func (fake *ACLProvider) CheckACLReturns(result1 error)

func (*ACLProvider) CheckACLReturnsOnCall

func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)

func (*ACLProvider) Invocations

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

type CCPackage

type CCPackage struct {
	InitFromBufferStub func(buf []byte) (*ccprovider.ChaincodeData, error)

	InitFromFSStub func(ccname string, ccversion string) ([]byte, *pb.ChaincodeDeploymentSpec, error)

	PutChaincodeToFSStub func() error

	GetDepSpecStub func() *pb.ChaincodeDeploymentSpec

	GetDepSpecBytesStub func() []byte

	ValidateCCStub func(ccdata *ccprovider.ChaincodeData) error

	GetPackageObjectStub func() proto.Message

	GetChaincodeDataStub func() *ccprovider.ChaincodeData

	GetIdStub func() []byte
	// contains filtered or unexported fields
}

func (*CCPackage) GetChaincodeData

func (fake *CCPackage) GetChaincodeData() *ccprovider.ChaincodeData

func (*CCPackage) GetChaincodeDataCallCount

func (fake *CCPackage) GetChaincodeDataCallCount() int

func (*CCPackage) GetChaincodeDataReturns

func (fake *CCPackage) GetChaincodeDataReturns(result1 *ccprovider.ChaincodeData)

func (*CCPackage) GetChaincodeDataReturnsOnCall

func (fake *CCPackage) GetChaincodeDataReturnsOnCall(i int, result1 *ccprovider.ChaincodeData)

func (*CCPackage) GetDepSpec

func (fake *CCPackage) GetDepSpec() *pb.ChaincodeDeploymentSpec

func (*CCPackage) GetDepSpecBytes

func (fake *CCPackage) GetDepSpecBytes() []byte

func (*CCPackage) GetDepSpecBytesCallCount

func (fake *CCPackage) GetDepSpecBytesCallCount() int

func (*CCPackage) GetDepSpecBytesReturns

func (fake *CCPackage) GetDepSpecBytesReturns(result1 []byte)

func (*CCPackage) GetDepSpecBytesReturnsOnCall

func (fake *CCPackage) GetDepSpecBytesReturnsOnCall(i int, result1 []byte)

func (*CCPackage) GetDepSpecCallCount

func (fake *CCPackage) GetDepSpecCallCount() int

func (*CCPackage) GetDepSpecReturns

func (fake *CCPackage) GetDepSpecReturns(result1 *pb.ChaincodeDeploymentSpec)

func (*CCPackage) GetDepSpecReturnsOnCall

func (fake *CCPackage) GetDepSpecReturnsOnCall(i int, result1 *pb.ChaincodeDeploymentSpec)

func (*CCPackage) GetId

func (fake *CCPackage) GetId() []byte

func (*CCPackage) GetIdCallCount

func (fake *CCPackage) GetIdCallCount() int

func (*CCPackage) GetIdReturns

func (fake *CCPackage) GetIdReturns(result1 []byte)

func (*CCPackage) GetIdReturnsOnCall

func (fake *CCPackage) GetIdReturnsOnCall(i int, result1 []byte)

func (*CCPackage) GetPackageObject

func (fake *CCPackage) GetPackageObject() proto.Message

func (*CCPackage) GetPackageObjectCallCount

func (fake *CCPackage) GetPackageObjectCallCount() int

func (*CCPackage) GetPackageObjectReturns

func (fake *CCPackage) GetPackageObjectReturns(result1 proto.Message)

func (*CCPackage) GetPackageObjectReturnsOnCall

func (fake *CCPackage) GetPackageObjectReturnsOnCall(i int, result1 proto.Message)

func (*CCPackage) InitFromBuffer

func (fake *CCPackage) InitFromBuffer(buf []byte) (*ccprovider.ChaincodeData, error)

func (*CCPackage) InitFromBufferArgsForCall

func (fake *CCPackage) InitFromBufferArgsForCall(i int) []byte

func (*CCPackage) InitFromBufferCallCount

func (fake *CCPackage) InitFromBufferCallCount() int

func (*CCPackage) InitFromBufferReturns

func (fake *CCPackage) InitFromBufferReturns(result1 *ccprovider.ChaincodeData, result2 error)

func (*CCPackage) InitFromBufferReturnsOnCall

func (fake *CCPackage) InitFromBufferReturnsOnCall(i int, result1 *ccprovider.ChaincodeData, result2 error)

func (*CCPackage) InitFromFS

func (fake *CCPackage) InitFromFS(ccname string, ccversion string) ([]byte, *pb.ChaincodeDeploymentSpec, error)

func (*CCPackage) InitFromFSArgsForCall

func (fake *CCPackage) InitFromFSArgsForCall(i int) (string, string)

func (*CCPackage) InitFromFSCallCount

func (fake *CCPackage) InitFromFSCallCount() int

func (*CCPackage) InitFromFSReturns

func (fake *CCPackage) InitFromFSReturns(result1 []byte, result2 *pb.ChaincodeDeploymentSpec, result3 error)

func (*CCPackage) InitFromFSReturnsOnCall

func (fake *CCPackage) InitFromFSReturnsOnCall(i int, result1 []byte, result2 *pb.ChaincodeDeploymentSpec, result3 error)

func (*CCPackage) Invocations

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

func (*CCPackage) PutChaincodeToFS

func (fake *CCPackage) PutChaincodeToFS() error

func (*CCPackage) PutChaincodeToFSCallCount

func (fake *CCPackage) PutChaincodeToFSCallCount() int

func (*CCPackage) PutChaincodeToFSReturns

func (fake *CCPackage) PutChaincodeToFSReturns(result1 error)

func (*CCPackage) PutChaincodeToFSReturnsOnCall

func (fake *CCPackage) PutChaincodeToFSReturnsOnCall(i int, result1 error)

func (*CCPackage) ValidateCC

func (fake *CCPackage) ValidateCC(ccdata *ccprovider.ChaincodeData) error

func (*CCPackage) ValidateCCArgsForCall

func (fake *CCPackage) ValidateCCArgsForCall(i int) *ccprovider.ChaincodeData

func (*CCPackage) ValidateCCCallCount

func (fake *CCPackage) ValidateCCCallCount() int

func (*CCPackage) ValidateCCReturns

func (fake *CCPackage) ValidateCCReturns(result1 error)

func (*CCPackage) ValidateCCReturnsOnCall

func (fake *CCPackage) ValidateCCReturnsOnCall(i int, result1 error)

type CertGenerator

type CertGenerator struct {
	GenerateStub func(ccName string) (*accesscontrol.CertAndPrivKeyPair, error)
	// contains filtered or unexported fields
}

func (*CertGenerator) Generate

func (fake *CertGenerator) Generate(ccName string) (*accesscontrol.CertAndPrivKeyPair, error)

func (*CertGenerator) GenerateArgsForCall

func (fake *CertGenerator) GenerateArgsForCall(i int) string

func (*CertGenerator) GenerateCallCount

func (fake *CertGenerator) GenerateCallCount() int

func (*CertGenerator) GenerateReturns

func (fake *CertGenerator) GenerateReturns(result1 *accesscontrol.CertAndPrivKeyPair, result2 error)

func (*CertGenerator) GenerateReturnsOnCall

func (fake *CertGenerator) GenerateReturnsOnCall(i int, result1 *accesscontrol.CertAndPrivKeyPair, result2 error)

func (*CertGenerator) Invocations

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

type ChaincodeDefinitionGetter

type ChaincodeDefinitionGetter struct {
	GetChaincodeDefinitionStub func(ctxt context.Context, txid string, signedProp *pb.SignedProposal, prop *pb.Proposal, chainID string, chaincodeID string) (ccprovider.ChaincodeDefinition, error)
	// contains filtered or unexported fields
}

func (*ChaincodeDefinitionGetter) GetChaincodeDefinition

func (fake *ChaincodeDefinitionGetter) GetChaincodeDefinition(ctxt context.Context, txid string, signedProp *pb.SignedProposal, prop *pb.Proposal, chainID string, chaincodeID string) (ccprovider.ChaincodeDefinition, error)

func (*ChaincodeDefinitionGetter) GetChaincodeDefinitionArgsForCall

func (fake *ChaincodeDefinitionGetter) GetChaincodeDefinitionArgsForCall(i int) (context.Context, string, *pb.SignedProposal, *pb.Proposal, string, string)

func (*ChaincodeDefinitionGetter) GetChaincodeDefinitionCallCount

func (fake *ChaincodeDefinitionGetter) GetChaincodeDefinitionCallCount() int

func (*ChaincodeDefinitionGetter) GetChaincodeDefinitionReturns

func (fake *ChaincodeDefinitionGetter) GetChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)

func (*ChaincodeDefinitionGetter) GetChaincodeDefinitionReturnsOnCall

func (fake *ChaincodeDefinitionGetter) GetChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)

func (*ChaincodeDefinitionGetter) Invocations

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

type ChaincodeStream

type ChaincodeStream struct {
	SendStub func(*pb.ChaincodeMessage) error

	RecvStub func() (*pb.ChaincodeMessage, error)
	// contains filtered or unexported fields
}

func (*ChaincodeStream) Invocations

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

func (*ChaincodeStream) Recv

func (fake *ChaincodeStream) Recv() (*pb.ChaincodeMessage, error)

func (*ChaincodeStream) RecvCallCount

func (fake *ChaincodeStream) RecvCallCount() int

func (*ChaincodeStream) RecvReturns

func (fake *ChaincodeStream) RecvReturns(result1 *pb.ChaincodeMessage, result2 error)

func (*ChaincodeStream) RecvReturnsOnCall

func (fake *ChaincodeStream) RecvReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)

func (*ChaincodeStream) Send

func (fake *ChaincodeStream) Send(arg1 *pb.ChaincodeMessage) error

func (*ChaincodeStream) SendArgsForCall

func (fake *ChaincodeStream) SendArgsForCall(i int) *pb.ChaincodeMessage

func (*ChaincodeStream) SendCallCount

func (fake *ChaincodeStream) SendCallCount() int

func (*ChaincodeStream) SendReturns

func (fake *ChaincodeStream) SendReturns(result1 error)

func (*ChaincodeStream) SendReturnsOnCall

func (fake *ChaincodeStream) SendReturnsOnCall(i int, result1 error)

type Executor

type Executor struct {
	ExecuteStub func(ctxt context.Context, cccid *ccprovider.CCContext, cis ccprovider.ChaincodeSpecGetter) (*pb.Response, *pb.ChaincodeEvent, error)
	// contains filtered or unexported fields
}

func (*Executor) Execute

func (*Executor) ExecuteArgsForCall

func (fake *Executor) ExecuteArgsForCall(i int) (context.Context, *ccprovider.CCContext, ccprovider.ChaincodeSpecGetter)

func (*Executor) ExecuteCallCount

func (fake *Executor) ExecuteCallCount() int

func (*Executor) ExecuteReturns

func (fake *Executor) ExecuteReturns(result1 *pb.Response, result2 *pb.ChaincodeEvent, result3 error)

func (*Executor) ExecuteReturnsOnCall

func (fake *Executor) ExecuteReturnsOnCall(i int, result1 *pb.Response, result2 *pb.ChaincodeEvent, result3 error)

func (*Executor) Invocations

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

type HistoryQueryExecutor

type HistoryQueryExecutor struct {
	GetHistoryForKeyStub func(namespace string, key string) (commonledger.ResultsIterator, error)
	// contains filtered or unexported fields
}

func (*HistoryQueryExecutor) GetHistoryForKey

func (fake *HistoryQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)

func (*HistoryQueryExecutor) GetHistoryForKeyArgsForCall

func (fake *HistoryQueryExecutor) GetHistoryForKeyArgsForCall(i int) (string, string)

func (*HistoryQueryExecutor) GetHistoryForKeyCallCount

func (fake *HistoryQueryExecutor) GetHistoryForKeyCallCount() int

func (*HistoryQueryExecutor) GetHistoryForKeyReturns

func (fake *HistoryQueryExecutor) GetHistoryForKeyReturns(result1 commonledger.ResultsIterator, result2 error)

func (*HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall

func (fake *HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)

func (*HistoryQueryExecutor) Invocations

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

type InstantiationPolicyChecker

type InstantiationPolicyChecker struct {
	CheckInstantiationPolicyStub func(name, version string, cd *ccprovider.ChaincodeData) error
	// contains filtered or unexported fields
}

func (*InstantiationPolicyChecker) CheckInstantiationPolicy

func (fake *InstantiationPolicyChecker) CheckInstantiationPolicy(name string, version string, cd *ccprovider.ChaincodeData) error

func (*InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall

func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall(i int) (string, string, *ccprovider.ChaincodeData)

func (*InstantiationPolicyChecker) CheckInstantiationPolicyCallCount

func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCallCount() int

func (*InstantiationPolicyChecker) CheckInstantiationPolicyReturns

func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturns(result1 error)

func (*InstantiationPolicyChecker) CheckInstantiationPolicyReturnsOnCall

func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)

func (*InstantiationPolicyChecker) Invocations

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

type Invoker

type Invoker struct {
	InvokeStub func(ctxt context.Context, cccid *ccprovider.CCContext, spec ccprovider.ChaincodeSpecGetter) (*pb.ChaincodeMessage, error)
	// contains filtered or unexported fields
}

func (*Invoker) Invocations

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

func (*Invoker) Invoke

func (*Invoker) InvokeArgsForCall

func (fake *Invoker) InvokeArgsForCall(i int) (context.Context, *ccprovider.CCContext, ccprovider.ChaincodeSpecGetter)

func (*Invoker) InvokeCallCount

func (fake *Invoker) InvokeCallCount() int

func (*Invoker) InvokeReturns

func (fake *Invoker) InvokeReturns(result1 *pb.ChaincodeMessage, result2 error)

func (*Invoker) InvokeReturnsOnCall

func (fake *Invoker) InvokeReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)

type LedgerGetter

type LedgerGetter struct {
	GetLedgerStub func(cid string) ledger.PeerLedger
	// contains filtered or unexported fields
}

func (*LedgerGetter) GetLedger

func (fake *LedgerGetter) GetLedger(cid string) ledger.PeerLedger

func (*LedgerGetter) GetLedgerArgsForCall

func (fake *LedgerGetter) GetLedgerArgsForCall(i int) string

func (*LedgerGetter) GetLedgerCallCount

func (fake *LedgerGetter) GetLedgerCallCount() int

func (*LedgerGetter) GetLedgerReturns

func (fake *LedgerGetter) GetLedgerReturns(result1 ledger.PeerLedger)

func (*LedgerGetter) GetLedgerReturnsOnCall

func (fake *LedgerGetter) GetLedgerReturnsOnCall(i int, result1 ledger.PeerLedger)

func (*LedgerGetter) Invocations

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

type PackageProvider

type PackageProvider struct {
	GetChaincodeStub func(ccname string, ccversion string) (ccprovider.CCPackage, error)
	// contains filtered or unexported fields
}

func (*PackageProvider) GetChaincode

func (fake *PackageProvider) GetChaincode(ccname string, ccversion string) (ccprovider.CCPackage, error)

func (*PackageProvider) GetChaincodeArgsForCall

func (fake *PackageProvider) GetChaincodeArgsForCall(i int) (string, string)

func (*PackageProvider) GetChaincodeCallCount

func (fake *PackageProvider) GetChaincodeCallCount() int

func (*PackageProvider) GetChaincodeReturns

func (fake *PackageProvider) GetChaincodeReturns(result1 ccprovider.CCPackage, result2 error)

func (*PackageProvider) GetChaincodeReturnsOnCall

func (fake *PackageProvider) GetChaincodeReturnsOnCall(i int, result1 ccprovider.CCPackage, result2 error)

func (*PackageProvider) Invocations

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

type PeerLedger

type PeerLedger struct {
	GetBlockchainInfoStub func() (*common.BlockchainInfo, error)

	GetBlockByNumberStub func(blockNumber uint64) (*common.Block, error)

	GetBlocksIteratorStub func(startBlockNumber uint64) (commonledger.ResultsIterator, error)

	CloseStub func()

	GetTransactionByIDStub func(txID string) (*peer.ProcessedTransaction, error)

	GetBlockByHashStub func(blockHash []byte) (*common.Block, error)

	GetBlockByTxIDStub func(txID string) (*common.Block, error)

	GetTxValidationCodeByTxIDStub func(txID string) (peer.TxValidationCode, error)

	NewTxSimulatorStub func(txid string) (ledger.TxSimulator, error)

	NewQueryExecutorStub func() (ledger.QueryExecutor, error)

	NewHistoryQueryExecutorStub func() (ledger.HistoryQueryExecutor, error)

	GetPvtDataAndBlockByNumStub func(blockNum uint64, filter ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)

	GetPvtDataByNumStub func(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)

	CommitWithPvtDataStub func(blockAndPvtdata *ledger.BlockAndPvtData) error

	PurgePrivateDataStub func(maxBlockNumToRetain uint64) error

	PrivateDataMinBlockNumStub func() (uint64, error)

	PruneStub func(policy commonledger.PrunePolicy) error

	GetConfigHistoryRetrieverStub func() (ledger.ConfigHistoryRetriever, error)
	// contains filtered or unexported fields
}

func (*PeerLedger) Close

func (fake *PeerLedger) Close()

func (*PeerLedger) CloseCallCount

func (fake *PeerLedger) CloseCallCount() int

func (*PeerLedger) CommitWithPvtData

func (fake *PeerLedger) CommitWithPvtData(blockAndPvtdata *ledger.BlockAndPvtData) error

func (*PeerLedger) CommitWithPvtDataArgsForCall

func (fake *PeerLedger) CommitWithPvtDataArgsForCall(i int) *ledger.BlockAndPvtData

func (*PeerLedger) CommitWithPvtDataCallCount

func (fake *PeerLedger) CommitWithPvtDataCallCount() int

func (*PeerLedger) CommitWithPvtDataReturns

func (fake *PeerLedger) CommitWithPvtDataReturns(result1 error)

func (*PeerLedger) CommitWithPvtDataReturnsOnCall

func (fake *PeerLedger) CommitWithPvtDataReturnsOnCall(i int, result1 error)

func (*PeerLedger) GetBlockByHash

func (fake *PeerLedger) GetBlockByHash(blockHash []byte) (*common.Block, error)

func (*PeerLedger) GetBlockByHashArgsForCall

func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte

func (*PeerLedger) GetBlockByHashCallCount

func (fake *PeerLedger) GetBlockByHashCallCount() int

func (*PeerLedger) GetBlockByHashReturns

func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)

func (*PeerLedger) GetBlockByHashReturnsOnCall

func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)

func (*PeerLedger) GetBlockByNumber

func (fake *PeerLedger) GetBlockByNumber(blockNumber uint64) (*common.Block, error)

func (*PeerLedger) GetBlockByNumberArgsForCall

func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64

func (*PeerLedger) GetBlockByNumberCallCount

func (fake *PeerLedger) GetBlockByNumberCallCount() int

func (*PeerLedger) GetBlockByNumberReturns

func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)

func (*PeerLedger) GetBlockByNumberReturnsOnCall

func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)

func (*PeerLedger) GetBlockByTxID

func (fake *PeerLedger) GetBlockByTxID(txID string) (*common.Block, error)

func (*PeerLedger) GetBlockByTxIDArgsForCall

func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string

func (*PeerLedger) GetBlockByTxIDCallCount

func (fake *PeerLedger) GetBlockByTxIDCallCount() int

func (*PeerLedger) GetBlockByTxIDReturns

func (fake *PeerLedger) GetBlockByTxIDReturns(result1 *common.Block, result2 error)

func (*PeerLedger) GetBlockByTxIDReturnsOnCall

func (fake *PeerLedger) GetBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)

func (*PeerLedger) GetBlockchainInfo

func (fake *PeerLedger) GetBlockchainInfo() (*common.BlockchainInfo, error)

func (*PeerLedger) GetBlockchainInfoCallCount

func (fake *PeerLedger) GetBlockchainInfoCallCount() int

func (*PeerLedger) GetBlockchainInfoReturns

func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)

func (*PeerLedger) GetBlockchainInfoReturnsOnCall

func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)

func (*PeerLedger) GetBlocksIterator

func (fake *PeerLedger) GetBlocksIterator(startBlockNumber uint64) (commonledger.ResultsIterator, error)

func (*PeerLedger) GetBlocksIteratorArgsForCall

func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64

func (*PeerLedger) GetBlocksIteratorCallCount

func (fake *PeerLedger) GetBlocksIteratorCallCount() int

func (*PeerLedger) GetBlocksIteratorReturns

func (fake *PeerLedger) GetBlocksIteratorReturns(result1 commonledger.ResultsIterator, result2 error)

func (*PeerLedger) GetBlocksIteratorReturnsOnCall

func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)

func (*PeerLedger) GetConfigHistoryRetriever

func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)

func (*PeerLedger) GetConfigHistoryRetrieverCallCount

func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int

func (*PeerLedger) GetConfigHistoryRetrieverReturns

func (fake *PeerLedger) GetConfigHistoryRetrieverReturns(result1 ledger.ConfigHistoryRetriever, result2 error)

func (*PeerLedger) GetConfigHistoryRetrieverReturnsOnCall

func (fake *PeerLedger) GetConfigHistoryRetrieverReturnsOnCall(i int, result1 ledger.ConfigHistoryRetriever, result2 error)

func (*PeerLedger) GetPvtDataAndBlockByNum

func (fake *PeerLedger) GetPvtDataAndBlockByNum(blockNum uint64, filter ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)

func (*PeerLedger) GetPvtDataAndBlockByNumArgsForCall

func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)

func (*PeerLedger) GetPvtDataAndBlockByNumCallCount

func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int

func (*PeerLedger) GetPvtDataAndBlockByNumReturns

func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)

func (*PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall

func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)

func (*PeerLedger) GetPvtDataByNum

func (fake *PeerLedger) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)

func (*PeerLedger) GetPvtDataByNumArgsForCall

func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)

func (*PeerLedger) GetPvtDataByNumCallCount

func (fake *PeerLedger) GetPvtDataByNumCallCount() int

func (*PeerLedger) GetPvtDataByNumReturns

func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)

func (*PeerLedger) GetPvtDataByNumReturnsOnCall

func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)

func (*PeerLedger) GetTransactionByID

func (fake *PeerLedger) GetTransactionByID(txID string) (*peer.ProcessedTransaction, error)

func (*PeerLedger) GetTransactionByIDArgsForCall

func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string

func (*PeerLedger) GetTransactionByIDCallCount

func (fake *PeerLedger) GetTransactionByIDCallCount() int

func (*PeerLedger) GetTransactionByIDReturns

func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)

func (*PeerLedger) GetTransactionByIDReturnsOnCall

func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)

func (*PeerLedger) GetTxValidationCodeByTxID

func (fake *PeerLedger) GetTxValidationCodeByTxID(txID string) (peer.TxValidationCode, error)

func (*PeerLedger) GetTxValidationCodeByTxIDArgsForCall

func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string

func (*PeerLedger) GetTxValidationCodeByTxIDCallCount

func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int

func (*PeerLedger) GetTxValidationCodeByTxIDReturns

func (fake *PeerLedger) GetTxValidationCodeByTxIDReturns(result1 peer.TxValidationCode, result2 error)

func (*PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall

func (fake *PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall(i int, result1 peer.TxValidationCode, result2 error)

func (*PeerLedger) Invocations

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

func (*PeerLedger) NewHistoryQueryExecutor

func (fake *PeerLedger) NewHistoryQueryExecutor() (ledger.HistoryQueryExecutor, error)

func (*PeerLedger) NewHistoryQueryExecutorCallCount

func (fake *PeerLedger) NewHistoryQueryExecutorCallCount() int

func (*PeerLedger) NewHistoryQueryExecutorReturns

func (fake *PeerLedger) NewHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)

func (*PeerLedger) NewHistoryQueryExecutorReturnsOnCall

func (fake *PeerLedger) NewHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)

func (*PeerLedger) NewQueryExecutor

func (fake *PeerLedger) NewQueryExecutor() (ledger.QueryExecutor, error)

func (*PeerLedger) NewQueryExecutorCallCount

func (fake *PeerLedger) NewQueryExecutorCallCount() int

func (*PeerLedger) NewQueryExecutorReturns

func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)

func (*PeerLedger) NewQueryExecutorReturnsOnCall

func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)

func (*PeerLedger) NewTxSimulator

func (fake *PeerLedger) NewTxSimulator(txid string) (ledger.TxSimulator, error)

func (*PeerLedger) NewTxSimulatorArgsForCall

func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string

func (*PeerLedger) NewTxSimulatorCallCount

func (fake *PeerLedger) NewTxSimulatorCallCount() int

func (*PeerLedger) NewTxSimulatorReturns

func (fake *PeerLedger) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)

func (*PeerLedger) NewTxSimulatorReturnsOnCall

func (fake *PeerLedger) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)

func (*PeerLedger) PrivateDataMinBlockNum

func (fake *PeerLedger) PrivateDataMinBlockNum() (uint64, error)

func (*PeerLedger) PrivateDataMinBlockNumCallCount

func (fake *PeerLedger) PrivateDataMinBlockNumCallCount() int

func (*PeerLedger) PrivateDataMinBlockNumReturns

func (fake *PeerLedger) PrivateDataMinBlockNumReturns(result1 uint64, result2 error)

func (*PeerLedger) PrivateDataMinBlockNumReturnsOnCall

func (fake *PeerLedger) PrivateDataMinBlockNumReturnsOnCall(i int, result1 uint64, result2 error)

func (*PeerLedger) Prune

func (fake *PeerLedger) Prune(policy commonledger.PrunePolicy) error

func (*PeerLedger) PruneArgsForCall

func (fake *PeerLedger) PruneArgsForCall(i int) commonledger.PrunePolicy

func (*PeerLedger) PruneCallCount

func (fake *PeerLedger) PruneCallCount() int

func (*PeerLedger) PruneReturns

func (fake *PeerLedger) PruneReturns(result1 error)

func (*PeerLedger) PruneReturnsOnCall

func (fake *PeerLedger) PruneReturnsOnCall(i int, result1 error)

func (*PeerLedger) PurgePrivateData

func (fake *PeerLedger) PurgePrivateData(maxBlockNumToRetain uint64) error

func (*PeerLedger) PurgePrivateDataArgsForCall

func (fake *PeerLedger) PurgePrivateDataArgsForCall(i int) uint64

func (*PeerLedger) PurgePrivateDataCallCount

func (fake *PeerLedger) PurgePrivateDataCallCount() int

func (*PeerLedger) PurgePrivateDataReturns

func (fake *PeerLedger) PurgePrivateDataReturns(result1 error)

func (*PeerLedger) PurgePrivateDataReturnsOnCall

func (fake *PeerLedger) PurgePrivateDataReturnsOnCall(i int, result1 error)

type Processor

type Processor struct {
	ProcessStub func(ctxt context.Context, vmtype string, req container.VMCReq) error
	// contains filtered or unexported fields
}

func (*Processor) Invocations

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

func (*Processor) Process

func (fake *Processor) Process(ctxt context.Context, vmtype string, req container.VMCReq) error

func (*Processor) ProcessArgsForCall

func (fake *Processor) ProcessArgsForCall(i int) (context.Context, string, container.VMCReq)

func (*Processor) ProcessCallCount

func (fake *Processor) ProcessCallCount() int

func (*Processor) ProcessReturns

func (fake *Processor) ProcessReturns(result1 error)

func (*Processor) ProcessReturnsOnCall

func (fake *Processor) ProcessReturnsOnCall(i int, result1 error)

type ResultsIterator

type ResultsIterator struct {
	NextStub func() (ledger.QueryResult, error)

	CloseStub func()
	// contains filtered or unexported fields
}

func (*ResultsIterator) Close

func (fake *ResultsIterator) Close()

func (*ResultsIterator) CloseCallCount

func (fake *ResultsIterator) CloseCallCount() int

func (*ResultsIterator) Invocations

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

func (*ResultsIterator) Next

func (fake *ResultsIterator) Next() (ledger.QueryResult, error)

func (*ResultsIterator) NextCallCount

func (fake *ResultsIterator) NextCallCount() int

func (*ResultsIterator) NextReturns

func (fake *ResultsIterator) NextReturns(result1 ledger.QueryResult, result2 error)

func (*ResultsIterator) NextReturnsOnCall

func (fake *ResultsIterator) NextReturnsOnCall(i int, result1 ledger.QueryResult, result2 error)

type Runtime

type Runtime struct {
	StartStub func(ctxt context.Context, cccid *ccprovider.CCContext, cds *pb.ChaincodeDeploymentSpec) error

	StopStub func(ctxt context.Context, cccid *ccprovider.CCContext, cds *pb.ChaincodeDeploymentSpec) error
	// contains filtered or unexported fields
}

func (*Runtime) Invocations

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

func (*Runtime) Start

func (fake *Runtime) Start(ctxt context.Context, cccid *ccprovider.CCContext, cds *pb.ChaincodeDeploymentSpec) error

func (*Runtime) StartArgsForCall

func (fake *Runtime) StartArgsForCall(i int) (context.Context, *ccprovider.CCContext, *pb.ChaincodeDeploymentSpec)

func (*Runtime) StartCallCount

func (fake *Runtime) StartCallCount() int

func (*Runtime) StartReturns

func (fake *Runtime) StartReturns(result1 error)

func (*Runtime) StartReturnsOnCall

func (fake *Runtime) StartReturnsOnCall(i int, result1 error)

func (*Runtime) Stop

func (fake *Runtime) Stop(ctxt context.Context, cccid *ccprovider.CCContext, cds *pb.ChaincodeDeploymentSpec) error

func (*Runtime) StopArgsForCall

func (fake *Runtime) StopArgsForCall(i int) (context.Context, *ccprovider.CCContext, *pb.ChaincodeDeploymentSpec)

func (*Runtime) StopCallCount

func (fake *Runtime) StopCallCount() int

func (*Runtime) StopReturns

func (fake *Runtime) StopReturns(result1 error)

func (*Runtime) StopReturnsOnCall

func (fake *Runtime) StopReturnsOnCall(i int, result1 error)

type SystemCCProvider

type SystemCCProvider struct {
	IsSysCCStub func(name string) bool

	IsSysCCAndNotInvokableCC2CCStub func(name string) bool
	// contains filtered or unexported fields
}

func (*SystemCCProvider) Invocations

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

func (*SystemCCProvider) IsSysCC

func (fake *SystemCCProvider) IsSysCC(name string) bool

func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CC

func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CC(name string) bool

func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall

func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string

func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount

func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount() int

func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturns

func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturns(result1 bool)

func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall

func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall(i int, result1 bool)

func (*SystemCCProvider) IsSysCCArgsForCall

func (fake *SystemCCProvider) IsSysCCArgsForCall(i int) string

func (*SystemCCProvider) IsSysCCCallCount

func (fake *SystemCCProvider) IsSysCCCallCount() int

func (*SystemCCProvider) IsSysCCReturns

func (fake *SystemCCProvider) IsSysCCReturns(result1 bool)

func (*SystemCCProvider) IsSysCCReturnsOnCall

func (fake *SystemCCProvider) IsSysCCReturnsOnCall(i int, result1 bool)

type TransactionRegistry

type TransactionRegistry struct {
	AddStub func(channelID, txID string) bool

	RemoveStub func(channelID, txID string)
	// contains filtered or unexported fields
}

func (*TransactionRegistry) Add

func (fake *TransactionRegistry) Add(channelID string, txID string) bool

func (*TransactionRegistry) AddArgsForCall

func (fake *TransactionRegistry) AddArgsForCall(i int) (string, string)

func (*TransactionRegistry) AddCallCount

func (fake *TransactionRegistry) AddCallCount() int

func (*TransactionRegistry) AddReturns

func (fake *TransactionRegistry) AddReturns(result1 bool)

func (*TransactionRegistry) AddReturnsOnCall

func (fake *TransactionRegistry) AddReturnsOnCall(i int, result1 bool)

func (*TransactionRegistry) Invocations

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

func (*TransactionRegistry) Remove

func (fake *TransactionRegistry) Remove(channelID string, txID string)

func (*TransactionRegistry) RemoveArgsForCall

func (fake *TransactionRegistry) RemoveArgsForCall(i int) (string, string)

func (*TransactionRegistry) RemoveCallCount

func (fake *TransactionRegistry) RemoveCallCount() int

type TxSimulator

type TxSimulator struct {
	GetStateStub func(namespace string, key string) ([]byte, error)

	GetStateMetadataStub func(namespace, key string) (map[string][]byte, error)

	GetStateMultipleKeysStub func(namespace string, keys []string) ([][]byte, error)

	GetStateRangeScanIteratorStub func(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)

	ExecuteQueryStub func(namespace, query string) (commonledger.ResultsIterator, error)

	GetPrivateDataStub func(namespace, collection, key string) ([]byte, error)

	GetPrivateDataMetadataStub func(namespace, collection, key string) (map[string][]byte, error)

	GetPrivateDataMultipleKeysStub func(namespace, collection string, keys []string) ([][]byte, error)

	GetPrivateDataRangeScanIteratorStub func(namespace, collection, startKey, endKey string) (commonledger.ResultsIterator, error)

	ExecuteQueryOnPrivateDataStub func(namespace, collection, query string) (commonledger.ResultsIterator, error)

	DoneStub func()

	SetStateStub func(namespace string, key string, value []byte) error

	DeleteStateStub func(namespace string, key string) error

	SetStateMultipleKeysStub func(namespace string, kvs map[string][]byte) error

	SetStateMetadataStub func(namespace, key string, metadata map[string][]byte) error

	DeleteStateMetadataStub func(namespace, key string) error

	ExecuteUpdateStub func(query string) error

	SetPrivateDataStub func(namespace, collection, key string, value []byte) error

	SetPrivateDataMultipleKeysStub func(namespace, collection string, kvs map[string][]byte) error

	DeletePrivateDataStub func(namespace, collection, key string) error

	SetPrivateDataMetadataStub func(namespace, collection, key string, metadata map[string][]byte) error

	DeletePrivateDataMetadataStub func(namespace, collection, key string) error

	GetTxSimulationResultsStub func() (*ledger.TxSimulationResults, error)
	// contains filtered or unexported fields
}

func (*TxSimulator) DeletePrivateData

func (fake *TxSimulator) DeletePrivateData(namespace string, collection string, key string) error

func (*TxSimulator) DeletePrivateDataArgsForCall

func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)

func (*TxSimulator) DeletePrivateDataCallCount

func (fake *TxSimulator) DeletePrivateDataCallCount() int

func (*TxSimulator) DeletePrivateDataMetadata

func (fake *TxSimulator) DeletePrivateDataMetadata(namespace string, collection string, key string) error

func (*TxSimulator) DeletePrivateDataMetadataArgsForCall

func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)

func (*TxSimulator) DeletePrivateDataMetadataCallCount

func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int

func (*TxSimulator) DeletePrivateDataMetadataReturns

func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)

func (*TxSimulator) DeletePrivateDataMetadataReturnsOnCall

func (fake *TxSimulator) DeletePrivateDataMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) DeletePrivateDataReturns

func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)

func (*TxSimulator) DeletePrivateDataReturnsOnCall

func (fake *TxSimulator) DeletePrivateDataReturnsOnCall(i int, result1 error)

func (*TxSimulator) DeleteState

func (fake *TxSimulator) DeleteState(namespace string, key string) error

func (*TxSimulator) DeleteStateArgsForCall

func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)

func (*TxSimulator) DeleteStateCallCount

func (fake *TxSimulator) DeleteStateCallCount() int

func (*TxSimulator) DeleteStateMetadata

func (fake *TxSimulator) DeleteStateMetadata(namespace string, key string) error

func (*TxSimulator) DeleteStateMetadataArgsForCall

func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)

func (*TxSimulator) DeleteStateMetadataCallCount

func (fake *TxSimulator) DeleteStateMetadataCallCount() int

func (*TxSimulator) DeleteStateMetadataReturns

func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)

func (*TxSimulator) DeleteStateMetadataReturnsOnCall

func (fake *TxSimulator) DeleteStateMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) DeleteStateReturns

func (fake *TxSimulator) DeleteStateReturns(result1 error)

func (*TxSimulator) DeleteStateReturnsOnCall

func (fake *TxSimulator) DeleteStateReturnsOnCall(i int, result1 error)

func (*TxSimulator) Done

func (fake *TxSimulator) Done()

func (*TxSimulator) DoneCallCount

func (fake *TxSimulator) DoneCallCount() int

func (*TxSimulator) ExecuteQuery

func (fake *TxSimulator) ExecuteQuery(namespace string, query string) (commonledger.ResultsIterator, error)

func (*TxSimulator) ExecuteQueryArgsForCall

func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)

func (*TxSimulator) ExecuteQueryCallCount

func (fake *TxSimulator) ExecuteQueryCallCount() int

func (*TxSimulator) ExecuteQueryOnPrivateData

func (fake *TxSimulator) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (commonledger.ResultsIterator, error)

func (*TxSimulator) ExecuteQueryOnPrivateDataArgsForCall

func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)

func (*TxSimulator) ExecuteQueryOnPrivateDataCallCount

func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int

func (*TxSimulator) ExecuteQueryOnPrivateDataReturns

func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall

func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryReturns

func (fake *TxSimulator) ExecuteQueryReturns(result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryReturnsOnCall

func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteUpdate

func (fake *TxSimulator) ExecuteUpdate(query string) error

func (*TxSimulator) ExecuteUpdateArgsForCall

func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string

func (*TxSimulator) ExecuteUpdateCallCount

func (fake *TxSimulator) ExecuteUpdateCallCount() int

func (*TxSimulator) ExecuteUpdateReturns

func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)

func (*TxSimulator) ExecuteUpdateReturnsOnCall

func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)

func (*TxSimulator) GetPrivateData

func (fake *TxSimulator) GetPrivateData(namespace string, collection string, key string) ([]byte, error)

func (*TxSimulator) GetPrivateDataArgsForCall

func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)

func (*TxSimulator) GetPrivateDataCallCount

func (fake *TxSimulator) GetPrivateDataCallCount() int

func (*TxSimulator) GetPrivateDataMetadata

func (fake *TxSimulator) GetPrivateDataMetadata(namespace string, collection string, key string) (map[string][]byte, error)

func (*TxSimulator) GetPrivateDataMetadataArgsForCall

func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)

func (*TxSimulator) GetPrivateDataMetadataCallCount

func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int

func (*TxSimulator) GetPrivateDataMetadataReturns

func (fake *TxSimulator) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)

func (*TxSimulator) GetPrivateDataMetadataReturnsOnCall

func (fake *TxSimulator) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)

func (*TxSimulator) GetPrivateDataMultipleKeys

func (fake *TxSimulator) GetPrivateDataMultipleKeys(namespace string, collection string, keys []string) ([][]byte, error)

func (*TxSimulator) GetPrivateDataMultipleKeysArgsForCall

func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)

func (*TxSimulator) GetPrivateDataMultipleKeysCallCount

func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) GetPrivateDataMultipleKeysReturns

func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)

func (*TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall

func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TxSimulator) GetPrivateDataRangeScanIterator

func (fake *TxSimulator) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (commonledger.ResultsIterator, error)

func (*TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)

func (*TxSimulator) GetPrivateDataRangeScanIteratorCallCount

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) GetPrivateDataReturns

func (fake *TxSimulator) GetPrivateDataReturns(result1 []byte, result2 error)

func (*TxSimulator) GetPrivateDataReturnsOnCall

func (fake *TxSimulator) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)

func (*TxSimulator) GetState

func (fake *TxSimulator) GetState(namespace string, key string) ([]byte, error)

func (*TxSimulator) GetStateArgsForCall

func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)

func (*TxSimulator) GetStateCallCount

func (fake *TxSimulator) GetStateCallCount() int

func (*TxSimulator) GetStateMetadata

func (fake *TxSimulator) GetStateMetadata(namespace string, key string) (map[string][]byte, error)

func (*TxSimulator) GetStateMetadataArgsForCall

func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)

func (*TxSimulator) GetStateMetadataCallCount

func (fake *TxSimulator) GetStateMetadataCallCount() int

func (*TxSimulator) GetStateMetadataReturns

func (fake *TxSimulator) GetStateMetadataReturns(result1 map[string][]byte, result2 error)

func (*TxSimulator) GetStateMetadataReturnsOnCall

func (fake *TxSimulator) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)

func (*TxSimulator) GetStateMultipleKeys

func (fake *TxSimulator) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)

func (*TxSimulator) GetStateMultipleKeysArgsForCall

func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)

func (*TxSimulator) GetStateMultipleKeysCallCount

func (fake *TxSimulator) GetStateMultipleKeysCallCount() int

func (*TxSimulator) GetStateMultipleKeysReturns

func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)

func (*TxSimulator) GetStateMultipleKeysReturnsOnCall

func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TxSimulator) GetStateRangeScanIterator

func (fake *TxSimulator) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)

func (*TxSimulator) GetStateRangeScanIteratorArgsForCall

func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)

func (*TxSimulator) GetStateRangeScanIteratorCallCount

func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorReturns

func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall

func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)

func (*TxSimulator) GetStateReturns

func (fake *TxSimulator) GetStateReturns(result1 []byte, result2 error)

func (*TxSimulator) GetStateReturnsOnCall

func (fake *TxSimulator) GetStateReturnsOnCall(i int, result1 []byte, result2 error)

func (*TxSimulator) GetTxSimulationResults

func (fake *TxSimulator) GetTxSimulationResults() (*ledger.TxSimulationResults, error)

func (*TxSimulator) GetTxSimulationResultsCallCount

func (fake *TxSimulator) GetTxSimulationResultsCallCount() int

func (*TxSimulator) GetTxSimulationResultsReturns

func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledger.TxSimulationResults, result2 error)

func (*TxSimulator) GetTxSimulationResultsReturnsOnCall

func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledger.TxSimulationResults, result2 error)

func (*TxSimulator) Invocations

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

func (*TxSimulator) SetPrivateData

func (fake *TxSimulator) SetPrivateData(namespace string, collection string, key string, value []byte) error

func (*TxSimulator) SetPrivateDataArgsForCall

func (fake *TxSimulator) SetPrivateDataArgsForCall(i int) (string, string, string, []byte)

func (*TxSimulator) SetPrivateDataCallCount

func (fake *TxSimulator) SetPrivateDataCallCount() int

func (*TxSimulator) SetPrivateDataMetadata

func (fake *TxSimulator) SetPrivateDataMetadata(namespace string, collection string, key string, metadata map[string][]byte) error

func (*TxSimulator) SetPrivateDataMetadataArgsForCall

func (fake *TxSimulator) SetPrivateDataMetadataArgsForCall(i int) (string, string, string, map[string][]byte)

func (*TxSimulator) SetPrivateDataMetadataCallCount

func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int

func (*TxSimulator) SetPrivateDataMetadataReturns

func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)

func (*TxSimulator) SetPrivateDataMetadataReturnsOnCall

func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetPrivateDataMultipleKeys

func (fake *TxSimulator) SetPrivateDataMultipleKeys(namespace string, collection string, kvs map[string][]byte) error

func (*TxSimulator) SetPrivateDataMultipleKeysArgsForCall

func (fake *TxSimulator) SetPrivateDataMultipleKeysArgsForCall(i int) (string, string, map[string][]byte)

func (*TxSimulator) SetPrivateDataMultipleKeysCallCount

func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) SetPrivateDataMultipleKeysReturns

func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)

func (*TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall

func (fake *TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetPrivateDataReturns

func (fake *TxSimulator) SetPrivateDataReturns(result1 error)

func (*TxSimulator) SetPrivateDataReturnsOnCall

func (fake *TxSimulator) SetPrivateDataReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetState

func (fake *TxSimulator) SetState(namespace string, key string, value []byte) error

func (*TxSimulator) SetStateArgsForCall

func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)

func (*TxSimulator) SetStateCallCount

func (fake *TxSimulator) SetStateCallCount() int

func (*TxSimulator) SetStateMetadata

func (fake *TxSimulator) SetStateMetadata(namespace string, key string, metadata map[string][]byte) error

func (*TxSimulator) SetStateMetadataArgsForCall

func (fake *TxSimulator) SetStateMetadataArgsForCall(i int) (string, string, map[string][]byte)

func (*TxSimulator) SetStateMetadataCallCount

func (fake *TxSimulator) SetStateMetadataCallCount() int

func (*TxSimulator) SetStateMetadataReturns

func (fake *TxSimulator) SetStateMetadataReturns(result1 error)

func (*TxSimulator) SetStateMetadataReturnsOnCall

func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetStateMultipleKeys

func (fake *TxSimulator) SetStateMultipleKeys(namespace string, kvs map[string][]byte) error

func (*TxSimulator) SetStateMultipleKeysArgsForCall

func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)

func (*TxSimulator) SetStateMultipleKeysCallCount

func (fake *TxSimulator) SetStateMultipleKeysCallCount() int

func (*TxSimulator) SetStateMultipleKeysReturns

func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)

func (*TxSimulator) SetStateMultipleKeysReturnsOnCall

func (fake *TxSimulator) SetStateMultipleKeysReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetStateReturns

func (fake *TxSimulator) SetStateReturns(result1 error)

func (*TxSimulator) SetStateReturnsOnCall

func (fake *TxSimulator) SetStateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL