mock

package
v2.0.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 19 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

	FabTokenStub func() bool

	ForbidDuplicateTXIdInBlockStub func() bool

	KeyLevelEndorsementStub func() bool

	LifecycleV20Stub func() bool

	MetadataLifecycleStub func() bool

	PrivateChannelDataStub 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) FabToken

func (fake *ApplicationCapabilities) FabToken() bool

func (*ApplicationCapabilities) FabTokenCallCount

func (fake *ApplicationCapabilities) FabTokenCallCount() int

func (*ApplicationCapabilities) FabTokenCalls

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

func (*ApplicationCapabilities) FabTokenReturns

func (fake *ApplicationCapabilities) FabTokenReturns(result1 bool)

func (*ApplicationCapabilities) FabTokenReturnsOnCall

func (fake *ApplicationCapabilities) FabTokenReturnsOnCall(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) 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 ApplicationOrgConfig

type ApplicationOrgConfig struct {
	AnchorPeersStub func() []*peer.AnchorPeer

	MSPIDStub func() string

	NameStub func() string
	// contains filtered or unexported fields
}

func (*ApplicationOrgConfig) AnchorPeers

func (fake *ApplicationOrgConfig) AnchorPeers() []*peer.AnchorPeer

func (*ApplicationOrgConfig) AnchorPeersCallCount

func (fake *ApplicationOrgConfig) AnchorPeersCallCount() int

func (*ApplicationOrgConfig) AnchorPeersCalls

func (fake *ApplicationOrgConfig) AnchorPeersCalls(stub func() []*peer.AnchorPeer)

func (*ApplicationOrgConfig) AnchorPeersReturns

func (fake *ApplicationOrgConfig) AnchorPeersReturns(result1 []*peer.AnchorPeer)

func (*ApplicationOrgConfig) AnchorPeersReturnsOnCall

func (fake *ApplicationOrgConfig) AnchorPeersReturnsOnCall(i int, result1 []*peer.AnchorPeer)

func (*ApplicationOrgConfig) Invocations

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

func (*ApplicationOrgConfig) MSPID

func (fake *ApplicationOrgConfig) MSPID() string

func (*ApplicationOrgConfig) MSPIDCallCount

func (fake *ApplicationOrgConfig) MSPIDCallCount() int

func (*ApplicationOrgConfig) MSPIDCalls

func (fake *ApplicationOrgConfig) MSPIDCalls(stub func() string)

func (*ApplicationOrgConfig) MSPIDReturns

func (fake *ApplicationOrgConfig) MSPIDReturns(result1 string)

func (*ApplicationOrgConfig) MSPIDReturnsOnCall

func (fake *ApplicationOrgConfig) MSPIDReturnsOnCall(i int, result1 string)

func (*ApplicationOrgConfig) Name

func (fake *ApplicationOrgConfig) Name() string

func (*ApplicationOrgConfig) NameCallCount

func (fake *ApplicationOrgConfig) NameCallCount() int

func (*ApplicationOrgConfig) NameCalls

func (fake *ApplicationOrgConfig) NameCalls(stub func() string)

func (*ApplicationOrgConfig) NameReturns

func (fake *ApplicationOrgConfig) NameReturns(result1 string)

func (*ApplicationOrgConfig) NameReturnsOnCall

func (fake *ApplicationOrgConfig) NameReturnsOnCall(i int, result1 string)

type ChaincodeInfoCache

type ChaincodeInfoCache struct {
	ChaincodeInfoStub func(string, string) (*lifecycle.LocalChaincodeInfo, error)
	// contains filtered or unexported fields
}

func (*ChaincodeInfoCache) ChaincodeInfo

func (fake *ChaincodeInfoCache) ChaincodeInfo(arg1 string, arg2 string) (*lifecycle.LocalChaincodeInfo, error)

func (*ChaincodeInfoCache) ChaincodeInfoArgsForCall

func (fake *ChaincodeInfoCache) ChaincodeInfoArgsForCall(i int) (string, string)

func (*ChaincodeInfoCache) ChaincodeInfoCallCount

func (fake *ChaincodeInfoCache) ChaincodeInfoCallCount() int

func (*ChaincodeInfoCache) ChaincodeInfoCalls

func (fake *ChaincodeInfoCache) ChaincodeInfoCalls(stub func(string, string) (*lifecycle.LocalChaincodeInfo, error))

func (*ChaincodeInfoCache) ChaincodeInfoReturns

func (fake *ChaincodeInfoCache) ChaincodeInfoReturns(result1 *lifecycle.LocalChaincodeInfo, result2 error)

func (*ChaincodeInfoCache) ChaincodeInfoReturnsOnCall

func (fake *ChaincodeInfoCache) ChaincodeInfoReturnsOnCall(i int, result1 *lifecycle.LocalChaincodeInfo, result2 error)

func (*ChaincodeInfoCache) Invocations

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

type ChaincodeLifecycle

type ChaincodeLifecycle struct {
	ChaincodeContainerInfoStub func(string, ledger.SimpleQueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)

	ChaincodeDefinitionStub func(string, ledger.SimpleQueryExecutor) (ccprovider.ChaincodeDefinition, error)
	// contains filtered or unexported fields
}

func (*ChaincodeLifecycle) ChaincodeContainerInfo

func (fake *ChaincodeLifecycle) ChaincodeContainerInfo(arg1 string, arg2 ledger.SimpleQueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)

func (*ChaincodeLifecycle) ChaincodeContainerInfoArgsForCall

func (fake *ChaincodeLifecycle) ChaincodeContainerInfoArgsForCall(i int) (string, ledger.SimpleQueryExecutor)

func (*ChaincodeLifecycle) ChaincodeContainerInfoCallCount

func (fake *ChaincodeLifecycle) ChaincodeContainerInfoCallCount() int

func (*ChaincodeLifecycle) ChaincodeContainerInfoCalls

func (fake *ChaincodeLifecycle) ChaincodeContainerInfoCalls(stub func(string, ledger.SimpleQueryExecutor) (*ccprovider.ChaincodeContainerInfo, error))

func (*ChaincodeLifecycle) ChaincodeContainerInfoReturns

func (fake *ChaincodeLifecycle) ChaincodeContainerInfoReturns(result1 *ccprovider.ChaincodeContainerInfo, result2 error)

func (*ChaincodeLifecycle) ChaincodeContainerInfoReturnsOnCall

func (fake *ChaincodeLifecycle) ChaincodeContainerInfoReturnsOnCall(i int, result1 *ccprovider.ChaincodeContainerInfo, result2 error)

func (*ChaincodeLifecycle) ChaincodeDefinition

func (fake *ChaincodeLifecycle) ChaincodeDefinition(arg1 string, arg2 ledger.SimpleQueryExecutor) (ccprovider.ChaincodeDefinition, error)

func (*ChaincodeLifecycle) ChaincodeDefinitionArgsForCall

func (fake *ChaincodeLifecycle) ChaincodeDefinitionArgsForCall(i int) (string, ledger.SimpleQueryExecutor)

func (*ChaincodeLifecycle) ChaincodeDefinitionCallCount

func (fake *ChaincodeLifecycle) ChaincodeDefinitionCallCount() int

func (*ChaincodeLifecycle) ChaincodeDefinitionCalls

func (fake *ChaincodeLifecycle) ChaincodeDefinitionCalls(stub func(string, ledger.SimpleQueryExecutor) (ccprovider.ChaincodeDefinition, error))

func (*ChaincodeLifecycle) ChaincodeDefinitionReturns

func (fake *ChaincodeLifecycle) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)

func (*ChaincodeLifecycle) ChaincodeDefinitionReturnsOnCall

func (fake *ChaincodeLifecycle) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)

func (*ChaincodeLifecycle) Invocations

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

type ChaincodeStore

type ChaincodeStore struct {
	ListInstalledChaincodesStub func() ([]chaincode.InstalledChaincode, error)

	LoadStub func(persistence.PackageID) ([]byte, error)

	SaveStub func(string, []byte) (persistence.PackageID, error)
	// contains filtered or unexported fields
}

func (*ChaincodeStore) Invocations

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

func (*ChaincodeStore) ListInstalledChaincodes

func (fake *ChaincodeStore) ListInstalledChaincodes() ([]chaincode.InstalledChaincode, error)

func (*ChaincodeStore) ListInstalledChaincodesCallCount

func (fake *ChaincodeStore) ListInstalledChaincodesCallCount() int

func (*ChaincodeStore) ListInstalledChaincodesCalls

func (fake *ChaincodeStore) ListInstalledChaincodesCalls(stub func() ([]chaincode.InstalledChaincode, error))

func (*ChaincodeStore) ListInstalledChaincodesReturns

func (fake *ChaincodeStore) ListInstalledChaincodesReturns(result1 []chaincode.InstalledChaincode, result2 error)

func (*ChaincodeStore) ListInstalledChaincodesReturnsOnCall

func (fake *ChaincodeStore) ListInstalledChaincodesReturnsOnCall(i int, result1 []chaincode.InstalledChaincode, result2 error)

func (*ChaincodeStore) Load

func (fake *ChaincodeStore) Load(arg1 persistence.PackageID) ([]byte, error)

func (*ChaincodeStore) LoadArgsForCall

func (fake *ChaincodeStore) LoadArgsForCall(i int) persistence.PackageID

func (*ChaincodeStore) LoadCallCount

func (fake *ChaincodeStore) LoadCallCount() int

func (*ChaincodeStore) LoadCalls

func (fake *ChaincodeStore) LoadCalls(stub func(persistence.PackageID) ([]byte, error))

func (*ChaincodeStore) LoadReturns

func (fake *ChaincodeStore) LoadReturns(result1 []byte, result2 error)

func (*ChaincodeStore) LoadReturnsOnCall

func (fake *ChaincodeStore) LoadReturnsOnCall(i int, result1 []byte, result2 error)

func (*ChaincodeStore) Save

func (fake *ChaincodeStore) Save(arg1 string, arg2 []byte) (persistence.PackageID, error)

func (*ChaincodeStore) SaveArgsForCall

func (fake *ChaincodeStore) SaveArgsForCall(i int) (string, []byte)

func (*ChaincodeStore) SaveCallCount

func (fake *ChaincodeStore) SaveCallCount() int

func (*ChaincodeStore) SaveCalls added in v1.4.0

func (fake *ChaincodeStore) SaveCalls(stub func(string, []byte) (persistence.PackageID, error))

func (*ChaincodeStore) SaveReturns

func (fake *ChaincodeStore) SaveReturns(result1 persistence.PackageID, result2 error)

func (*ChaincodeStore) SaveReturnsOnCall

func (fake *ChaincodeStore) SaveReturnsOnCall(i int, result1 persistence.PackageID, result2 error)

type ChaincodeStub

type ChaincodeStub struct {
	CreateCompositeKeyStub func(string, []string) (string, error)

	DelPrivateDataStub func(string, string) error

	DelStateStub func(string) error

	GetArgsStub func() [][]byte

	GetArgsSliceStub func() ([]byte, error)

	GetBindingStub func() ([]byte, error)

	GetChannelIDStub func() string

	GetCreatorStub func() ([]byte, error)

	GetDecorationsStub func() map[string][]byte

	GetFunctionAndParametersStub func() (string, []string)

	GetHistoryForKeyStub func(string) (shim.HistoryQueryIteratorInterface, error)

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

	GetPrivateDataByPartialCompositeKeyStub func(string, string, []string) (shim.StateQueryIteratorInterface, error)

	GetPrivateDataByRangeStub func(string, string, string) (shim.StateQueryIteratorInterface, error)

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

	GetPrivateDataQueryResultStub func(string, string) (shim.StateQueryIteratorInterface, error)

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

	GetQueryResultStub func(string) (shim.StateQueryIteratorInterface, error)

	GetQueryResultWithPaginationStub func(string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

	GetSignedProposalStub func() (*peer.SignedProposal, error)

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

	GetStateByPartialCompositeKeyStub func(string, []string) (shim.StateQueryIteratorInterface, error)

	GetStateByPartialCompositeKeyWithPaginationStub func(string, []string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

	GetStateByRangeStub func(string, string) (shim.StateQueryIteratorInterface, error)

	GetStateByRangeWithPaginationStub func(string, string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

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

	GetStringArgsStub func() []string

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

	GetTxIDStub func() string

	GetTxTimestampStub func() (*timestamp.Timestamp, error)

	InvokeChaincodeStub func(string, [][]byte, string) peer.Response

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

	PutStateStub func(string, []byte) error

	SetEventStub func(string, []byte) error

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

	SetStateValidationParameterStub func(string, []byte) error

	SplitCompositeKeyStub func(string) (string, []string, error)
	// contains filtered or unexported fields
}

func (*ChaincodeStub) CreateCompositeKey

func (fake *ChaincodeStub) CreateCompositeKey(arg1 string, arg2 []string) (string, error)

func (*ChaincodeStub) CreateCompositeKeyArgsForCall

func (fake *ChaincodeStub) CreateCompositeKeyArgsForCall(i int) (string, []string)

func (*ChaincodeStub) CreateCompositeKeyCallCount

func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int

func (*ChaincodeStub) CreateCompositeKeyCalls added in v1.4.0

func (fake *ChaincodeStub) CreateCompositeKeyCalls(stub func(string, []string) (string, error))

func (*ChaincodeStub) CreateCompositeKeyReturns

func (fake *ChaincodeStub) CreateCompositeKeyReturns(result1 string, result2 error)

func (*ChaincodeStub) CreateCompositeKeyReturnsOnCall

func (fake *ChaincodeStub) CreateCompositeKeyReturnsOnCall(i int, result1 string, result2 error)

func (*ChaincodeStub) DelPrivateData

func (fake *ChaincodeStub) DelPrivateData(arg1 string, arg2 string) error

func (*ChaincodeStub) DelPrivateDataArgsForCall

func (fake *ChaincodeStub) DelPrivateDataArgsForCall(i int) (string, string)

func (*ChaincodeStub) DelPrivateDataCallCount

func (fake *ChaincodeStub) DelPrivateDataCallCount() int

func (*ChaincodeStub) DelPrivateDataCalls added in v1.4.0

func (fake *ChaincodeStub) DelPrivateDataCalls(stub func(string, string) error)

func (*ChaincodeStub) DelPrivateDataReturns

func (fake *ChaincodeStub) DelPrivateDataReturns(result1 error)

func (*ChaincodeStub) DelPrivateDataReturnsOnCall

func (fake *ChaincodeStub) DelPrivateDataReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) DelState

func (fake *ChaincodeStub) DelState(arg1 string) error

func (*ChaincodeStub) DelStateArgsForCall

func (fake *ChaincodeStub) DelStateArgsForCall(i int) string

func (*ChaincodeStub) DelStateCallCount

func (fake *ChaincodeStub) DelStateCallCount() int

func (*ChaincodeStub) DelStateCalls added in v1.4.0

func (fake *ChaincodeStub) DelStateCalls(stub func(string) error)

func (*ChaincodeStub) DelStateReturns

func (fake *ChaincodeStub) DelStateReturns(result1 error)

func (*ChaincodeStub) DelStateReturnsOnCall

func (fake *ChaincodeStub) DelStateReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) GetArgs

func (fake *ChaincodeStub) GetArgs() [][]byte

func (*ChaincodeStub) GetArgsCallCount

func (fake *ChaincodeStub) GetArgsCallCount() int

func (*ChaincodeStub) GetArgsCalls added in v1.4.0

func (fake *ChaincodeStub) GetArgsCalls(stub func() [][]byte)

func (*ChaincodeStub) GetArgsReturns

func (fake *ChaincodeStub) GetArgsReturns(result1 [][]byte)

func (*ChaincodeStub) GetArgsReturnsOnCall

func (fake *ChaincodeStub) GetArgsReturnsOnCall(i int, result1 [][]byte)

func (*ChaincodeStub) GetArgsSlice

func (fake *ChaincodeStub) GetArgsSlice() ([]byte, error)

func (*ChaincodeStub) GetArgsSliceCallCount

func (fake *ChaincodeStub) GetArgsSliceCallCount() int

func (*ChaincodeStub) GetArgsSliceCalls added in v1.4.0

func (fake *ChaincodeStub) GetArgsSliceCalls(stub func() ([]byte, error))

func (*ChaincodeStub) GetArgsSliceReturns

func (fake *ChaincodeStub) GetArgsSliceReturns(result1 []byte, result2 error)

func (*ChaincodeStub) GetArgsSliceReturnsOnCall

func (fake *ChaincodeStub) GetArgsSliceReturnsOnCall(i int, result1 []byte, result2 error)

func (*ChaincodeStub) GetBinding

func (fake *ChaincodeStub) GetBinding() ([]byte, error)

func (*ChaincodeStub) GetBindingCallCount

func (fake *ChaincodeStub) GetBindingCallCount() int

func (*ChaincodeStub) GetBindingCalls added in v1.4.0

func (fake *ChaincodeStub) GetBindingCalls(stub func() ([]byte, error))

func (*ChaincodeStub) GetBindingReturns

func (fake *ChaincodeStub) GetBindingReturns(result1 []byte, result2 error)

func (*ChaincodeStub) GetBindingReturnsOnCall

func (fake *ChaincodeStub) GetBindingReturnsOnCall(i int, result1 []byte, result2 error)

func (*ChaincodeStub) GetChannelID

func (fake *ChaincodeStub) GetChannelID() string

func (*ChaincodeStub) GetChannelIDCallCount

func (fake *ChaincodeStub) GetChannelIDCallCount() int

func (*ChaincodeStub) GetChannelIDCalls added in v1.4.0

func (fake *ChaincodeStub) GetChannelIDCalls(stub func() string)

func (*ChaincodeStub) GetChannelIDReturns

func (fake *ChaincodeStub) GetChannelIDReturns(result1 string)

func (*ChaincodeStub) GetChannelIDReturnsOnCall

func (fake *ChaincodeStub) GetChannelIDReturnsOnCall(i int, result1 string)

func (*ChaincodeStub) GetCreator

func (fake *ChaincodeStub) GetCreator() ([]byte, error)

func (*ChaincodeStub) GetCreatorCallCount

func (fake *ChaincodeStub) GetCreatorCallCount() int

func (*ChaincodeStub) GetCreatorCalls added in v1.4.0

func (fake *ChaincodeStub) GetCreatorCalls(stub func() ([]byte, error))

func (*ChaincodeStub) GetCreatorReturns

func (fake *ChaincodeStub) GetCreatorReturns(result1 []byte, result2 error)

func (*ChaincodeStub) GetCreatorReturnsOnCall

func (fake *ChaincodeStub) GetCreatorReturnsOnCall(i int, result1 []byte, result2 error)

func (*ChaincodeStub) GetDecorations

func (fake *ChaincodeStub) GetDecorations() map[string][]byte

func (*ChaincodeStub) GetDecorationsCallCount

func (fake *ChaincodeStub) GetDecorationsCallCount() int

func (*ChaincodeStub) GetDecorationsCalls added in v1.4.0

func (fake *ChaincodeStub) GetDecorationsCalls(stub func() map[string][]byte)

func (*ChaincodeStub) GetDecorationsReturns

func (fake *ChaincodeStub) GetDecorationsReturns(result1 map[string][]byte)

func (*ChaincodeStub) GetDecorationsReturnsOnCall

func (fake *ChaincodeStub) GetDecorationsReturnsOnCall(i int, result1 map[string][]byte)

func (*ChaincodeStub) GetFunctionAndParameters

func (fake *ChaincodeStub) GetFunctionAndParameters() (string, []string)

func (*ChaincodeStub) GetFunctionAndParametersCallCount

func (fake *ChaincodeStub) GetFunctionAndParametersCallCount() int

func (*ChaincodeStub) GetFunctionAndParametersCalls added in v1.4.0

func (fake *ChaincodeStub) GetFunctionAndParametersCalls(stub func() (string, []string))

func (*ChaincodeStub) GetFunctionAndParametersReturns

func (fake *ChaincodeStub) GetFunctionAndParametersReturns(result1 string, result2 []string)

func (*ChaincodeStub) GetFunctionAndParametersReturnsOnCall

func (fake *ChaincodeStub) GetFunctionAndParametersReturnsOnCall(i int, result1 string, result2 []string)

func (*ChaincodeStub) GetHistoryForKey

func (fake *ChaincodeStub) GetHistoryForKey(arg1 string) (shim.HistoryQueryIteratorInterface, error)

func (*ChaincodeStub) GetHistoryForKeyArgsForCall

func (fake *ChaincodeStub) GetHistoryForKeyArgsForCall(i int) string

func (*ChaincodeStub) GetHistoryForKeyCallCount

func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int

func (*ChaincodeStub) GetHistoryForKeyCalls added in v1.4.0

func (fake *ChaincodeStub) GetHistoryForKeyCalls(stub func(string) (shim.HistoryQueryIteratorInterface, error))

func (*ChaincodeStub) GetHistoryForKeyReturns

func (fake *ChaincodeStub) GetHistoryForKeyReturns(result1 shim.HistoryQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetHistoryForKeyReturnsOnCall

func (fake *ChaincodeStub) GetHistoryForKeyReturnsOnCall(i int, result1 shim.HistoryQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateData

func (fake *ChaincodeStub) GetPrivateData(arg1 string, arg2 string) ([]byte, error)

func (*ChaincodeStub) GetPrivateDataArgsForCall

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKey

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKey(arg1 string, arg2 string, arg3 []string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall(i int) (string, string, []string)

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount() int

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCalls added in v1.4.0

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCalls(stub func(string, string, []string) (shim.StateQueryIteratorInterface, error))

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateDataByRange

func (fake *ChaincodeStub) GetPrivateDataByRange(arg1 string, arg2 string, arg3 string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetPrivateDataByRangeArgsForCall

func (fake *ChaincodeStub) GetPrivateDataByRangeArgsForCall(i int) (string, string, string)

func (*ChaincodeStub) GetPrivateDataByRangeCallCount

func (fake *ChaincodeStub) GetPrivateDataByRangeCallCount() int

func (*ChaincodeStub) GetPrivateDataByRangeCalls added in v1.4.0

func (fake *ChaincodeStub) GetPrivateDataByRangeCalls(stub func(string, string, string) (shim.StateQueryIteratorInterface, error))

func (*ChaincodeStub) GetPrivateDataByRangeReturns

func (fake *ChaincodeStub) GetPrivateDataByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateDataByRangeReturnsOnCall

func (fake *ChaincodeStub) GetPrivateDataByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateDataCallCount

func (fake *ChaincodeStub) GetPrivateDataCallCount() int

func (*ChaincodeStub) GetPrivateDataCalls added in v1.4.0

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

func (*ChaincodeStub) GetPrivateDataHash added in v1.4.2

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

func (*ChaincodeStub) GetPrivateDataHashArgsForCall added in v1.4.2

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

func (*ChaincodeStub) GetPrivateDataHashCallCount added in v1.4.2

func (fake *ChaincodeStub) GetPrivateDataHashCallCount() int

func (*ChaincodeStub) GetPrivateDataHashCalls added in v1.4.2

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

func (*ChaincodeStub) GetPrivateDataHashReturns added in v1.4.2

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

func (*ChaincodeStub) GetPrivateDataHashReturnsOnCall added in v1.4.2

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

func (*ChaincodeStub) GetPrivateDataQueryResult

func (fake *ChaincodeStub) GetPrivateDataQueryResult(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetPrivateDataQueryResultArgsForCall

func (fake *ChaincodeStub) GetPrivateDataQueryResultArgsForCall(i int) (string, string)

func (*ChaincodeStub) GetPrivateDataQueryResultCallCount

func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int

func (*ChaincodeStub) GetPrivateDataQueryResultCalls added in v1.4.0

func (fake *ChaincodeStub) GetPrivateDataQueryResultCalls(stub func(string, string) (shim.StateQueryIteratorInterface, error))

func (*ChaincodeStub) GetPrivateDataQueryResultReturns

func (fake *ChaincodeStub) GetPrivateDataQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall

func (fake *ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetPrivateDataReturns

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

func (*ChaincodeStub) GetPrivateDataReturnsOnCall

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

func (*ChaincodeStub) GetPrivateDataValidationParameter

func (fake *ChaincodeStub) GetPrivateDataValidationParameter(arg1 string, arg2 string) ([]byte, error)

func (*ChaincodeStub) GetPrivateDataValidationParameterArgsForCall

func (fake *ChaincodeStub) GetPrivateDataValidationParameterArgsForCall(i int) (string, string)

func (*ChaincodeStub) GetPrivateDataValidationParameterCallCount

func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int

func (*ChaincodeStub) GetPrivateDataValidationParameterCalls added in v1.4.0

func (fake *ChaincodeStub) GetPrivateDataValidationParameterCalls(stub func(string, string) ([]byte, error))

func (*ChaincodeStub) GetPrivateDataValidationParameterReturns

func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturns(result1 []byte, result2 error)

func (*ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall

func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)

func (*ChaincodeStub) GetQueryResult

func (fake *ChaincodeStub) GetQueryResult(arg1 string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetQueryResultArgsForCall

func (fake *ChaincodeStub) GetQueryResultArgsForCall(i int) string

func (*ChaincodeStub) GetQueryResultCallCount

func (fake *ChaincodeStub) GetQueryResultCallCount() int

func (*ChaincodeStub) GetQueryResultCalls added in v1.4.0

func (fake *ChaincodeStub) GetQueryResultCalls(stub func(string) (shim.StateQueryIteratorInterface, error))

func (*ChaincodeStub) GetQueryResultReturns

func (fake *ChaincodeStub) GetQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetQueryResultReturnsOnCall

func (fake *ChaincodeStub) GetQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetQueryResultWithPagination

func (fake *ChaincodeStub) GetQueryResultWithPagination(arg1 string, arg2 int32, arg3 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

func (*ChaincodeStub) GetQueryResultWithPaginationArgsForCall

func (fake *ChaincodeStub) GetQueryResultWithPaginationArgsForCall(i int) (string, int32, string)

func (*ChaincodeStub) GetQueryResultWithPaginationCallCount

func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int

func (*ChaincodeStub) GetQueryResultWithPaginationCalls added in v1.4.0

func (fake *ChaincodeStub) GetQueryResultWithPaginationCalls(stub func(string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error))

func (*ChaincodeStub) GetQueryResultWithPaginationReturns

func (fake *ChaincodeStub) GetQueryResultWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)

func (*ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall

func (fake *ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)

func (*ChaincodeStub) GetSignedProposal

func (fake *ChaincodeStub) GetSignedProposal() (*peer.SignedProposal, error)

func (*ChaincodeStub) GetSignedProposalCallCount

func (fake *ChaincodeStub) GetSignedProposalCallCount() int

func (*ChaincodeStub) GetSignedProposalCalls added in v1.4.0

func (fake *ChaincodeStub) GetSignedProposalCalls(stub func() (*peer.SignedProposal, error))

func (*ChaincodeStub) GetSignedProposalReturns

func (fake *ChaincodeStub) GetSignedProposalReturns(result1 *peer.SignedProposal, result2 error)

func (*ChaincodeStub) GetSignedProposalReturnsOnCall

func (fake *ChaincodeStub) GetSignedProposalReturnsOnCall(i int, result1 *peer.SignedProposal, result2 error)

func (*ChaincodeStub) GetState

func (fake *ChaincodeStub) GetState(arg1 string) ([]byte, error)

func (*ChaincodeStub) GetStateArgsForCall

func (fake *ChaincodeStub) GetStateArgsForCall(i int) string

func (*ChaincodeStub) GetStateByPartialCompositeKey

func (fake *ChaincodeStub) GetStateByPartialCompositeKey(arg1 string, arg2 []string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall(i int) (string, []string)

func (*ChaincodeStub) GetStateByPartialCompositeKeyCallCount

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCallCount() int

func (*ChaincodeStub) GetStateByPartialCompositeKeyCalls added in v1.4.0

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCalls(stub func(string, []string) (shim.StateQueryIteratorInterface, error))

func (*ChaincodeStub) GetStateByPartialCompositeKeyReturns

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPagination

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPagination(arg1 string, arg2 []string, arg3 int32, arg4 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall(i int) (string, []string, int32, string)

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCalls added in v1.4.0

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCalls(stub func(string, []string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error))

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)

func (*ChaincodeStub) GetStateByRange

func (fake *ChaincodeStub) GetStateByRange(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetStateByRangeArgsForCall

func (fake *ChaincodeStub) GetStateByRangeArgsForCall(i int) (string, string)

func (*ChaincodeStub) GetStateByRangeCallCount

func (fake *ChaincodeStub) GetStateByRangeCallCount() int

func (*ChaincodeStub) GetStateByRangeCalls added in v1.4.0

func (fake *ChaincodeStub) GetStateByRangeCalls(stub func(string, string) (shim.StateQueryIteratorInterface, error))

func (*ChaincodeStub) GetStateByRangeReturns

func (fake *ChaincodeStub) GetStateByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetStateByRangeReturnsOnCall

func (fake *ChaincodeStub) GetStateByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)

func (*ChaincodeStub) GetStateByRangeWithPagination

func (fake *ChaincodeStub) GetStateByRangeWithPagination(arg1 string, arg2 string, arg3 int32, arg4 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)

func (*ChaincodeStub) GetStateByRangeWithPaginationArgsForCall

func (fake *ChaincodeStub) GetStateByRangeWithPaginationArgsForCall(i int) (string, string, int32, string)

func (*ChaincodeStub) GetStateByRangeWithPaginationCallCount

func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int

func (*ChaincodeStub) GetStateByRangeWithPaginationCalls added in v1.4.0

func (fake *ChaincodeStub) GetStateByRangeWithPaginationCalls(stub func(string, string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error))

func (*ChaincodeStub) GetStateByRangeWithPaginationReturns

func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)

func (*ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall

func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)

func (*ChaincodeStub) GetStateCallCount

func (fake *ChaincodeStub) GetStateCallCount() int

func (*ChaincodeStub) GetStateCalls added in v1.4.0

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

func (*ChaincodeStub) GetStateReturns

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

func (*ChaincodeStub) GetStateReturnsOnCall

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

func (*ChaincodeStub) GetStateValidationParameter

func (fake *ChaincodeStub) GetStateValidationParameter(arg1 string) ([]byte, error)

func (*ChaincodeStub) GetStateValidationParameterArgsForCall

func (fake *ChaincodeStub) GetStateValidationParameterArgsForCall(i int) string

func (*ChaincodeStub) GetStateValidationParameterCallCount

func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int

func (*ChaincodeStub) GetStateValidationParameterCalls added in v1.4.0

func (fake *ChaincodeStub) GetStateValidationParameterCalls(stub func(string) ([]byte, error))

func (*ChaincodeStub) GetStateValidationParameterReturns

func (fake *ChaincodeStub) GetStateValidationParameterReturns(result1 []byte, result2 error)

func (*ChaincodeStub) GetStateValidationParameterReturnsOnCall

func (fake *ChaincodeStub) GetStateValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)

func (*ChaincodeStub) GetStringArgs

func (fake *ChaincodeStub) GetStringArgs() []string

func (*ChaincodeStub) GetStringArgsCallCount

func (fake *ChaincodeStub) GetStringArgsCallCount() int

func (*ChaincodeStub) GetStringArgsCalls added in v1.4.0

func (fake *ChaincodeStub) GetStringArgsCalls(stub func() []string)

func (*ChaincodeStub) GetStringArgsReturns

func (fake *ChaincodeStub) GetStringArgsReturns(result1 []string)

func (*ChaincodeStub) GetStringArgsReturnsOnCall

func (fake *ChaincodeStub) GetStringArgsReturnsOnCall(i int, result1 []string)

func (*ChaincodeStub) GetTransient

func (fake *ChaincodeStub) GetTransient() (map[string][]byte, error)

func (*ChaincodeStub) GetTransientCallCount

func (fake *ChaincodeStub) GetTransientCallCount() int

func (*ChaincodeStub) GetTransientCalls added in v1.4.0

func (fake *ChaincodeStub) GetTransientCalls(stub func() (map[string][]byte, error))

func (*ChaincodeStub) GetTransientReturns

func (fake *ChaincodeStub) GetTransientReturns(result1 map[string][]byte, result2 error)

func (*ChaincodeStub) GetTransientReturnsOnCall

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

func (*ChaincodeStub) GetTxID

func (fake *ChaincodeStub) GetTxID() string

func (*ChaincodeStub) GetTxIDCallCount

func (fake *ChaincodeStub) GetTxIDCallCount() int

func (*ChaincodeStub) GetTxIDCalls added in v1.4.0

func (fake *ChaincodeStub) GetTxIDCalls(stub func() string)

func (*ChaincodeStub) GetTxIDReturns

func (fake *ChaincodeStub) GetTxIDReturns(result1 string)

func (*ChaincodeStub) GetTxIDReturnsOnCall

func (fake *ChaincodeStub) GetTxIDReturnsOnCall(i int, result1 string)

func (*ChaincodeStub) GetTxTimestamp

func (fake *ChaincodeStub) GetTxTimestamp() (*timestamp.Timestamp, error)

func (*ChaincodeStub) GetTxTimestampCallCount

func (fake *ChaincodeStub) GetTxTimestampCallCount() int

func (*ChaincodeStub) GetTxTimestampCalls added in v1.4.0

func (fake *ChaincodeStub) GetTxTimestampCalls(stub func() (*timestamp.Timestamp, error))

func (*ChaincodeStub) GetTxTimestampReturns

func (fake *ChaincodeStub) GetTxTimestampReturns(result1 *timestamp.Timestamp, result2 error)

func (*ChaincodeStub) GetTxTimestampReturnsOnCall

func (fake *ChaincodeStub) GetTxTimestampReturnsOnCall(i int, result1 *timestamp.Timestamp, result2 error)

func (*ChaincodeStub) Invocations

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

func (*ChaincodeStub) InvokeChaincode

func (fake *ChaincodeStub) InvokeChaincode(arg1 string, arg2 [][]byte, arg3 string) peer.Response

func (*ChaincodeStub) InvokeChaincodeArgsForCall

func (fake *ChaincodeStub) InvokeChaincodeArgsForCall(i int) (string, [][]byte, string)

func (*ChaincodeStub) InvokeChaincodeCallCount

func (fake *ChaincodeStub) InvokeChaincodeCallCount() int

func (*ChaincodeStub) InvokeChaincodeCalls added in v1.4.0

func (fake *ChaincodeStub) InvokeChaincodeCalls(stub func(string, [][]byte, string) peer.Response)

func (*ChaincodeStub) InvokeChaincodeReturns

func (fake *ChaincodeStub) InvokeChaincodeReturns(result1 peer.Response)

func (*ChaincodeStub) InvokeChaincodeReturnsOnCall

func (fake *ChaincodeStub) InvokeChaincodeReturnsOnCall(i int, result1 peer.Response)

func (*ChaincodeStub) PutPrivateData

func (fake *ChaincodeStub) PutPrivateData(arg1 string, arg2 string, arg3 []byte) error

func (*ChaincodeStub) PutPrivateDataArgsForCall

func (fake *ChaincodeStub) PutPrivateDataArgsForCall(i int) (string, string, []byte)

func (*ChaincodeStub) PutPrivateDataCallCount

func (fake *ChaincodeStub) PutPrivateDataCallCount() int

func (*ChaincodeStub) PutPrivateDataCalls added in v1.4.0

func (fake *ChaincodeStub) PutPrivateDataCalls(stub func(string, string, []byte) error)

func (*ChaincodeStub) PutPrivateDataReturns

func (fake *ChaincodeStub) PutPrivateDataReturns(result1 error)

func (*ChaincodeStub) PutPrivateDataReturnsOnCall

func (fake *ChaincodeStub) PutPrivateDataReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) PutState

func (fake *ChaincodeStub) PutState(arg1 string, arg2 []byte) error

func (*ChaincodeStub) PutStateArgsForCall

func (fake *ChaincodeStub) PutStateArgsForCall(i int) (string, []byte)

func (*ChaincodeStub) PutStateCallCount

func (fake *ChaincodeStub) PutStateCallCount() int

func (*ChaincodeStub) PutStateCalls added in v1.4.0

func (fake *ChaincodeStub) PutStateCalls(stub func(string, []byte) error)

func (*ChaincodeStub) PutStateReturns

func (fake *ChaincodeStub) PutStateReturns(result1 error)

func (*ChaincodeStub) PutStateReturnsOnCall

func (fake *ChaincodeStub) PutStateReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) SetEvent

func (fake *ChaincodeStub) SetEvent(arg1 string, arg2 []byte) error

func (*ChaincodeStub) SetEventArgsForCall

func (fake *ChaincodeStub) SetEventArgsForCall(i int) (string, []byte)

func (*ChaincodeStub) SetEventCallCount

func (fake *ChaincodeStub) SetEventCallCount() int

func (*ChaincodeStub) SetEventCalls added in v1.4.0

func (fake *ChaincodeStub) SetEventCalls(stub func(string, []byte) error)

func (*ChaincodeStub) SetEventReturns

func (fake *ChaincodeStub) SetEventReturns(result1 error)

func (*ChaincodeStub) SetEventReturnsOnCall

func (fake *ChaincodeStub) SetEventReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) SetPrivateDataValidationParameter

func (fake *ChaincodeStub) SetPrivateDataValidationParameter(arg1 string, arg2 string, arg3 []byte) error

func (*ChaincodeStub) SetPrivateDataValidationParameterArgsForCall

func (fake *ChaincodeStub) SetPrivateDataValidationParameterArgsForCall(i int) (string, string, []byte)

func (*ChaincodeStub) SetPrivateDataValidationParameterCallCount

func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int

func (*ChaincodeStub) SetPrivateDataValidationParameterCalls added in v1.4.0

func (fake *ChaincodeStub) SetPrivateDataValidationParameterCalls(stub func(string, string, []byte) error)

func (*ChaincodeStub) SetPrivateDataValidationParameterReturns

func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturns(result1 error)

func (*ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall

func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) SetStateValidationParameter

func (fake *ChaincodeStub) SetStateValidationParameter(arg1 string, arg2 []byte) error

func (*ChaincodeStub) SetStateValidationParameterArgsForCall

func (fake *ChaincodeStub) SetStateValidationParameterArgsForCall(i int) (string, []byte)

func (*ChaincodeStub) SetStateValidationParameterCallCount

func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int

func (*ChaincodeStub) SetStateValidationParameterCalls added in v1.4.0

func (fake *ChaincodeStub) SetStateValidationParameterCalls(stub func(string, []byte) error)

func (*ChaincodeStub) SetStateValidationParameterReturns

func (fake *ChaincodeStub) SetStateValidationParameterReturns(result1 error)

func (*ChaincodeStub) SetStateValidationParameterReturnsOnCall

func (fake *ChaincodeStub) SetStateValidationParameterReturnsOnCall(i int, result1 error)

func (*ChaincodeStub) SplitCompositeKey

func (fake *ChaincodeStub) SplitCompositeKey(arg1 string) (string, []string, error)

func (*ChaincodeStub) SplitCompositeKeyArgsForCall

func (fake *ChaincodeStub) SplitCompositeKeyArgsForCall(i int) string

func (*ChaincodeStub) SplitCompositeKeyCallCount

func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int

func (*ChaincodeStub) SplitCompositeKeyCalls added in v1.4.0

func (fake *ChaincodeStub) SplitCompositeKeyCalls(stub func(string) (string, []string, error))

func (*ChaincodeStub) SplitCompositeKeyReturns

func (fake *ChaincodeStub) SplitCompositeKeyReturns(result1 string, result2 []string, result3 error)

func (*ChaincodeStub) SplitCompositeKeyReturnsOnCall

func (fake *ChaincodeStub) SplitCompositeKeyReturnsOnCall(i int, result1 string, result2 []string, result3 error)

type ChannelConfig

type ChannelConfig 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 (*ChannelConfig) ApplicationConfig

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

func (*ChannelConfig) ApplicationConfigCallCount

func (fake *ChannelConfig) ApplicationConfigCallCount() int

func (*ChannelConfig) ApplicationConfigCalls

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

func (*ChannelConfig) ApplicationConfigReturns

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

func (*ChannelConfig) ApplicationConfigReturnsOnCall

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

func (*ChannelConfig) ChannelConfig

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

func (*ChannelConfig) ChannelConfigCallCount

func (fake *ChannelConfig) ChannelConfigCallCount() int

func (*ChannelConfig) ChannelConfigCalls

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

func (*ChannelConfig) ChannelConfigReturns

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

func (*ChannelConfig) ChannelConfigReturnsOnCall

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

func (*ChannelConfig) ConfigtxValidator

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

func (*ChannelConfig) ConfigtxValidatorCallCount

func (fake *ChannelConfig) ConfigtxValidatorCallCount() int

func (*ChannelConfig) ConfigtxValidatorCalls

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

func (*ChannelConfig) ConfigtxValidatorReturns

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

func (*ChannelConfig) ConfigtxValidatorReturnsOnCall

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

func (*ChannelConfig) ConsortiumsConfig

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

func (*ChannelConfig) ConsortiumsConfigCallCount

func (fake *ChannelConfig) ConsortiumsConfigCallCount() int

func (*ChannelConfig) ConsortiumsConfigCalls

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

func (*ChannelConfig) ConsortiumsConfigReturns

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

func (*ChannelConfig) ConsortiumsConfigReturnsOnCall

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

func (*ChannelConfig) Invocations

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

func (*ChannelConfig) MSPManager

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

func (*ChannelConfig) MSPManagerCallCount

func (fake *ChannelConfig) MSPManagerCallCount() int

func (*ChannelConfig) MSPManagerCalls

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

func (*ChannelConfig) MSPManagerReturns

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

func (*ChannelConfig) MSPManagerReturnsOnCall

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

func (*ChannelConfig) OrdererConfig

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

func (*ChannelConfig) OrdererConfigCallCount

func (fake *ChannelConfig) OrdererConfigCallCount() int

func (*ChannelConfig) OrdererConfigCalls

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

func (*ChannelConfig) OrdererConfigReturns

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

func (*ChannelConfig) OrdererConfigReturnsOnCall

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

func (*ChannelConfig) PolicyManager

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

func (*ChannelConfig) PolicyManagerCallCount

func (fake *ChannelConfig) PolicyManagerCallCount() int

func (*ChannelConfig) PolicyManagerCalls

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

func (*ChannelConfig) PolicyManagerReturns

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

func (*ChannelConfig) PolicyManagerReturnsOnCall

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

func (*ChannelConfig) ValidateNew

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

func (*ChannelConfig) ValidateNewArgsForCall

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

func (*ChannelConfig) ValidateNewCallCount

func (fake *ChannelConfig) ValidateNewCallCount() int

func (*ChannelConfig) ValidateNewCalls

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

func (*ChannelConfig) ValidateNewReturns

func (fake *ChannelConfig) ValidateNewReturns(result1 error)

func (*ChannelConfig) ValidateNewReturnsOnCall

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

type ChannelConfigSource

type ChannelConfigSource struct {
	GetStableChannelConfigStub func(string) channelconfig.Resources
	// contains filtered or unexported fields
}

func (*ChannelConfigSource) GetStableChannelConfig

func (fake *ChannelConfigSource) GetStableChannelConfig(arg1 string) channelconfig.Resources

func (*ChannelConfigSource) GetStableChannelConfigArgsForCall

func (fake *ChannelConfigSource) GetStableChannelConfigArgsForCall(i int) string

func (*ChannelConfigSource) GetStableChannelConfigCallCount

func (fake *ChannelConfigSource) GetStableChannelConfigCallCount() int

func (*ChannelConfigSource) GetStableChannelConfigCalls

func (fake *ChannelConfigSource) GetStableChannelConfigCalls(stub func(string) channelconfig.Resources)

func (*ChannelConfigSource) GetStableChannelConfigReturns

func (fake *ChannelConfigSource) GetStableChannelConfigReturns(result1 channelconfig.Resources)

func (*ChannelConfigSource) GetStableChannelConfigReturnsOnCall

func (fake *ChannelConfigSource) GetStableChannelConfigReturnsOnCall(i int, result1 channelconfig.Resources)

func (*ChannelConfigSource) Invocations

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

type InstallListener

type InstallListener struct {
	HandleChaincodeInstalledStub func(*persistence.ChaincodePackageMetadata, persistencea.PackageID)
	// contains filtered or unexported fields
}

func (*InstallListener) HandleChaincodeInstalled

func (fake *InstallListener) HandleChaincodeInstalled(arg1 *persistence.ChaincodePackageMetadata, arg2 persistencea.PackageID)

func (*InstallListener) HandleChaincodeInstalledArgsForCall

func (fake *InstallListener) HandleChaincodeInstalledArgsForCall(i int) (*persistence.ChaincodePackageMetadata, persistencea.PackageID)

func (*InstallListener) HandleChaincodeInstalledCallCount

func (fake *InstallListener) HandleChaincodeInstalledCallCount() int

func (*InstallListener) HandleChaincodeInstalledCalls

func (fake *InstallListener) HandleChaincodeInstalledCalls(stub func(*persistence.ChaincodePackageMetadata, persistencea.PackageID))

func (*InstallListener) Invocations

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

type LegacyDeployedCCInfoProvider

type LegacyDeployedCCInfoProvider struct {
	ChaincodeInfoStub func(string, string, ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)

	CollectionInfoStub func(string, string, string, ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error)

	ImplicitCollectionsStub func(string, string, ledger.SimpleQueryExecutor) ([]*common.StaticCollectionConfig, error)

	NamespacesStub func() []string

	UpdatedChaincodesStub func(map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)
	// contains filtered or unexported fields
}

func (*LegacyDeployedCCInfoProvider) ChaincodeInfo

func (*LegacyDeployedCCInfoProvider) ChaincodeInfoArgsForCall

func (fake *LegacyDeployedCCInfoProvider) ChaincodeInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*LegacyDeployedCCInfoProvider) ChaincodeInfoCallCount

func (fake *LegacyDeployedCCInfoProvider) ChaincodeInfoCallCount() int

func (*LegacyDeployedCCInfoProvider) ChaincodeInfoCalls

func (*LegacyDeployedCCInfoProvider) ChaincodeInfoReturns

func (fake *LegacyDeployedCCInfoProvider) ChaincodeInfoReturns(result1 *ledger.DeployedChaincodeInfo, result2 error)

func (*LegacyDeployedCCInfoProvider) ChaincodeInfoReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) ChaincodeInfoReturnsOnCall(i int, result1 *ledger.DeployedChaincodeInfo, result2 error)

func (*LegacyDeployedCCInfoProvider) CollectionInfo

func (*LegacyDeployedCCInfoProvider) CollectionInfoArgsForCall

func (fake *LegacyDeployedCCInfoProvider) CollectionInfoArgsForCall(i int) (string, string, string, ledger.SimpleQueryExecutor)

func (*LegacyDeployedCCInfoProvider) CollectionInfoCallCount

func (fake *LegacyDeployedCCInfoProvider) CollectionInfoCallCount() int

func (*LegacyDeployedCCInfoProvider) CollectionInfoCalls

func (*LegacyDeployedCCInfoProvider) CollectionInfoReturns

func (fake *LegacyDeployedCCInfoProvider) CollectionInfoReturns(result1 *common.StaticCollectionConfig, result2 error)

func (*LegacyDeployedCCInfoProvider) CollectionInfoReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *common.StaticCollectionConfig, result2 error)

func (*LegacyDeployedCCInfoProvider) ImplicitCollections

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollections(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) ([]*common.StaticCollectionConfig, error)

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsArgsForCall

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollectionsArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsCallCount

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollectionsCallCount() int

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsCalls

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollectionsCalls(stub func(string, string, ledger.SimpleQueryExecutor) ([]*common.StaticCollectionConfig, error))

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsReturns

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollectionsReturns(result1 []*common.StaticCollectionConfig, result2 error)

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollectionsReturnsOnCall(i int, result1 []*common.StaticCollectionConfig, result2 error)

func (*LegacyDeployedCCInfoProvider) Invocations

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

func (*LegacyDeployedCCInfoProvider) Namespaces

func (fake *LegacyDeployedCCInfoProvider) Namespaces() []string

func (*LegacyDeployedCCInfoProvider) NamespacesCallCount

func (fake *LegacyDeployedCCInfoProvider) NamespacesCallCount() int

func (*LegacyDeployedCCInfoProvider) NamespacesCalls

func (fake *LegacyDeployedCCInfoProvider) NamespacesCalls(stub func() []string)

func (*LegacyDeployedCCInfoProvider) NamespacesReturns

func (fake *LegacyDeployedCCInfoProvider) NamespacesReturns(result1 []string)

func (*LegacyDeployedCCInfoProvider) NamespacesReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) NamespacesReturnsOnCall(i int, result1 []string)

func (*LegacyDeployedCCInfoProvider) UpdatedChaincodes

func (fake *LegacyDeployedCCInfoProvider) UpdatedChaincodes(arg1 map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)

func (*LegacyDeployedCCInfoProvider) UpdatedChaincodesArgsForCall

func (fake *LegacyDeployedCCInfoProvider) UpdatedChaincodesArgsForCall(i int) map[string][]*kvrwset.KVWrite

func (*LegacyDeployedCCInfoProvider) UpdatedChaincodesCallCount

func (fake *LegacyDeployedCCInfoProvider) UpdatedChaincodesCallCount() int

func (*LegacyDeployedCCInfoProvider) UpdatedChaincodesCalls

func (fake *LegacyDeployedCCInfoProvider) UpdatedChaincodesCalls(stub func(map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error))

func (*LegacyDeployedCCInfoProvider) UpdatedChaincodesReturns

func (fake *LegacyDeployedCCInfoProvider) UpdatedChaincodesReturns(result1 []*ledger.ChaincodeLifecycleInfo, result2 error)

func (*LegacyDeployedCCInfoProvider) UpdatedChaincodesReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) UpdatedChaincodesReturnsOnCall(i int, result1 []*ledger.ChaincodeLifecycleInfo, result2 error)

type LegacyLifecycle

type LegacyLifecycle struct {
	ChaincodeContainerInfoStub func(string, string, ledger.SimpleQueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)

	ChaincodeDefinitionStub func(string, string, ledger.SimpleQueryExecutor) (ccprovider.ChaincodeDefinition, error)
	// contains filtered or unexported fields
}

func (*LegacyLifecycle) ChaincodeContainerInfo

func (fake *LegacyLifecycle) ChaincodeContainerInfo(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)

func (*LegacyLifecycle) ChaincodeContainerInfoArgsForCall

func (fake *LegacyLifecycle) ChaincodeContainerInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*LegacyLifecycle) ChaincodeContainerInfoCallCount

func (fake *LegacyLifecycle) ChaincodeContainerInfoCallCount() int

func (*LegacyLifecycle) ChaincodeContainerInfoCalls

func (fake *LegacyLifecycle) ChaincodeContainerInfoCalls(stub func(string, string, ledger.SimpleQueryExecutor) (*ccprovider.ChaincodeContainerInfo, error))

func (*LegacyLifecycle) ChaincodeContainerInfoReturns

func (fake *LegacyLifecycle) ChaincodeContainerInfoReturns(result1 *ccprovider.ChaincodeContainerInfo, result2 error)

func (*LegacyLifecycle) ChaincodeContainerInfoReturnsOnCall

func (fake *LegacyLifecycle) ChaincodeContainerInfoReturnsOnCall(i int, result1 *ccprovider.ChaincodeContainerInfo, result2 error)

func (*LegacyLifecycle) ChaincodeDefinition

func (fake *LegacyLifecycle) ChaincodeDefinition(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (ccprovider.ChaincodeDefinition, error)

func (*LegacyLifecycle) ChaincodeDefinitionArgsForCall

func (fake *LegacyLifecycle) ChaincodeDefinitionArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*LegacyLifecycle) ChaincodeDefinitionCallCount

func (fake *LegacyLifecycle) ChaincodeDefinitionCallCount() int

func (*LegacyLifecycle) ChaincodeDefinitionCalls

func (fake *LegacyLifecycle) ChaincodeDefinitionCalls(stub func(string, string, ledger.SimpleQueryExecutor) (ccprovider.ChaincodeDefinition, error))

func (*LegacyLifecycle) ChaincodeDefinitionReturns

func (fake *LegacyLifecycle) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)

func (*LegacyLifecycle) ChaincodeDefinitionReturnsOnCall

func (fake *LegacyLifecycle) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)

func (*LegacyLifecycle) Invocations

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

type PackageParser

type PackageParser struct {
	ParseStub func([]byte) (*persistence.ChaincodePackage, error)
	// contains filtered or unexported fields
}

func (*PackageParser) Invocations

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

func (*PackageParser) Parse

func (fake *PackageParser) Parse(arg1 []byte) (*persistence.ChaincodePackage, error)

func (*PackageParser) ParseArgsForCall

func (fake *PackageParser) ParseArgsForCall(i int) []byte

func (*PackageParser) ParseCallCount

func (fake *PackageParser) ParseCallCount() int

func (*PackageParser) ParseCalls added in v1.4.0

func (fake *PackageParser) ParseCalls(stub func([]byte) (*persistence.ChaincodePackage, error))

func (*PackageParser) ParseReturns

func (fake *PackageParser) ParseReturns(result1 *persistence.ChaincodePackage, result2 error)

func (*PackageParser) ParseReturnsOnCall

func (fake *PackageParser) ParseReturnsOnCall(i int, result1 *persistence.ChaincodePackage, result2 error)

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 ReadWritableState

type ReadWritableState struct {
	DelStateStub func(string) error

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

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

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

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

func (*ReadWritableState) DelState

func (fake *ReadWritableState) DelState(arg1 string) error

func (*ReadWritableState) DelStateArgsForCall

func (fake *ReadWritableState) DelStateArgsForCall(i int) string

func (*ReadWritableState) DelStateCallCount

func (fake *ReadWritableState) DelStateCallCount() int

func (*ReadWritableState) DelStateCalls

func (fake *ReadWritableState) DelStateCalls(stub func(string) error)

func (*ReadWritableState) DelStateReturns

func (fake *ReadWritableState) DelStateReturns(result1 error)

func (*ReadWritableState) DelStateReturnsOnCall

func (fake *ReadWritableState) DelStateReturnsOnCall(i int, result1 error)

func (*ReadWritableState) GetState

func (fake *ReadWritableState) GetState(arg1 string) ([]byte, error)

func (*ReadWritableState) GetStateArgsForCall

func (fake *ReadWritableState) GetStateArgsForCall(i int) string

func (*ReadWritableState) GetStateCallCount

func (fake *ReadWritableState) GetStateCallCount() int

func (*ReadWritableState) GetStateCalls

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

func (*ReadWritableState) GetStateHash

func (fake *ReadWritableState) GetStateHash(arg1 string) ([]byte, error)

func (*ReadWritableState) GetStateHashArgsForCall

func (fake *ReadWritableState) GetStateHashArgsForCall(i int) string

func (*ReadWritableState) GetStateHashCallCount

func (fake *ReadWritableState) GetStateHashCallCount() int

func (*ReadWritableState) GetStateHashCalls

func (fake *ReadWritableState) GetStateHashCalls(stub func(string) ([]byte, error))

func (*ReadWritableState) GetStateHashReturns

func (fake *ReadWritableState) GetStateHashReturns(result1 []byte, result2 error)

func (*ReadWritableState) GetStateHashReturnsOnCall

func (fake *ReadWritableState) GetStateHashReturnsOnCall(i int, result1 []byte, result2 error)

func (*ReadWritableState) GetStateRange

func (fake *ReadWritableState) GetStateRange(arg1 string) (map[string][]byte, error)

func (*ReadWritableState) GetStateRangeArgsForCall

func (fake *ReadWritableState) GetStateRangeArgsForCall(i int) string

func (*ReadWritableState) GetStateRangeCallCount

func (fake *ReadWritableState) GetStateRangeCallCount() int

func (*ReadWritableState) GetStateRangeCalls

func (fake *ReadWritableState) GetStateRangeCalls(stub func(string) (map[string][]byte, error))

func (*ReadWritableState) GetStateRangeReturns

func (fake *ReadWritableState) GetStateRangeReturns(result1 map[string][]byte, result2 error)

func (*ReadWritableState) GetStateRangeReturnsOnCall

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

func (*ReadWritableState) GetStateReturns

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

func (*ReadWritableState) GetStateReturnsOnCall

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

func (*ReadWritableState) Invocations

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

func (*ReadWritableState) PutState

func (fake *ReadWritableState) PutState(arg1 string, arg2 []byte) error

func (*ReadWritableState) PutStateArgsForCall

func (fake *ReadWritableState) PutStateArgsForCall(i int) (string, []byte)

func (*ReadWritableState) PutStateCallCount

func (fake *ReadWritableState) PutStateCallCount() int

func (*ReadWritableState) PutStateCalls

func (fake *ReadWritableState) PutStateCalls(stub func(string, []byte) error)

func (*ReadWritableState) PutStateReturns

func (fake *ReadWritableState) PutStateReturns(result1 error)

func (*ReadWritableState) PutStateReturnsOnCall

func (fake *ReadWritableState) PutStateReturnsOnCall(i int, result1 error)

type ResultsIterator

type ResultsIterator struct {
	CloseStub func()

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

func (*ResultsIterator) Close

func (fake *ResultsIterator) Close()

func (*ResultsIterator) CloseCallCount

func (fake *ResultsIterator) CloseCallCount() int

func (*ResultsIterator) CloseCalls

func (fake *ResultsIterator) CloseCalls(stub func())

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

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

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

type SCCFunctions struct {
	ApproveChaincodeDefinitionForOrgStub func(string, string, *lifecycle.ChaincodeDefinition, persistence.PackageID, lifecycle.ReadableState, lifecycle.ReadWritableState) error

	CommitChaincodeDefinitionStub func(string, string, *lifecycle.ChaincodeDefinition, lifecycle.ReadWritableState, []lifecycle.OpaqueState) ([]bool, error)

	InstallChaincodeStub func([]byte) (*chaincode.InstalledChaincode, error)

	QueryApprovalStatusStub func(string, string, *lifecycle.ChaincodeDefinition, lifecycle.ReadWritableState, []lifecycle.OpaqueState) ([]bool, error)

	QueryChaincodeDefinitionStub func(string, lifecycle.ReadableState) (*lifecycle.ChaincodeDefinition, error)

	QueryInstalledChaincodeStub func(persistence.PackageID) (*chaincode.InstalledChaincode, error)

	QueryInstalledChaincodesStub func() ([]chaincode.InstalledChaincode, error)

	QueryNamespaceDefinitionsStub func(lifecycle.RangeableState) (map[string]string, error)
	// contains filtered or unexported fields
}

func (*SCCFunctions) ApproveChaincodeDefinitionForOrg

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrg(arg1 string, arg2 string, arg3 *lifecycle.ChaincodeDefinition, arg4 persistence.PackageID, arg5 lifecycle.ReadableState, arg6 lifecycle.ReadWritableState) error

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgCallCount

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrgCallCount() int

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgReturns

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrgReturns(result1 error)

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgReturnsOnCall

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrgReturnsOnCall(i int, result1 error)

func (*SCCFunctions) CommitChaincodeDefinition

func (fake *SCCFunctions) CommitChaincodeDefinition(arg1 string, arg2 string, arg3 *lifecycle.ChaincodeDefinition, arg4 lifecycle.ReadWritableState, arg5 []lifecycle.OpaqueState) ([]bool, error)

func (*SCCFunctions) CommitChaincodeDefinitionArgsForCall

func (fake *SCCFunctions) CommitChaincodeDefinitionArgsForCall(i int) (string, string, *lifecycle.ChaincodeDefinition, lifecycle.ReadWritableState, []lifecycle.OpaqueState)

func (*SCCFunctions) CommitChaincodeDefinitionCallCount

func (fake *SCCFunctions) CommitChaincodeDefinitionCallCount() int

func (*SCCFunctions) CommitChaincodeDefinitionCalls

func (fake *SCCFunctions) CommitChaincodeDefinitionCalls(stub func(string, string, *lifecycle.ChaincodeDefinition, lifecycle.ReadWritableState, []lifecycle.OpaqueState) ([]bool, error))

func (*SCCFunctions) CommitChaincodeDefinitionReturns

func (fake *SCCFunctions) CommitChaincodeDefinitionReturns(result1 []bool, result2 error)

func (*SCCFunctions) CommitChaincodeDefinitionReturnsOnCall

func (fake *SCCFunctions) CommitChaincodeDefinitionReturnsOnCall(i int, result1 []bool, result2 error)

func (*SCCFunctions) InstallChaincode added in v1.4.0

func (fake *SCCFunctions) InstallChaincode(arg1 []byte) (*chaincode.InstalledChaincode, error)

func (*SCCFunctions) InstallChaincodeArgsForCall added in v1.4.0

func (fake *SCCFunctions) InstallChaincodeArgsForCall(i int) []byte

func (*SCCFunctions) InstallChaincodeCallCount added in v1.4.0

func (fake *SCCFunctions) InstallChaincodeCallCount() int

func (*SCCFunctions) InstallChaincodeCalls added in v1.4.0

func (fake *SCCFunctions) InstallChaincodeCalls(stub func([]byte) (*chaincode.InstalledChaincode, error))

func (*SCCFunctions) InstallChaincodeReturns added in v1.4.0

func (fake *SCCFunctions) InstallChaincodeReturns(result1 *chaincode.InstalledChaincode, result2 error)

func (*SCCFunctions) InstallChaincodeReturnsOnCall added in v1.4.0

func (fake *SCCFunctions) InstallChaincodeReturnsOnCall(i int, result1 *chaincode.InstalledChaincode, result2 error)

func (*SCCFunctions) Invocations added in v1.4.0

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

func (*SCCFunctions) QueryApprovalStatus

func (fake *SCCFunctions) QueryApprovalStatus(arg1 string, arg2 string, arg3 *lifecycle.ChaincodeDefinition, arg4 lifecycle.ReadWritableState, arg5 []lifecycle.OpaqueState) ([]bool, error)

func (*SCCFunctions) QueryApprovalStatusArgsForCall

func (*SCCFunctions) QueryApprovalStatusCallCount

func (fake *SCCFunctions) QueryApprovalStatusCallCount() int

func (*SCCFunctions) QueryApprovalStatusCalls

func (fake *SCCFunctions) QueryApprovalStatusCalls(stub func(string, string, *lifecycle.ChaincodeDefinition, lifecycle.ReadWritableState, []lifecycle.OpaqueState) ([]bool, error))

func (*SCCFunctions) QueryApprovalStatusReturns

func (fake *SCCFunctions) QueryApprovalStatusReturns(result1 []bool, result2 error)

func (*SCCFunctions) QueryApprovalStatusReturnsOnCall

func (fake *SCCFunctions) QueryApprovalStatusReturnsOnCall(i int, result1 []bool, result2 error)

func (*SCCFunctions) QueryChaincodeDefinition

func (fake *SCCFunctions) QueryChaincodeDefinition(arg1 string, arg2 lifecycle.ReadableState) (*lifecycle.ChaincodeDefinition, error)

func (*SCCFunctions) QueryChaincodeDefinitionArgsForCall

func (fake *SCCFunctions) QueryChaincodeDefinitionArgsForCall(i int) (string, lifecycle.ReadableState)

func (*SCCFunctions) QueryChaincodeDefinitionCallCount

func (fake *SCCFunctions) QueryChaincodeDefinitionCallCount() int

func (*SCCFunctions) QueryChaincodeDefinitionCalls

func (fake *SCCFunctions) QueryChaincodeDefinitionCalls(stub func(string, lifecycle.ReadableState) (*lifecycle.ChaincodeDefinition, error))

func (*SCCFunctions) QueryChaincodeDefinitionReturns

func (fake *SCCFunctions) QueryChaincodeDefinitionReturns(result1 *lifecycle.ChaincodeDefinition, result2 error)

func (*SCCFunctions) QueryChaincodeDefinitionReturnsOnCall

func (fake *SCCFunctions) QueryChaincodeDefinitionReturnsOnCall(i int, result1 *lifecycle.ChaincodeDefinition, result2 error)

func (*SCCFunctions) QueryInstalledChaincode added in v1.4.0

func (fake *SCCFunctions) QueryInstalledChaincode(arg1 persistence.PackageID) (*chaincode.InstalledChaincode, error)

func (*SCCFunctions) QueryInstalledChaincodeArgsForCall added in v1.4.0

func (fake *SCCFunctions) QueryInstalledChaincodeArgsForCall(i int) persistence.PackageID

func (*SCCFunctions) QueryInstalledChaincodeCallCount added in v1.4.0

func (fake *SCCFunctions) QueryInstalledChaincodeCallCount() int

func (*SCCFunctions) QueryInstalledChaincodeCalls added in v1.4.0

func (fake *SCCFunctions) QueryInstalledChaincodeCalls(stub func(persistence.PackageID) (*chaincode.InstalledChaincode, error))

func (*SCCFunctions) QueryInstalledChaincodeReturns added in v1.4.0

func (fake *SCCFunctions) QueryInstalledChaincodeReturns(result1 *chaincode.InstalledChaincode, result2 error)

func (*SCCFunctions) QueryInstalledChaincodeReturnsOnCall added in v1.4.0

func (fake *SCCFunctions) QueryInstalledChaincodeReturnsOnCall(i int, result1 *chaincode.InstalledChaincode, result2 error)

func (*SCCFunctions) QueryInstalledChaincodes

func (fake *SCCFunctions) QueryInstalledChaincodes() ([]chaincode.InstalledChaincode, error)

func (*SCCFunctions) QueryInstalledChaincodesCallCount

func (fake *SCCFunctions) QueryInstalledChaincodesCallCount() int

func (*SCCFunctions) QueryInstalledChaincodesCalls

func (fake *SCCFunctions) QueryInstalledChaincodesCalls(stub func() ([]chaincode.InstalledChaincode, error))

func (*SCCFunctions) QueryInstalledChaincodesReturns

func (fake *SCCFunctions) QueryInstalledChaincodesReturns(result1 []chaincode.InstalledChaincode, result2 error)

func (*SCCFunctions) QueryInstalledChaincodesReturnsOnCall

func (fake *SCCFunctions) QueryInstalledChaincodesReturnsOnCall(i int, result1 []chaincode.InstalledChaincode, result2 error)

func (*SCCFunctions) QueryNamespaceDefinitions

func (fake *SCCFunctions) QueryNamespaceDefinitions(arg1 lifecycle.RangeableState) (map[string]string, error)

func (*SCCFunctions) QueryNamespaceDefinitionsArgsForCall

func (fake *SCCFunctions) QueryNamespaceDefinitionsArgsForCall(i int) lifecycle.RangeableState

func (*SCCFunctions) QueryNamespaceDefinitionsCallCount

func (fake *SCCFunctions) QueryNamespaceDefinitionsCallCount() int

func (*SCCFunctions) QueryNamespaceDefinitionsCalls

func (fake *SCCFunctions) QueryNamespaceDefinitionsCalls(stub func(lifecycle.RangeableState) (map[string]string, error))

func (*SCCFunctions) QueryNamespaceDefinitionsReturns

func (fake *SCCFunctions) QueryNamespaceDefinitionsReturns(result1 map[string]string, result2 error)

func (*SCCFunctions) QueryNamespaceDefinitionsReturnsOnCall

func (fake *SCCFunctions) QueryNamespaceDefinitionsReturnsOnCall(i int, result1 map[string]string, result2 error)

type SimpleQueryExecutor

type SimpleQueryExecutor struct {
	GetPrivateDataHashStub func(string, string, string) ([]byte, error)

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

	GetStateRangeScanIteratorStub func(string, string, string) (ledger.ResultsIterator, error)
	// contains filtered or unexported fields
}

func (*SimpleQueryExecutor) GetPrivateDataHash

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

func (*SimpleQueryExecutor) GetPrivateDataHashArgsForCall

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

func (*SimpleQueryExecutor) GetPrivateDataHashCallCount

func (fake *SimpleQueryExecutor) GetPrivateDataHashCallCount() int

func (*SimpleQueryExecutor) GetPrivateDataHashCalls

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

func (*SimpleQueryExecutor) GetPrivateDataHashReturns

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

func (*SimpleQueryExecutor) GetPrivateDataHashReturnsOnCall

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

func (*SimpleQueryExecutor) GetState

func (fake *SimpleQueryExecutor) GetState(arg1 string, arg2 string) ([]byte, error)

func (*SimpleQueryExecutor) GetStateArgsForCall

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

func (*SimpleQueryExecutor) GetStateCallCount

func (fake *SimpleQueryExecutor) GetStateCallCount() int

func (*SimpleQueryExecutor) GetStateCalls

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

func (*SimpleQueryExecutor) GetStateRangeScanIterator

func (fake *SimpleQueryExecutor) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)

func (*SimpleQueryExecutor) GetStateRangeScanIteratorArgsForCall

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

func (*SimpleQueryExecutor) GetStateRangeScanIteratorCallCount

func (fake *SimpleQueryExecutor) GetStateRangeScanIteratorCallCount() int

func (*SimpleQueryExecutor) GetStateRangeScanIteratorCalls

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

func (*SimpleQueryExecutor) GetStateRangeScanIteratorReturns

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

func (*SimpleQueryExecutor) GetStateRangeScanIteratorReturnsOnCall

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

func (*SimpleQueryExecutor) GetStateReturns

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

func (*SimpleQueryExecutor) GetStateReturnsOnCall

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

func (*SimpleQueryExecutor) Invocations

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

type StateIterator

type StateIterator struct {
	CloseStub func() error

	HasNextStub func() bool

	NextStub func() (*queryresult.KV, error)
	// contains filtered or unexported fields
}

func (*StateIterator) Close

func (fake *StateIterator) Close() error

func (*StateIterator) CloseCallCount

func (fake *StateIterator) CloseCallCount() int

func (*StateIterator) CloseCalls

func (fake *StateIterator) CloseCalls(stub func() error)

func (*StateIterator) CloseReturns

func (fake *StateIterator) CloseReturns(result1 error)

func (*StateIterator) CloseReturnsOnCall

func (fake *StateIterator) CloseReturnsOnCall(i int, result1 error)

func (*StateIterator) HasNext

func (fake *StateIterator) HasNext() bool

func (*StateIterator) HasNextCallCount

func (fake *StateIterator) HasNextCallCount() int

func (*StateIterator) HasNextCalls

func (fake *StateIterator) HasNextCalls(stub func() bool)

func (*StateIterator) HasNextReturns

func (fake *StateIterator) HasNextReturns(result1 bool)

func (*StateIterator) HasNextReturnsOnCall

func (fake *StateIterator) HasNextReturnsOnCall(i int, result1 bool)

func (*StateIterator) Invocations

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

func (*StateIterator) Next

func (fake *StateIterator) Next() (*queryresult.KV, error)

func (*StateIterator) NextCallCount

func (fake *StateIterator) NextCallCount() int

func (*StateIterator) NextCalls

func (fake *StateIterator) NextCalls(stub func() (*queryresult.KV, error))

func (*StateIterator) NextReturns

func (fake *StateIterator) NextReturns(result1 *queryresult.KV, result2 error)

func (*StateIterator) NextReturnsOnCall

func (fake *StateIterator) NextReturnsOnCall(i int, result1 *queryresult.KV, result2 error)

type ValidationState

type ValidationState struct {
	DoneStub func()

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

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

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

	GetStateRangeScanIteratorStub func(string, string, string) (validation.ResultsIterator, error)
	// contains filtered or unexported fields
}

func (*ValidationState) Done

func (fake *ValidationState) Done()

func (*ValidationState) DoneCallCount

func (fake *ValidationState) DoneCallCount() int

func (*ValidationState) DoneCalls

func (fake *ValidationState) DoneCalls(stub func())

func (*ValidationState) GetPrivateDataMetadataByHash

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

func (*ValidationState) GetPrivateDataMetadataByHashArgsForCall

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

func (*ValidationState) GetPrivateDataMetadataByHashCallCount

func (fake *ValidationState) GetPrivateDataMetadataByHashCallCount() int

func (*ValidationState) GetPrivateDataMetadataByHashCalls

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

func (*ValidationState) GetPrivateDataMetadataByHashReturns

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

func (*ValidationState) GetPrivateDataMetadataByHashReturnsOnCall

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

func (*ValidationState) GetStateMetadata

func (fake *ValidationState) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)

func (*ValidationState) GetStateMetadataArgsForCall

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

func (*ValidationState) GetStateMetadataCallCount

func (fake *ValidationState) GetStateMetadataCallCount() int

func (*ValidationState) GetStateMetadataCalls

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

func (*ValidationState) GetStateMetadataReturns

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

func (*ValidationState) GetStateMetadataReturnsOnCall

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

func (*ValidationState) GetStateMultipleKeys

func (fake *ValidationState) GetStateMultipleKeys(arg1 string, arg2 []string) ([][]byte, error)

func (*ValidationState) GetStateMultipleKeysArgsForCall

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

func (*ValidationState) GetStateMultipleKeysCallCount

func (fake *ValidationState) GetStateMultipleKeysCallCount() int

func (*ValidationState) GetStateMultipleKeysCalls

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

func (*ValidationState) GetStateMultipleKeysReturns

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

func (*ValidationState) GetStateMultipleKeysReturnsOnCall

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

func (*ValidationState) GetStateRangeScanIterator

func (fake *ValidationState) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (validation.ResultsIterator, error)

func (*ValidationState) GetStateRangeScanIteratorArgsForCall

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

func (*ValidationState) GetStateRangeScanIteratorCallCount

func (fake *ValidationState) GetStateRangeScanIteratorCallCount() int

func (*ValidationState) GetStateRangeScanIteratorCalls

func (fake *ValidationState) GetStateRangeScanIteratorCalls(stub func(string, string, string) (validation.ResultsIterator, error))

func (*ValidationState) GetStateRangeScanIteratorReturns

func (fake *ValidationState) GetStateRangeScanIteratorReturns(result1 validation.ResultsIterator, result2 error)

func (*ValidationState) GetStateRangeScanIteratorReturnsOnCall

func (fake *ValidationState) GetStateRangeScanIteratorReturnsOnCall(i int, result1 validation.ResultsIterator, result2 error)

func (*ValidationState) Invocations

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

Jump to

Keyboard shortcuts

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