mock

package
v2.2.4-gm Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 18 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.

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(string, string, interface{}) error
	// contains filtered or unexported fields
}

func (*ACLProvider) CheckACL

func (fake *ACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error

func (*ACLProvider) CheckACLArgsForCall

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

func (*ACLProvider) CheckACLCallCount

func (fake *ACLProvider) CheckACLCallCount() int

func (*ACLProvider) CheckACLCalls

func (fake *ACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)

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 ApplicationCapabilities

type ApplicationCapabilities struct {
	ACLsStub func() bool

	CollectionUpgradeStub func() bool

	ForbidDuplicateTXIdInBlockStub func() bool

	KeyLevelEndorsementStub func() bool

	LifecycleV20Stub func() bool

	MetadataLifecycleStub func() bool

	PrivateChannelDataStub func() bool

	StorePvtDataOfInvalidTxStub func() bool

	SupportedStub func() error

	V1_1ValidationStub func() bool

	V1_2ValidationStub func() bool

	V1_3ValidationStub func() bool

	V2_0ValidationStub func() bool
	// contains filtered or unexported fields
}

func (*ApplicationCapabilities) ACLs

func (fake *ApplicationCapabilities) ACLs() bool

func (*ApplicationCapabilities) ACLsCallCount

func (fake *ApplicationCapabilities) ACLsCallCount() int

func (*ApplicationCapabilities) ACLsCalls

func (fake *ApplicationCapabilities) ACLsCalls(stub func() bool)

func (*ApplicationCapabilities) ACLsReturns

func (fake *ApplicationCapabilities) ACLsReturns(result1 bool)

func (*ApplicationCapabilities) ACLsReturnsOnCall

func (fake *ApplicationCapabilities) ACLsReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) CollectionUpgrade

func (fake *ApplicationCapabilities) CollectionUpgrade() bool

func (*ApplicationCapabilities) CollectionUpgradeCallCount

func (fake *ApplicationCapabilities) CollectionUpgradeCallCount() int

func (*ApplicationCapabilities) CollectionUpgradeCalls

func (fake *ApplicationCapabilities) CollectionUpgradeCalls(stub func() bool)

func (*ApplicationCapabilities) CollectionUpgradeReturns

func (fake *ApplicationCapabilities) CollectionUpgradeReturns(result1 bool)

func (*ApplicationCapabilities) CollectionUpgradeReturnsOnCall

func (fake *ApplicationCapabilities) CollectionUpgradeReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlock

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlock() bool

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount() int

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockCalls

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCalls(stub func() bool)

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns(result1 bool)

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturnsOnCall

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) Invocations

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

func (*ApplicationCapabilities) KeyLevelEndorsement

func (fake *ApplicationCapabilities) KeyLevelEndorsement() bool

func (*ApplicationCapabilities) KeyLevelEndorsementCallCount

func (fake *ApplicationCapabilities) KeyLevelEndorsementCallCount() int

func (*ApplicationCapabilities) KeyLevelEndorsementCalls

func (fake *ApplicationCapabilities) KeyLevelEndorsementCalls(stub func() bool)

func (*ApplicationCapabilities) KeyLevelEndorsementReturns

func (fake *ApplicationCapabilities) KeyLevelEndorsementReturns(result1 bool)

func (*ApplicationCapabilities) KeyLevelEndorsementReturnsOnCall

func (fake *ApplicationCapabilities) KeyLevelEndorsementReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) LifecycleV20

func (fake *ApplicationCapabilities) LifecycleV20() bool

func (*ApplicationCapabilities) LifecycleV20CallCount

func (fake *ApplicationCapabilities) LifecycleV20CallCount() int

func (*ApplicationCapabilities) LifecycleV20Calls

func (fake *ApplicationCapabilities) LifecycleV20Calls(stub func() bool)

func (*ApplicationCapabilities) LifecycleV20Returns

func (fake *ApplicationCapabilities) LifecycleV20Returns(result1 bool)

func (*ApplicationCapabilities) LifecycleV20ReturnsOnCall

func (fake *ApplicationCapabilities) LifecycleV20ReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) MetadataLifecycle

func (fake *ApplicationCapabilities) MetadataLifecycle() bool

func (*ApplicationCapabilities) MetadataLifecycleCallCount

func (fake *ApplicationCapabilities) MetadataLifecycleCallCount() int

func (*ApplicationCapabilities) MetadataLifecycleCalls

func (fake *ApplicationCapabilities) MetadataLifecycleCalls(stub func() bool)

func (*ApplicationCapabilities) MetadataLifecycleReturns

func (fake *ApplicationCapabilities) MetadataLifecycleReturns(result1 bool)

func (*ApplicationCapabilities) MetadataLifecycleReturnsOnCall

func (fake *ApplicationCapabilities) MetadataLifecycleReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) PrivateChannelData

func (fake *ApplicationCapabilities) PrivateChannelData() bool

func (*ApplicationCapabilities) PrivateChannelDataCallCount

func (fake *ApplicationCapabilities) PrivateChannelDataCallCount() int

func (*ApplicationCapabilities) PrivateChannelDataCalls

func (fake *ApplicationCapabilities) PrivateChannelDataCalls(stub func() bool)

func (*ApplicationCapabilities) PrivateChannelDataReturns

func (fake *ApplicationCapabilities) PrivateChannelDataReturns(result1 bool)

func (*ApplicationCapabilities) PrivateChannelDataReturnsOnCall

func (fake *ApplicationCapabilities) PrivateChannelDataReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) StorePvtDataOfInvalidTx

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTx() bool

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxCallCount

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTxCallCount() int

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxCalls

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTxCalls(stub func() bool)

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxReturns

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTxReturns(result1 bool)

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxReturnsOnCall

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTxReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) Supported

func (fake *ApplicationCapabilities) Supported() error

func (*ApplicationCapabilities) SupportedCallCount

func (fake *ApplicationCapabilities) SupportedCallCount() int

func (*ApplicationCapabilities) SupportedCalls

func (fake *ApplicationCapabilities) SupportedCalls(stub func() error)

func (*ApplicationCapabilities) SupportedReturns

func (fake *ApplicationCapabilities) SupportedReturns(result1 error)

func (*ApplicationCapabilities) SupportedReturnsOnCall

func (fake *ApplicationCapabilities) SupportedReturnsOnCall(i int, result1 error)

func (*ApplicationCapabilities) V1_1Validation

func (fake *ApplicationCapabilities) V1_1Validation() bool

func (*ApplicationCapabilities) V1_1ValidationCallCount

func (fake *ApplicationCapabilities) V1_1ValidationCallCount() int

func (*ApplicationCapabilities) V1_1ValidationCalls

func (fake *ApplicationCapabilities) V1_1ValidationCalls(stub func() bool)

func (*ApplicationCapabilities) V1_1ValidationReturns

func (fake *ApplicationCapabilities) V1_1ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V1_1ValidationReturnsOnCall

func (fake *ApplicationCapabilities) V1_1ValidationReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) V1_2Validation

func (fake *ApplicationCapabilities) V1_2Validation() bool

func (*ApplicationCapabilities) V1_2ValidationCallCount

func (fake *ApplicationCapabilities) V1_2ValidationCallCount() int

func (*ApplicationCapabilities) V1_2ValidationCalls

func (fake *ApplicationCapabilities) V1_2ValidationCalls(stub func() bool)

func (*ApplicationCapabilities) V1_2ValidationReturns

func (fake *ApplicationCapabilities) V1_2ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V1_2ValidationReturnsOnCall

func (fake *ApplicationCapabilities) V1_2ValidationReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) V1_3Validation

func (fake *ApplicationCapabilities) V1_3Validation() bool

func (*ApplicationCapabilities) V1_3ValidationCallCount

func (fake *ApplicationCapabilities) V1_3ValidationCallCount() int

func (*ApplicationCapabilities) V1_3ValidationCalls

func (fake *ApplicationCapabilities) V1_3ValidationCalls(stub func() bool)

func (*ApplicationCapabilities) V1_3ValidationReturns

func (fake *ApplicationCapabilities) V1_3ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V1_3ValidationReturnsOnCall

func (fake *ApplicationCapabilities) V1_3ValidationReturnsOnCall(i int, result1 bool)

func (*ApplicationCapabilities) V2_0Validation

func (fake *ApplicationCapabilities) V2_0Validation() bool

func (*ApplicationCapabilities) V2_0ValidationCallCount

func (fake *ApplicationCapabilities) V2_0ValidationCallCount() int

func (*ApplicationCapabilities) V2_0ValidationCalls

func (fake *ApplicationCapabilities) V2_0ValidationCalls(stub func() bool)

func (*ApplicationCapabilities) V2_0ValidationReturns

func (fake *ApplicationCapabilities) V2_0ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V2_0ValidationReturnsOnCall

func (fake *ApplicationCapabilities) V2_0ValidationReturnsOnCall(i int, result1 bool)

type ApplicationConfig

type ApplicationConfig struct {
	APIPolicyMapperStub func() channelconfig.PolicyMapper

	CapabilitiesStub func() channelconfig.ApplicationCapabilities

	OrganizationsStub func() map[string]channelconfig.ApplicationOrg
	// contains filtered or unexported fields
}

func (*ApplicationConfig) APIPolicyMapper

func (fake *ApplicationConfig) APIPolicyMapper() channelconfig.PolicyMapper

func (*ApplicationConfig) APIPolicyMapperCallCount

func (fake *ApplicationConfig) APIPolicyMapperCallCount() int

func (*ApplicationConfig) APIPolicyMapperCalls

func (fake *ApplicationConfig) APIPolicyMapperCalls(stub func() channelconfig.PolicyMapper)

func (*ApplicationConfig) APIPolicyMapperReturns

func (fake *ApplicationConfig) APIPolicyMapperReturns(result1 channelconfig.PolicyMapper)

func (*ApplicationConfig) APIPolicyMapperReturnsOnCall

func (fake *ApplicationConfig) APIPolicyMapperReturnsOnCall(i int, result1 channelconfig.PolicyMapper)

func (*ApplicationConfig) Capabilities

func (*ApplicationConfig) CapabilitiesCallCount

func (fake *ApplicationConfig) CapabilitiesCallCount() int

func (*ApplicationConfig) CapabilitiesCalls

func (fake *ApplicationConfig) CapabilitiesCalls(stub func() channelconfig.ApplicationCapabilities)

func (*ApplicationConfig) CapabilitiesReturns

func (fake *ApplicationConfig) CapabilitiesReturns(result1 channelconfig.ApplicationCapabilities)

func (*ApplicationConfig) CapabilitiesReturnsOnCall

func (fake *ApplicationConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.ApplicationCapabilities)

func (*ApplicationConfig) Invocations

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

func (*ApplicationConfig) Organizations

func (fake *ApplicationConfig) Organizations() map[string]channelconfig.ApplicationOrg

func (*ApplicationConfig) OrganizationsCallCount

func (fake *ApplicationConfig) OrganizationsCallCount() int

func (*ApplicationConfig) OrganizationsCalls

func (fake *ApplicationConfig) OrganizationsCalls(stub func() map[string]channelconfig.ApplicationOrg)

func (*ApplicationConfig) OrganizationsReturns

func (fake *ApplicationConfig) OrganizationsReturns(result1 map[string]channelconfig.ApplicationOrg)

func (*ApplicationConfig) OrganizationsReturnsOnCall

func (fake *ApplicationConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.ApplicationOrg)

type CertGenerator

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

func (*CertGenerator) Generate

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

func (*CertGenerator) GenerateArgsForCall

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

func (*CertGenerator) GenerateCallCount

func (fake *CertGenerator) GenerateCallCount() int

func (*CertGenerator) GenerateCalls

func (fake *CertGenerator) GenerateCalls(stub func(string) (*accesscontrol.CertAndPrivKeyPair, error))

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 ChaincodeStream

type ChaincodeStream struct {
	RecvStub func() (*peer.ChaincodeMessage, error)

	SendStub func(*peer.ChaincodeMessage) error
	// contains filtered or unexported fields
}

func (*ChaincodeStream) Invocations

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

func (*ChaincodeStream) Recv

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

func (*ChaincodeStream) RecvCallCount

func (fake *ChaincodeStream) RecvCallCount() int

func (*ChaincodeStream) RecvCalls

func (fake *ChaincodeStream) RecvCalls(stub func() (*peer.ChaincodeMessage, error))

func (*ChaincodeStream) RecvReturns

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

func (*ChaincodeStream) RecvReturnsOnCall

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

func (*ChaincodeStream) Send

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

func (*ChaincodeStream) SendArgsForCall

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

func (*ChaincodeStream) SendCallCount

func (fake *ChaincodeStream) SendCallCount() int

func (*ChaincodeStream) SendCalls

func (fake *ChaincodeStream) SendCalls(stub func(*peer.ChaincodeMessage) error)

func (*ChaincodeStream) SendReturns

func (fake *ChaincodeStream) SendReturns(result1 error)

func (*ChaincodeStream) SendReturnsOnCall

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

type ChaincodeStreamHandler

type ChaincodeStreamHandler struct {
	HandleChaincodeStreamStub func(ccintf.ChaincodeStream) error
	// contains filtered or unexported fields
}

func (*ChaincodeStreamHandler) HandleChaincodeStream

func (fake *ChaincodeStreamHandler) HandleChaincodeStream(arg1 ccintf.ChaincodeStream) error

func (*ChaincodeStreamHandler) HandleChaincodeStreamArgsForCall

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamArgsForCall(i int) ccintf.ChaincodeStream

func (*ChaincodeStreamHandler) HandleChaincodeStreamCallCount

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamCallCount() int

func (*ChaincodeStreamHandler) HandleChaincodeStreamCalls

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamCalls(stub func(ccintf.ChaincodeStream) error)

func (*ChaincodeStreamHandler) HandleChaincodeStreamReturns

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamReturns(result1 error)

func (*ChaincodeStreamHandler) HandleChaincodeStreamReturnsOnCall

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamReturnsOnCall(i int, result1 error)

func (*ChaincodeStreamHandler) Invocations

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

type CollectionStore

type CollectionStore struct {
	AccessFilterStub func(string, *peer.CollectionPolicyConfig) (privdata.Filter, error)

	RetrieveCollectionStub func(privdata.CollectionCriteria) (privdata.Collection, error)

	RetrieveCollectionAccessPolicyStub func(privdata.CollectionCriteria) (privdata.CollectionAccessPolicy, error)

	RetrieveCollectionConfigStub func(privdata.CollectionCriteria) (*peer.StaticCollectionConfig, error)

	RetrieveCollectionConfigPackageStub func(privdata.CollectionCriteria) (*peer.CollectionConfigPackage, error)

	RetrieveCollectionPersistenceConfigsStub func(privdata.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)

	RetrieveReadWritePermissionStub func(privdata.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor) (bool, bool, error)
	// contains filtered or unexported fields
}

func (*CollectionStore) AccessFilter

func (fake *CollectionStore) AccessFilter(arg1 string, arg2 *peer.CollectionPolicyConfig) (privdata.Filter, error)

func (*CollectionStore) AccessFilterArgsForCall

func (fake *CollectionStore) AccessFilterArgsForCall(i int) (string, *peer.CollectionPolicyConfig)

func (*CollectionStore) AccessFilterCallCount

func (fake *CollectionStore) AccessFilterCallCount() int

func (*CollectionStore) AccessFilterCalls

func (fake *CollectionStore) AccessFilterCalls(stub func(string, *peer.CollectionPolicyConfig) (privdata.Filter, error))

func (*CollectionStore) AccessFilterReturns

func (fake *CollectionStore) AccessFilterReturns(result1 privdata.Filter, result2 error)

func (*CollectionStore) AccessFilterReturnsOnCall

func (fake *CollectionStore) AccessFilterReturnsOnCall(i int, result1 privdata.Filter, result2 error)

func (*CollectionStore) Invocations

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

func (*CollectionStore) RetrieveCollection

func (fake *CollectionStore) RetrieveCollection(arg1 privdata.CollectionCriteria) (privdata.Collection, error)

func (*CollectionStore) RetrieveCollectionAccessPolicy

func (fake *CollectionStore) RetrieveCollectionAccessPolicy(arg1 privdata.CollectionCriteria) (privdata.CollectionAccessPolicy, error)

func (*CollectionStore) RetrieveCollectionAccessPolicyArgsForCall

func (fake *CollectionStore) RetrieveCollectionAccessPolicyArgsForCall(i int) privdata.CollectionCriteria

func (*CollectionStore) RetrieveCollectionAccessPolicyCallCount

func (fake *CollectionStore) RetrieveCollectionAccessPolicyCallCount() int

func (*CollectionStore) RetrieveCollectionAccessPolicyCalls

func (fake *CollectionStore) RetrieveCollectionAccessPolicyCalls(stub func(privdata.CollectionCriteria) (privdata.CollectionAccessPolicy, error))

func (*CollectionStore) RetrieveCollectionAccessPolicyReturns

func (fake *CollectionStore) RetrieveCollectionAccessPolicyReturns(result1 privdata.CollectionAccessPolicy, result2 error)

func (*CollectionStore) RetrieveCollectionAccessPolicyReturnsOnCall

func (fake *CollectionStore) RetrieveCollectionAccessPolicyReturnsOnCall(i int, result1 privdata.CollectionAccessPolicy, result2 error)

func (*CollectionStore) RetrieveCollectionArgsForCall

func (fake *CollectionStore) RetrieveCollectionArgsForCall(i int) privdata.CollectionCriteria

func (*CollectionStore) RetrieveCollectionCallCount

func (fake *CollectionStore) RetrieveCollectionCallCount() int

func (*CollectionStore) RetrieveCollectionCalls

func (fake *CollectionStore) RetrieveCollectionCalls(stub func(privdata.CollectionCriteria) (privdata.Collection, error))

func (*CollectionStore) RetrieveCollectionConfig

func (fake *CollectionStore) RetrieveCollectionConfig(arg1 privdata.CollectionCriteria) (*peer.StaticCollectionConfig, error)

func (*CollectionStore) RetrieveCollectionConfigArgsForCall

func (fake *CollectionStore) RetrieveCollectionConfigArgsForCall(i int) privdata.CollectionCriteria

func (*CollectionStore) RetrieveCollectionConfigCallCount

func (fake *CollectionStore) RetrieveCollectionConfigCallCount() int

func (*CollectionStore) RetrieveCollectionConfigCalls

func (fake *CollectionStore) RetrieveCollectionConfigCalls(stub func(privdata.CollectionCriteria) (*peer.StaticCollectionConfig, error))

func (*CollectionStore) RetrieveCollectionConfigPackage

func (fake *CollectionStore) RetrieveCollectionConfigPackage(arg1 privdata.CollectionCriteria) (*peer.CollectionConfigPackage, error)

func (*CollectionStore) RetrieveCollectionConfigPackageArgsForCall

func (fake *CollectionStore) RetrieveCollectionConfigPackageArgsForCall(i int) privdata.CollectionCriteria

func (*CollectionStore) RetrieveCollectionConfigPackageCallCount

func (fake *CollectionStore) RetrieveCollectionConfigPackageCallCount() int

func (*CollectionStore) RetrieveCollectionConfigPackageCalls

func (fake *CollectionStore) RetrieveCollectionConfigPackageCalls(stub func(privdata.CollectionCriteria) (*peer.CollectionConfigPackage, error))

func (*CollectionStore) RetrieveCollectionConfigPackageReturns

func (fake *CollectionStore) RetrieveCollectionConfigPackageReturns(result1 *peer.CollectionConfigPackage, result2 error)

func (*CollectionStore) RetrieveCollectionConfigPackageReturnsOnCall

func (fake *CollectionStore) RetrieveCollectionConfigPackageReturnsOnCall(i int, result1 *peer.CollectionConfigPackage, result2 error)

func (*CollectionStore) RetrieveCollectionConfigReturns

func (fake *CollectionStore) RetrieveCollectionConfigReturns(result1 *peer.StaticCollectionConfig, result2 error)

func (*CollectionStore) RetrieveCollectionConfigReturnsOnCall

func (fake *CollectionStore) RetrieveCollectionConfigReturnsOnCall(i int, result1 *peer.StaticCollectionConfig, result2 error)

func (*CollectionStore) RetrieveCollectionPersistenceConfigs

func (fake *CollectionStore) RetrieveCollectionPersistenceConfigs(arg1 privdata.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)

func (*CollectionStore) RetrieveCollectionPersistenceConfigsArgsForCall

func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsArgsForCall(i int) privdata.CollectionCriteria

func (*CollectionStore) RetrieveCollectionPersistenceConfigsCallCount

func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsCallCount() int

func (*CollectionStore) RetrieveCollectionPersistenceConfigsCalls

func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsCalls(stub func(privdata.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error))

func (*CollectionStore) RetrieveCollectionPersistenceConfigsReturns

func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsReturns(result1 privdata.CollectionPersistenceConfigs, result2 error)

func (*CollectionStore) RetrieveCollectionPersistenceConfigsReturnsOnCall

func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsReturnsOnCall(i int, result1 privdata.CollectionPersistenceConfigs, result2 error)

func (*CollectionStore) RetrieveCollectionReturns

func (fake *CollectionStore) RetrieveCollectionReturns(result1 privdata.Collection, result2 error)

func (*CollectionStore) RetrieveCollectionReturnsOnCall

func (fake *CollectionStore) RetrieveCollectionReturnsOnCall(i int, result1 privdata.Collection, result2 error)

func (*CollectionStore) RetrieveReadWritePermission

func (fake *CollectionStore) RetrieveReadWritePermission(arg1 privdata.CollectionCriteria, arg2 *peer.SignedProposal, arg3 ledger.QueryExecutor) (bool, bool, error)

func (*CollectionStore) RetrieveReadWritePermissionArgsForCall

func (fake *CollectionStore) RetrieveReadWritePermissionArgsForCall(i int) (privdata.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor)

func (*CollectionStore) RetrieveReadWritePermissionCallCount

func (fake *CollectionStore) RetrieveReadWritePermissionCallCount() int

func (*CollectionStore) RetrieveReadWritePermissionCalls

func (fake *CollectionStore) RetrieveReadWritePermissionCalls(stub func(privdata.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor) (bool, bool, error))

func (*CollectionStore) RetrieveReadWritePermissionReturns

func (fake *CollectionStore) RetrieveReadWritePermissionReturns(result1 bool, result2 bool, result3 error)

func (*CollectionStore) RetrieveReadWritePermissionReturnsOnCall

func (fake *CollectionStore) RetrieveReadWritePermissionReturnsOnCall(i int, result1 bool, result2 bool, result3 error)

type ConnectionHandler

type ConnectionHandler struct {
	StreamStub func(string, *ccintf.ChaincodeServerInfo, extcc.StreamHandler) error
	// contains filtered or unexported fields
}

func (*ConnectionHandler) Invocations

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

func (*ConnectionHandler) Stream

func (*ConnectionHandler) StreamArgsForCall

func (fake *ConnectionHandler) StreamArgsForCall(i int) (string, *ccintf.ChaincodeServerInfo, extcc.StreamHandler)

func (*ConnectionHandler) StreamCallCount

func (fake *ConnectionHandler) StreamCallCount() int

func (*ConnectionHandler) StreamCalls

func (fake *ConnectionHandler) StreamCalls(stub func(string, *ccintf.ChaincodeServerInfo, extcc.StreamHandler) error)

func (*ConnectionHandler) StreamReturns

func (fake *ConnectionHandler) StreamReturns(result1 error)

func (*ConnectionHandler) StreamReturnsOnCall

func (fake *ConnectionHandler) StreamReturnsOnCall(i int, result1 error)

type ContainerRouter

type ContainerRouter struct {
	BuildStub func(string) error

	ChaincodeServerInfoStub func(string) (*ccintf.ChaincodeServerInfo, error)

	StartStub func(string, *ccintf.PeerConnection) error

	StopStub func(string) error

	WaitStub func(string) (int, error)
	// contains filtered or unexported fields
}

func (*ContainerRouter) Build

func (fake *ContainerRouter) Build(arg1 string) error

func (*ContainerRouter) BuildArgsForCall

func (fake *ContainerRouter) BuildArgsForCall(i int) string

func (*ContainerRouter) BuildCallCount

func (fake *ContainerRouter) BuildCallCount() int

func (*ContainerRouter) BuildCalls

func (fake *ContainerRouter) BuildCalls(stub func(string) error)

func (*ContainerRouter) BuildReturns

func (fake *ContainerRouter) BuildReturns(result1 error)

func (*ContainerRouter) BuildReturnsOnCall

func (fake *ContainerRouter) BuildReturnsOnCall(i int, result1 error)

func (*ContainerRouter) ChaincodeServerInfo

func (fake *ContainerRouter) ChaincodeServerInfo(arg1 string) (*ccintf.ChaincodeServerInfo, error)

func (*ContainerRouter) ChaincodeServerInfoArgsForCall

func (fake *ContainerRouter) ChaincodeServerInfoArgsForCall(i int) string

func (*ContainerRouter) ChaincodeServerInfoCallCount

func (fake *ContainerRouter) ChaincodeServerInfoCallCount() int

func (*ContainerRouter) ChaincodeServerInfoCalls

func (fake *ContainerRouter) ChaincodeServerInfoCalls(stub func(string) (*ccintf.ChaincodeServerInfo, error))

func (*ContainerRouter) ChaincodeServerInfoReturns

func (fake *ContainerRouter) ChaincodeServerInfoReturns(result1 *ccintf.ChaincodeServerInfo, result2 error)

func (*ContainerRouter) ChaincodeServerInfoReturnsOnCall

func (fake *ContainerRouter) ChaincodeServerInfoReturnsOnCall(i int, result1 *ccintf.ChaincodeServerInfo, result2 error)

func (*ContainerRouter) Invocations

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

func (*ContainerRouter) Start

func (fake *ContainerRouter) Start(arg1 string, arg2 *ccintf.PeerConnection) error

func (*ContainerRouter) StartArgsForCall

func (fake *ContainerRouter) StartArgsForCall(i int) (string, *ccintf.PeerConnection)

func (*ContainerRouter) StartCallCount

func (fake *ContainerRouter) StartCallCount() int

func (*ContainerRouter) StartCalls

func (fake *ContainerRouter) StartCalls(stub func(string, *ccintf.PeerConnection) error)

func (*ContainerRouter) StartReturns

func (fake *ContainerRouter) StartReturns(result1 error)

func (*ContainerRouter) StartReturnsOnCall

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

func (*ContainerRouter) Stop

func (fake *ContainerRouter) Stop(arg1 string) error

func (*ContainerRouter) StopArgsForCall

func (fake *ContainerRouter) StopArgsForCall(i int) string

func (*ContainerRouter) StopCallCount

func (fake *ContainerRouter) StopCallCount() int

func (*ContainerRouter) StopCalls

func (fake *ContainerRouter) StopCalls(stub func(string) error)

func (*ContainerRouter) StopReturns

func (fake *ContainerRouter) StopReturns(result1 error)

func (*ContainerRouter) StopReturnsOnCall

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

func (*ContainerRouter) Wait

func (fake *ContainerRouter) Wait(arg1 string) (int, error)

func (*ContainerRouter) WaitArgsForCall

func (fake *ContainerRouter) WaitArgsForCall(i int) string

func (*ContainerRouter) WaitCallCount

func (fake *ContainerRouter) WaitCallCount() int

func (*ContainerRouter) WaitCalls

func (fake *ContainerRouter) WaitCalls(stub func(string) (int, error))

func (*ContainerRouter) WaitReturns

func (fake *ContainerRouter) WaitReturns(result1 int, result2 error)

func (*ContainerRouter) WaitReturnsOnCall

func (fake *ContainerRouter) WaitReturnsOnCall(i int, result1 int, result2 error)

type HistoryQueryExecutor

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

func (*HistoryQueryExecutor) GetHistoryForKey

func (fake *HistoryQueryExecutor) GetHistoryForKey(arg1 string, arg2 string) (ledger.ResultsIterator, error)

func (*HistoryQueryExecutor) GetHistoryForKeyArgsForCall

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

func (*HistoryQueryExecutor) GetHistoryForKeyCallCount

func (fake *HistoryQueryExecutor) GetHistoryForKeyCallCount() int

func (*HistoryQueryExecutor) GetHistoryForKeyCalls

func (fake *HistoryQueryExecutor) GetHistoryForKeyCalls(stub func(string, string) (ledger.ResultsIterator, error))

func (*HistoryQueryExecutor) GetHistoryForKeyReturns

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

func (*HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall

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

func (*HistoryQueryExecutor) Invocations

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

type Invoker

type Invoker struct {
	InvokeStub func(*ccprovider.TransactionParams, string, *peer.ChaincodeInput) (*peer.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) (*ccprovider.TransactionParams, string, *peer.ChaincodeInput)

func (*Invoker) InvokeCallCount

func (fake *Invoker) InvokeCallCount() int

func (*Invoker) InvokeCalls

func (*Invoker) InvokeReturns

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

func (*Invoker) InvokeReturnsOnCall

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

type LedgerGetter

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

func (*LedgerGetter) GetLedger

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

func (*LedgerGetter) GetLedgerArgsForCall

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

func (*LedgerGetter) GetLedgerCallCount

func (fake *LedgerGetter) GetLedgerCallCount() int

func (*LedgerGetter) GetLedgerCalls

func (fake *LedgerGetter) GetLedgerCalls(stub func(string) ledger.PeerLedger)

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 Lifecycle

type Lifecycle struct {
	ChaincodeEndorsementInfoStub func(string, string, ledger.SimpleQueryExecutor) (*lifecycle.ChaincodeEndorsementInfo, error)
	// contains filtered or unexported fields
}

func (*Lifecycle) ChaincodeEndorsementInfo

func (fake *Lifecycle) ChaincodeEndorsementInfo(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (*lifecycle.ChaincodeEndorsementInfo, error)

func (*Lifecycle) ChaincodeEndorsementInfoArgsForCall

func (fake *Lifecycle) ChaincodeEndorsementInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*Lifecycle) ChaincodeEndorsementInfoCallCount

func (fake *Lifecycle) ChaincodeEndorsementInfoCallCount() int

func (*Lifecycle) ChaincodeEndorsementInfoCalls

func (fake *Lifecycle) ChaincodeEndorsementInfoCalls(stub func(string, string, ledger.SimpleQueryExecutor) (*lifecycle.ChaincodeEndorsementInfo, error))

func (*Lifecycle) ChaincodeEndorsementInfoReturns

func (fake *Lifecycle) ChaincodeEndorsementInfoReturns(result1 *lifecycle.ChaincodeEndorsementInfo, result2 error)

func (*Lifecycle) ChaincodeEndorsementInfoReturnsOnCall

func (fake *Lifecycle) ChaincodeEndorsementInfoReturnsOnCall(i int, result1 *lifecycle.ChaincodeEndorsementInfo, result2 error)

func (*Lifecycle) Invocations

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

type MockCCComm

type MockCCComm struct {
	// contains filtered or unexported fields
}

MockCCComm implements the mock communication between chaincode and peer We'd need two MockCCComm for communication. The receiver and sender will be switched between the two.

func (*MockCCComm) CloseSend

func (s *MockCCComm) CloseSend() error

CloseSend closes send

func (*MockCCComm) GetRecvStream

func (s *MockCCComm) GetRecvStream() chan *pb.ChaincodeMessage

GetRecvStream returns the recvStream

func (*MockCCComm) GetSendStream

func (s *MockCCComm) GetSendStream() chan *pb.ChaincodeMessage

GetSendStream returns the sendStream

func (*MockCCComm) Quit

func (s *MockCCComm) Quit()

Quit closes the channels...

func (*MockCCComm) Recv

func (s *MockCCComm) Recv() (*pb.ChaincodeMessage, error)

Recv receives a message

func (*MockCCComm) Run

func (s *MockCCComm) Run(done <-chan struct{}) error

Run receives and sends indefinitely

func (*MockCCComm) Send

func (s *MockCCComm) Send(msg *pb.ChaincodeMessage) error

Send sends a message

func (*MockCCComm) SetBailOnError

func (s *MockCCComm) SetBailOnError(b bool)

SetBailOnError will cause Run to return on any error

func (*MockCCComm) SetKeepAlive

func (s *MockCCComm) SetKeepAlive(ka *pb.ChaincodeMessage)

SetKeepAlive sets keepalive. This mut be done on the server only

func (*MockCCComm) SetName

func (s *MockCCComm) SetName(newname string)

func (*MockCCComm) SetPong

func (s *MockCCComm) SetPong(val bool)

SetPong pongs received keepalive. This mut be done on the chaincode only

func (*MockCCComm) SetResponses

func (s *MockCCComm) SetResponses(respSet *MockResponseSet)

SetResponses sets responses for an Init or Invoke

type MockPeerCCSupport

type MockPeerCCSupport struct {
	// contains filtered or unexported fields
}

MockPeerCCSupport provides CC support for peer interfaces.

func NewMockPeerSupport

func NewMockPeerSupport() *MockPeerCCSupport

NewMockPeerSupport getsa mock peer support

func (*MockPeerCCSupport) AddCC

func (mp *MockPeerCCSupport) AddCC(name string, recv chan *pb.ChaincodeMessage, send chan *pb.ChaincodeMessage) (*MockCCComm, error)

AddCC adds a cc to the MockPeerCCSupport

func (*MockPeerCCSupport) GetCC

func (mp *MockPeerCCSupport) GetCC(name string) (*MockCCComm, error)

GetCC gets a cc from the MockPeerCCSupport

func (*MockPeerCCSupport) GetCCMirror

func (mp *MockPeerCCSupport) GetCCMirror(name string) *MockCCComm

GetCCMirror creates a MockCCStream with streans switched

func (*MockPeerCCSupport) RemoveAll

func (mp *MockPeerCCSupport) RemoveAll() error

RemoveAll removes all ccs

func (*MockPeerCCSupport) RemoveCC

func (mp *MockPeerCCSupport) RemoveCC(name string) error

RemoveCC removes a cc

type MockResponse

type MockResponse struct {
	RecvMsg *pb.ChaincodeMessage
	RespMsg interface{}
}

MockResponse contains the expected received message (optional) and response to send (optional)

type MockResponseSet

type MockResponseSet struct {
	//DoneFunc is invoked when all I/O is done for this
	//response set
	DoneFunc func(int, error)

	//ErrorFunc is invoked at any step when the input does not
	//match the received message
	ErrorFunc func(int, error)

	//Responses contained the expected received message (optional)
	//and response to send (optional)
	Responses []*MockResponse
}

MockResponseSet is used for processing CC to Peer comm such as GET/PUT/DEL state. The MockResponse contains the response to be returned for each input received.from the CC. Every stub call will generate a response

type PeerLedger

type PeerLedger struct {
	CloseStub func()

	CommitLegacyStub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error

	CommitPvtDataOfOldBlocksStub func([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error)

	DoesPvtDataInfoExistStub func(uint64) (bool, error)

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

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

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

	GetBlockchainInfoStub func() (*common.BlockchainInfo, error)

	GetBlocksIteratorStub func(uint64) (ledgera.ResultsIterator, error)

	GetConfigHistoryRetrieverStub func() (ledger.ConfigHistoryRetriever, error)

	GetMissingPvtDataTrackerStub func() (ledger.MissingPvtDataTracker, error)

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

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

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

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

	NewHistoryQueryExecutorStub func() (ledger.HistoryQueryExecutor, error)

	NewQueryExecutorStub func() (ledger.QueryExecutor, error)

	NewTxSimulatorStub func(string) (ledger.TxSimulator, error)
	// contains filtered or unexported fields
}

func (*PeerLedger) Close

func (fake *PeerLedger) Close()

func (*PeerLedger) CloseCallCount

func (fake *PeerLedger) CloseCallCount() int

func (*PeerLedger) CloseCalls

func (fake *PeerLedger) CloseCalls(stub func())

func (*PeerLedger) CommitLegacy

func (fake *PeerLedger) CommitLegacy(arg1 *ledger.BlockAndPvtData, arg2 *ledger.CommitOptions) error

func (*PeerLedger) CommitLegacyArgsForCall

func (fake *PeerLedger) CommitLegacyArgsForCall(i int) (*ledger.BlockAndPvtData, *ledger.CommitOptions)

func (*PeerLedger) CommitLegacyCallCount

func (fake *PeerLedger) CommitLegacyCallCount() int

func (*PeerLedger) CommitLegacyCalls

func (fake *PeerLedger) CommitLegacyCalls(stub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error)

func (*PeerLedger) CommitLegacyReturns

func (fake *PeerLedger) CommitLegacyReturns(result1 error)

func (*PeerLedger) CommitLegacyReturnsOnCall

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

func (*PeerLedger) CommitPvtDataOfOldBlocks

func (fake *PeerLedger) CommitPvtDataOfOldBlocks(arg1 []*ledger.ReconciledPvtdata, arg2 ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error)

func (*PeerLedger) CommitPvtDataOfOldBlocksArgsForCall

func (fake *PeerLedger) CommitPvtDataOfOldBlocksArgsForCall(i int) ([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo)

func (*PeerLedger) CommitPvtDataOfOldBlocksCallCount

func (fake *PeerLedger) CommitPvtDataOfOldBlocksCallCount() int

func (*PeerLedger) CommitPvtDataOfOldBlocksCalls

func (fake *PeerLedger) CommitPvtDataOfOldBlocksCalls(stub func([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error))

func (*PeerLedger) CommitPvtDataOfOldBlocksReturns

func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)

func (*PeerLedger) CommitPvtDataOfOldBlocksReturnsOnCall

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

func (*PeerLedger) DoesPvtDataInfoExist

func (fake *PeerLedger) DoesPvtDataInfoExist(arg1 uint64) (bool, error)

func (*PeerLedger) DoesPvtDataInfoExistArgsForCall

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

func (*PeerLedger) DoesPvtDataInfoExistCallCount

func (fake *PeerLedger) DoesPvtDataInfoExistCallCount() int

func (*PeerLedger) DoesPvtDataInfoExistCalls

func (fake *PeerLedger) DoesPvtDataInfoExistCalls(stub func(uint64) (bool, error))

func (*PeerLedger) DoesPvtDataInfoExistReturns

func (fake *PeerLedger) DoesPvtDataInfoExistReturns(result1 bool, result2 error)

func (*PeerLedger) DoesPvtDataInfoExistReturnsOnCall

func (fake *PeerLedger) DoesPvtDataInfoExistReturnsOnCall(i int, result1 bool, result2 error)

func (*PeerLedger) GetBlockByHash

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

func (*PeerLedger) GetBlockByHashArgsForCall

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

func (*PeerLedger) GetBlockByHashCallCount

func (fake *PeerLedger) GetBlockByHashCallCount() int

func (*PeerLedger) GetBlockByHashCalls

func (fake *PeerLedger) GetBlockByHashCalls(stub func([]byte) (*common.Block, error))

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(arg1 uint64) (*common.Block, error)

func (*PeerLedger) GetBlockByNumberArgsForCall

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

func (*PeerLedger) GetBlockByNumberCallCount

func (fake *PeerLedger) GetBlockByNumberCallCount() int

func (*PeerLedger) GetBlockByNumberCalls

func (fake *PeerLedger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))

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(arg1 string) (*common.Block, error)

func (*PeerLedger) GetBlockByTxIDArgsForCall

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

func (*PeerLedger) GetBlockByTxIDCallCount

func (fake *PeerLedger) GetBlockByTxIDCallCount() int

func (*PeerLedger) GetBlockByTxIDCalls

func (fake *PeerLedger) GetBlockByTxIDCalls(stub func(string) (*common.Block, error))

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) GetBlockchainInfoCalls

func (fake *PeerLedger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))

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(arg1 uint64) (ledgera.ResultsIterator, error)

func (*PeerLedger) GetBlocksIteratorArgsForCall

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

func (*PeerLedger) GetBlocksIteratorCallCount

func (fake *PeerLedger) GetBlocksIteratorCallCount() int

func (*PeerLedger) GetBlocksIteratorCalls

func (fake *PeerLedger) GetBlocksIteratorCalls(stub func(uint64) (ledgera.ResultsIterator, error))

func (*PeerLedger) GetBlocksIteratorReturns

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

func (*PeerLedger) GetBlocksIteratorReturnsOnCall

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

func (*PeerLedger) GetConfigHistoryRetriever

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

func (*PeerLedger) GetConfigHistoryRetrieverCallCount

func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int

func (*PeerLedger) GetConfigHistoryRetrieverCalls

func (fake *PeerLedger) GetConfigHistoryRetrieverCalls(stub func() (ledger.ConfigHistoryRetriever, error))

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) GetMissingPvtDataTracker

func (fake *PeerLedger) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)

func (*PeerLedger) GetMissingPvtDataTrackerCallCount

func (fake *PeerLedger) GetMissingPvtDataTrackerCallCount() int

func (*PeerLedger) GetMissingPvtDataTrackerCalls

func (fake *PeerLedger) GetMissingPvtDataTrackerCalls(stub func() (ledger.MissingPvtDataTracker, error))

func (*PeerLedger) GetMissingPvtDataTrackerReturns

func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)

func (*PeerLedger) GetMissingPvtDataTrackerReturnsOnCall

func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)

func (*PeerLedger) GetPvtDataAndBlockByNum

func (fake *PeerLedger) GetPvtDataAndBlockByNum(arg1 uint64, arg2 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) GetPvtDataAndBlockByNumCalls

func (fake *PeerLedger) GetPvtDataAndBlockByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error))

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(arg1 uint64, arg2 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) GetPvtDataByNumCalls

func (fake *PeerLedger) GetPvtDataByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error))

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(arg1 string) (*peer.ProcessedTransaction, error)

func (*PeerLedger) GetTransactionByIDArgsForCall

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

func (*PeerLedger) GetTransactionByIDCallCount

func (fake *PeerLedger) GetTransactionByIDCallCount() int

func (*PeerLedger) GetTransactionByIDCalls

func (fake *PeerLedger) GetTransactionByIDCalls(stub func(string) (*peer.ProcessedTransaction, error))

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(arg1 string) (peer.TxValidationCode, error)

func (*PeerLedger) GetTxValidationCodeByTxIDArgsForCall

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

func (*PeerLedger) GetTxValidationCodeByTxIDCallCount

func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int

func (*PeerLedger) GetTxValidationCodeByTxIDCalls

func (fake *PeerLedger) GetTxValidationCodeByTxIDCalls(stub func(string) (peer.TxValidationCode, error))

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) NewHistoryQueryExecutorCalls

func (fake *PeerLedger) NewHistoryQueryExecutorCalls(stub func() (ledger.HistoryQueryExecutor, error))

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) NewQueryExecutorCalls

func (fake *PeerLedger) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))

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(arg1 string) (ledger.TxSimulator, error)

func (*PeerLedger) NewTxSimulatorArgsForCall

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

func (*PeerLedger) NewTxSimulatorCallCount

func (fake *PeerLedger) NewTxSimulatorCallCount() int

func (*PeerLedger) NewTxSimulatorCalls

func (fake *PeerLedger) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))

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)

type Policy

type Policy struct {
	EvaluateIdentitiesStub func([]msp.Identity) error

	EvaluateSignedDataStub func([]*protoutil.SignedData) error
	// contains filtered or unexported fields
}

func (*Policy) EvaluateIdentities

func (fake *Policy) EvaluateIdentities(arg1 []msp.Identity) error

func (*Policy) EvaluateIdentitiesArgsForCall

func (fake *Policy) EvaluateIdentitiesArgsForCall(i int) []msp.Identity

func (*Policy) EvaluateIdentitiesCallCount

func (fake *Policy) EvaluateIdentitiesCallCount() int

func (*Policy) EvaluateIdentitiesCalls

func (fake *Policy) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)

func (*Policy) EvaluateIdentitiesReturns

func (fake *Policy) EvaluateIdentitiesReturns(result1 error)

func (*Policy) EvaluateIdentitiesReturnsOnCall

func (fake *Policy) EvaluateIdentitiesReturnsOnCall(i int, result1 error)

func (*Policy) EvaluateSignedData

func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error

func (*Policy) EvaluateSignedDataArgsForCall

func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData

func (*Policy) EvaluateSignedDataCallCount

func (fake *Policy) EvaluateSignedDataCallCount() int

func (*Policy) EvaluateSignedDataCalls

func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)

func (*Policy) EvaluateSignedDataReturns

func (fake *Policy) EvaluateSignedDataReturns(result1 error)

func (*Policy) EvaluateSignedDataReturnsOnCall

func (fake *Policy) EvaluateSignedDataReturnsOnCall(i int, result1 error)

func (*Policy) Invocations

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

type PolicyManager

type PolicyManager struct {
	GetPolicyStub func(string) (policies.Policy, bool)

	ManagerStub func([]string) (policies.Manager, bool)
	// contains filtered or unexported fields
}

func (*PolicyManager) GetPolicy

func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)

func (*PolicyManager) GetPolicyArgsForCall

func (fake *PolicyManager) GetPolicyArgsForCall(i int) string

func (*PolicyManager) GetPolicyCallCount

func (fake *PolicyManager) GetPolicyCallCount() int

func (*PolicyManager) GetPolicyCalls

func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))

func (*PolicyManager) GetPolicyReturns

func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)

func (*PolicyManager) GetPolicyReturnsOnCall

func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)

func (*PolicyManager) Invocations

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

func (*PolicyManager) Manager

func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)

func (*PolicyManager) ManagerArgsForCall

func (fake *PolicyManager) ManagerArgsForCall(i int) []string

func (*PolicyManager) ManagerCallCount

func (fake *PolicyManager) ManagerCallCount() int

func (*PolicyManager) ManagerCalls

func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))

func (*PolicyManager) ManagerReturns

func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)

func (*PolicyManager) ManagerReturnsOnCall

func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)

type QueryResultsIterator

type QueryResultsIterator struct {
	CloseStub func()

	GetBookmarkAndCloseStub func() string

	NextStub func() (ledger.QueryResult, error)
	// contains filtered or unexported fields
}

func (*QueryResultsIterator) Close

func (fake *QueryResultsIterator) Close()

func (*QueryResultsIterator) CloseCallCount

func (fake *QueryResultsIterator) CloseCallCount() int

func (*QueryResultsIterator) CloseCalls

func (fake *QueryResultsIterator) CloseCalls(stub func())

func (*QueryResultsIterator) GetBookmarkAndClose

func (fake *QueryResultsIterator) GetBookmarkAndClose() string

func (*QueryResultsIterator) GetBookmarkAndCloseCallCount

func (fake *QueryResultsIterator) GetBookmarkAndCloseCallCount() int

func (*QueryResultsIterator) GetBookmarkAndCloseCalls

func (fake *QueryResultsIterator) GetBookmarkAndCloseCalls(stub func() string)

func (*QueryResultsIterator) GetBookmarkAndCloseReturns

func (fake *QueryResultsIterator) GetBookmarkAndCloseReturns(result1 string)

func (*QueryResultsIterator) GetBookmarkAndCloseReturnsOnCall

func (fake *QueryResultsIterator) GetBookmarkAndCloseReturnsOnCall(i int, result1 string)

func (*QueryResultsIterator) Invocations

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

func (*QueryResultsIterator) Next

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

func (*QueryResultsIterator) NextCallCount

func (fake *QueryResultsIterator) NextCallCount() int

func (*QueryResultsIterator) NextCalls

func (fake *QueryResultsIterator) NextCalls(stub func() (ledger.QueryResult, error))

func (*QueryResultsIterator) NextReturns

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

func (*QueryResultsIterator) NextReturnsOnCall

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

type Resources

type Resources struct {
	ApplicationConfigStub func() (channelconfig.Application, bool)

	ChannelConfigStub func() channelconfig.Channel

	ConfigtxValidatorStub func() configtx.Validator

	ConsortiumsConfigStub func() (channelconfig.Consortiums, bool)

	MSPManagerStub func() msp.MSPManager

	OrdererConfigStub func() (channelconfig.Orderer, bool)

	PolicyManagerStub func() policies.Manager

	ValidateNewStub func(channelconfig.Resources) error
	// contains filtered or unexported fields
}

func (*Resources) ApplicationConfig

func (fake *Resources) ApplicationConfig() (channelconfig.Application, bool)

func (*Resources) ApplicationConfigCallCount

func (fake *Resources) ApplicationConfigCallCount() int

func (*Resources) ApplicationConfigCalls

func (fake *Resources) ApplicationConfigCalls(stub func() (channelconfig.Application, bool))

func (*Resources) ApplicationConfigReturns

func (fake *Resources) ApplicationConfigReturns(result1 channelconfig.Application, result2 bool)

func (*Resources) ApplicationConfigReturnsOnCall

func (fake *Resources) ApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)

func (*Resources) ChannelConfig

func (fake *Resources) ChannelConfig() channelconfig.Channel

func (*Resources) ChannelConfigCallCount

func (fake *Resources) ChannelConfigCallCount() int

func (*Resources) ChannelConfigCalls

func (fake *Resources) ChannelConfigCalls(stub func() channelconfig.Channel)

func (*Resources) ChannelConfigReturns

func (fake *Resources) ChannelConfigReturns(result1 channelconfig.Channel)

func (*Resources) ChannelConfigReturnsOnCall

func (fake *Resources) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)

func (*Resources) ConfigtxValidator

func (fake *Resources) ConfigtxValidator() configtx.Validator

func (*Resources) ConfigtxValidatorCallCount

func (fake *Resources) ConfigtxValidatorCallCount() int

func (*Resources) ConfigtxValidatorCalls

func (fake *Resources) ConfigtxValidatorCalls(stub func() configtx.Validator)

func (*Resources) ConfigtxValidatorReturns

func (fake *Resources) ConfigtxValidatorReturns(result1 configtx.Validator)

func (*Resources) ConfigtxValidatorReturnsOnCall

func (fake *Resources) ConfigtxValidatorReturnsOnCall(i int, result1 configtx.Validator)

func (*Resources) ConsortiumsConfig

func (fake *Resources) ConsortiumsConfig() (channelconfig.Consortiums, bool)

func (*Resources) ConsortiumsConfigCallCount

func (fake *Resources) ConsortiumsConfigCallCount() int

func (*Resources) ConsortiumsConfigCalls

func (fake *Resources) ConsortiumsConfigCalls(stub func() (channelconfig.Consortiums, bool))

func (*Resources) ConsortiumsConfigReturns

func (fake *Resources) ConsortiumsConfigReturns(result1 channelconfig.Consortiums, result2 bool)

func (*Resources) ConsortiumsConfigReturnsOnCall

func (fake *Resources) ConsortiumsConfigReturnsOnCall(i int, result1 channelconfig.Consortiums, result2 bool)

func (*Resources) Invocations

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

func (*Resources) MSPManager

func (fake *Resources) MSPManager() msp.MSPManager

func (*Resources) MSPManagerCallCount

func (fake *Resources) MSPManagerCallCount() int

func (*Resources) MSPManagerCalls

func (fake *Resources) MSPManagerCalls(stub func() msp.MSPManager)

func (*Resources) MSPManagerReturns

func (fake *Resources) MSPManagerReturns(result1 msp.MSPManager)

func (*Resources) MSPManagerReturnsOnCall

func (fake *Resources) MSPManagerReturnsOnCall(i int, result1 msp.MSPManager)

func (*Resources) OrdererConfig

func (fake *Resources) OrdererConfig() (channelconfig.Orderer, bool)

func (*Resources) OrdererConfigCallCount

func (fake *Resources) OrdererConfigCallCount() int

func (*Resources) OrdererConfigCalls

func (fake *Resources) OrdererConfigCalls(stub func() (channelconfig.Orderer, bool))

func (*Resources) OrdererConfigReturns

func (fake *Resources) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)

func (*Resources) OrdererConfigReturnsOnCall

func (fake *Resources) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)

func (*Resources) PolicyManager

func (fake *Resources) PolicyManager() policies.Manager

func (*Resources) PolicyManagerCallCount

func (fake *Resources) PolicyManagerCallCount() int

func (*Resources) PolicyManagerCalls

func (fake *Resources) PolicyManagerCalls(stub func() policies.Manager)

func (*Resources) PolicyManagerReturns

func (fake *Resources) PolicyManagerReturns(result1 policies.Manager)

func (*Resources) PolicyManagerReturnsOnCall

func (fake *Resources) PolicyManagerReturnsOnCall(i int, result1 policies.Manager)

func (*Resources) ValidateNew

func (fake *Resources) ValidateNew(arg1 channelconfig.Resources) error

func (*Resources) ValidateNewArgsForCall

func (fake *Resources) ValidateNewArgsForCall(i int) channelconfig.Resources

func (*Resources) ValidateNewCallCount

func (fake *Resources) ValidateNewCallCount() int

func (*Resources) ValidateNewCalls

func (fake *Resources) ValidateNewCalls(stub func(channelconfig.Resources) error)

func (*Resources) ValidateNewReturns

func (fake *Resources) ValidateNewReturns(result1 error)

func (*Resources) ValidateNewReturnsOnCall

func (fake *Resources) ValidateNewReturnsOnCall(i int, result1 error)

type Runtime

type Runtime struct {
	BuildStub func(string) (*ccintf.ChaincodeServerInfo, error)

	StartStub func(string, *ccintf.PeerConnection) error

	StopStub func(string) error

	WaitStub func(string) (int, error)
	// contains filtered or unexported fields
}

func (*Runtime) Build

func (fake *Runtime) Build(arg1 string) (*ccintf.ChaincodeServerInfo, error)

func (*Runtime) BuildArgsForCall

func (fake *Runtime) BuildArgsForCall(i int) string

func (*Runtime) BuildCallCount

func (fake *Runtime) BuildCallCount() int

func (*Runtime) BuildCalls

func (fake *Runtime) BuildCalls(stub func(string) (*ccintf.ChaincodeServerInfo, error))

func (*Runtime) BuildReturns

func (fake *Runtime) BuildReturns(result1 *ccintf.ChaincodeServerInfo, result2 error)

func (*Runtime) BuildReturnsOnCall

func (fake *Runtime) BuildReturnsOnCall(i int, result1 *ccintf.ChaincodeServerInfo, result2 error)

func (*Runtime) Invocations

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

func (*Runtime) Start

func (fake *Runtime) Start(arg1 string, arg2 *ccintf.PeerConnection) error

func (*Runtime) StartArgsForCall

func (fake *Runtime) StartArgsForCall(i int) (string, *ccintf.PeerConnection)

func (*Runtime) StartCallCount

func (fake *Runtime) StartCallCount() int

func (*Runtime) StartCalls

func (fake *Runtime) StartCalls(stub func(string, *ccintf.PeerConnection) error)

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(arg1 string) error

func (*Runtime) StopArgsForCall

func (fake *Runtime) StopArgsForCall(i int) string

func (*Runtime) StopCallCount

func (fake *Runtime) StopCallCount() int

func (*Runtime) StopCalls

func (fake *Runtime) StopCalls(stub func(string) error)

func (*Runtime) StopReturns

func (fake *Runtime) StopReturns(result1 error)

func (*Runtime) StopReturnsOnCall

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

func (*Runtime) Wait

func (fake *Runtime) Wait(arg1 string) (int, error)

func (*Runtime) WaitArgsForCall

func (fake *Runtime) WaitArgsForCall(i int) string

func (*Runtime) WaitCallCount

func (fake *Runtime) WaitCallCount() int

func (*Runtime) WaitCalls

func (fake *Runtime) WaitCalls(stub func(string) (int, error))

func (*Runtime) WaitReturns

func (fake *Runtime) WaitReturns(result1 int, result2 error)

func (*Runtime) WaitReturnsOnCall

func (fake *Runtime) WaitReturnsOnCall(i int, result1 int, result2 error)

type TransactionRegistry

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

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

func (*TransactionRegistry) Add

func (fake *TransactionRegistry) Add(arg1 string, arg2 string) bool

func (*TransactionRegistry) AddArgsForCall

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

func (*TransactionRegistry) AddCallCount

func (fake *TransactionRegistry) AddCallCount() int

func (*TransactionRegistry) AddCalls

func (fake *TransactionRegistry) AddCalls(stub func(string, string) bool)

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(arg1 string, arg2 string)

func (*TransactionRegistry) RemoveArgsForCall

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

func (*TransactionRegistry) RemoveCallCount

func (fake *TransactionRegistry) RemoveCallCount() int

func (*TransactionRegistry) RemoveCalls

func (fake *TransactionRegistry) RemoveCalls(stub func(string, string))

type TxSimulator

type TxSimulator struct {
	DeletePrivateDataStub func(string, string, string) error

	DeletePrivateDataMetadataStub func(string, string, string) error

	DeleteStateStub func(string, string) error

	DeleteStateMetadataStub func(string, string) error

	DoneStub func()

	ExecuteQueryStub func(string, string) (ledger.ResultsIterator, error)

	ExecuteQueryOnPrivateDataStub func(string, string, string) (ledger.ResultsIterator, error)

	ExecuteQueryWithPaginationStub func(string, string, string, int32) (ledgera.QueryResultsIterator, error)

	ExecuteUpdateStub func(string) error

	GetPrivateDataStub func(string, string, string) ([]byte, error)

	GetPrivateDataHashStub func(string, string, string) ([]byte, error)

	GetPrivateDataMetadataStub func(string, string, string) (map[string][]byte, error)

	GetPrivateDataMetadataByHashStub func(string, string, []byte) (map[string][]byte, error)

	GetPrivateDataMultipleKeysStub func(string, string, []string) ([][]byte, error)

	GetPrivateDataRangeScanIteratorStub func(string, string, string, string) (ledger.ResultsIterator, error)

	GetStateStub func(string, string) ([]byte, error)

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

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

	GetStateRangeScanIteratorStub func(string, string, string) (ledger.ResultsIterator, error)

	GetStateRangeScanIteratorWithPaginationStub func(string, string, string, int32) (ledgera.QueryResultsIterator, error)

	GetTxSimulationResultsStub func() (*ledgera.TxSimulationResults, error)

	SetPrivateDataStub func(string, string, string, []byte) error

	SetPrivateDataMetadataStub func(string, string, string, map[string][]byte) error

	SetPrivateDataMultipleKeysStub func(string, string, map[string][]byte) error

	SetStateStub func(string, string, []byte) error

	SetStateMetadataStub func(string, string, map[string][]byte) error

	SetStateMultipleKeysStub func(string, map[string][]byte) error
	// contains filtered or unexported fields
}

func (*TxSimulator) DeletePrivateData

func (fake *TxSimulator) DeletePrivateData(arg1 string, arg2 string, arg3 string) error

func (*TxSimulator) DeletePrivateDataArgsForCall

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

func (*TxSimulator) DeletePrivateDataCallCount

func (fake *TxSimulator) DeletePrivateDataCallCount() int

func (*TxSimulator) DeletePrivateDataCalls

func (fake *TxSimulator) DeletePrivateDataCalls(stub func(string, string, string) error)

func (*TxSimulator) DeletePrivateDataMetadata

func (fake *TxSimulator) DeletePrivateDataMetadata(arg1 string, arg2 string, arg3 string) error

func (*TxSimulator) DeletePrivateDataMetadataArgsForCall

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

func (*TxSimulator) DeletePrivateDataMetadataCallCount

func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int

func (*TxSimulator) DeletePrivateDataMetadataCalls

func (fake *TxSimulator) DeletePrivateDataMetadataCalls(stub func(string, string, string) error)

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(arg1 string, arg2 string) error

func (*TxSimulator) DeleteStateArgsForCall

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

func (*TxSimulator) DeleteStateCallCount

func (fake *TxSimulator) DeleteStateCallCount() int

func (*TxSimulator) DeleteStateCalls

func (fake *TxSimulator) DeleteStateCalls(stub func(string, string) error)

func (*TxSimulator) DeleteStateMetadata

func (fake *TxSimulator) DeleteStateMetadata(arg1 string, arg2 string) error

func (*TxSimulator) DeleteStateMetadataArgsForCall

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

func (*TxSimulator) DeleteStateMetadataCallCount

func (fake *TxSimulator) DeleteStateMetadataCallCount() int

func (*TxSimulator) DeleteStateMetadataCalls

func (fake *TxSimulator) DeleteStateMetadataCalls(stub func(string, string) error)

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) DoneCalls

func (fake *TxSimulator) DoneCalls(stub func())

func (*TxSimulator) ExecuteQuery

func (fake *TxSimulator) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)

func (*TxSimulator) ExecuteQueryArgsForCall

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

func (*TxSimulator) ExecuteQueryCallCount

func (fake *TxSimulator) ExecuteQueryCallCount() int

func (*TxSimulator) ExecuteQueryCalls

func (fake *TxSimulator) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))

func (*TxSimulator) ExecuteQueryOnPrivateData

func (fake *TxSimulator) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)

func (*TxSimulator) ExecuteQueryOnPrivateDataArgsForCall

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

func (*TxSimulator) ExecuteQueryOnPrivateDataCallCount

func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int

func (*TxSimulator) ExecuteQueryOnPrivateDataCalls

func (fake *TxSimulator) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))

func (*TxSimulator) ExecuteQueryOnPrivateDataReturns

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

func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall

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

func (*TxSimulator) ExecuteQueryReturns

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

func (*TxSimulator) ExecuteQueryReturnsOnCall

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

func (*TxSimulator) ExecuteQueryWithPagination

func (fake *TxSimulator) ExecuteQueryWithPagination(arg1 string, arg2 string, arg3 string, arg4 int32) (ledgera.QueryResultsIterator, error)

func (*TxSimulator) ExecuteQueryWithPaginationArgsForCall

func (fake *TxSimulator) ExecuteQueryWithPaginationArgsForCall(i int) (string, string, string, int32)

func (*TxSimulator) ExecuteQueryWithPaginationCallCount

func (fake *TxSimulator) ExecuteQueryWithPaginationCallCount() int

func (*TxSimulator) ExecuteQueryWithPaginationCalls

func (fake *TxSimulator) ExecuteQueryWithPaginationCalls(stub func(string, string, string, int32) (ledgera.QueryResultsIterator, error))

func (*TxSimulator) ExecuteQueryWithPaginationReturns

func (fake *TxSimulator) ExecuteQueryWithPaginationReturns(result1 ledgera.QueryResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryWithPaginationReturnsOnCall

func (fake *TxSimulator) ExecuteQueryWithPaginationReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)

func (*TxSimulator) ExecuteUpdate

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

func (*TxSimulator) ExecuteUpdateArgsForCall

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

func (*TxSimulator) ExecuteUpdateCallCount

func (fake *TxSimulator) ExecuteUpdateCallCount() int

func (*TxSimulator) ExecuteUpdateCalls

func (fake *TxSimulator) ExecuteUpdateCalls(stub func(string) error)

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(arg1 string, arg2 string, arg3 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) GetPrivateDataCalls

func (fake *TxSimulator) GetPrivateDataCalls(stub func(string, string, string) ([]byte, error))

func (*TxSimulator) GetPrivateDataHash

func (fake *TxSimulator) GetPrivateDataHash(arg1 string, arg2 string, arg3 string) ([]byte, error)

func (*TxSimulator) GetPrivateDataHashArgsForCall

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

func (*TxSimulator) GetPrivateDataHashCallCount

func (fake *TxSimulator) GetPrivateDataHashCallCount() int

func (*TxSimulator) GetPrivateDataHashCalls

func (fake *TxSimulator) GetPrivateDataHashCalls(stub func(string, string, string) ([]byte, error))

func (*TxSimulator) GetPrivateDataHashReturns

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

func (*TxSimulator) GetPrivateDataHashReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMetadata

func (fake *TxSimulator) GetPrivateDataMetadata(arg1 string, arg2 string, arg3 string) (map[string][]byte, error)

func (*TxSimulator) GetPrivateDataMetadataArgsForCall

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

func (*TxSimulator) GetPrivateDataMetadataByHash

func (fake *TxSimulator) GetPrivateDataMetadataByHash(arg1 string, arg2 string, arg3 []byte) (map[string][]byte, error)

func (*TxSimulator) GetPrivateDataMetadataByHashArgsForCall

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

func (*TxSimulator) GetPrivateDataMetadataByHashCallCount

func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int

func (*TxSimulator) GetPrivateDataMetadataByHashCalls

func (fake *TxSimulator) GetPrivateDataMetadataByHashCalls(stub func(string, string, []byte) (map[string][]byte, error))

func (*TxSimulator) GetPrivateDataMetadataByHashReturns

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMetadataCallCount

func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int

func (*TxSimulator) GetPrivateDataMetadataCalls

func (fake *TxSimulator) GetPrivateDataMetadataCalls(stub func(string, string, string) (map[string][]byte, error))

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(arg1 string, arg2 string, arg3 []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) GetPrivateDataMultipleKeysCalls

func (fake *TxSimulator) GetPrivateDataMultipleKeysCalls(stub func(string, string, []string) ([][]byte, error))

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(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.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) GetPrivateDataRangeScanIteratorCalls

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.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(arg1 string, arg2 string) ([]byte, error)

func (*TxSimulator) GetStateArgsForCall

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

func (*TxSimulator) GetStateCallCount

func (fake *TxSimulator) GetStateCallCount() int

func (*TxSimulator) GetStateCalls

func (fake *TxSimulator) GetStateCalls(stub func(string, string) ([]byte, error))

func (*TxSimulator) GetStateMetadata

func (fake *TxSimulator) GetStateMetadata(arg1 string, arg2 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) GetStateMetadataCalls

func (fake *TxSimulator) GetStateMetadataCalls(stub func(string, string) (map[string][]byte, error))

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(arg1 string, arg2 []string) ([][]byte, error)

func (*TxSimulator) GetStateMultipleKeysArgsForCall

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

func (*TxSimulator) GetStateMultipleKeysCallCount

func (fake *TxSimulator) GetStateMultipleKeysCallCount() int

func (*TxSimulator) GetStateMultipleKeysCalls

func (fake *TxSimulator) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))

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(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)

func (*TxSimulator) GetStateRangeScanIteratorArgsForCall

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

func (*TxSimulator) GetStateRangeScanIteratorCallCount

func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorCalls

func (fake *TxSimulator) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))

func (*TxSimulator) GetStateRangeScanIteratorReturns

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

func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall

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

func (*TxSimulator) GetStateRangeScanIteratorWithPagination

func (fake *TxSimulator) GetStateRangeScanIteratorWithPagination(arg1 string, arg2 string, arg3 string, arg4 int32) (ledgera.QueryResultsIterator, error)

func (*TxSimulator) GetStateRangeScanIteratorWithPaginationArgsForCall

func (fake *TxSimulator) GetStateRangeScanIteratorWithPaginationArgsForCall(i int) (string, string, string, int32)

func (*TxSimulator) GetStateRangeScanIteratorWithPaginationCallCount

func (fake *TxSimulator) GetStateRangeScanIteratorWithPaginationCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorWithPaginationCalls

func (fake *TxSimulator) GetStateRangeScanIteratorWithPaginationCalls(stub func(string, string, string, int32) (ledgera.QueryResultsIterator, error))

func (*TxSimulator) GetStateRangeScanIteratorWithPaginationReturns

func (fake *TxSimulator) GetStateRangeScanIteratorWithPaginationReturns(result1 ledgera.QueryResultsIterator, result2 error)

func (*TxSimulator) GetStateRangeScanIteratorWithPaginationReturnsOnCall

func (fake *TxSimulator) GetStateRangeScanIteratorWithPaginationReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, 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() (*ledgera.TxSimulationResults, error)

func (*TxSimulator) GetTxSimulationResultsCallCount

func (fake *TxSimulator) GetTxSimulationResultsCallCount() int

func (*TxSimulator) GetTxSimulationResultsCalls

func (fake *TxSimulator) GetTxSimulationResultsCalls(stub func() (*ledgera.TxSimulationResults, error))

func (*TxSimulator) GetTxSimulationResultsReturns

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

func (*TxSimulator) GetTxSimulationResultsReturnsOnCall

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

func (*TxSimulator) Invocations

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

func (*TxSimulator) SetPrivateData

func (fake *TxSimulator) SetPrivateData(arg1 string, arg2 string, arg3 string, arg4 []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) SetPrivateDataCalls

func (fake *TxSimulator) SetPrivateDataCalls(stub func(string, string, string, []byte) error)

func (*TxSimulator) SetPrivateDataMetadata

func (fake *TxSimulator) SetPrivateDataMetadata(arg1 string, arg2 string, arg3 string, arg4 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) SetPrivateDataMetadataCalls

func (fake *TxSimulator) SetPrivateDataMetadataCalls(stub func(string, string, string, map[string][]byte) error)

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(arg1 string, arg2 string, arg3 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) SetPrivateDataMultipleKeysCalls

func (fake *TxSimulator) SetPrivateDataMultipleKeysCalls(stub func(string, string, map[string][]byte) error)

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(arg1 string, arg2 string, arg3 []byte) error

func (*TxSimulator) SetStateArgsForCall

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

func (*TxSimulator) SetStateCallCount

func (fake *TxSimulator) SetStateCallCount() int

func (*TxSimulator) SetStateCalls

func (fake *TxSimulator) SetStateCalls(stub func(string, string, []byte) error)

func (*TxSimulator) SetStateMetadata

func (fake *TxSimulator) SetStateMetadata(arg1 string, arg2 string, arg3 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) SetStateMetadataCalls

func (fake *TxSimulator) SetStateMetadataCalls(stub func(string, string, map[string][]byte) error)

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(arg1 string, arg2 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) SetStateMultipleKeysCalls

func (fake *TxSimulator) SetStateMultipleKeysCalls(stub func(string, map[string][]byte) error)

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