mock

package
v2.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLProvider

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

func (*ACLProvider) CheckACL

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

func (*ACLProvider) CheckACLArgsForCall

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

func (*ACLProvider) CheckACLCallCount

func (fake *ACLProvider) CheckACLCallCount() int

func (*ACLProvider) CheckACLCalls

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

func (*ACLProvider) CheckACLReturns

func (fake *ACLProvider) CheckACLReturns(result1 error)

func (*ACLProvider) CheckACLReturnsOnCall

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

func (*ACLProvider) Invocations

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

type ApplicationCapabilities

type ApplicationCapabilities struct {
	ACLsStub func() bool

	CollectionUpgradeStub func() bool

	ForbidDuplicateTXIdInBlockStub func() bool

	KeyLevelEndorsementStub func() bool

	LifecycleV20Stub func() bool

	MetadataLifecycleStub func() bool

	PrivateChannelDataStub func() bool

	StorePvtDataOfInvalidTxStub func() bool

	SupportedStub func() error

	V1_1ValidationStub func() bool

	V1_2ValidationStub func() bool

	V1_3ValidationStub func() bool

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

func (*ApplicationCapabilities) ACLs

func (fake *ApplicationCapabilities) ACLs() bool

func (*ApplicationCapabilities) ACLsCallCount

func (fake *ApplicationCapabilities) ACLsCallCount() int

func (*ApplicationCapabilities) ACLsCalls

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

func (*ApplicationCapabilities) ACLsReturns

func (fake *ApplicationCapabilities) ACLsReturns(result1 bool)

func (*ApplicationCapabilities) ACLsReturnsOnCall

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

func (*ApplicationCapabilities) CollectionUpgrade

func (fake *ApplicationCapabilities) CollectionUpgrade() bool

func (*ApplicationCapabilities) CollectionUpgradeCallCount

func (fake *ApplicationCapabilities) CollectionUpgradeCallCount() int

func (*ApplicationCapabilities) CollectionUpgradeCalls

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

func (*ApplicationCapabilities) CollectionUpgradeReturns

func (fake *ApplicationCapabilities) CollectionUpgradeReturns(result1 bool)

func (*ApplicationCapabilities) CollectionUpgradeReturnsOnCall

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

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlock

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlock() bool

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockCallCount() int

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockCalls

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

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns

func (fake *ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturns(result1 bool)

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlockReturnsOnCall

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

func (*ApplicationCapabilities) Invocations

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

func (*ApplicationCapabilities) KeyLevelEndorsement

func (fake *ApplicationCapabilities) KeyLevelEndorsement() bool

func (*ApplicationCapabilities) KeyLevelEndorsementCallCount

func (fake *ApplicationCapabilities) KeyLevelEndorsementCallCount() int

func (*ApplicationCapabilities) KeyLevelEndorsementCalls

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

func (*ApplicationCapabilities) KeyLevelEndorsementReturns

func (fake *ApplicationCapabilities) KeyLevelEndorsementReturns(result1 bool)

func (*ApplicationCapabilities) KeyLevelEndorsementReturnsOnCall

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

func (*ApplicationCapabilities) LifecycleV20

func (fake *ApplicationCapabilities) LifecycleV20() bool

func (*ApplicationCapabilities) LifecycleV20CallCount

func (fake *ApplicationCapabilities) LifecycleV20CallCount() int

func (*ApplicationCapabilities) LifecycleV20Calls

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

func (*ApplicationCapabilities) LifecycleV20Returns

func (fake *ApplicationCapabilities) LifecycleV20Returns(result1 bool)

func (*ApplicationCapabilities) LifecycleV20ReturnsOnCall

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

func (*ApplicationCapabilities) MetadataLifecycle

func (fake *ApplicationCapabilities) MetadataLifecycle() bool

func (*ApplicationCapabilities) MetadataLifecycleCallCount

func (fake *ApplicationCapabilities) MetadataLifecycleCallCount() int

func (*ApplicationCapabilities) MetadataLifecycleCalls

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

func (*ApplicationCapabilities) MetadataLifecycleReturns

func (fake *ApplicationCapabilities) MetadataLifecycleReturns(result1 bool)

func (*ApplicationCapabilities) MetadataLifecycleReturnsOnCall

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

func (*ApplicationCapabilities) PrivateChannelData

func (fake *ApplicationCapabilities) PrivateChannelData() bool

func (*ApplicationCapabilities) PrivateChannelDataCallCount

func (fake *ApplicationCapabilities) PrivateChannelDataCallCount() int

func (*ApplicationCapabilities) PrivateChannelDataCalls

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

func (*ApplicationCapabilities) PrivateChannelDataReturns

func (fake *ApplicationCapabilities) PrivateChannelDataReturns(result1 bool)

func (*ApplicationCapabilities) PrivateChannelDataReturnsOnCall

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

func (*ApplicationCapabilities) StorePvtDataOfInvalidTx

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTx() bool

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxCallCount

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTxCallCount() int

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxCalls

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

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxReturns

func (fake *ApplicationCapabilities) StorePvtDataOfInvalidTxReturns(result1 bool)

func (*ApplicationCapabilities) StorePvtDataOfInvalidTxReturnsOnCall

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

func (*ApplicationCapabilities) Supported

func (fake *ApplicationCapabilities) Supported() error

func (*ApplicationCapabilities) SupportedCallCount

func (fake *ApplicationCapabilities) SupportedCallCount() int

func (*ApplicationCapabilities) SupportedCalls

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

func (*ApplicationCapabilities) SupportedReturns

func (fake *ApplicationCapabilities) SupportedReturns(result1 error)

func (*ApplicationCapabilities) SupportedReturnsOnCall

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

func (*ApplicationCapabilities) V1_1Validation

func (fake *ApplicationCapabilities) V1_1Validation() bool

func (*ApplicationCapabilities) V1_1ValidationCallCount

func (fake *ApplicationCapabilities) V1_1ValidationCallCount() int

func (*ApplicationCapabilities) V1_1ValidationCalls

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

func (*ApplicationCapabilities) V1_1ValidationReturns

func (fake *ApplicationCapabilities) V1_1ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V1_1ValidationReturnsOnCall

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

func (*ApplicationCapabilities) V1_2Validation

func (fake *ApplicationCapabilities) V1_2Validation() bool

func (*ApplicationCapabilities) V1_2ValidationCallCount

func (fake *ApplicationCapabilities) V1_2ValidationCallCount() int

func (*ApplicationCapabilities) V1_2ValidationCalls

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

func (*ApplicationCapabilities) V1_2ValidationReturns

func (fake *ApplicationCapabilities) V1_2ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V1_2ValidationReturnsOnCall

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

func (*ApplicationCapabilities) V1_3Validation

func (fake *ApplicationCapabilities) V1_3Validation() bool

func (*ApplicationCapabilities) V1_3ValidationCallCount

func (fake *ApplicationCapabilities) V1_3ValidationCallCount() int

func (*ApplicationCapabilities) V1_3ValidationCalls

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

func (*ApplicationCapabilities) V1_3ValidationReturns

func (fake *ApplicationCapabilities) V1_3ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V1_3ValidationReturnsOnCall

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

func (*ApplicationCapabilities) V2_0Validation

func (fake *ApplicationCapabilities) V2_0Validation() bool

func (*ApplicationCapabilities) V2_0ValidationCallCount

func (fake *ApplicationCapabilities) V2_0ValidationCallCount() int

func (*ApplicationCapabilities) V2_0ValidationCalls

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

func (*ApplicationCapabilities) V2_0ValidationReturns

func (fake *ApplicationCapabilities) V2_0ValidationReturns(result1 bool)

func (*ApplicationCapabilities) V2_0ValidationReturnsOnCall

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

type ApplicationConfig

type ApplicationConfig struct {
	APIPolicyMapperStub func() channelconfig.PolicyMapper

	CapabilitiesStub func() channelconfig.ApplicationCapabilities

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

func (*ApplicationConfig) APIPolicyMapper

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

func (*ApplicationConfig) APIPolicyMapperCallCount

func (fake *ApplicationConfig) APIPolicyMapperCallCount() int

func (*ApplicationConfig) APIPolicyMapperCalls

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

func (*ApplicationConfig) APIPolicyMapperReturns

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

func (*ApplicationConfig) APIPolicyMapperReturnsOnCall

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

func (*ApplicationConfig) Capabilities

func (*ApplicationConfig) CapabilitiesCallCount

func (fake *ApplicationConfig) CapabilitiesCallCount() int

func (*ApplicationConfig) CapabilitiesCalls

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

func (*ApplicationConfig) CapabilitiesReturns

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

func (*ApplicationConfig) CapabilitiesReturnsOnCall

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

func (*ApplicationConfig) Invocations

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

func (*ApplicationConfig) Organizations

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

func (*ApplicationConfig) OrganizationsCallCount

func (fake *ApplicationConfig) OrganizationsCallCount() int

func (*ApplicationConfig) OrganizationsCalls

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

func (*ApplicationConfig) OrganizationsReturns

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

func (*ApplicationConfig) OrganizationsReturnsOnCall

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

type ApplicationOrgConfig

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

	MSPStub func() msp.MSP

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

func (fake *ApplicationOrgConfig) MSP() msp.MSP

func (*ApplicationOrgConfig) MSPCallCount

func (fake *ApplicationOrgConfig) MSPCallCount() int

func (*ApplicationOrgConfig) MSPCalls

func (fake *ApplicationOrgConfig) MSPCalls(stub func() msp.MSP)

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

func (fake *ApplicationOrgConfig) MSPReturns(result1 msp.MSP)

func (*ApplicationOrgConfig) MSPReturnsOnCall

func (fake *ApplicationOrgConfig) MSPReturnsOnCall(i int, result1 msp.MSP)

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 ChaincodeBuilder

type ChaincodeBuilder struct {
	BuildStub func(string) error
	// contains filtered or unexported fields
}

func (*ChaincodeBuilder) Build

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

func (*ChaincodeBuilder) BuildArgsForCall

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

func (*ChaincodeBuilder) BuildCallCount

func (fake *ChaincodeBuilder) BuildCallCount() int

func (*ChaincodeBuilder) BuildCalls

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

func (*ChaincodeBuilder) BuildReturns

func (fake *ChaincodeBuilder) BuildReturns(result1 error)

func (*ChaincodeBuilder) BuildReturnsOnCall

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

func (*ChaincodeBuilder) Invocations

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

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 ChaincodeInfoProvider

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

func (*ChaincodeInfoProvider) ChaincodeInfo

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

func (*ChaincodeInfoProvider) ChaincodeInfoArgsForCall

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

func (*ChaincodeInfoProvider) ChaincodeInfoCallCount

func (fake *ChaincodeInfoProvider) ChaincodeInfoCallCount() int

func (*ChaincodeInfoProvider) ChaincodeInfoCalls

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

func (*ChaincodeInfoProvider) ChaincodeInfoReturns

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

func (*ChaincodeInfoProvider) ChaincodeInfoReturnsOnCall

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

func (*ChaincodeInfoProvider) Invocations

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

type ChaincodeLauncher

type ChaincodeLauncher struct {
	LaunchStub func(string) error
	// contains filtered or unexported fields
}

func (*ChaincodeLauncher) Invocations

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

func (*ChaincodeLauncher) Launch

func (fake *ChaincodeLauncher) Launch(arg1 string) error

func (*ChaincodeLauncher) LaunchArgsForCall

func (fake *ChaincodeLauncher) LaunchArgsForCall(i int) string

func (*ChaincodeLauncher) LaunchCallCount

func (fake *ChaincodeLauncher) LaunchCallCount() int

func (*ChaincodeLauncher) LaunchCalls

func (fake *ChaincodeLauncher) LaunchCalls(stub func(string) error)

func (*ChaincodeLauncher) LaunchReturns

func (fake *ChaincodeLauncher) LaunchReturns(result1 error)

func (*ChaincodeLauncher) LaunchReturnsOnCall

func (fake *ChaincodeLauncher) LaunchReturnsOnCall(i int, result1 error)

type ChaincodeStore

type ChaincodeStore struct {
	DeleteStub func(string) error

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

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

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

func (*ChaincodeStore) Delete

func (fake *ChaincodeStore) Delete(arg1 string) error

func (*ChaincodeStore) DeleteArgsForCall

func (fake *ChaincodeStore) DeleteArgsForCall(i int) string

func (*ChaincodeStore) DeleteCallCount

func (fake *ChaincodeStore) DeleteCallCount() int

func (*ChaincodeStore) DeleteCalls

func (fake *ChaincodeStore) DeleteCalls(stub func(string) error)

func (*ChaincodeStore) DeleteReturns

func (fake *ChaincodeStore) DeleteReturns(result1 error)

func (*ChaincodeStore) DeleteReturnsOnCall

func (fake *ChaincodeStore) DeleteReturnsOnCall(i int, result1 error)

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

func (*ChaincodeStore) LoadArgsForCall

func (fake *ChaincodeStore) LoadArgsForCall(i int) string

func (*ChaincodeStore) LoadCallCount

func (fake *ChaincodeStore) LoadCallCount() int

func (*ChaincodeStore) LoadCalls

func (fake *ChaincodeStore) LoadCalls(stub func(string) ([]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) (string, 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.1

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

func (*ChaincodeStore) SaveReturns

func (fake *ChaincodeStore) SaveReturns(result1 string, result2 error)

func (*ChaincodeStore) SaveReturnsOnCall

func (fake *ChaincodeStore) SaveReturnsOnCall(i int, result1 string, 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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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.1

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 ChannelPolicyReferenceProvider

type ChannelPolicyReferenceProvider struct {
	NewPolicyStub func(string, string) (policies.Policy, error)
	// contains filtered or unexported fields
}

func (*ChannelPolicyReferenceProvider) Invocations

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

func (*ChannelPolicyReferenceProvider) NewPolicy

func (fake *ChannelPolicyReferenceProvider) NewPolicy(arg1 string, arg2 string) (policies.Policy, error)

func (*ChannelPolicyReferenceProvider) NewPolicyArgsForCall

func (fake *ChannelPolicyReferenceProvider) NewPolicyArgsForCall(i int) (string, string)

func (*ChannelPolicyReferenceProvider) NewPolicyCallCount

func (fake *ChannelPolicyReferenceProvider) NewPolicyCallCount() int

func (*ChannelPolicyReferenceProvider) NewPolicyCalls

func (fake *ChannelPolicyReferenceProvider) NewPolicyCalls(stub func(string, string) (policies.Policy, error))

func (*ChannelPolicyReferenceProvider) NewPolicyReturns

func (fake *ChannelPolicyReferenceProvider) NewPolicyReturns(result1 policies.Policy, result2 error)

func (*ChannelPolicyReferenceProvider) NewPolicyReturnsOnCall

func (fake *ChannelPolicyReferenceProvider) NewPolicyReturnsOnCall(i int, result1 policies.Policy, result2 error)

type ConvertiblePolicy

type ConvertiblePolicy struct {
	ConvertStub func() (*common.SignaturePolicyEnvelope, error)

	EvaluateIdentitiesStub func([]msp.Identity) error

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

func (*ConvertiblePolicy) Convert

func (*ConvertiblePolicy) ConvertCallCount

func (fake *ConvertiblePolicy) ConvertCallCount() int

func (*ConvertiblePolicy) ConvertCalls

func (fake *ConvertiblePolicy) ConvertCalls(stub func() (*common.SignaturePolicyEnvelope, error))

func (*ConvertiblePolicy) ConvertReturns

func (fake *ConvertiblePolicy) ConvertReturns(result1 *common.SignaturePolicyEnvelope, result2 error)

func (*ConvertiblePolicy) ConvertReturnsOnCall

func (fake *ConvertiblePolicy) ConvertReturnsOnCall(i int, result1 *common.SignaturePolicyEnvelope, result2 error)

func (*ConvertiblePolicy) EvaluateIdentities

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

func (*ConvertiblePolicy) EvaluateIdentitiesArgsForCall

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

func (*ConvertiblePolicy) EvaluateIdentitiesCallCount

func (fake *ConvertiblePolicy) EvaluateIdentitiesCallCount() int

func (*ConvertiblePolicy) EvaluateIdentitiesCalls

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

func (*ConvertiblePolicy) EvaluateIdentitiesReturns

func (fake *ConvertiblePolicy) EvaluateIdentitiesReturns(result1 error)

func (*ConvertiblePolicy) EvaluateIdentitiesReturnsOnCall

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

func (*ConvertiblePolicy) EvaluateSignedData

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

func (*ConvertiblePolicy) EvaluateSignedDataArgsForCall

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

func (*ConvertiblePolicy) EvaluateSignedDataCallCount

func (fake *ConvertiblePolicy) EvaluateSignedDataCallCount() int

func (*ConvertiblePolicy) EvaluateSignedDataCalls

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

func (*ConvertiblePolicy) EvaluateSignedDataReturns

func (fake *ConvertiblePolicy) EvaluateSignedDataReturns(result1 error)

func (*ConvertiblePolicy) EvaluateSignedDataReturnsOnCall

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

func (*ConvertiblePolicy) Invocations

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

type InconvertiblePolicy

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

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

func (*InconvertiblePolicy) EvaluateIdentities

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

func (*InconvertiblePolicy) EvaluateIdentitiesArgsForCall

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

func (*InconvertiblePolicy) EvaluateIdentitiesCallCount

func (fake *InconvertiblePolicy) EvaluateIdentitiesCallCount() int

func (*InconvertiblePolicy) EvaluateIdentitiesCalls

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

func (*InconvertiblePolicy) EvaluateIdentitiesReturns

func (fake *InconvertiblePolicy) EvaluateIdentitiesReturns(result1 error)

func (*InconvertiblePolicy) EvaluateIdentitiesReturnsOnCall

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

func (*InconvertiblePolicy) EvaluateSignedData

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

func (*InconvertiblePolicy) EvaluateSignedDataArgsForCall

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

func (*InconvertiblePolicy) EvaluateSignedDataCallCount

func (fake *InconvertiblePolicy) EvaluateSignedDataCallCount() int

func (*InconvertiblePolicy) EvaluateSignedDataCalls

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

func (*InconvertiblePolicy) EvaluateSignedDataReturns

func (fake *InconvertiblePolicy) EvaluateSignedDataReturns(result1 error)

func (*InconvertiblePolicy) EvaluateSignedDataReturnsOnCall

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

func (*InconvertiblePolicy) Invocations

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

type InstallListener

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

func (*InstallListener) HandleChaincodeInstalled

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

func (*InstallListener) HandleChaincodeInstalledArgsForCall

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

func (*InstallListener) HandleChaincodeInstalledCallCount

func (fake *InstallListener) HandleChaincodeInstalledCallCount() int

func (*InstallListener) HandleChaincodeInstalledCalls

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

func (*InstallListener) Invocations

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

type InstalledChaincodesLister

type InstalledChaincodesLister struct {
	GetInstalledChaincodeStub func(string) (*chaincode.InstalledChaincode, error)

	ListInstalledChaincodesStub func() []*chaincode.InstalledChaincode
	// contains filtered or unexported fields
}

func (*InstalledChaincodesLister) GetInstalledChaincode

func (fake *InstalledChaincodesLister) GetInstalledChaincode(arg1 string) (*chaincode.InstalledChaincode, error)

func (*InstalledChaincodesLister) GetInstalledChaincodeArgsForCall

func (fake *InstalledChaincodesLister) GetInstalledChaincodeArgsForCall(i int) string

func (*InstalledChaincodesLister) GetInstalledChaincodeCallCount

func (fake *InstalledChaincodesLister) GetInstalledChaincodeCallCount() int

func (*InstalledChaincodesLister) GetInstalledChaincodeCalls

func (fake *InstalledChaincodesLister) GetInstalledChaincodeCalls(stub func(string) (*chaincode.InstalledChaincode, error))

func (*InstalledChaincodesLister) GetInstalledChaincodeReturns

func (fake *InstalledChaincodesLister) GetInstalledChaincodeReturns(result1 *chaincode.InstalledChaincode, result2 error)

func (*InstalledChaincodesLister) GetInstalledChaincodeReturnsOnCall

func (fake *InstalledChaincodesLister) GetInstalledChaincodeReturnsOnCall(i int, result1 *chaincode.InstalledChaincode, result2 error)

func (*InstalledChaincodesLister) Invocations

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

func (*InstalledChaincodesLister) ListInstalledChaincodes

func (fake *InstalledChaincodesLister) ListInstalledChaincodes() []*chaincode.InstalledChaincode

func (*InstalledChaincodesLister) ListInstalledChaincodesCallCount

func (fake *InstalledChaincodesLister) ListInstalledChaincodesCallCount() int

func (*InstalledChaincodesLister) ListInstalledChaincodesCalls

func (fake *InstalledChaincodesLister) ListInstalledChaincodesCalls(stub func() []*chaincode.InstalledChaincode)

func (*InstalledChaincodesLister) ListInstalledChaincodesReturns

func (fake *InstalledChaincodesLister) ListInstalledChaincodesReturns(result1 []*chaincode.InstalledChaincode)

func (*InstalledChaincodesLister) ListInstalledChaincodesReturnsOnCall

func (fake *InstalledChaincodesLister) ListInstalledChaincodesReturnsOnCall(i int, result1 []*chaincode.InstalledChaincode)

type LegacyDeployedCCInfoProvider

type LegacyDeployedCCInfoProvider struct {
	AllCollectionsConfigPkgStub func(string, string, ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error)

	ChaincodeInfoStub func(string, string, ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)

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

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

	NamespacesStub func() []string

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

func (*LegacyDeployedCCInfoProvider) AllCollectionsConfigPkg

func (fake *LegacyDeployedCCInfoProvider) AllCollectionsConfigPkg(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error)

func (*LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgArgsForCall

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

func (*LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgCallCount

func (fake *LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgCallCount() int

func (*LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgCalls

func (fake *LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgCalls(stub func(string, string, ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error))

func (*LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgReturns

func (fake *LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgReturns(result1 *peer.CollectionConfigPackage, result2 error)

func (*LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) AllCollectionsConfigPkgReturnsOnCall(i int, result1 *peer.CollectionConfigPackage, result2 error)

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 *peer.StaticCollectionConfig, result2 error)

func (*LegacyDeployedCCInfoProvider) CollectionInfoReturnsOnCall

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

func (*LegacyDeployedCCInfoProvider) ImplicitCollections

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollections(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) ([]*peer.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) ([]*peer.StaticCollectionConfig, error))

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsReturns

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

func (*LegacyDeployedCCInfoProvider) ImplicitCollectionsReturnsOnCall

func (fake *LegacyDeployedCCInfoProvider) ImplicitCollectionsReturnsOnCall(i int, result1 []*peer.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 {
	ChaincodeEndorsementInfoStub func(string, string, ledger.SimpleQueryExecutor) (*lifecycle.ChaincodeEndorsementInfo, error)
	// contains filtered or unexported fields
}

func (*LegacyLifecycle) ChaincodeEndorsementInfo

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

func (*LegacyLifecycle) ChaincodeEndorsementInfoArgsForCall

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

func (*LegacyLifecycle) ChaincodeEndorsementInfoCallCount

func (fake *LegacyLifecycle) ChaincodeEndorsementInfoCallCount() int

func (*LegacyLifecycle) ChaincodeEndorsementInfoCalls

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

func (*LegacyLifecycle) ChaincodeEndorsementInfoReturns

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

func (*LegacyLifecycle) ChaincodeEndorsementInfoReturnsOnCall

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

func (*LegacyLifecycle) Invocations

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

type LegacyMetadataProvider

type LegacyMetadataProvider struct {
	MetadataStub func(string, string, bool) *chaincode.Metadata
	// contains filtered or unexported fields
}

func (*LegacyMetadataProvider) Invocations

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

func (*LegacyMetadataProvider) Metadata

func (fake *LegacyMetadataProvider) Metadata(arg1 string, arg2 string, arg3 bool) *chaincode.Metadata

func (*LegacyMetadataProvider) MetadataArgsForCall

func (fake *LegacyMetadataProvider) MetadataArgsForCall(i int) (string, string, bool)

func (*LegacyMetadataProvider) MetadataCallCount

func (fake *LegacyMetadataProvider) MetadataCallCount() int

func (*LegacyMetadataProvider) MetadataCalls

func (fake *LegacyMetadataProvider) MetadataCalls(stub func(string, string, bool) *chaincode.Metadata)

func (*LegacyMetadataProvider) MetadataReturns

func (fake *LegacyMetadataProvider) MetadataReturns(result1 *chaincode.Metadata)

func (*LegacyMetadataProvider) MetadataReturnsOnCall

func (fake *LegacyMetadataProvider) MetadataReturnsOnCall(i int, result1 *chaincode.Metadata)

type MSP

type MSP struct {
	DeserializeIdentityStub func([]byte) (msp.Identity, error)

	GetDefaultSigningIdentityStub func() (msp.SigningIdentity, error)

	GetIdentifierStub func() (string, error)

	GetSigningIdentityStub func(*msp.IdentityIdentifier) (msp.SigningIdentity, error)

	GetTLSIntermediateCertsStub func() [][]byte

	GetTLSRootCertsStub func() [][]byte

	GetTypeStub func() msp.ProviderType

	GetVersionStub func() msp.MSPVersion

	IsWellFormedStub func(*mspa.SerializedIdentity) error

	SatisfiesPrincipalStub func(msp.Identity, *mspa.MSPPrincipal) error

	SetupStub func(*mspa.MSPConfig) error

	ValidateStub func(msp.Identity) error
	// contains filtered or unexported fields
}

func (*MSP) DeserializeIdentity

func (fake *MSP) DeserializeIdentity(arg1 []byte) (msp.Identity, error)

func (*MSP) DeserializeIdentityArgsForCall

func (fake *MSP) DeserializeIdentityArgsForCall(i int) []byte

func (*MSP) DeserializeIdentityCallCount

func (fake *MSP) DeserializeIdentityCallCount() int

func (*MSP) DeserializeIdentityCalls

func (fake *MSP) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))

func (*MSP) DeserializeIdentityReturns

func (fake *MSP) DeserializeIdentityReturns(result1 msp.Identity, result2 error)

func (*MSP) DeserializeIdentityReturnsOnCall

func (fake *MSP) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)

func (*MSP) GetDefaultSigningIdentity

func (fake *MSP) GetDefaultSigningIdentity() (msp.SigningIdentity, error)

func (*MSP) GetDefaultSigningIdentityCallCount

func (fake *MSP) GetDefaultSigningIdentityCallCount() int

func (*MSP) GetDefaultSigningIdentityCalls

func (fake *MSP) GetDefaultSigningIdentityCalls(stub func() (msp.SigningIdentity, error))

func (*MSP) GetDefaultSigningIdentityReturns

func (fake *MSP) GetDefaultSigningIdentityReturns(result1 msp.SigningIdentity, result2 error)

func (*MSP) GetDefaultSigningIdentityReturnsOnCall

func (fake *MSP) GetDefaultSigningIdentityReturnsOnCall(i int, result1 msp.SigningIdentity, result2 error)

func (*MSP) GetIdentifier

func (fake *MSP) GetIdentifier() (string, error)

func (*MSP) GetIdentifierCallCount

func (fake *MSP) GetIdentifierCallCount() int

func (*MSP) GetIdentifierCalls

func (fake *MSP) GetIdentifierCalls(stub func() (string, error))

func (*MSP) GetIdentifierReturns

func (fake *MSP) GetIdentifierReturns(result1 string, result2 error)

func (*MSP) GetIdentifierReturnsOnCall

func (fake *MSP) GetIdentifierReturnsOnCall(i int, result1 string, result2 error)

func (*MSP) GetSigningIdentity

func (fake *MSP) GetSigningIdentity(arg1 *msp.IdentityIdentifier) (msp.SigningIdentity, error)

func (*MSP) GetSigningIdentityArgsForCall

func (fake *MSP) GetSigningIdentityArgsForCall(i int) *msp.IdentityIdentifier

func (*MSP) GetSigningIdentityCallCount

func (fake *MSP) GetSigningIdentityCallCount() int

func (*MSP) GetSigningIdentityCalls

func (fake *MSP) GetSigningIdentityCalls(stub func(*msp.IdentityIdentifier) (msp.SigningIdentity, error))

func (*MSP) GetSigningIdentityReturns

func (fake *MSP) GetSigningIdentityReturns(result1 msp.SigningIdentity, result2 error)

func (*MSP) GetSigningIdentityReturnsOnCall

func (fake *MSP) GetSigningIdentityReturnsOnCall(i int, result1 msp.SigningIdentity, result2 error)

func (*MSP) GetTLSIntermediateCerts

func (fake *MSP) GetTLSIntermediateCerts() [][]byte

func (*MSP) GetTLSIntermediateCertsCallCount

func (fake *MSP) GetTLSIntermediateCertsCallCount() int

func (*MSP) GetTLSIntermediateCertsCalls

func (fake *MSP) GetTLSIntermediateCertsCalls(stub func() [][]byte)

func (*MSP) GetTLSIntermediateCertsReturns

func (fake *MSP) GetTLSIntermediateCertsReturns(result1 [][]byte)

func (*MSP) GetTLSIntermediateCertsReturnsOnCall

func (fake *MSP) GetTLSIntermediateCertsReturnsOnCall(i int, result1 [][]byte)

func (*MSP) GetTLSRootCerts

func (fake *MSP) GetTLSRootCerts() [][]byte

func (*MSP) GetTLSRootCertsCallCount

func (fake *MSP) GetTLSRootCertsCallCount() int

func (*MSP) GetTLSRootCertsCalls

func (fake *MSP) GetTLSRootCertsCalls(stub func() [][]byte)

func (*MSP) GetTLSRootCertsReturns

func (fake *MSP) GetTLSRootCertsReturns(result1 [][]byte)

func (*MSP) GetTLSRootCertsReturnsOnCall

func (fake *MSP) GetTLSRootCertsReturnsOnCall(i int, result1 [][]byte)

func (*MSP) GetType

func (fake *MSP) GetType() msp.ProviderType

func (*MSP) GetTypeCallCount

func (fake *MSP) GetTypeCallCount() int

func (*MSP) GetTypeCalls

func (fake *MSP) GetTypeCalls(stub func() msp.ProviderType)

func (*MSP) GetTypeReturns

func (fake *MSP) GetTypeReturns(result1 msp.ProviderType)

func (*MSP) GetTypeReturnsOnCall

func (fake *MSP) GetTypeReturnsOnCall(i int, result1 msp.ProviderType)

func (*MSP) GetVersion

func (fake *MSP) GetVersion() msp.MSPVersion

func (*MSP) GetVersionCallCount

func (fake *MSP) GetVersionCallCount() int

func (*MSP) GetVersionCalls

func (fake *MSP) GetVersionCalls(stub func() msp.MSPVersion)

func (*MSP) GetVersionReturns

func (fake *MSP) GetVersionReturns(result1 msp.MSPVersion)

func (*MSP) GetVersionReturnsOnCall

func (fake *MSP) GetVersionReturnsOnCall(i int, result1 msp.MSPVersion)

func (*MSP) Invocations

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

func (*MSP) IsWellFormed

func (fake *MSP) IsWellFormed(arg1 *mspa.SerializedIdentity) error

func (*MSP) IsWellFormedArgsForCall

func (fake *MSP) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity

func (*MSP) IsWellFormedCallCount

func (fake *MSP) IsWellFormedCallCount() int

func (*MSP) IsWellFormedCalls

func (fake *MSP) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)

func (*MSP) IsWellFormedReturns

func (fake *MSP) IsWellFormedReturns(result1 error)

func (*MSP) IsWellFormedReturnsOnCall

func (fake *MSP) IsWellFormedReturnsOnCall(i int, result1 error)

func (*MSP) SatisfiesPrincipal

func (fake *MSP) SatisfiesPrincipal(arg1 msp.Identity, arg2 *mspa.MSPPrincipal) error

func (*MSP) SatisfiesPrincipalArgsForCall

func (fake *MSP) SatisfiesPrincipalArgsForCall(i int) (msp.Identity, *mspa.MSPPrincipal)

func (*MSP) SatisfiesPrincipalCallCount

func (fake *MSP) SatisfiesPrincipalCallCount() int

func (*MSP) SatisfiesPrincipalCalls

func (fake *MSP) SatisfiesPrincipalCalls(stub func(msp.Identity, *mspa.MSPPrincipal) error)

func (*MSP) SatisfiesPrincipalReturns

func (fake *MSP) SatisfiesPrincipalReturns(result1 error)

func (*MSP) SatisfiesPrincipalReturnsOnCall

func (fake *MSP) SatisfiesPrincipalReturnsOnCall(i int, result1 error)

func (*MSP) Setup

func (fake *MSP) Setup(arg1 *mspa.MSPConfig) error

func (*MSP) SetupArgsForCall

func (fake *MSP) SetupArgsForCall(i int) *mspa.MSPConfig

func (*MSP) SetupCallCount

func (fake *MSP) SetupCallCount() int

func (*MSP) SetupCalls

func (fake *MSP) SetupCalls(stub func(*mspa.MSPConfig) error)

func (*MSP) SetupReturns

func (fake *MSP) SetupReturns(result1 error)

func (*MSP) SetupReturnsOnCall

func (fake *MSP) SetupReturnsOnCall(i int, result1 error)

func (*MSP) Validate

func (fake *MSP) Validate(arg1 msp.Identity) error

func (*MSP) ValidateArgsForCall

func (fake *MSP) ValidateArgsForCall(i int) msp.Identity

func (*MSP) ValidateCallCount

func (fake *MSP) ValidateCallCount() int

func (*MSP) ValidateCalls

func (fake *MSP) ValidateCalls(stub func(msp.Identity) error)

func (*MSP) ValidateReturns

func (fake *MSP) ValidateReturns(result1 error)

func (*MSP) ValidateReturnsOnCall

func (fake *MSP) ValidateReturnsOnCall(i int, result1 error)

type MSPManager

type MSPManager struct {
	DeserializeIdentityStub func([]byte) (msp.Identity, error)

	GetMSPsStub func() (map[string]msp.MSP, error)

	IsWellFormedStub func(*mspa.SerializedIdentity) error

	SetupStub func([]msp.MSP) error
	// contains filtered or unexported fields
}

func (*MSPManager) DeserializeIdentity

func (fake *MSPManager) DeserializeIdentity(arg1 []byte) (msp.Identity, error)

func (*MSPManager) DeserializeIdentityArgsForCall

func (fake *MSPManager) DeserializeIdentityArgsForCall(i int) []byte

func (*MSPManager) DeserializeIdentityCallCount

func (fake *MSPManager) DeserializeIdentityCallCount() int

func (*MSPManager) DeserializeIdentityCalls

func (fake *MSPManager) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))

func (*MSPManager) DeserializeIdentityReturns

func (fake *MSPManager) DeserializeIdentityReturns(result1 msp.Identity, result2 error)

func (*MSPManager) DeserializeIdentityReturnsOnCall

func (fake *MSPManager) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)

func (*MSPManager) GetMSPs

func (fake *MSPManager) GetMSPs() (map[string]msp.MSP, error)

func (*MSPManager) GetMSPsCallCount

func (fake *MSPManager) GetMSPsCallCount() int

func (*MSPManager) GetMSPsCalls

func (fake *MSPManager) GetMSPsCalls(stub func() (map[string]msp.MSP, error))

func (*MSPManager) GetMSPsReturns

func (fake *MSPManager) GetMSPsReturns(result1 map[string]msp.MSP, result2 error)

func (*MSPManager) GetMSPsReturnsOnCall

func (fake *MSPManager) GetMSPsReturnsOnCall(i int, result1 map[string]msp.MSP, result2 error)

func (*MSPManager) Invocations

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

func (*MSPManager) IsWellFormed

func (fake *MSPManager) IsWellFormed(arg1 *mspa.SerializedIdentity) error

func (*MSPManager) IsWellFormedArgsForCall

func (fake *MSPManager) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity

func (*MSPManager) IsWellFormedCallCount

func (fake *MSPManager) IsWellFormedCallCount() int

func (*MSPManager) IsWellFormedCalls

func (fake *MSPManager) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)

func (*MSPManager) IsWellFormedReturns

func (fake *MSPManager) IsWellFormedReturns(result1 error)

func (*MSPManager) IsWellFormedReturnsOnCall

func (fake *MSPManager) IsWellFormedReturnsOnCall(i int, result1 error)

func (*MSPManager) Setup

func (fake *MSPManager) Setup(arg1 []msp.MSP) error

func (*MSPManager) SetupArgsForCall

func (fake *MSPManager) SetupArgsForCall(i int) []msp.MSP

func (*MSPManager) SetupCallCount

func (fake *MSPManager) SetupCallCount() int

func (*MSPManager) SetupCalls

func (fake *MSPManager) SetupCalls(stub func([]msp.MSP) error)

func (*MSPManager) SetupReturns

func (fake *MSPManager) SetupReturns(result1 error)

func (*MSPManager) SetupReturnsOnCall

func (fake *MSPManager) SetupReturnsOnCall(i int, result1 error)

type MetadataHandler

type MetadataHandler struct {
	InitializeMetadataStub func(string, chaincode.MetadataSet)

	UpdateMetadataStub func(string, chaincode.MetadataSet)
	// contains filtered or unexported fields
}

func (*MetadataHandler) InitializeMetadata

func (fake *MetadataHandler) InitializeMetadata(arg1 string, arg2 chaincode.MetadataSet)

func (*MetadataHandler) InitializeMetadataArgsForCall

func (fake *MetadataHandler) InitializeMetadataArgsForCall(i int) (string, chaincode.MetadataSet)

func (*MetadataHandler) InitializeMetadataCallCount

func (fake *MetadataHandler) InitializeMetadataCallCount() int

func (*MetadataHandler) InitializeMetadataCalls

func (fake *MetadataHandler) InitializeMetadataCalls(stub func(string, chaincode.MetadataSet))

func (*MetadataHandler) Invocations

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

func (*MetadataHandler) UpdateMetadata

func (fake *MetadataHandler) UpdateMetadata(arg1 string, arg2 chaincode.MetadataSet)

func (*MetadataHandler) UpdateMetadataArgsForCall

func (fake *MetadataHandler) UpdateMetadataArgsForCall(i int) (string, chaincode.MetadataSet)

func (*MetadataHandler) UpdateMetadataCallCount

func (fake *MetadataHandler) UpdateMetadataCallCount() int

func (*MetadataHandler) UpdateMetadataCalls

func (fake *MetadataHandler) UpdateMetadataCalls(stub func(string, chaincode.MetadataSet))

type MetadataUpdateListener

type MetadataUpdateListener struct {
	HandleMetadataUpdateStub func(string, chaincode.MetadataSet)
	// contains filtered or unexported fields
}

func (*MetadataUpdateListener) HandleMetadataUpdate

func (fake *MetadataUpdateListener) HandleMetadataUpdate(arg1 string, arg2 chaincode.MetadataSet)

func (*MetadataUpdateListener) HandleMetadataUpdateArgsForCall

func (fake *MetadataUpdateListener) HandleMetadataUpdateArgsForCall(i int) (string, chaincode.MetadataSet)

func (*MetadataUpdateListener) HandleMetadataUpdateCallCount

func (fake *MetadataUpdateListener) HandleMetadataUpdateCallCount() int

func (*MetadataUpdateListener) HandleMetadataUpdateCalls

func (fake *MetadataUpdateListener) HandleMetadataUpdateCalls(stub func(string, chaincode.MetadataSet))

func (*MetadataUpdateListener) Invocations

func (fake *MetadataUpdateListener) 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.1

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 QueryExecutorProvider

type QueryExecutorProvider struct {
	TxQueryExecutorStub func(string, string) ledger.SimpleQueryExecutor
	// contains filtered or unexported fields
}

func (*QueryExecutorProvider) Invocations

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

func (*QueryExecutorProvider) TxQueryExecutor

func (fake *QueryExecutorProvider) TxQueryExecutor(arg1 string, arg2 string) ledger.SimpleQueryExecutor

func (*QueryExecutorProvider) TxQueryExecutorArgsForCall

func (fake *QueryExecutorProvider) TxQueryExecutorArgsForCall(i int) (string, string)

func (*QueryExecutorProvider) TxQueryExecutorCallCount

func (fake *QueryExecutorProvider) TxQueryExecutorCallCount() int

func (*QueryExecutorProvider) TxQueryExecutorCalls

func (fake *QueryExecutorProvider) TxQueryExecutorCalls(stub func(string, string) ledger.SimpleQueryExecutor)

func (*QueryExecutorProvider) TxQueryExecutorReturns

func (fake *QueryExecutorProvider) TxQueryExecutorReturns(result1 ledger.SimpleQueryExecutor)

func (*QueryExecutorProvider) TxQueryExecutorReturnsOnCall

func (fake *QueryExecutorProvider) TxQueryExecutorReturnsOnCall(i int, result1 ledger.SimpleQueryExecutor)

type ReadWritableState

type ReadWritableState struct {
	CollectionNameStub func() string

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

func (fake *ReadWritableState) CollectionName() string

func (*ReadWritableState) CollectionNameCallCount

func (fake *ReadWritableState) CollectionNameCallCount() int

func (*ReadWritableState) CollectionNameCalls

func (fake *ReadWritableState) CollectionNameCalls(stub func() string)

func (*ReadWritableState) CollectionNameReturns

func (fake *ReadWritableState) CollectionNameReturns(result1 string)

func (*ReadWritableState) CollectionNameReturnsOnCall

func (fake *ReadWritableState) CollectionNameReturnsOnCall(i int, result1 string)

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.1

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

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

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

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

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

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

	QueryInstalledChaincodeStub func(string) (*chaincode.InstalledChaincode, error)

	QueryInstalledChaincodesStub func() []*chaincode.InstalledChaincode

	QueryNamespaceDefinitionsStub func(lifecycle.RangeableState) (map[string]string, error)

	QueryOrgApprovalsStub func(string, *lifecycle.ChaincodeDefinition, []lifecycle.OpaqueState) (map[string]bool, error)
	// contains filtered or unexported fields
}

func (*SCCFunctions) ApproveChaincodeDefinitionForOrg

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

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgArgsForCall

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrgArgsForCall(i int) (string, string, *lifecycle.ChaincodeDefinition, string, lifecycle.ReadableState, lifecycle.ReadWritableState)

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgCallCount

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrgCallCount() int

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgCalls

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

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgReturns

func (fake *SCCFunctions) ApproveChaincodeDefinitionForOrgReturns(result1 error)

func (*SCCFunctions) ApproveChaincodeDefinitionForOrgReturnsOnCall

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

func (*SCCFunctions) CheckCommitReadiness

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

func (*SCCFunctions) CheckCommitReadinessArgsForCall

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

func (*SCCFunctions) CheckCommitReadinessCallCount

func (fake *SCCFunctions) CheckCommitReadinessCallCount() int

func (*SCCFunctions) CheckCommitReadinessCalls

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

func (*SCCFunctions) CheckCommitReadinessReturns

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

func (*SCCFunctions) CheckCommitReadinessReturnsOnCall

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

func (*SCCFunctions) CommitChaincodeDefinition

func (fake *SCCFunctions) CommitChaincodeDefinition(arg1 string, arg2 string, arg3 *lifecycle.ChaincodeDefinition, arg4 lifecycle.ReadWritableState, arg5 []lifecycle.OpaqueState) (map[string]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) (map[string]bool, error))

func (*SCCFunctions) CommitChaincodeDefinitionReturns

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

func (*SCCFunctions) CommitChaincodeDefinitionReturnsOnCall

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

func (*SCCFunctions) GetInstalledChaincodePackage

func (fake *SCCFunctions) GetInstalledChaincodePackage(arg1 string) ([]byte, error)

func (*SCCFunctions) GetInstalledChaincodePackageArgsForCall

func (fake *SCCFunctions) GetInstalledChaincodePackageArgsForCall(i int) string

func (*SCCFunctions) GetInstalledChaincodePackageCallCount

func (fake *SCCFunctions) GetInstalledChaincodePackageCallCount() int

func (*SCCFunctions) GetInstalledChaincodePackageCalls

func (fake *SCCFunctions) GetInstalledChaincodePackageCalls(stub func(string) ([]byte, error))

func (*SCCFunctions) GetInstalledChaincodePackageReturns

func (fake *SCCFunctions) GetInstalledChaincodePackageReturns(result1 []byte, result2 error)

func (*SCCFunctions) GetInstalledChaincodePackageReturnsOnCall

func (fake *SCCFunctions) GetInstalledChaincodePackageReturnsOnCall(i int, result1 []byte, result2 error)

func (*SCCFunctions) InstallChaincode added in v1.4.1

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

func (*SCCFunctions) InstallChaincodeArgsForCall added in v1.4.1

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

func (*SCCFunctions) InstallChaincodeCallCount added in v1.4.1

func (fake *SCCFunctions) InstallChaincodeCallCount() int

func (*SCCFunctions) InstallChaincodeCalls added in v1.4.1

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

func (*SCCFunctions) InstallChaincodeReturns added in v1.4.1

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

func (*SCCFunctions) InstallChaincodeReturnsOnCall added in v1.4.1

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

func (*SCCFunctions) Invocations added in v1.4.1

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

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.1

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

func (*SCCFunctions) QueryInstalledChaincodeArgsForCall added in v1.4.1

func (fake *SCCFunctions) QueryInstalledChaincodeArgsForCall(i int) string

func (*SCCFunctions) QueryInstalledChaincodeCallCount added in v1.4.1

func (fake *SCCFunctions) QueryInstalledChaincodeCallCount() int

func (*SCCFunctions) QueryInstalledChaincodeCalls added in v1.4.1

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

func (*SCCFunctions) QueryInstalledChaincodeReturns added in v1.4.1

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

func (*SCCFunctions) QueryInstalledChaincodeReturnsOnCall added in v1.4.1

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

func (*SCCFunctions) QueryInstalledChaincodes

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

func (*SCCFunctions) QueryInstalledChaincodesCallCount

func (fake *SCCFunctions) QueryInstalledChaincodesCallCount() int

func (*SCCFunctions) QueryInstalledChaincodesCalls

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

func (*SCCFunctions) QueryInstalledChaincodesReturns

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

func (*SCCFunctions) QueryInstalledChaincodesReturnsOnCall

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

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)

func (*SCCFunctions) QueryOrgApprovals

func (fake *SCCFunctions) QueryOrgApprovals(arg1 string, arg2 *lifecycle.ChaincodeDefinition, arg3 []lifecycle.OpaqueState) (map[string]bool, error)

func (*SCCFunctions) QueryOrgApprovalsArgsForCall

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

func (*SCCFunctions) QueryOrgApprovalsCallCount

func (fake *SCCFunctions) QueryOrgApprovalsCallCount() int

func (*SCCFunctions) QueryOrgApprovalsCalls

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

func (*SCCFunctions) QueryOrgApprovalsReturns

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

func (*SCCFunctions) QueryOrgApprovalsReturnsOnCall

func (fake *SCCFunctions) QueryOrgApprovalsReturnsOnCall(i int, result1 map[string]bool, 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