Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type CCPackage
- func (fake *CCPackage) GetChaincodeData() *ccprovider.ChaincodeData
- func (fake *CCPackage) GetChaincodeDataCallCount() int
- func (fake *CCPackage) GetChaincodeDataCalls(stub func() *ccprovider.ChaincodeData)
- func (fake *CCPackage) GetChaincodeDataReturns(result1 *ccprovider.ChaincodeData)
- func (fake *CCPackage) GetChaincodeDataReturnsOnCall(i int, result1 *ccprovider.ChaincodeData)
- func (fake *CCPackage) GetDepSpec() *peer.ChaincodeDeploymentSpec
- func (fake *CCPackage) GetDepSpecBytes() []byte
- func (fake *CCPackage) GetDepSpecBytesCallCount() int
- func (fake *CCPackage) GetDepSpecBytesCalls(stub func() []byte)
- func (fake *CCPackage) GetDepSpecBytesReturns(result1 []byte)
- func (fake *CCPackage) GetDepSpecBytesReturnsOnCall(i int, result1 []byte)
- func (fake *CCPackage) GetDepSpecCallCount() int
- func (fake *CCPackage) GetDepSpecCalls(stub func() *peer.ChaincodeDeploymentSpec)
- func (fake *CCPackage) GetDepSpecReturns(result1 *peer.ChaincodeDeploymentSpec)
- func (fake *CCPackage) GetDepSpecReturnsOnCall(i int, result1 *peer.ChaincodeDeploymentSpec)
- func (fake *CCPackage) GetId() []byte
- func (fake *CCPackage) GetIdCallCount() int
- func (fake *CCPackage) GetIdCalls(stub func() []byte)
- func (fake *CCPackage) GetIdReturns(result1 []byte)
- func (fake *CCPackage) GetIdReturnsOnCall(i int, result1 []byte)
- func (fake *CCPackage) GetPackageObject() proto.Message
- func (fake *CCPackage) GetPackageObjectCallCount() int
- func (fake *CCPackage) GetPackageObjectCalls(stub func() proto.Message)
- func (fake *CCPackage) GetPackageObjectReturns(result1 proto.Message)
- func (fake *CCPackage) GetPackageObjectReturnsOnCall(i int, result1 proto.Message)
- func (fake *CCPackage) InitFromBuffer(arg1 []byte) (*ccprovider.ChaincodeData, error)
- func (fake *CCPackage) InitFromBufferArgsForCall(i int) []byte
- func (fake *CCPackage) InitFromBufferCallCount() int
- func (fake *CCPackage) InitFromBufferCalls(stub func([]byte) (*ccprovider.ChaincodeData, error))
- func (fake *CCPackage) InitFromBufferReturns(result1 *ccprovider.ChaincodeData, result2 error)
- func (fake *CCPackage) InitFromBufferReturnsOnCall(i int, result1 *ccprovider.ChaincodeData, result2 error)
- func (fake *CCPackage) InitFromFS(arg1 string, arg2 string) ([]byte, *peer.ChaincodeDeploymentSpec, error)
- func (fake *CCPackage) InitFromFSArgsForCall(i int) (string, string)
- func (fake *CCPackage) InitFromFSCallCount() int
- func (fake *CCPackage) InitFromFSCalls(stub func(string, string) ([]byte, *peer.ChaincodeDeploymentSpec, error))
- func (fake *CCPackage) InitFromFSReturns(result1 []byte, result2 *peer.ChaincodeDeploymentSpec, result3 error)
- func (fake *CCPackage) InitFromFSReturnsOnCall(i int, result1 []byte, result2 *peer.ChaincodeDeploymentSpec, result3 error)
- func (fake *CCPackage) Invocations() map[string][][]interface{}
- func (fake *CCPackage) PutChaincodeToFS() error
- func (fake *CCPackage) PutChaincodeToFSCallCount() int
- func (fake *CCPackage) PutChaincodeToFSCalls(stub func() error)
- func (fake *CCPackage) PutChaincodeToFSReturns(result1 error)
- func (fake *CCPackage) PutChaincodeToFSReturnsOnCall(i int, result1 error)
- func (fake *CCPackage) ValidateCC(arg1 *ccprovider.ChaincodeData) error
- func (fake *CCPackage) ValidateCCArgsForCall(i int) *ccprovider.ChaincodeData
- func (fake *CCPackage) ValidateCCCallCount() int
- func (fake *CCPackage) ValidateCCCalls(stub func(*ccprovider.ChaincodeData) error)
- func (fake *CCPackage) ValidateCCReturns(result1 error)
- func (fake *CCPackage) ValidateCCReturnsOnCall(i int, result1 error)
- type ChaincodeStub
- func (fake *ChaincodeStub) CreateCompositeKey(arg1 string, arg2 []string) (string, error)
- func (fake *ChaincodeStub) CreateCompositeKeyArgsForCall(i int) (string, []string)
- func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int
- func (fake *ChaincodeStub) CreateCompositeKeyCalls(stub func(string, []string) (string, error))
- func (fake *ChaincodeStub) CreateCompositeKeyReturns(result1 string, result2 error)
- func (fake *ChaincodeStub) CreateCompositeKeyReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ChaincodeStub) DelPrivateData(arg1 string, arg2 string) error
- func (fake *ChaincodeStub) DelPrivateDataArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) DelPrivateDataCallCount() int
- func (fake *ChaincodeStub) DelPrivateDataCalls(stub func(string, string) error)
- func (fake *ChaincodeStub) DelPrivateDataReturns(result1 error)
- func (fake *ChaincodeStub) DelPrivateDataReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) DelState(arg1 string) error
- func (fake *ChaincodeStub) DelStateArgsForCall(i int) string
- func (fake *ChaincodeStub) DelStateCallCount() int
- func (fake *ChaincodeStub) DelStateCalls(stub func(string) error)
- func (fake *ChaincodeStub) DelStateReturns(result1 error)
- func (fake *ChaincodeStub) DelStateReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) GetArgs() [][]byte
- func (fake *ChaincodeStub) GetArgsCallCount() int
- func (fake *ChaincodeStub) GetArgsCalls(stub func() [][]byte)
- func (fake *ChaincodeStub) GetArgsReturns(result1 [][]byte)
- func (fake *ChaincodeStub) GetArgsReturnsOnCall(i int, result1 [][]byte)
- func (fake *ChaincodeStub) GetArgsSlice() ([]byte, error)
- func (fake *ChaincodeStub) GetArgsSliceCallCount() int
- func (fake *ChaincodeStub) GetArgsSliceCalls(stub func() ([]byte, error))
- func (fake *ChaincodeStub) GetArgsSliceReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetArgsSliceReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetBinding() ([]byte, error)
- func (fake *ChaincodeStub) GetBindingCallCount() int
- func (fake *ChaincodeStub) GetBindingCalls(stub func() ([]byte, error))
- func (fake *ChaincodeStub) GetBindingReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetBindingReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetChannelID() string
- func (fake *ChaincodeStub) GetChannelIDCallCount() int
- func (fake *ChaincodeStub) GetChannelIDCalls(stub func() string)
- func (fake *ChaincodeStub) GetChannelIDReturns(result1 string)
- func (fake *ChaincodeStub) GetChannelIDReturnsOnCall(i int, result1 string)
- func (fake *ChaincodeStub) GetCreator() ([]byte, error)
- func (fake *ChaincodeStub) GetCreatorCallCount() int
- func (fake *ChaincodeStub) GetCreatorCalls(stub func() ([]byte, error))
- func (fake *ChaincodeStub) GetCreatorReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetCreatorReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetDecorations() map[string][]byte
- func (fake *ChaincodeStub) GetDecorationsCallCount() int
- func (fake *ChaincodeStub) GetDecorationsCalls(stub func() map[string][]byte)
- func (fake *ChaincodeStub) GetDecorationsReturns(result1 map[string][]byte)
- func (fake *ChaincodeStub) GetDecorationsReturnsOnCall(i int, result1 map[string][]byte)
- func (fake *ChaincodeStub) GetFunctionAndParameters() (string, []string)
- func (fake *ChaincodeStub) GetFunctionAndParametersCallCount() int
- func (fake *ChaincodeStub) GetFunctionAndParametersCalls(stub func() (string, []string))
- func (fake *ChaincodeStub) GetFunctionAndParametersReturns(result1 string, result2 []string)
- func (fake *ChaincodeStub) GetFunctionAndParametersReturnsOnCall(i int, result1 string, result2 []string)
- func (fake *ChaincodeStub) GetHistoryForKey(arg1 string) (shim.HistoryQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetHistoryForKeyArgsForCall(i int) string
- func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int
- func (fake *ChaincodeStub) GetHistoryForKeyCalls(stub func(string) (shim.HistoryQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetHistoryForKeyReturns(result1 shim.HistoryQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetHistoryForKeyReturnsOnCall(i int, result1 shim.HistoryQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateData(arg1 string, arg2 string) ([]byte, error)
- func (fake *ChaincodeStub) GetPrivateDataArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKey(arg1 string, arg2 string, arg3 []string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall(i int) (string, string, []string)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCalls(stub func(string, string, []string) (shim.StateQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataByRange(arg1 string, arg2 string, arg3 string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetPrivateDataByRangeArgsForCall(i int) (string, string, string)
- func (fake *ChaincodeStub) GetPrivateDataByRangeCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataByRangeCalls(stub func(string, string, string) (shim.StateQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetPrivateDataByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataCalls(stub func(string, string) ([]byte, error))
- func (fake *ChaincodeStub) GetPrivateDataQueryResult(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetPrivateDataQueryResultArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataQueryResultCalls(stub func(string, string) (shim.StateQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetPrivateDataQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameter(arg1 string, arg2 string) ([]byte, error)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterCalls(stub func(string, string) ([]byte, error))
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetQueryResult(arg1 string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetQueryResultArgsForCall(i int) string
- func (fake *ChaincodeStub) GetQueryResultCallCount() int
- func (fake *ChaincodeStub) GetQueryResultCalls(stub func(string) (shim.StateQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetQueryResultWithPagination(arg1 string, arg2 int32, arg3 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationArgsForCall(i int) (string, int32, string)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int
- func (fake *ChaincodeStub) GetQueryResultWithPaginationCalls(...)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, ...)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, ...)
- func (fake *ChaincodeStub) GetSignedProposal() (*peer.SignedProposal, error)
- func (fake *ChaincodeStub) GetSignedProposalCallCount() int
- func (fake *ChaincodeStub) GetSignedProposalCalls(stub func() (*peer.SignedProposal, error))
- func (fake *ChaincodeStub) GetSignedProposalReturns(result1 *peer.SignedProposal, result2 error)
- func (fake *ChaincodeStub) GetSignedProposalReturnsOnCall(i int, result1 *peer.SignedProposal, result2 error)
- func (fake *ChaincodeStub) GetState(arg1 string) ([]byte, error)
- func (fake *ChaincodeStub) GetStateArgsForCall(i int) string
- func (fake *ChaincodeStub) GetStateByPartialCompositeKey(arg1 string, arg2 []string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall(i int) (string, []string)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCallCount() int
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCalls(stub func(string, []string) (shim.StateQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPagination(arg1 string, arg2 []string, arg3 int32, arg4 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall(i int) (string, []string, int32, string)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCalls(...)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, ...)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, ...)
- func (fake *ChaincodeStub) GetStateByRange(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetStateByRangeArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetStateByRangeCallCount() int
- func (fake *ChaincodeStub) GetStateByRangeCalls(stub func(string, string) (shim.StateQueryIteratorInterface, error))
- func (fake *ChaincodeStub) GetStateByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByRangeWithPagination(arg1 string, arg2 string, arg3 int32, arg4 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationArgsForCall(i int) (string, string, int32, string)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationCalls(...)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, ...)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, ...)
- func (fake *ChaincodeStub) GetStateCallCount() int
- func (fake *ChaincodeStub) GetStateCalls(stub func(string) ([]byte, error))
- func (fake *ChaincodeStub) GetStateReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetStateValidationParameter(arg1 string) ([]byte, error)
- func (fake *ChaincodeStub) GetStateValidationParameterArgsForCall(i int) string
- func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int
- func (fake *ChaincodeStub) GetStateValidationParameterCalls(stub func(string) ([]byte, error))
- func (fake *ChaincodeStub) GetStateValidationParameterReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetStateValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetStringArgs() []string
- func (fake *ChaincodeStub) GetStringArgsCallCount() int
- func (fake *ChaincodeStub) GetStringArgsCalls(stub func() []string)
- func (fake *ChaincodeStub) GetStringArgsReturns(result1 []string)
- func (fake *ChaincodeStub) GetStringArgsReturnsOnCall(i int, result1 []string)
- func (fake *ChaincodeStub) GetTransient() (map[string][]byte, error)
- func (fake *ChaincodeStub) GetTransientCallCount() int
- func (fake *ChaincodeStub) GetTransientCalls(stub func() (map[string][]byte, error))
- func (fake *ChaincodeStub) GetTransientReturns(result1 map[string][]byte, result2 error)
- func (fake *ChaincodeStub) GetTransientReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *ChaincodeStub) GetTxID() string
- func (fake *ChaincodeStub) GetTxIDCallCount() int
- func (fake *ChaincodeStub) GetTxIDCalls(stub func() string)
- func (fake *ChaincodeStub) GetTxIDReturns(result1 string)
- func (fake *ChaincodeStub) GetTxIDReturnsOnCall(i int, result1 string)
- func (fake *ChaincodeStub) GetTxTimestamp() (*timestamp.Timestamp, error)
- func (fake *ChaincodeStub) GetTxTimestampCallCount() int
- func (fake *ChaincodeStub) GetTxTimestampCalls(stub func() (*timestamp.Timestamp, error))
- func (fake *ChaincodeStub) GetTxTimestampReturns(result1 *timestamp.Timestamp, result2 error)
- func (fake *ChaincodeStub) GetTxTimestampReturnsOnCall(i int, result1 *timestamp.Timestamp, result2 error)
- func (fake *ChaincodeStub) Invocations() map[string][][]interface{}
- func (fake *ChaincodeStub) InvokeChaincode(arg1 string, arg2 [][]byte, arg3 string) peer.Response
- func (fake *ChaincodeStub) InvokeChaincodeArgsForCall(i int) (string, [][]byte, string)
- func (fake *ChaincodeStub) InvokeChaincodeCallCount() int
- func (fake *ChaincodeStub) InvokeChaincodeCalls(stub func(string, [][]byte, string) peer.Response)
- func (fake *ChaincodeStub) InvokeChaincodeReturns(result1 peer.Response)
- func (fake *ChaincodeStub) InvokeChaincodeReturnsOnCall(i int, result1 peer.Response)
- func (fake *ChaincodeStub) PutPrivateData(arg1 string, arg2 string, arg3 []byte) error
- func (fake *ChaincodeStub) PutPrivateDataArgsForCall(i int) (string, string, []byte)
- func (fake *ChaincodeStub) PutPrivateDataCallCount() int
- func (fake *ChaincodeStub) PutPrivateDataCalls(stub func(string, string, []byte) error)
- func (fake *ChaincodeStub) PutPrivateDataReturns(result1 error)
- func (fake *ChaincodeStub) PutPrivateDataReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) PutState(arg1 string, arg2 []byte) error
- func (fake *ChaincodeStub) PutStateArgsForCall(i int) (string, []byte)
- func (fake *ChaincodeStub) PutStateCallCount() int
- func (fake *ChaincodeStub) PutStateCalls(stub func(string, []byte) error)
- func (fake *ChaincodeStub) PutStateReturns(result1 error)
- func (fake *ChaincodeStub) PutStateReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SetEvent(arg1 string, arg2 []byte) error
- func (fake *ChaincodeStub) SetEventArgsForCall(i int) (string, []byte)
- func (fake *ChaincodeStub) SetEventCallCount() int
- func (fake *ChaincodeStub) SetEventCalls(stub func(string, []byte) error)
- func (fake *ChaincodeStub) SetEventReturns(result1 error)
- func (fake *ChaincodeStub) SetEventReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameter(arg1 string, arg2 string, arg3 []byte) error
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterArgsForCall(i int) (string, string, []byte)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterCalls(stub func(string, string, []byte) error)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturns(result1 error)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SetStateValidationParameter(arg1 string, arg2 []byte) error
- func (fake *ChaincodeStub) SetStateValidationParameterArgsForCall(i int) (string, []byte)
- func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int
- func (fake *ChaincodeStub) SetStateValidationParameterCalls(stub func(string, []byte) error)
- func (fake *ChaincodeStub) SetStateValidationParameterReturns(result1 error)
- func (fake *ChaincodeStub) SetStateValidationParameterReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SplitCompositeKey(arg1 string) (string, []string, error)
- func (fake *ChaincodeStub) SplitCompositeKeyArgsForCall(i int) string
- func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int
- func (fake *ChaincodeStub) SplitCompositeKeyCalls(stub func(string) (string, []string, error))
- func (fake *ChaincodeStub) SplitCompositeKeyReturns(result1 string, result2 []string, result3 error)
- func (fake *ChaincodeStub) SplitCompositeKeyReturnsOnCall(i int, result1 string, result2 []string, result3 error)
- type FileSystemSupport
- func (fake *FileSystemSupport) CheckInstantiationPolicy(arg1 *peer.SignedProposal, arg2 string, arg3 []byte) error
- func (fake *FileSystemSupport) CheckInstantiationPolicyArgsForCall(i int) (*peer.SignedProposal, string, []byte)
- func (fake *FileSystemSupport) CheckInstantiationPolicyCallCount() int
- func (fake *FileSystemSupport) CheckInstantiationPolicyCalls(stub func(*peer.SignedProposal, string, []byte) error)
- func (fake *FileSystemSupport) CheckInstantiationPolicyReturns(result1 error)
- func (fake *FileSystemSupport) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorage(arg1 string, arg2 string) (ccprovider.CCPackage, error)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageArgsForCall(i int) (string, string)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageCallCount() int
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageCalls(stub func(string, string) (ccprovider.CCPackage, error))
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageReturns(result1 ccprovider.CCPackage, result2 error)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageReturnsOnCall(i int, result1 ccprovider.CCPackage, result2 error)
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorage() (*peer.ChaincodeQueryResponse, error)
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageCallCount() int
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageCalls(stub func() (*peer.ChaincodeQueryResponse, error))
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturns(result1 *peer.ChaincodeQueryResponse, result2 error)
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturnsOnCall(i int, result1 *peer.ChaincodeQueryResponse, result2 error)
- func (fake *FileSystemSupport) GetInstantiationPolicy(arg1 string, arg2 ccprovider.CCPackage) ([]byte, error)
- func (fake *FileSystemSupport) GetInstantiationPolicyArgsForCall(i int) (string, ccprovider.CCPackage)
- func (fake *FileSystemSupport) GetInstantiationPolicyCallCount() int
- func (fake *FileSystemSupport) GetInstantiationPolicyCalls(stub func(string, ccprovider.CCPackage) ([]byte, error))
- func (fake *FileSystemSupport) GetInstantiationPolicyReturns(result1 []byte, result2 error)
- func (fake *FileSystemSupport) GetInstantiationPolicyReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FileSystemSupport) Invocations() map[string][][]interface{}
- func (fake *FileSystemSupport) PutChaincodeToLocalStorage(arg1 ccprovider.CCPackage) error
- func (fake *FileSystemSupport) PutChaincodeToLocalStorageArgsForCall(i int) ccprovider.CCPackage
- func (fake *FileSystemSupport) PutChaincodeToLocalStorageCallCount() int
- func (fake *FileSystemSupport) PutChaincodeToLocalStorageCalls(stub func(ccprovider.CCPackage) error)
- func (fake *FileSystemSupport) PutChaincodeToLocalStorageReturns(result1 error)
- func (fake *FileSystemSupport) PutChaincodeToLocalStorageReturnsOnCall(i int, result1 error)
- type QueryExecutor
- func (fake *QueryExecutor) Done()
- func (fake *QueryExecutor) DoneCallCount() int
- func (fake *QueryExecutor) DoneCalls(stub func())
- func (fake *QueryExecutor) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)
- func (fake *QueryExecutor) ExecuteQueryArgsForCall(i int) (string, string)
- func (fake *QueryExecutor) ExecuteQueryCallCount() int
- func (fake *QueryExecutor) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))
- func (fake *QueryExecutor) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCallCount() int
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.QueryResultsIterator, error)
- func (fake *QueryExecutor) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *QueryExecutor) ExecuteQueryWithMetadataCallCount() int
- func (fake *QueryExecutor) ExecuteQueryWithMetadataCalls(...)
- func (fake *QueryExecutor) ExecuteQueryWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) GetPrivateData(arg1 string, arg2 string, arg3 string) ([]byte, error)
- func (fake *QueryExecutor) GetPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) GetPrivateDataCallCount() int
- func (fake *QueryExecutor) GetPrivateDataCalls(stub func(string, string, string) ([]byte, error))
- func (fake *QueryExecutor) GetPrivateDataMetadata(arg1 string, arg2 string, arg3 string) (map[string][]byte, error)
- func (fake *QueryExecutor) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHash(arg1 string, arg2 string, arg3 []byte) (map[string][]byte, error)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashCallCount() int
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashCalls(stub func(string, string, []byte) (map[string][]byte, error))
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMetadataCallCount() int
- func (fake *QueryExecutor) GetPrivateDataMetadataCalls(stub func(string, string, string) (map[string][]byte, error))
- func (fake *QueryExecutor) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 []string) ([][]byte, error)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysCallCount() int
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysCalls(stub func(string, string, []string) ([][]byte, error))
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCallCount() int
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetPrivateDataReturns(result1 []byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *QueryExecutor) GetState(arg1 string, arg2 string) ([]byte, error)
- func (fake *QueryExecutor) GetStateArgsForCall(i int) (string, string)
- func (fake *QueryExecutor) GetStateCallCount() int
- func (fake *QueryExecutor) GetStateCalls(stub func(string, string) ([]byte, error))
- func (fake *QueryExecutor) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)
- func (fake *QueryExecutor) GetStateMetadataArgsForCall(i int) (string, string)
- func (fake *QueryExecutor) GetStateMetadataCallCount() int
- func (fake *QueryExecutor) GetStateMetadataCalls(stub func(string, string) (map[string][]byte, error))
- func (fake *QueryExecutor) GetStateMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetStateMultipleKeys(arg1 string, arg2 []string) ([][]byte, error)
- func (fake *QueryExecutor) GetStateMultipleKeysArgsForCall(i int) (string, []string)
- func (fake *QueryExecutor) GetStateMultipleKeysCallCount() int
- func (fake *QueryExecutor) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))
- func (fake *QueryExecutor) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) GetStateRangeScanIteratorCallCount() int
- func (fake *QueryExecutor) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
- func (fake *QueryExecutor) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.QueryResultsIterator, error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount() int
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCalls(...)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateReturns(result1 []byte, result2 error)
- func (fake *QueryExecutor) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *QueryExecutor) Invocations() map[string][][]interface{}
- type StateQueryIterator
- func (fake *StateQueryIterator) Close() error
- func (fake *StateQueryIterator) CloseCallCount() int
- func (fake *StateQueryIterator) CloseCalls(stub func() error)
- func (fake *StateQueryIterator) CloseReturns(result1 error)
- func (fake *StateQueryIterator) CloseReturnsOnCall(i int, result1 error)
- func (fake *StateQueryIterator) HasNext() bool
- func (fake *StateQueryIterator) HasNextCallCount() int
- func (fake *StateQueryIterator) HasNextCalls(stub func() bool)
- func (fake *StateQueryIterator) HasNextReturns(result1 bool)
- func (fake *StateQueryIterator) HasNextReturnsOnCall(i int, result1 bool)
- func (fake *StateQueryIterator) Invocations() map[string][][]interface{}
- func (fake *StateQueryIterator) Next() (*queryresult.KV, error)
- func (fake *StateQueryIterator) NextCallCount() int
- func (fake *StateQueryIterator) NextCalls(stub func() (*queryresult.KV, error))
- func (fake *StateQueryIterator) NextReturns(result1 *queryresult.KV, result2 error)
- func (fake *StateQueryIterator) NextReturnsOnCall(i int, result1 *queryresult.KV, result2 error)
- type SystemChaincodeProvider
- func (fake *SystemChaincodeProvider) GetApplicationConfig(arg1 string) (channelconfig.Application, bool)
- func (fake *SystemChaincodeProvider) GetApplicationConfigArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) GetApplicationConfigCallCount() int
- func (fake *SystemChaincodeProvider) GetApplicationConfigCalls(stub func(string) (channelconfig.Application, bool))
- func (fake *SystemChaincodeProvider) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
- func (fake *SystemChaincodeProvider) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedger(arg1 string) (ledger.QueryExecutor, error)
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerCallCount() int
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerCalls(stub func(string) (ledger.QueryExecutor, error))
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerReturns(result1 ledger.QueryExecutor, result2 error)
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
- func (fake *SystemChaincodeProvider) Invocations() map[string][][]interface{}
- func (fake *SystemChaincodeProvider) IsSysCC(arg1 string) bool
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CC(arg1 string) bool
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCalls(stub func(string) bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturns(result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall(i int, result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternal(arg1 string) bool
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCallCount() int
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCalls(stub func(string) bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalReturns(result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalReturnsOnCall(i int, result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) IsSysCCCallCount() int
- func (fake *SystemChaincodeProvider) IsSysCCCalls(stub func(string) bool)
- func (fake *SystemChaincodeProvider) IsSysCCReturns(result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCReturnsOnCall(i int, result1 bool)
- func (fake *SystemChaincodeProvider) PolicyManager(arg1 string) (policies.Manager, bool)
- func (fake *SystemChaincodeProvider) PolicyManagerArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) PolicyManagerCallCount() int
- func (fake *SystemChaincodeProvider) PolicyManagerCalls(stub func(string) (policies.Manager, bool))
- func (fake *SystemChaincodeProvider) PolicyManagerReturns(result1 policies.Manager, result2 bool)
- func (fake *SystemChaincodeProvider) PolicyManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCPackage ¶
type CCPackage struct { GetChaincodeDataStub func() *ccprovider.ChaincodeData GetDepSpecStub func() *peer.ChaincodeDeploymentSpec GetDepSpecBytesStub func() []byte GetIdStub func() []byte GetPackageObjectStub func() proto.Message InitFromBufferStub func([]byte) (*ccprovider.ChaincodeData, error) InitFromFSStub func(string, string) ([]byte, *peer.ChaincodeDeploymentSpec, error) PutChaincodeToFSStub func() error ValidateCCStub func(*ccprovider.ChaincodeData) error // contains filtered or unexported fields }
func (*CCPackage) GetChaincodeData ¶
func (fake *CCPackage) GetChaincodeData() *ccprovider.ChaincodeData
func (*CCPackage) GetChaincodeDataCallCount ¶
func (*CCPackage) GetChaincodeDataCalls ¶ added in v1.4.0
func (fake *CCPackage) GetChaincodeDataCalls(stub func() *ccprovider.ChaincodeData)
func (*CCPackage) GetChaincodeDataReturns ¶
func (fake *CCPackage) GetChaincodeDataReturns(result1 *ccprovider.ChaincodeData)
func (*CCPackage) GetChaincodeDataReturnsOnCall ¶
func (fake *CCPackage) GetChaincodeDataReturnsOnCall(i int, result1 *ccprovider.ChaincodeData)
func (*CCPackage) GetDepSpec ¶
func (fake *CCPackage) GetDepSpec() *peer.ChaincodeDeploymentSpec
func (*CCPackage) GetDepSpecBytes ¶
func (*CCPackage) GetDepSpecBytesCallCount ¶
func (*CCPackage) GetDepSpecBytesCalls ¶ added in v1.4.0
func (*CCPackage) GetDepSpecBytesReturns ¶
func (*CCPackage) GetDepSpecBytesReturnsOnCall ¶
func (*CCPackage) GetDepSpecCallCount ¶
func (*CCPackage) GetDepSpecCalls ¶ added in v1.4.0
func (fake *CCPackage) GetDepSpecCalls(stub func() *peer.ChaincodeDeploymentSpec)
func (*CCPackage) GetDepSpecReturns ¶
func (fake *CCPackage) GetDepSpecReturns(result1 *peer.ChaincodeDeploymentSpec)
func (*CCPackage) GetDepSpecReturnsOnCall ¶
func (fake *CCPackage) GetDepSpecReturnsOnCall(i int, result1 *peer.ChaincodeDeploymentSpec)
func (*CCPackage) GetIdCallCount ¶
func (*CCPackage) GetIdCalls ¶ added in v1.4.0
func (*CCPackage) GetIdReturns ¶
func (*CCPackage) GetIdReturnsOnCall ¶
func (*CCPackage) GetPackageObject ¶
func (*CCPackage) GetPackageObjectCallCount ¶
func (*CCPackage) GetPackageObjectCalls ¶ added in v1.4.0
func (*CCPackage) GetPackageObjectReturns ¶
func (*CCPackage) GetPackageObjectReturnsOnCall ¶
func (*CCPackage) InitFromBuffer ¶
func (fake *CCPackage) InitFromBuffer(arg1 []byte) (*ccprovider.ChaincodeData, error)
func (*CCPackage) InitFromBufferArgsForCall ¶
func (*CCPackage) InitFromBufferCallCount ¶
func (*CCPackage) InitFromBufferCalls ¶ added in v1.4.0
func (fake *CCPackage) InitFromBufferCalls(stub func([]byte) (*ccprovider.ChaincodeData, error))
func (*CCPackage) InitFromBufferReturns ¶
func (fake *CCPackage) InitFromBufferReturns(result1 *ccprovider.ChaincodeData, result2 error)
func (*CCPackage) InitFromBufferReturnsOnCall ¶
func (fake *CCPackage) InitFromBufferReturnsOnCall(i int, result1 *ccprovider.ChaincodeData, result2 error)
func (*CCPackage) InitFromFS ¶
func (*CCPackage) InitFromFSArgsForCall ¶
func (*CCPackage) InitFromFSCallCount ¶
func (*CCPackage) InitFromFSCalls ¶ added in v1.4.0
func (*CCPackage) InitFromFSReturns ¶
func (fake *CCPackage) InitFromFSReturns(result1 []byte, result2 *peer.ChaincodeDeploymentSpec, result3 error)
func (*CCPackage) InitFromFSReturnsOnCall ¶
func (*CCPackage) Invocations ¶
func (*CCPackage) PutChaincodeToFS ¶
func (*CCPackage) PutChaincodeToFSCallCount ¶
func (*CCPackage) PutChaincodeToFSCalls ¶ added in v1.4.0
func (*CCPackage) PutChaincodeToFSReturns ¶
func (*CCPackage) PutChaincodeToFSReturnsOnCall ¶
func (*CCPackage) ValidateCC ¶
func (fake *CCPackage) ValidateCC(arg1 *ccprovider.ChaincodeData) error
func (*CCPackage) ValidateCCArgsForCall ¶
func (fake *CCPackage) ValidateCCArgsForCall(i int) *ccprovider.ChaincodeData
func (*CCPackage) ValidateCCCallCount ¶
func (*CCPackage) ValidateCCCalls ¶ added in v1.4.0
func (fake *CCPackage) ValidateCCCalls(stub func(*ccprovider.ChaincodeData) error)
func (*CCPackage) ValidateCCReturns ¶
func (*CCPackage) ValidateCCReturnsOnCall ¶
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) GetPrivateDataQueryResultStub func(string, string) (shim.StateQueryIteratorInterface, error) GetPrivateDataValidationParameterStub func(string, string) ([]byte, error) GetQueryResultStub func(string) (shim.StateQueryIteratorInterface, error) GetQueryResultWithPaginationStub func(string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error) GetSignedProposalStub func() (*peer.SignedProposal, error) GetStateStub func(string) ([]byte, error) GetStateByPartialCompositeKeyStub func(string, []string) (shim.StateQueryIteratorInterface, error) GetStateByPartialCompositeKeyWithPaginationStub func(string, []string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error) GetStateByRangeStub func(string, string) (shim.StateQueryIteratorInterface, error) GetStateByRangeWithPaginationStub func(string, string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error) GetStateValidationParameterStub func(string) ([]byte, error) GetStringArgsStub func() []string GetTransientStub func() (map[string][]byte, error) GetTxIDStub func() string GetTxTimestampStub func() (*timestamp.Timestamp, error) InvokeChaincodeStub func(string, [][]byte, string) peer.Response PutPrivateDataStub func(string, string, []byte) error PutStateStub func(string, []byte) error SetEventStub func(string, []byte) error SetPrivateDataValidationParameterStub func(string, string, []byte) error SetStateValidationParameterStub func(string, []byte) error SplitCompositeKeyStub func(string) (string, []string, error) // contains filtered or unexported fields }
func (*ChaincodeStub) CreateCompositeKey ¶
func (fake *ChaincodeStub) CreateCompositeKey(arg1 string, arg2 []string) (string, error)
func (*ChaincodeStub) CreateCompositeKeyArgsForCall ¶
func (fake *ChaincodeStub) CreateCompositeKeyArgsForCall(i int) (string, []string)
func (*ChaincodeStub) CreateCompositeKeyCallCount ¶
func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int
func (*ChaincodeStub) CreateCompositeKeyCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) CreateCompositeKeyCalls(stub func(string, []string) (string, error))
func (*ChaincodeStub) CreateCompositeKeyReturns ¶
func (fake *ChaincodeStub) CreateCompositeKeyReturns(result1 string, result2 error)
func (*ChaincodeStub) CreateCompositeKeyReturnsOnCall ¶
func (fake *ChaincodeStub) CreateCompositeKeyReturnsOnCall(i int, result1 string, result2 error)
func (*ChaincodeStub) DelPrivateData ¶
func (fake *ChaincodeStub) DelPrivateData(arg1 string, arg2 string) error
func (*ChaincodeStub) DelPrivateDataArgsForCall ¶
func (fake *ChaincodeStub) DelPrivateDataArgsForCall(i int) (string, string)
func (*ChaincodeStub) DelPrivateDataCallCount ¶
func (fake *ChaincodeStub) DelPrivateDataCallCount() int
func (*ChaincodeStub) DelPrivateDataCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) DelPrivateDataCalls(stub func(string, string) error)
func (*ChaincodeStub) DelPrivateDataReturns ¶
func (fake *ChaincodeStub) DelPrivateDataReturns(result1 error)
func (*ChaincodeStub) DelPrivateDataReturnsOnCall ¶
func (fake *ChaincodeStub) DelPrivateDataReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) DelState ¶
func (fake *ChaincodeStub) DelState(arg1 string) error
func (*ChaincodeStub) DelStateArgsForCall ¶
func (fake *ChaincodeStub) DelStateArgsForCall(i int) string
func (*ChaincodeStub) DelStateCallCount ¶
func (fake *ChaincodeStub) DelStateCallCount() int
func (*ChaincodeStub) DelStateCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) DelStateCalls(stub func(string) error)
func (*ChaincodeStub) DelStateReturns ¶
func (fake *ChaincodeStub) DelStateReturns(result1 error)
func (*ChaincodeStub) DelStateReturnsOnCall ¶
func (fake *ChaincodeStub) DelStateReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) GetArgs ¶
func (fake *ChaincodeStub) GetArgs() [][]byte
func (*ChaincodeStub) GetArgsCallCount ¶
func (fake *ChaincodeStub) GetArgsCallCount() int
func (*ChaincodeStub) GetArgsCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetArgsCalls(stub func() [][]byte)
func (*ChaincodeStub) GetArgsReturns ¶
func (fake *ChaincodeStub) GetArgsReturns(result1 [][]byte)
func (*ChaincodeStub) GetArgsReturnsOnCall ¶
func (fake *ChaincodeStub) GetArgsReturnsOnCall(i int, result1 [][]byte)
func (*ChaincodeStub) GetArgsSlice ¶
func (fake *ChaincodeStub) GetArgsSlice() ([]byte, error)
func (*ChaincodeStub) GetArgsSliceCallCount ¶
func (fake *ChaincodeStub) GetArgsSliceCallCount() int
func (*ChaincodeStub) GetArgsSliceCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetArgsSliceCalls(stub func() ([]byte, error))
func (*ChaincodeStub) GetArgsSliceReturns ¶
func (fake *ChaincodeStub) GetArgsSliceReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetArgsSliceReturnsOnCall ¶
func (fake *ChaincodeStub) GetArgsSliceReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetBinding ¶
func (fake *ChaincodeStub) GetBinding() ([]byte, error)
func (*ChaincodeStub) GetBindingCallCount ¶
func (fake *ChaincodeStub) GetBindingCallCount() int
func (*ChaincodeStub) GetBindingCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetBindingCalls(stub func() ([]byte, error))
func (*ChaincodeStub) GetBindingReturns ¶
func (fake *ChaincodeStub) GetBindingReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetBindingReturnsOnCall ¶
func (fake *ChaincodeStub) GetBindingReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetChannelID ¶
func (fake *ChaincodeStub) GetChannelID() string
func (*ChaincodeStub) GetChannelIDCallCount ¶
func (fake *ChaincodeStub) GetChannelIDCallCount() int
func (*ChaincodeStub) GetChannelIDCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetChannelIDCalls(stub func() string)
func (*ChaincodeStub) GetChannelIDReturns ¶
func (fake *ChaincodeStub) GetChannelIDReturns(result1 string)
func (*ChaincodeStub) GetChannelIDReturnsOnCall ¶
func (fake *ChaincodeStub) GetChannelIDReturnsOnCall(i int, result1 string)
func (*ChaincodeStub) GetCreator ¶
func (fake *ChaincodeStub) GetCreator() ([]byte, error)
func (*ChaincodeStub) GetCreatorCallCount ¶
func (fake *ChaincodeStub) GetCreatorCallCount() int
func (*ChaincodeStub) GetCreatorCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetCreatorCalls(stub func() ([]byte, error))
func (*ChaincodeStub) GetCreatorReturns ¶
func (fake *ChaincodeStub) GetCreatorReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetCreatorReturnsOnCall ¶
func (fake *ChaincodeStub) GetCreatorReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetDecorations ¶
func (fake *ChaincodeStub) GetDecorations() map[string][]byte
func (*ChaincodeStub) GetDecorationsCallCount ¶
func (fake *ChaincodeStub) GetDecorationsCallCount() int
func (*ChaincodeStub) GetDecorationsCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetDecorationsCalls(stub func() map[string][]byte)
func (*ChaincodeStub) GetDecorationsReturns ¶
func (fake *ChaincodeStub) GetDecorationsReturns(result1 map[string][]byte)
func (*ChaincodeStub) GetDecorationsReturnsOnCall ¶
func (fake *ChaincodeStub) GetDecorationsReturnsOnCall(i int, result1 map[string][]byte)
func (*ChaincodeStub) GetFunctionAndParameters ¶
func (fake *ChaincodeStub) GetFunctionAndParameters() (string, []string)
func (*ChaincodeStub) GetFunctionAndParametersCallCount ¶
func (fake *ChaincodeStub) GetFunctionAndParametersCallCount() int
func (*ChaincodeStub) GetFunctionAndParametersCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetFunctionAndParametersCalls(stub func() (string, []string))
func (*ChaincodeStub) GetFunctionAndParametersReturns ¶
func (fake *ChaincodeStub) GetFunctionAndParametersReturns(result1 string, result2 []string)
func (*ChaincodeStub) GetFunctionAndParametersReturnsOnCall ¶
func (fake *ChaincodeStub) GetFunctionAndParametersReturnsOnCall(i int, result1 string, result2 []string)
func (*ChaincodeStub) GetHistoryForKey ¶
func (fake *ChaincodeStub) GetHistoryForKey(arg1 string) (shim.HistoryQueryIteratorInterface, error)
func (*ChaincodeStub) GetHistoryForKeyArgsForCall ¶
func (fake *ChaincodeStub) GetHistoryForKeyArgsForCall(i int) string
func (*ChaincodeStub) GetHistoryForKeyCallCount ¶
func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int
func (*ChaincodeStub) GetHistoryForKeyCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetHistoryForKeyCalls(stub func(string) (shim.HistoryQueryIteratorInterface, error))
func (*ChaincodeStub) GetHistoryForKeyReturns ¶
func (fake *ChaincodeStub) GetHistoryForKeyReturns(result1 shim.HistoryQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetHistoryForKeyReturnsOnCall ¶
func (fake *ChaincodeStub) GetHistoryForKeyReturnsOnCall(i int, result1 shim.HistoryQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateData ¶
func (fake *ChaincodeStub) GetPrivateData(arg1 string, arg2 string) ([]byte, error)
func (*ChaincodeStub) GetPrivateDataArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKey ¶
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKey(arg1 string, arg2 string, arg3 []string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall(i int) (string, string, []string)
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount() int
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCalls(stub func(string, string, []string) (shim.StateQueryIteratorInterface, error))
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns ¶
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall ¶
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateDataByRange ¶
func (fake *ChaincodeStub) GetPrivateDataByRange(arg1 string, arg2 string, arg3 string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetPrivateDataByRangeArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataByRangeArgsForCall(i int) (string, string, string)
func (*ChaincodeStub) GetPrivateDataByRangeCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataByRangeCallCount() int
func (*ChaincodeStub) GetPrivateDataByRangeCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetPrivateDataByRangeCalls(stub func(string, string, string) (shim.StateQueryIteratorInterface, error))
func (*ChaincodeStub) GetPrivateDataByRangeReturns ¶
func (fake *ChaincodeStub) GetPrivateDataByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateDataByRangeReturnsOnCall ¶
func (fake *ChaincodeStub) GetPrivateDataByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateDataCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataCallCount() int
func (*ChaincodeStub) GetPrivateDataCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetPrivateDataCalls(stub func(string, string) ([]byte, error))
func (*ChaincodeStub) GetPrivateDataQueryResult ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResult(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetPrivateDataQueryResultArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResultArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataQueryResultCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int
func (*ChaincodeStub) GetPrivateDataQueryResultCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetPrivateDataQueryResultCalls(stub func(string, string) (shim.StateQueryIteratorInterface, error))
func (*ChaincodeStub) GetPrivateDataQueryResultReturns ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetPrivateDataReturns ¶
func (fake *ChaincodeStub) GetPrivateDataReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetPrivateDataReturnsOnCall ¶
func (fake *ChaincodeStub) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetPrivateDataValidationParameter ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameter(arg1 string, arg2 string) ([]byte, error)
func (*ChaincodeStub) GetPrivateDataValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameterArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataValidationParameterCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int
func (*ChaincodeStub) GetPrivateDataValidationParameterCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetPrivateDataValidationParameterCalls(stub func(string, string) ([]byte, error))
func (*ChaincodeStub) GetPrivateDataValidationParameterReturns ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetQueryResult ¶
func (fake *ChaincodeStub) GetQueryResult(arg1 string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetQueryResultArgsForCall ¶
func (fake *ChaincodeStub) GetQueryResultArgsForCall(i int) string
func (*ChaincodeStub) GetQueryResultCallCount ¶
func (fake *ChaincodeStub) GetQueryResultCallCount() int
func (*ChaincodeStub) GetQueryResultCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetQueryResultCalls(stub func(string) (shim.StateQueryIteratorInterface, error))
func (*ChaincodeStub) GetQueryResultReturns ¶
func (fake *ChaincodeStub) GetQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetQueryResultReturnsOnCall ¶
func (fake *ChaincodeStub) GetQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetQueryResultWithPagination ¶
func (fake *ChaincodeStub) GetQueryResultWithPagination(arg1 string, arg2 int32, arg3 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
func (*ChaincodeStub) GetQueryResultWithPaginationArgsForCall ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationArgsForCall(i int) (string, int32, string)
func (*ChaincodeStub) GetQueryResultWithPaginationCallCount ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int
func (*ChaincodeStub) GetQueryResultWithPaginationCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetQueryResultWithPaginationCalls(stub func(string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error))
func (*ChaincodeStub) GetQueryResultWithPaginationReturns ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetSignedProposal ¶
func (fake *ChaincodeStub) GetSignedProposal() (*peer.SignedProposal, error)
func (*ChaincodeStub) GetSignedProposalCallCount ¶
func (fake *ChaincodeStub) GetSignedProposalCallCount() int
func (*ChaincodeStub) GetSignedProposalCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetSignedProposalCalls(stub func() (*peer.SignedProposal, error))
func (*ChaincodeStub) GetSignedProposalReturns ¶
func (fake *ChaincodeStub) GetSignedProposalReturns(result1 *peer.SignedProposal, result2 error)
func (*ChaincodeStub) GetSignedProposalReturnsOnCall ¶
func (fake *ChaincodeStub) GetSignedProposalReturnsOnCall(i int, result1 *peer.SignedProposal, result2 error)
func (*ChaincodeStub) GetStateArgsForCall ¶
func (fake *ChaincodeStub) GetStateArgsForCall(i int) string
func (*ChaincodeStub) GetStateByPartialCompositeKey ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKey(arg1 string, arg2 []string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall(i int) (string, []string)
func (*ChaincodeStub) GetStateByPartialCompositeKeyCallCount ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCallCount() int
func (*ChaincodeStub) GetStateByPartialCompositeKeyCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCalls(stub func(string, []string) (shim.StateQueryIteratorInterface, error))
func (*ChaincodeStub) GetStateByPartialCompositeKeyReturns ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPagination ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPagination(arg1 string, arg2 []string, arg3 int32, arg4 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall ¶
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCalls(stub func(string, []string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error))
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateByRange ¶
func (fake *ChaincodeStub) GetStateByRange(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetStateByRangeArgsForCall ¶
func (fake *ChaincodeStub) GetStateByRangeArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetStateByRangeCallCount ¶
func (fake *ChaincodeStub) GetStateByRangeCallCount() int
func (*ChaincodeStub) GetStateByRangeCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStateByRangeCalls(stub func(string, string) (shim.StateQueryIteratorInterface, error))
func (*ChaincodeStub) GetStateByRangeReturns ¶
func (fake *ChaincodeStub) GetStateByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetStateByRangeReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
func (*ChaincodeStub) GetStateByRangeWithPagination ¶
func (fake *ChaincodeStub) GetStateByRangeWithPagination(arg1 string, arg2 string, arg3 int32, arg4 string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
func (*ChaincodeStub) GetStateByRangeWithPaginationArgsForCall ¶
func (*ChaincodeStub) GetStateByRangeWithPaginationCallCount ¶
func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int
func (*ChaincodeStub) GetStateByRangeWithPaginationCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStateByRangeWithPaginationCalls(stub func(string, string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error))
func (*ChaincodeStub) GetStateByRangeWithPaginationReturns ¶
func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *peer.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateCallCount ¶
func (fake *ChaincodeStub) GetStateCallCount() int
func (*ChaincodeStub) GetStateCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStateCalls(stub func(string) ([]byte, error))
func (*ChaincodeStub) GetStateReturns ¶
func (fake *ChaincodeStub) GetStateReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetStateReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetStateValidationParameter ¶
func (fake *ChaincodeStub) GetStateValidationParameter(arg1 string) ([]byte, error)
func (*ChaincodeStub) GetStateValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) GetStateValidationParameterArgsForCall(i int) string
func (*ChaincodeStub) GetStateValidationParameterCallCount ¶
func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int
func (*ChaincodeStub) GetStateValidationParameterCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStateValidationParameterCalls(stub func(string) ([]byte, error))
func (*ChaincodeStub) GetStateValidationParameterReturns ¶
func (fake *ChaincodeStub) GetStateValidationParameterReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetStateValidationParameterReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetStringArgs ¶
func (fake *ChaincodeStub) GetStringArgs() []string
func (*ChaincodeStub) GetStringArgsCallCount ¶
func (fake *ChaincodeStub) GetStringArgsCallCount() int
func (*ChaincodeStub) GetStringArgsCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetStringArgsCalls(stub func() []string)
func (*ChaincodeStub) GetStringArgsReturns ¶
func (fake *ChaincodeStub) GetStringArgsReturns(result1 []string)
func (*ChaincodeStub) GetStringArgsReturnsOnCall ¶
func (fake *ChaincodeStub) GetStringArgsReturnsOnCall(i int, result1 []string)
func (*ChaincodeStub) GetTransient ¶
func (fake *ChaincodeStub) GetTransient() (map[string][]byte, error)
func (*ChaincodeStub) GetTransientCallCount ¶
func (fake *ChaincodeStub) GetTransientCallCount() int
func (*ChaincodeStub) GetTransientCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetTransientCalls(stub func() (map[string][]byte, error))
func (*ChaincodeStub) GetTransientReturns ¶
func (fake *ChaincodeStub) GetTransientReturns(result1 map[string][]byte, result2 error)
func (*ChaincodeStub) GetTransientReturnsOnCall ¶
func (fake *ChaincodeStub) GetTransientReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*ChaincodeStub) GetTxID ¶
func (fake *ChaincodeStub) GetTxID() string
func (*ChaincodeStub) GetTxIDCallCount ¶
func (fake *ChaincodeStub) GetTxIDCallCount() int
func (*ChaincodeStub) GetTxIDCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetTxIDCalls(stub func() string)
func (*ChaincodeStub) GetTxIDReturns ¶
func (fake *ChaincodeStub) GetTxIDReturns(result1 string)
func (*ChaincodeStub) GetTxIDReturnsOnCall ¶
func (fake *ChaincodeStub) GetTxIDReturnsOnCall(i int, result1 string)
func (*ChaincodeStub) GetTxTimestamp ¶
func (fake *ChaincodeStub) GetTxTimestamp() (*timestamp.Timestamp, error)
func (*ChaincodeStub) GetTxTimestampCallCount ¶
func (fake *ChaincodeStub) GetTxTimestampCallCount() int
func (*ChaincodeStub) GetTxTimestampCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) GetTxTimestampCalls(stub func() (*timestamp.Timestamp, error))
func (*ChaincodeStub) GetTxTimestampReturns ¶
func (fake *ChaincodeStub) GetTxTimestampReturns(result1 *timestamp.Timestamp, result2 error)
func (*ChaincodeStub) GetTxTimestampReturnsOnCall ¶
func (fake *ChaincodeStub) GetTxTimestampReturnsOnCall(i int, result1 *timestamp.Timestamp, result2 error)
func (*ChaincodeStub) Invocations ¶
func (fake *ChaincodeStub) Invocations() map[string][][]interface{}
func (*ChaincodeStub) InvokeChaincode ¶
func (*ChaincodeStub) InvokeChaincodeArgsForCall ¶
func (fake *ChaincodeStub) InvokeChaincodeArgsForCall(i int) (string, [][]byte, string)
func (*ChaincodeStub) InvokeChaincodeCallCount ¶
func (fake *ChaincodeStub) InvokeChaincodeCallCount() int
func (*ChaincodeStub) InvokeChaincodeCalls ¶ added in v1.4.0
func (*ChaincodeStub) InvokeChaincodeReturns ¶
func (fake *ChaincodeStub) InvokeChaincodeReturns(result1 peer.Response)
func (*ChaincodeStub) InvokeChaincodeReturnsOnCall ¶
func (fake *ChaincodeStub) InvokeChaincodeReturnsOnCall(i int, result1 peer.Response)
func (*ChaincodeStub) PutPrivateData ¶
func (fake *ChaincodeStub) PutPrivateData(arg1 string, arg2 string, arg3 []byte) error
func (*ChaincodeStub) PutPrivateDataArgsForCall ¶
func (fake *ChaincodeStub) PutPrivateDataArgsForCall(i int) (string, string, []byte)
func (*ChaincodeStub) PutPrivateDataCallCount ¶
func (fake *ChaincodeStub) PutPrivateDataCallCount() int
func (*ChaincodeStub) PutPrivateDataCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) PutPrivateDataCalls(stub func(string, string, []byte) error)
func (*ChaincodeStub) PutPrivateDataReturns ¶
func (fake *ChaincodeStub) PutPrivateDataReturns(result1 error)
func (*ChaincodeStub) PutPrivateDataReturnsOnCall ¶
func (fake *ChaincodeStub) PutPrivateDataReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) PutState ¶
func (fake *ChaincodeStub) PutState(arg1 string, arg2 []byte) error
func (*ChaincodeStub) PutStateArgsForCall ¶
func (fake *ChaincodeStub) PutStateArgsForCall(i int) (string, []byte)
func (*ChaincodeStub) PutStateCallCount ¶
func (fake *ChaincodeStub) PutStateCallCount() int
func (*ChaincodeStub) PutStateCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) PutStateCalls(stub func(string, []byte) error)
func (*ChaincodeStub) PutStateReturns ¶
func (fake *ChaincodeStub) PutStateReturns(result1 error)
func (*ChaincodeStub) PutStateReturnsOnCall ¶
func (fake *ChaincodeStub) PutStateReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) SetEvent ¶
func (fake *ChaincodeStub) SetEvent(arg1 string, arg2 []byte) error
func (*ChaincodeStub) SetEventArgsForCall ¶
func (fake *ChaincodeStub) SetEventArgsForCall(i int) (string, []byte)
func (*ChaincodeStub) SetEventCallCount ¶
func (fake *ChaincodeStub) SetEventCallCount() int
func (*ChaincodeStub) SetEventCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) SetEventCalls(stub func(string, []byte) error)
func (*ChaincodeStub) SetEventReturns ¶
func (fake *ChaincodeStub) SetEventReturns(result1 error)
func (*ChaincodeStub) SetEventReturnsOnCall ¶
func (fake *ChaincodeStub) SetEventReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) SetPrivateDataValidationParameter ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameter(arg1 string, arg2 string, arg3 []byte) error
func (*ChaincodeStub) SetPrivateDataValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameterArgsForCall(i int) (string, string, []byte)
func (*ChaincodeStub) SetPrivateDataValidationParameterCallCount ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int
func (*ChaincodeStub) SetPrivateDataValidationParameterCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) SetPrivateDataValidationParameterCalls(stub func(string, string, []byte) error)
func (*ChaincodeStub) SetPrivateDataValidationParameterReturns ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturns(result1 error)
func (*ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) SetStateValidationParameter ¶
func (fake *ChaincodeStub) SetStateValidationParameter(arg1 string, arg2 []byte) error
func (*ChaincodeStub) SetStateValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) SetStateValidationParameterArgsForCall(i int) (string, []byte)
func (*ChaincodeStub) SetStateValidationParameterCallCount ¶
func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int
func (*ChaincodeStub) SetStateValidationParameterCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) SetStateValidationParameterCalls(stub func(string, []byte) error)
func (*ChaincodeStub) SetStateValidationParameterReturns ¶
func (fake *ChaincodeStub) SetStateValidationParameterReturns(result1 error)
func (*ChaincodeStub) SetStateValidationParameterReturnsOnCall ¶
func (fake *ChaincodeStub) SetStateValidationParameterReturnsOnCall(i int, result1 error)
func (*ChaincodeStub) SplitCompositeKey ¶
func (fake *ChaincodeStub) SplitCompositeKey(arg1 string) (string, []string, error)
func (*ChaincodeStub) SplitCompositeKeyArgsForCall ¶
func (fake *ChaincodeStub) SplitCompositeKeyArgsForCall(i int) string
func (*ChaincodeStub) SplitCompositeKeyCallCount ¶
func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int
func (*ChaincodeStub) SplitCompositeKeyCalls ¶ added in v1.4.0
func (fake *ChaincodeStub) SplitCompositeKeyCalls(stub func(string) (string, []string, error))
func (*ChaincodeStub) SplitCompositeKeyReturns ¶
func (fake *ChaincodeStub) SplitCompositeKeyReturns(result1 string, result2 []string, result3 error)
func (*ChaincodeStub) SplitCompositeKeyReturnsOnCall ¶
func (fake *ChaincodeStub) SplitCompositeKeyReturnsOnCall(i int, result1 string, result2 []string, result3 error)
type FileSystemSupport ¶
type FileSystemSupport struct { CheckInstantiationPolicyStub func(*peer.SignedProposal, string, []byte) error GetChaincodeFromLocalStorageStub func(string, string) (ccprovider.CCPackage, error) GetChaincodesFromLocalStorageStub func() (*peer.ChaincodeQueryResponse, error) GetInstantiationPolicyStub func(string, ccprovider.CCPackage) ([]byte, error) PutChaincodeToLocalStorageStub func(ccprovider.CCPackage) error // contains filtered or unexported fields }
func (*FileSystemSupport) CheckInstantiationPolicy ¶
func (fake *FileSystemSupport) CheckInstantiationPolicy(arg1 *peer.SignedProposal, arg2 string, arg3 []byte) error
func (*FileSystemSupport) CheckInstantiationPolicyArgsForCall ¶
func (fake *FileSystemSupport) CheckInstantiationPolicyArgsForCall(i int) (*peer.SignedProposal, string, []byte)
func (*FileSystemSupport) CheckInstantiationPolicyCallCount ¶
func (fake *FileSystemSupport) CheckInstantiationPolicyCallCount() int
func (*FileSystemSupport) CheckInstantiationPolicyCalls ¶ added in v1.4.0
func (fake *FileSystemSupport) CheckInstantiationPolicyCalls(stub func(*peer.SignedProposal, string, []byte) error)
func (*FileSystemSupport) CheckInstantiationPolicyReturns ¶
func (fake *FileSystemSupport) CheckInstantiationPolicyReturns(result1 error)
func (*FileSystemSupport) CheckInstantiationPolicyReturnsOnCall ¶
func (fake *FileSystemSupport) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)
func (*FileSystemSupport) GetChaincodeFromLocalStorage ¶
func (fake *FileSystemSupport) GetChaincodeFromLocalStorage(arg1 string, arg2 string) (ccprovider.CCPackage, error)
func (*FileSystemSupport) GetChaincodeFromLocalStorageArgsForCall ¶
func (fake *FileSystemSupport) GetChaincodeFromLocalStorageArgsForCall(i int) (string, string)
func (*FileSystemSupport) GetChaincodeFromLocalStorageCallCount ¶
func (fake *FileSystemSupport) GetChaincodeFromLocalStorageCallCount() int
func (*FileSystemSupport) GetChaincodeFromLocalStorageCalls ¶ added in v1.4.0
func (fake *FileSystemSupport) GetChaincodeFromLocalStorageCalls(stub func(string, string) (ccprovider.CCPackage, error))
func (*FileSystemSupport) GetChaincodeFromLocalStorageReturns ¶
func (fake *FileSystemSupport) GetChaincodeFromLocalStorageReturns(result1 ccprovider.CCPackage, result2 error)
func (*FileSystemSupport) GetChaincodeFromLocalStorageReturnsOnCall ¶
func (fake *FileSystemSupport) GetChaincodeFromLocalStorageReturnsOnCall(i int, result1 ccprovider.CCPackage, result2 error)
func (*FileSystemSupport) GetChaincodesFromLocalStorage ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorage() (*peer.ChaincodeQueryResponse, error)
func (*FileSystemSupport) GetChaincodesFromLocalStorageCallCount ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageCallCount() int
func (*FileSystemSupport) GetChaincodesFromLocalStorageCalls ¶ added in v1.4.0
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageCalls(stub func() (*peer.ChaincodeQueryResponse, error))
func (*FileSystemSupport) GetChaincodesFromLocalStorageReturns ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturns(result1 *peer.ChaincodeQueryResponse, result2 error)
func (*FileSystemSupport) GetChaincodesFromLocalStorageReturnsOnCall ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturnsOnCall(i int, result1 *peer.ChaincodeQueryResponse, result2 error)
func (*FileSystemSupport) GetInstantiationPolicy ¶
func (fake *FileSystemSupport) GetInstantiationPolicy(arg1 string, arg2 ccprovider.CCPackage) ([]byte, error)
func (*FileSystemSupport) GetInstantiationPolicyArgsForCall ¶
func (fake *FileSystemSupport) GetInstantiationPolicyArgsForCall(i int) (string, ccprovider.CCPackage)
func (*FileSystemSupport) GetInstantiationPolicyCallCount ¶
func (fake *FileSystemSupport) GetInstantiationPolicyCallCount() int
func (*FileSystemSupport) GetInstantiationPolicyCalls ¶ added in v1.4.0
func (fake *FileSystemSupport) GetInstantiationPolicyCalls(stub func(string, ccprovider.CCPackage) ([]byte, error))
func (*FileSystemSupport) GetInstantiationPolicyReturns ¶
func (fake *FileSystemSupport) GetInstantiationPolicyReturns(result1 []byte, result2 error)
func (*FileSystemSupport) GetInstantiationPolicyReturnsOnCall ¶
func (fake *FileSystemSupport) GetInstantiationPolicyReturnsOnCall(i int, result1 []byte, result2 error)
func (*FileSystemSupport) Invocations ¶
func (fake *FileSystemSupport) Invocations() map[string][][]interface{}
func (*FileSystemSupport) PutChaincodeToLocalStorage ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorage(arg1 ccprovider.CCPackage) error
func (*FileSystemSupport) PutChaincodeToLocalStorageArgsForCall ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorageArgsForCall(i int) ccprovider.CCPackage
func (*FileSystemSupport) PutChaincodeToLocalStorageCallCount ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorageCallCount() int
func (*FileSystemSupport) PutChaincodeToLocalStorageCalls ¶ added in v1.4.0
func (fake *FileSystemSupport) PutChaincodeToLocalStorageCalls(stub func(ccprovider.CCPackage) error)
func (*FileSystemSupport) PutChaincodeToLocalStorageReturns ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorageReturns(result1 error)
func (*FileSystemSupport) PutChaincodeToLocalStorageReturnsOnCall ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorageReturnsOnCall(i int, result1 error)
type QueryExecutor ¶
type QueryExecutor struct { DoneStub func() ExecuteQueryStub func(string, string) (ledger.ResultsIterator, error) ExecuteQueryOnPrivateDataStub func(string, string, string) (ledger.ResultsIterator, error) ExecuteQueryWithMetadataStub func(string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error) GetPrivateDataStub func(string, string, string) ([]byte, error) GetPrivateDataMetadataStub func(string, string, string) (map[string][]byte, error) GetPrivateDataMetadataByHashStub func(string, string, []byte) (map[string][]byte, error) GetPrivateDataMultipleKeysStub func(string, string, []string) ([][]byte, error) GetPrivateDataRangeScanIteratorStub func(string, string, string, string) (ledger.ResultsIterator, error) GetStateStub func(string, string) ([]byte, error) GetStateMetadataStub func(string, string) (map[string][]byte, error) GetStateMultipleKeysStub func(string, []string) ([][]byte, error) GetStateRangeScanIteratorStub func(string, string, string) (ledger.ResultsIterator, error) GetStateRangeScanIteratorWithMetadataStub func(string, string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error) // contains filtered or unexported fields }
func (*QueryExecutor) Done ¶
func (fake *QueryExecutor) Done()
func (*QueryExecutor) DoneCallCount ¶
func (fake *QueryExecutor) DoneCallCount() int
func (*QueryExecutor) DoneCalls ¶ added in v1.4.0
func (fake *QueryExecutor) DoneCalls(stub func())
func (*QueryExecutor) ExecuteQuery ¶
func (fake *QueryExecutor) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)
func (*QueryExecutor) ExecuteQueryArgsForCall ¶
func (fake *QueryExecutor) ExecuteQueryArgsForCall(i int) (string, string)
func (*QueryExecutor) ExecuteQueryCallCount ¶
func (fake *QueryExecutor) ExecuteQueryCallCount() int
func (*QueryExecutor) ExecuteQueryCalls ¶ added in v1.4.0
func (fake *QueryExecutor) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))
func (*QueryExecutor) ExecuteQueryOnPrivateData ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
func (*QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
func (*QueryExecutor) ExecuteQueryOnPrivateDataCallCount ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCallCount() int
func (*QueryExecutor) ExecuteQueryOnPrivateDataCalls ¶ added in v1.4.0
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
func (*QueryExecutor) ExecuteQueryOnPrivateDataReturns ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryReturns ¶
func (fake *QueryExecutor) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryReturnsOnCall ¶
func (fake *QueryExecutor) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryWithMetadata ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.QueryResultsIterator, error)
func (*QueryExecutor) ExecuteQueryWithMetadataArgsForCall ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
func (*QueryExecutor) ExecuteQueryWithMetadataCallCount ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadataCallCount() int
func (*QueryExecutor) ExecuteQueryWithMetadataCalls ¶ added in v1.4.0
func (fake *QueryExecutor) ExecuteQueryWithMetadataCalls(stub func(string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
func (*QueryExecutor) ExecuteQueryWithMetadataReturns ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
func (*QueryExecutor) GetPrivateData ¶
func (*QueryExecutor) GetPrivateDataArgsForCall ¶
func (fake *QueryExecutor) GetPrivateDataArgsForCall(i int) (string, string, string)
func (*QueryExecutor) GetPrivateDataCallCount ¶
func (fake *QueryExecutor) GetPrivateDataCallCount() int
func (*QueryExecutor) GetPrivateDataCalls ¶ added in v1.4.0
func (*QueryExecutor) GetPrivateDataMetadata ¶
func (*QueryExecutor) GetPrivateDataMetadataArgsForCall ¶
func (fake *QueryExecutor) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
func (*QueryExecutor) GetPrivateDataMetadataByHash ¶
func (*QueryExecutor) GetPrivateDataMetadataByHashArgsForCall ¶
func (fake *QueryExecutor) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
func (*QueryExecutor) GetPrivateDataMetadataByHashCallCount ¶
func (fake *QueryExecutor) GetPrivateDataMetadataByHashCallCount() int
func (*QueryExecutor) GetPrivateDataMetadataByHashCalls ¶ added in v1.4.0
func (*QueryExecutor) GetPrivateDataMetadataByHashReturns ¶
func (fake *QueryExecutor) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)
func (*QueryExecutor) GetPrivateDataMetadataByHashReturnsOnCall ¶
func (fake *QueryExecutor) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*QueryExecutor) GetPrivateDataMetadataCallCount ¶
func (fake *QueryExecutor) GetPrivateDataMetadataCallCount() int
func (*QueryExecutor) GetPrivateDataMetadataCalls ¶ added in v1.4.0
func (*QueryExecutor) GetPrivateDataMetadataReturns ¶
func (fake *QueryExecutor) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
func (*QueryExecutor) GetPrivateDataMetadataReturnsOnCall ¶
func (fake *QueryExecutor) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*QueryExecutor) GetPrivateDataMultipleKeys ¶
func (*QueryExecutor) GetPrivateDataMultipleKeysArgsForCall ¶
func (fake *QueryExecutor) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
func (*QueryExecutor) GetPrivateDataMultipleKeysCallCount ¶
func (fake *QueryExecutor) GetPrivateDataMultipleKeysCallCount() int
func (*QueryExecutor) GetPrivateDataMultipleKeysCalls ¶ added in v1.4.0
func (*QueryExecutor) GetPrivateDataMultipleKeysReturns ¶
func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
func (*QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall ¶
func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*QueryExecutor) GetPrivateDataRangeScanIterator ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)
func (*QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall ¶
func (*QueryExecutor) GetPrivateDataRangeScanIteratorCallCount ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCallCount() int
func (*QueryExecutor) GetPrivateDataRangeScanIteratorCalls ¶ added in v1.4.0
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))
func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturns ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetPrivateDataReturns ¶
func (fake *QueryExecutor) GetPrivateDataReturns(result1 []byte, result2 error)
func (*QueryExecutor) GetPrivateDataReturnsOnCall ¶
func (fake *QueryExecutor) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
func (*QueryExecutor) GetState ¶
func (fake *QueryExecutor) GetState(arg1 string, arg2 string) ([]byte, error)
func (*QueryExecutor) GetStateArgsForCall ¶
func (fake *QueryExecutor) GetStateArgsForCall(i int) (string, string)
func (*QueryExecutor) GetStateCallCount ¶
func (fake *QueryExecutor) GetStateCallCount() int
func (*QueryExecutor) GetStateCalls ¶ added in v1.4.0
func (fake *QueryExecutor) GetStateCalls(stub func(string, string) ([]byte, error))
func (*QueryExecutor) GetStateMetadata ¶
func (*QueryExecutor) GetStateMetadataArgsForCall ¶
func (fake *QueryExecutor) GetStateMetadataArgsForCall(i int) (string, string)
func (*QueryExecutor) GetStateMetadataCallCount ¶
func (fake *QueryExecutor) GetStateMetadataCallCount() int
func (*QueryExecutor) GetStateMetadataCalls ¶ added in v1.4.0
func (*QueryExecutor) GetStateMetadataReturns ¶
func (fake *QueryExecutor) GetStateMetadataReturns(result1 map[string][]byte, result2 error)
func (*QueryExecutor) GetStateMetadataReturnsOnCall ¶
func (fake *QueryExecutor) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*QueryExecutor) GetStateMultipleKeys ¶
func (fake *QueryExecutor) GetStateMultipleKeys(arg1 string, arg2 []string) ([][]byte, error)
func (*QueryExecutor) GetStateMultipleKeysArgsForCall ¶
func (fake *QueryExecutor) GetStateMultipleKeysArgsForCall(i int) (string, []string)
func (*QueryExecutor) GetStateMultipleKeysCallCount ¶
func (fake *QueryExecutor) GetStateMultipleKeysCallCount() int
func (*QueryExecutor) GetStateMultipleKeysCalls ¶ added in v1.4.0
func (fake *QueryExecutor) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))
func (*QueryExecutor) GetStateMultipleKeysReturns ¶
func (fake *QueryExecutor) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
func (*QueryExecutor) GetStateMultipleKeysReturnsOnCall ¶
func (fake *QueryExecutor) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*QueryExecutor) GetStateRangeScanIterator ¶
func (fake *QueryExecutor) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
func (*QueryExecutor) GetStateRangeScanIteratorArgsForCall ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (*QueryExecutor) GetStateRangeScanIteratorCallCount ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorCallCount() int
func (*QueryExecutor) GetStateRangeScanIteratorCalls ¶ added in v1.4.0
func (fake *QueryExecutor) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
func (*QueryExecutor) GetStateRangeScanIteratorReturns ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetStateRangeScanIteratorReturnsOnCall ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadata ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.QueryResultsIterator, error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall ¶
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount() int
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCalls ¶ added in v1.4.0
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
func (*QueryExecutor) GetStateReturns ¶
func (fake *QueryExecutor) GetStateReturns(result1 []byte, result2 error)
func (*QueryExecutor) GetStateReturnsOnCall ¶
func (fake *QueryExecutor) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*QueryExecutor) Invocations ¶
func (fake *QueryExecutor) Invocations() map[string][][]interface{}
type StateQueryIterator ¶
type StateQueryIterator struct { CloseStub func() error HasNextStub func() bool NextStub func() (*queryresult.KV, error) // contains filtered or unexported fields }
func (*StateQueryIterator) Close ¶
func (fake *StateQueryIterator) Close() error
func (*StateQueryIterator) CloseCallCount ¶
func (fake *StateQueryIterator) CloseCallCount() int
func (*StateQueryIterator) CloseCalls ¶ added in v1.4.0
func (fake *StateQueryIterator) CloseCalls(stub func() error)
func (*StateQueryIterator) CloseReturns ¶
func (fake *StateQueryIterator) CloseReturns(result1 error)
func (*StateQueryIterator) CloseReturnsOnCall ¶
func (fake *StateQueryIterator) CloseReturnsOnCall(i int, result1 error)
func (*StateQueryIterator) HasNext ¶
func (fake *StateQueryIterator) HasNext() bool
func (*StateQueryIterator) HasNextCallCount ¶
func (fake *StateQueryIterator) HasNextCallCount() int
func (*StateQueryIterator) HasNextCalls ¶ added in v1.4.0
func (fake *StateQueryIterator) HasNextCalls(stub func() bool)
func (*StateQueryIterator) HasNextReturns ¶
func (fake *StateQueryIterator) HasNextReturns(result1 bool)
func (*StateQueryIterator) HasNextReturnsOnCall ¶
func (fake *StateQueryIterator) HasNextReturnsOnCall(i int, result1 bool)
func (*StateQueryIterator) Invocations ¶
func (fake *StateQueryIterator) Invocations() map[string][][]interface{}
func (*StateQueryIterator) Next ¶
func (fake *StateQueryIterator) Next() (*queryresult.KV, error)
func (*StateQueryIterator) NextCallCount ¶
func (fake *StateQueryIterator) NextCallCount() int
func (*StateQueryIterator) NextCalls ¶ added in v1.4.0
func (fake *StateQueryIterator) NextCalls(stub func() (*queryresult.KV, error))
func (*StateQueryIterator) NextReturns ¶
func (fake *StateQueryIterator) NextReturns(result1 *queryresult.KV, result2 error)
func (*StateQueryIterator) NextReturnsOnCall ¶
func (fake *StateQueryIterator) NextReturnsOnCall(i int, result1 *queryresult.KV, result2 error)
type SystemChaincodeProvider ¶
type SystemChaincodeProvider struct { GetApplicationConfigStub func(string) (channelconfig.Application, bool) GetQueryExecutorForLedgerStub func(string) (ledger.QueryExecutor, error) IsSysCCStub func(string) bool IsSysCCAndNotInvokableCC2CCStub func(string) bool IsSysCCAndNotInvokableExternalStub func(string) bool PolicyManagerStub func(string) (policies.Manager, bool) // contains filtered or unexported fields }
func (*SystemChaincodeProvider) GetApplicationConfig ¶
func (fake *SystemChaincodeProvider) GetApplicationConfig(arg1 string) (channelconfig.Application, bool)
func (*SystemChaincodeProvider) GetApplicationConfigArgsForCall ¶
func (fake *SystemChaincodeProvider) GetApplicationConfigArgsForCall(i int) string
func (*SystemChaincodeProvider) GetApplicationConfigCallCount ¶
func (fake *SystemChaincodeProvider) GetApplicationConfigCallCount() int
func (*SystemChaincodeProvider) GetApplicationConfigCalls ¶ added in v1.4.0
func (fake *SystemChaincodeProvider) GetApplicationConfigCalls(stub func(string) (channelconfig.Application, bool))
func (*SystemChaincodeProvider) GetApplicationConfigReturns ¶
func (fake *SystemChaincodeProvider) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
func (*SystemChaincodeProvider) GetApplicationConfigReturnsOnCall ¶
func (fake *SystemChaincodeProvider) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
func (*SystemChaincodeProvider) GetQueryExecutorForLedger ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedger(arg1 string) (ledger.QueryExecutor, error)
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerArgsForCall ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerArgsForCall(i int) string
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerCallCount ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerCallCount() int
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerCalls ¶ added in v1.4.0
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerCalls(stub func(string) (ledger.QueryExecutor, error))
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerReturns ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerReturns(result1 ledger.QueryExecutor, result2 error)
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerReturnsOnCall ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
func (*SystemChaincodeProvider) Invocations ¶
func (fake *SystemChaincodeProvider) Invocations() map[string][][]interface{}
func (*SystemChaincodeProvider) IsSysCC ¶
func (fake *SystemChaincodeProvider) IsSysCC(arg1 string) bool
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CC ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CC(arg1 string) bool
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCArgsForCall ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCallCount ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCalls ¶ added in v1.4.0
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCalls(stub func(string) bool)
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturns ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturns(result1 bool)
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall(i int, result1 bool)
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternal ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternal(arg1 string) bool
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalArgsForCall ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalArgsForCall(i int) string
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCallCount ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCallCount() int
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCalls ¶ added in v1.4.0
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCalls(stub func(string) bool)
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalReturns ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalReturns(result1 bool)
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalReturnsOnCall ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalReturnsOnCall(i int, result1 bool)
func (*SystemChaincodeProvider) IsSysCCArgsForCall ¶
func (fake *SystemChaincodeProvider) IsSysCCArgsForCall(i int) string
func (*SystemChaincodeProvider) IsSysCCCallCount ¶
func (fake *SystemChaincodeProvider) IsSysCCCallCount() int
func (*SystemChaincodeProvider) IsSysCCCalls ¶ added in v1.4.0
func (fake *SystemChaincodeProvider) IsSysCCCalls(stub func(string) bool)
func (*SystemChaincodeProvider) IsSysCCReturns ¶
func (fake *SystemChaincodeProvider) IsSysCCReturns(result1 bool)
func (*SystemChaincodeProvider) IsSysCCReturnsOnCall ¶
func (fake *SystemChaincodeProvider) IsSysCCReturnsOnCall(i int, result1 bool)
func (*SystemChaincodeProvider) PolicyManager ¶
func (fake *SystemChaincodeProvider) PolicyManager(arg1 string) (policies.Manager, bool)
func (*SystemChaincodeProvider) PolicyManagerArgsForCall ¶
func (fake *SystemChaincodeProvider) PolicyManagerArgsForCall(i int) string
func (*SystemChaincodeProvider) PolicyManagerCallCount ¶
func (fake *SystemChaincodeProvider) PolicyManagerCallCount() int
func (*SystemChaincodeProvider) PolicyManagerCalls ¶ added in v1.4.0
func (fake *SystemChaincodeProvider) PolicyManagerCalls(stub func(string) (policies.Manager, bool))
func (*SystemChaincodeProvider) PolicyManagerReturns ¶
func (fake *SystemChaincodeProvider) PolicyManagerReturns(result1 policies.Manager, result2 bool)
func (*SystemChaincodeProvider) PolicyManagerReturnsOnCall ¶
func (fake *SystemChaincodeProvider) PolicyManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)
Click to show internal directories.
Click to hide internal directories.