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) GetChaincodeDataReturns(result1 *ccprovider.ChaincodeData)
- func (fake *CCPackage) GetChaincodeDataReturnsOnCall(i int, result1 *ccprovider.ChaincodeData)
- func (fake *CCPackage) GetDepSpec() *pb.ChaincodeDeploymentSpec
- func (fake *CCPackage) GetDepSpecBytes() []byte
- func (fake *CCPackage) GetDepSpecBytesCallCount() int
- func (fake *CCPackage) GetDepSpecBytesReturns(result1 []byte)
- func (fake *CCPackage) GetDepSpecBytesReturnsOnCall(i int, result1 []byte)
- func (fake *CCPackage) GetDepSpecCallCount() int
- func (fake *CCPackage) GetDepSpecReturns(result1 *pb.ChaincodeDeploymentSpec)
- func (fake *CCPackage) GetDepSpecReturnsOnCall(i int, result1 *pb.ChaincodeDeploymentSpec)
- func (fake *CCPackage) GetId() []byte
- func (fake *CCPackage) GetIdCallCount() int
- 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) GetPackageObjectReturns(result1 proto.Message)
- func (fake *CCPackage) GetPackageObjectReturnsOnCall(i int, result1 proto.Message)
- func (fake *CCPackage) InitFromBuffer(buf []byte) (*ccprovider.ChaincodeData, error)
- func (fake *CCPackage) InitFromBufferArgsForCall(i int) []byte
- func (fake *CCPackage) InitFromBufferCallCount() int
- func (fake *CCPackage) InitFromBufferReturns(result1 *ccprovider.ChaincodeData, result2 error)
- func (fake *CCPackage) InitFromBufferReturnsOnCall(i int, result1 *ccprovider.ChaincodeData, result2 error)
- func (fake *CCPackage) InitFromFS(ccname string, ccversion string) ([]byte, *pb.ChaincodeDeploymentSpec, error)
- func (fake *CCPackage) InitFromFSArgsForCall(i int) (string, string)
- func (fake *CCPackage) InitFromFSCallCount() int
- func (fake *CCPackage) InitFromFSReturns(result1 []byte, result2 *pb.ChaincodeDeploymentSpec, result3 error)
- func (fake *CCPackage) InitFromFSReturnsOnCall(i int, result1 []byte, result2 *pb.ChaincodeDeploymentSpec, result3 error)
- func (fake *CCPackage) Invocations() map[string][][]interface{}
- func (fake *CCPackage) PutChaincodeToFS() error
- func (fake *CCPackage) PutChaincodeToFSCallCount() int
- func (fake *CCPackage) PutChaincodeToFSReturns(result1 error)
- func (fake *CCPackage) PutChaincodeToFSReturnsOnCall(i int, result1 error)
- func (fake *CCPackage) ValidateCC(ccdata *ccprovider.ChaincodeData) error
- func (fake *CCPackage) ValidateCCArgsForCall(i int) *ccprovider.ChaincodeData
- func (fake *CCPackage) ValidateCCCallCount() int
- func (fake *CCPackage) ValidateCCReturns(result1 error)
- func (fake *CCPackage) ValidateCCReturnsOnCall(i int, result1 error)
- type ChaincodeStub
- func (fake *ChaincodeStub) CreateCompositeKey(objectType string, attributes []string) (string, error)
- func (fake *ChaincodeStub) CreateCompositeKeyArgsForCall(i int) (string, []string)
- func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int
- func (fake *ChaincodeStub) CreateCompositeKeyReturns(result1 string, result2 error)
- func (fake *ChaincodeStub) CreateCompositeKeyReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ChaincodeStub) DelPrivateData(collection string, key string) error
- func (fake *ChaincodeStub) DelPrivateDataArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) DelPrivateDataCallCount() int
- func (fake *ChaincodeStub) DelPrivateDataReturns(result1 error)
- func (fake *ChaincodeStub) DelPrivateDataReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) DelState(key string) error
- func (fake *ChaincodeStub) DelStateArgsForCall(i int) string
- func (fake *ChaincodeStub) DelStateCallCount() int
- 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) 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) 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) 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) 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) 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) 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) GetFunctionAndParametersReturns(result1 string, result2 []string)
- func (fake *ChaincodeStub) GetFunctionAndParametersReturnsOnCall(i int, result1 string, result2 []string)
- func (fake *ChaincodeStub) GetHistoryForKey(key string) (shim.HistoryQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetHistoryForKeyArgsForCall(i int) string
- func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int
- func (fake *ChaincodeStub) GetHistoryForKeyReturns(result1 shim.HistoryQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetHistoryForKeyReturnsOnCall(i int, result1 shim.HistoryQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateData(collection string, key string) ([]byte, error)
- func (fake *ChaincodeStub) GetPrivateDataArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKey(collection string, objectType string, keys []string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall(i int) (string, string, []string)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataByRange(collection string, startKey string, endKey string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetPrivateDataByRangeArgsForCall(i int) (string, string, string)
- func (fake *ChaincodeStub) GetPrivateDataByRangeCallCount() int
- 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) GetPrivateDataQueryResult(collection string, query string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetPrivateDataQueryResultArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int
- 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(collection string, key string) ([]byte, error)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetQueryResult(query string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetQueryResultArgsForCall(i int) string
- func (fake *ChaincodeStub) GetQueryResultCallCount() int
- func (fake *ChaincodeStub) GetQueryResultReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetQueryResultReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetQueryResultWithPagination(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationArgsForCall(i int) (string, int32, string)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int
- func (fake *ChaincodeStub) GetQueryResultWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, ...)
- func (fake *ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, ...)
- func (fake *ChaincodeStub) GetSignedProposal() (*pb.SignedProposal, error)
- func (fake *ChaincodeStub) GetSignedProposalCallCount() int
- func (fake *ChaincodeStub) GetSignedProposalReturns(result1 *pb.SignedProposal, result2 error)
- func (fake *ChaincodeStub) GetSignedProposalReturnsOnCall(i int, result1 *pb.SignedProposal, result2 error)
- func (fake *ChaincodeStub) GetState(key string) ([]byte, error)
- func (fake *ChaincodeStub) GetStateArgsForCall(i int) string
- func (fake *ChaincodeStub) GetStateByPartialCompositeKey(objectType string, keys []string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall(i int) (string, []string)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCallCount() int
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPagination(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall(i int) (string, []string, int32, string)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, ...)
- func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, ...)
- func (fake *ChaincodeStub) GetStateByRange(startKey string, endKey string) (shim.StateQueryIteratorInterface, error)
- func (fake *ChaincodeStub) GetStateByRangeArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetStateByRangeCallCount() int
- func (fake *ChaincodeStub) GetStateByRangeReturns(result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByRangeReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 error)
- func (fake *ChaincodeStub) GetStateByRangeWithPagination(startKey string, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationArgsForCall(i int) (string, string, int32, string)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, ...)
- func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, ...)
- func (fake *ChaincodeStub) GetStateCallCount() int
- func (fake *ChaincodeStub) GetStateReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetStateValidationParameter(key string) ([]byte, error)
- func (fake *ChaincodeStub) GetStateValidationParameterArgsForCall(i int) string
- func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int
- 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) 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) 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) 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) 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(chaincodeName string, args [][]byte, channel string) pb.Response
- func (fake *ChaincodeStub) InvokeChaincodeArgsForCall(i int) (string, [][]byte, string)
- func (fake *ChaincodeStub) InvokeChaincodeCallCount() int
- func (fake *ChaincodeStub) InvokeChaincodeReturns(result1 pb.Response)
- func (fake *ChaincodeStub) InvokeChaincodeReturnsOnCall(i int, result1 pb.Response)
- func (fake *ChaincodeStub) PutPrivateData(collection string, key string, value []byte) error
- func (fake *ChaincodeStub) PutPrivateDataArgsForCall(i int) (string, string, []byte)
- func (fake *ChaincodeStub) PutPrivateDataCallCount() int
- func (fake *ChaincodeStub) PutPrivateDataReturns(result1 error)
- func (fake *ChaincodeStub) PutPrivateDataReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) PutState(key string, value []byte) error
- func (fake *ChaincodeStub) PutStateArgsForCall(i int) (string, []byte)
- func (fake *ChaincodeStub) PutStateCallCount() int
- func (fake *ChaincodeStub) PutStateReturns(result1 error)
- func (fake *ChaincodeStub) PutStateReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SetEvent(name string, payload []byte) error
- func (fake *ChaincodeStub) SetEventArgsForCall(i int) (string, []byte)
- func (fake *ChaincodeStub) SetEventCallCount() int
- func (fake *ChaincodeStub) SetEventReturns(result1 error)
- func (fake *ChaincodeStub) SetEventReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameter(collection string, key string, ep []byte) error
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterArgsForCall(i int) (string, string, []byte)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturns(result1 error)
- func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SetStateValidationParameter(key string, ep []byte) error
- func (fake *ChaincodeStub) SetStateValidationParameterArgsForCall(i int) (string, []byte)
- func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int
- func (fake *ChaincodeStub) SetStateValidationParameterReturns(result1 error)
- func (fake *ChaincodeStub) SetStateValidationParameterReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeStub) SplitCompositeKey(compositeKey string) (string, []string, error)
- func (fake *ChaincodeStub) SplitCompositeKeyArgsForCall(i int) string
- func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int
- 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(signedProposal *pb.SignedProposal, chainName string, ...) error
- func (fake *FileSystemSupport) CheckInstantiationPolicyArgsForCall(i int) (*pb.SignedProposal, string, []byte)
- func (fake *FileSystemSupport) CheckInstantiationPolicyCallCount() int
- func (fake *FileSystemSupport) CheckInstantiationPolicyReturns(result1 error)
- func (fake *FileSystemSupport) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorage(ccname string, ccversion string) (ccprovider.CCPackage, error)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageArgsForCall(i int) (string, string)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageCallCount() int
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageReturns(result1 ccprovider.CCPackage, result2 error)
- func (fake *FileSystemSupport) GetChaincodeFromLocalStorageReturnsOnCall(i int, result1 ccprovider.CCPackage, result2 error)
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorage() (*pb.ChaincodeQueryResponse, error)
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageCallCount() int
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturns(result1 *pb.ChaincodeQueryResponse, result2 error)
- func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturnsOnCall(i int, result1 *pb.ChaincodeQueryResponse, result2 error)
- func (fake *FileSystemSupport) GetInstantiationPolicy(channel string, ccpack ccprovider.CCPackage) ([]byte, error)
- func (fake *FileSystemSupport) GetInstantiationPolicyArgsForCall(i int) (string, ccprovider.CCPackage)
- func (fake *FileSystemSupport) GetInstantiationPolicyCallCount() int
- 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) 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) ExecuteQuery(namespace string, query string) (commonledger.ResultsIterator, error)
- func (fake *QueryExecutor) ExecuteQueryArgsForCall(i int) (string, string)
- func (fake *QueryExecutor) ExecuteQueryCallCount() int
- func (fake *QueryExecutor) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (commonledger.ResultsIterator, error)
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCallCount() int
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
- func (fake *QueryExecutor) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *QueryExecutor) ExecuteQueryWithMetadataCallCount() int
- func (fake *QueryExecutor) ExecuteQueryWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) GetPrivateData(namespace string, collection string, key string) ([]byte, error)
- func (fake *QueryExecutor) GetPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) GetPrivateDataCallCount() int
- func (fake *QueryExecutor) GetPrivateDataMetadata(namespace string, collection string, key string) (map[string][]byte, error)
- func (fake *QueryExecutor) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHash(namespace string, collection string, keyhash []byte) (map[string][]byte, error)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
- func (fake *QueryExecutor) GetPrivateDataMetadataByHashCallCount() int
- 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) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeys(namespace string, collection string, keys []string) ([][]byte, error)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysCallCount() int
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (commonledger.ResultsIterator, error)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCallCount() int
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 commonledger.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(namespace string, key string) ([]byte, error)
- func (fake *QueryExecutor) GetStateArgsForCall(i int) (string, string)
- func (fake *QueryExecutor) GetStateCallCount() int
- func (fake *QueryExecutor) GetStateMetadata(namespace string, key string) (map[string][]byte, error)
- func (fake *QueryExecutor) GetStateMetadataArgsForCall(i int) (string, string)
- func (fake *QueryExecutor) GetStateMetadataCallCount() int
- 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(namespace string, keys []string) ([][]byte, error)
- func (fake *QueryExecutor) GetStateMultipleKeysArgsForCall(i int) (string, []string)
- func (fake *QueryExecutor) GetStateMultipleKeysCallCount() int
- func (fake *QueryExecutor) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *QueryExecutor) GetStateRangeScanIteratorCallCount() int
- func (fake *QueryExecutor) GetStateRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, ...) (ledger.QueryResultsIterator, error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount() int
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
- func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledger.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) CloseReturns(result1 error)
- func (fake *StateQueryIterator) CloseReturnsOnCall(i int, result1 error)
- func (fake *StateQueryIterator) HasNext() bool
- func (fake *StateQueryIterator) HasNextCallCount() int
- 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) NextReturns(result1 *queryresult.KV, result2 error)
- func (fake *StateQueryIterator) NextReturnsOnCall(i int, result1 *queryresult.KV, result2 error)
- type SystemChaincodeProvider
- func (fake *SystemChaincodeProvider) GetApplicationConfig(cid string) (channelconfig.Application, bool)
- func (fake *SystemChaincodeProvider) GetApplicationConfigArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) GetApplicationConfigCallCount() int
- func (fake *SystemChaincodeProvider) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool)
- func (fake *SystemChaincodeProvider) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool)
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedger(cid string) (ledger.QueryExecutor, error)
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerCallCount() int
- 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(name string) bool
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CC(name string) bool
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturns(result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall(i int, result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternal(name string) bool
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCallCount() int
- 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) IsSysCCReturns(result1 bool)
- func (fake *SystemChaincodeProvider) IsSysCCReturnsOnCall(i int, result1 bool)
- func (fake *SystemChaincodeProvider) PolicyManager(channelID string) (policies.Manager, bool)
- func (fake *SystemChaincodeProvider) PolicyManagerArgsForCall(i int) string
- func (fake *SystemChaincodeProvider) PolicyManagerCallCount() int
- 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 { InitFromBufferStub func(buf []byte) (*ccprovider.ChaincodeData, error) InitFromFSStub func(ccname string, ccversion string) ([]byte, *pb.ChaincodeDeploymentSpec, error) PutChaincodeToFSStub func() error GetDepSpecStub func() *pb.ChaincodeDeploymentSpec GetDepSpecBytesStub func() []byte ValidateCCStub func(ccdata *ccprovider.ChaincodeData) error GetPackageObjectStub func() proto.Message GetChaincodeDataStub func() *ccprovider.ChaincodeData GetIdStub func() []byte // contains filtered or unexported fields }
func (*CCPackage) GetChaincodeData ¶
func (fake *CCPackage) GetChaincodeData() *ccprovider.ChaincodeData
func (*CCPackage) GetChaincodeDataCallCount ¶
func (*CCPackage) GetChaincodeDataReturns ¶
func (fake *CCPackage) GetChaincodeDataReturns(result1 *ccprovider.ChaincodeData)
func (*CCPackage) GetChaincodeDataReturnsOnCall ¶
func (fake *CCPackage) GetChaincodeDataReturnsOnCall(i int, result1 *ccprovider.ChaincodeData)
func (*CCPackage) GetDepSpec ¶
func (fake *CCPackage) GetDepSpec() *pb.ChaincodeDeploymentSpec
func (*CCPackage) GetDepSpecBytesReturns ¶
func (*CCPackage) GetDepSpecBytesReturnsOnCall ¶
func (*CCPackage) GetDepSpecReturns ¶
func (fake *CCPackage) GetDepSpecReturns(result1 *pb.ChaincodeDeploymentSpec)
func (*CCPackage) GetDepSpecReturnsOnCall ¶
func (fake *CCPackage) GetDepSpecReturnsOnCall(i int, result1 *pb.ChaincodeDeploymentSpec)
func (*CCPackage) GetIdReturnsOnCall ¶
func (*CCPackage) GetPackageObjectCallCount ¶
func (*CCPackage) GetPackageObjectReturns ¶
func (*CCPackage) GetPackageObjectReturnsOnCall ¶
func (*CCPackage) InitFromBuffer ¶
func (fake *CCPackage) InitFromBuffer(buf []byte) (*ccprovider.ChaincodeData, error)
func (*CCPackage) InitFromBufferArgsForCall ¶
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) InitFromFSReturns ¶
func (fake *CCPackage) InitFromFSReturns(result1 []byte, result2 *pb.ChaincodeDeploymentSpec, result3 error)
func (*CCPackage) InitFromFSReturnsOnCall ¶
func (*CCPackage) PutChaincodeToFSCallCount ¶
func (*CCPackage) PutChaincodeToFSReturns ¶
func (*CCPackage) PutChaincodeToFSReturnsOnCall ¶
func (*CCPackage) ValidateCC ¶
func (fake *CCPackage) ValidateCC(ccdata *ccprovider.ChaincodeData) error
func (*CCPackage) ValidateCCArgsForCall ¶
func (fake *CCPackage) ValidateCCArgsForCall(i int) *ccprovider.ChaincodeData
type ChaincodeStub ¶
type ChaincodeStub struct { GetArgsStub func() [][]byte GetStringArgsStub func() []string GetFunctionAndParametersStub func() (string, []string) GetArgsSliceStub func() ([]byte, error) GetTxIDStub func() string GetChannelIDStub func() string InvokeChaincodeStub func(chaincodeName string, args [][]byte, channel string) pb.Response GetStateStub func(key string) ([]byte, error) PutStateStub func(key string, value []byte) error DelStateStub func(key string) error SetStateValidationParameterStub func(key string, ep []byte) error GetStateValidationParameterStub func(key string) ([]byte, error) GetStateByRangeStub func(startKey, endKey string) (shim.StateQueryIteratorInterface, error) GetStateByRangeWithPaginationStub func(startKey, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error) GetStateByPartialCompositeKeyStub func(objectType string, keys []string) (shim.StateQueryIteratorInterface, error) GetStateByPartialCompositeKeyWithPaginationStub func(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error) CreateCompositeKeyStub func(objectType string, attributes []string) (string, error) SplitCompositeKeyStub func(compositeKey string) (string, []string, error) GetQueryResultStub func(query string) (shim.StateQueryIteratorInterface, error) GetQueryResultWithPaginationStub func(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error) GetHistoryForKeyStub func(key string) (shim.HistoryQueryIteratorInterface, error) GetPrivateDataStub func(collection, key string) ([]byte, error) PutPrivateDataStub func(collection string, key string, value []byte) error DelPrivateDataStub func(collection, key string) error SetPrivateDataValidationParameterStub func(collection, key string, ep []byte) error GetPrivateDataValidationParameterStub func(collection, key string) ([]byte, error) GetPrivateDataByRangeStub func(collection, startKey, endKey string) (shim.StateQueryIteratorInterface, error) GetPrivateDataByPartialCompositeKeyStub func(collection, objectType string, keys []string) (shim.StateQueryIteratorInterface, error) GetPrivateDataQueryResultStub func(collection, query string) (shim.StateQueryIteratorInterface, error) GetCreatorStub func() ([]byte, error) GetTransientStub func() (map[string][]byte, error) GetBindingStub func() ([]byte, error) GetDecorationsStub func() map[string][]byte GetSignedProposalStub func() (*pb.SignedProposal, error) GetTxTimestampStub func() (*timestamp.Timestamp, error) SetEventStub func(name string, payload []byte) error // contains filtered or unexported fields }
func (*ChaincodeStub) CreateCompositeKey ¶
func (fake *ChaincodeStub) CreateCompositeKey(objectType string, attributes []string) (string, error)
func (*ChaincodeStub) CreateCompositeKeyArgsForCall ¶
func (fake *ChaincodeStub) CreateCompositeKeyArgsForCall(i int) (string, []string)
func (*ChaincodeStub) CreateCompositeKeyCallCount ¶
func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int
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(collection string, key string) error
func (*ChaincodeStub) DelPrivateDataArgsForCall ¶
func (fake *ChaincodeStub) DelPrivateDataArgsForCall(i int) (string, string)
func (*ChaincodeStub) DelPrivateDataCallCount ¶
func (fake *ChaincodeStub) DelPrivateDataCallCount() int
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(key string) error
func (*ChaincodeStub) DelStateArgsForCall ¶
func (fake *ChaincodeStub) DelStateArgsForCall(i int) string
func (*ChaincodeStub) DelStateCallCount ¶
func (fake *ChaincodeStub) DelStateCallCount() int
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) 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) 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) 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) 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) 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) 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) 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(key string) (shim.HistoryQueryIteratorInterface, error)
func (*ChaincodeStub) GetHistoryForKeyArgsForCall ¶
func (fake *ChaincodeStub) GetHistoryForKeyArgsForCall(i int) string
func (*ChaincodeStub) GetHistoryForKeyCallCount ¶
func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int
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(collection string, key string) ([]byte, error)
func (*ChaincodeStub) GetPrivateDataArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataByPartialCompositeKey ¶
func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKey(collection string, objectType string, keys []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) 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(collection string, startKey string, endKey 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) 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) GetPrivateDataQueryResult ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResult(collection string, query 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) 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(collection string, key string) ([]byte, error)
func (*ChaincodeStub) GetPrivateDataValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameterArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataValidationParameterCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int
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(query string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetQueryResultArgsForCall ¶
func (fake *ChaincodeStub) GetQueryResultArgsForCall(i int) string
func (*ChaincodeStub) GetQueryResultCallCount ¶
func (fake *ChaincodeStub) GetQueryResultCallCount() int
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(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)
func (*ChaincodeStub) GetQueryResultWithPaginationArgsForCall ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationArgsForCall(i int) (string, int32, string)
func (*ChaincodeStub) GetQueryResultWithPaginationCallCount ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int
func (*ChaincodeStub) GetQueryResultWithPaginationReturns ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall ¶
func (fake *ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetSignedProposal ¶
func (fake *ChaincodeStub) GetSignedProposal() (*pb.SignedProposal, error)
func (*ChaincodeStub) GetSignedProposalCallCount ¶
func (fake *ChaincodeStub) GetSignedProposalCallCount() int
func (*ChaincodeStub) GetSignedProposalReturns ¶
func (fake *ChaincodeStub) GetSignedProposalReturns(result1 *pb.SignedProposal, result2 error)
func (*ChaincodeStub) GetSignedProposalReturnsOnCall ¶
func (fake *ChaincodeStub) GetSignedProposalReturnsOnCall(i int, result1 *pb.SignedProposal, result2 error)
func (*ChaincodeStub) GetState ¶
func (fake *ChaincodeStub) GetState(key string) ([]byte, error)
func (*ChaincodeStub) GetStateArgsForCall ¶
func (fake *ChaincodeStub) GetStateArgsForCall(i int) string
func (*ChaincodeStub) GetStateByPartialCompositeKey ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKey(objectType string, keys []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) 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(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall ¶
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateByRange ¶
func (fake *ChaincodeStub) GetStateByRange(startKey string, endKey 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) 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(startKey string, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)
func (*ChaincodeStub) GetStateByRangeWithPaginationArgsForCall ¶
func (*ChaincodeStub) GetStateByRangeWithPaginationCallCount ¶
func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int
func (*ChaincodeStub) GetStateByRangeWithPaginationReturns ¶
func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturns(result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall ¶
func (fake *ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall(i int, result1 shim.StateQueryIteratorInterface, result2 *pb.QueryResponseMetadata, result3 error)
func (*ChaincodeStub) GetStateCallCount ¶
func (fake *ChaincodeStub) GetStateCallCount() int
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(key string) ([]byte, error)
func (*ChaincodeStub) GetStateValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) GetStateValidationParameterArgsForCall(i int) string
func (*ChaincodeStub) GetStateValidationParameterCallCount ¶
func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int
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) 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) 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) 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) 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) InvokeChaincodeReturns ¶
func (fake *ChaincodeStub) InvokeChaincodeReturns(result1 pb.Response)
func (*ChaincodeStub) InvokeChaincodeReturnsOnCall ¶
func (fake *ChaincodeStub) InvokeChaincodeReturnsOnCall(i int, result1 pb.Response)
func (*ChaincodeStub) PutPrivateData ¶
func (fake *ChaincodeStub) PutPrivateData(collection string, key string, value []byte) error
func (*ChaincodeStub) PutPrivateDataArgsForCall ¶
func (fake *ChaincodeStub) PutPrivateDataArgsForCall(i int) (string, string, []byte)
func (*ChaincodeStub) PutPrivateDataCallCount ¶
func (fake *ChaincodeStub) PutPrivateDataCallCount() int
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(key string, value []byte) error
func (*ChaincodeStub) PutStateArgsForCall ¶
func (fake *ChaincodeStub) PutStateArgsForCall(i int) (string, []byte)
func (*ChaincodeStub) PutStateCallCount ¶
func (fake *ChaincodeStub) PutStateCallCount() int
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(name string, payload []byte) error
func (*ChaincodeStub) SetEventArgsForCall ¶
func (fake *ChaincodeStub) SetEventArgsForCall(i int) (string, []byte)
func (*ChaincodeStub) SetEventCallCount ¶
func (fake *ChaincodeStub) SetEventCallCount() int
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(collection string, key string, ep []byte) error
func (*ChaincodeStub) SetPrivateDataValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameterArgsForCall(i int) (string, string, []byte)
func (*ChaincodeStub) SetPrivateDataValidationParameterCallCount ¶
func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int
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(key string, ep []byte) error
func (*ChaincodeStub) SetStateValidationParameterArgsForCall ¶
func (fake *ChaincodeStub) SetStateValidationParameterArgsForCall(i int) (string, []byte)
func (*ChaincodeStub) SetStateValidationParameterCallCount ¶
func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int
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(compositeKey string) (string, []string, error)
func (*ChaincodeStub) SplitCompositeKeyArgsForCall ¶
func (fake *ChaincodeStub) SplitCompositeKeyArgsForCall(i int) string
func (*ChaincodeStub) SplitCompositeKeyCallCount ¶
func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int
func (*ChaincodeStub) SplitCompositeKeyReturns ¶
func (fake *ChaincodeStub) SplitCompositeKeyReturns(result1 string, result2 []string, result3 error)
type FileSystemSupport ¶
type FileSystemSupport struct { PutChaincodeToLocalStorageStub func(ccprovider.CCPackage) error GetChaincodeFromLocalStorageStub func(ccname string, ccversion string) (ccprovider.CCPackage, error) GetChaincodesFromLocalStorageStub func() (*pb.ChaincodeQueryResponse, error) GetInstantiationPolicyStub func(channel string, ccpack ccprovider.CCPackage) ([]byte, error) CheckInstantiationPolicyStub func(signedProposal *pb.SignedProposal, chainName string, instantiationPolicy []byte) error // contains filtered or unexported fields }
func (*FileSystemSupport) CheckInstantiationPolicy ¶
func (fake *FileSystemSupport) CheckInstantiationPolicy(signedProposal *pb.SignedProposal, chainName string, instantiationPolicy []byte) error
func (*FileSystemSupport) CheckInstantiationPolicyArgsForCall ¶
func (fake *FileSystemSupport) CheckInstantiationPolicyArgsForCall(i int) (*pb.SignedProposal, string, []byte)
func (*FileSystemSupport) CheckInstantiationPolicyCallCount ¶
func (fake *FileSystemSupport) CheckInstantiationPolicyCallCount() int
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(ccname string, ccversion 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) 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() (*pb.ChaincodeQueryResponse, error)
func (*FileSystemSupport) GetChaincodesFromLocalStorageCallCount ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageCallCount() int
func (*FileSystemSupport) GetChaincodesFromLocalStorageReturns ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturns(result1 *pb.ChaincodeQueryResponse, result2 error)
func (*FileSystemSupport) GetChaincodesFromLocalStorageReturnsOnCall ¶
func (fake *FileSystemSupport) GetChaincodesFromLocalStorageReturnsOnCall(i int, result1 *pb.ChaincodeQueryResponse, result2 error)
func (*FileSystemSupport) GetInstantiationPolicy ¶
func (fake *FileSystemSupport) GetInstantiationPolicy(channel string, ccpack 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) 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) PutChaincodeToLocalStorageReturns ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorageReturns(result1 error)
func (*FileSystemSupport) PutChaincodeToLocalStorageReturnsOnCall ¶
func (fake *FileSystemSupport) PutChaincodeToLocalStorageReturnsOnCall(i int, result1 error)
type QueryExecutor ¶
type QueryExecutor struct { GetStateStub func(namespace string, key string) ([]byte, error) GetStateRangeScanIteratorStub func(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error) GetStateMetadataStub func(namespace, key string) (map[string][]byte, error) GetStateMultipleKeysStub func(namespace string, keys []string) ([][]byte, error) GetStateRangeScanIteratorWithMetadataStub func(namespace string, startKey, endKey string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error) ExecuteQueryStub func(namespace, query string) (commonledger.ResultsIterator, error) ExecuteQueryWithMetadataStub func(namespace, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error) GetPrivateDataStub func(namespace, collection, key string) ([]byte, error) GetPrivateDataMetadataStub func(namespace, collection, key string) (map[string][]byte, error) GetPrivateDataMetadataByHashStub func(namespace, collection string, keyhash []byte) (map[string][]byte, error) GetPrivateDataMultipleKeysStub func(namespace, collection string, keys []string) ([][]byte, error) GetPrivateDataRangeScanIteratorStub func(namespace, collection, startKey, endKey string) (commonledger.ResultsIterator, error) ExecuteQueryOnPrivateDataStub func(namespace, collection, query string) (commonledger.ResultsIterator, error) DoneStub func() // contains filtered or unexported fields }
func (*QueryExecutor) Done ¶
func (fake *QueryExecutor) Done()
func (*QueryExecutor) DoneCallCount ¶
func (fake *QueryExecutor) DoneCallCount() int
func (*QueryExecutor) ExecuteQuery ¶
func (fake *QueryExecutor) ExecuteQuery(namespace string, query string) (commonledger.ResultsIterator, error)
func (*QueryExecutor) ExecuteQueryArgsForCall ¶
func (fake *QueryExecutor) ExecuteQueryArgsForCall(i int) (string, string)
func (*QueryExecutor) ExecuteQueryCallCount ¶
func (fake *QueryExecutor) ExecuteQueryCallCount() int
func (*QueryExecutor) ExecuteQueryOnPrivateData ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (commonledger.ResultsIterator, error)
func (*QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
func (*QueryExecutor) ExecuteQueryOnPrivateDataCallCount ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCallCount() int
func (*QueryExecutor) ExecuteQueryOnPrivateDataReturns ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturns(result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall ¶
func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryReturns ¶
func (fake *QueryExecutor) ExecuteQueryReturns(result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryReturnsOnCall ¶
func (fake *QueryExecutor) ExecuteQueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryWithMetadata ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (ledger.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) ExecuteQueryWithMetadataReturns ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
func (*QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall ¶
func (fake *QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledger.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) 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) 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) 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) 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(namespace string, collection string, startKey string, endKey string) (commonledger.ResultsIterator, error)
func (*QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall ¶
func (*QueryExecutor) GetPrivateDataRangeScanIteratorCallCount ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCallCount() int
func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturns ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall ¶
func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 commonledger.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(namespace string, key string) ([]byte, error)
func (*QueryExecutor) GetStateArgsForCall ¶
func (fake *QueryExecutor) GetStateArgsForCall(i int) (string, string)
func (*QueryExecutor) GetStateCallCount ¶
func (fake *QueryExecutor) GetStateCallCount() int
func (*QueryExecutor) GetStateMetadata ¶
func (*QueryExecutor) GetStateMetadataArgsForCall ¶
func (fake *QueryExecutor) GetStateMetadataArgsForCall(i int) (string, string)
func (*QueryExecutor) GetStateMetadataCallCount ¶
func (fake *QueryExecutor) GetStateMetadataCallCount() int
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(namespace string, keys []string) ([][]byte, error)
func (*QueryExecutor) GetStateMultipleKeysArgsForCall ¶
func (fake *QueryExecutor) GetStateMultipleKeysArgsForCall(i int) (string, []string)
func (*QueryExecutor) GetStateMultipleKeysCallCount ¶
func (fake *QueryExecutor) GetStateMultipleKeysCallCount() int
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(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)
func (*QueryExecutor) GetStateRangeScanIteratorArgsForCall ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (*QueryExecutor) GetStateRangeScanIteratorCallCount ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorCallCount() int
func (*QueryExecutor) GetStateRangeScanIteratorReturns ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetStateRangeScanIteratorReturnsOnCall ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadata ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall ¶
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount() int
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall ¶
func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledger.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 { HasNextStub func() bool CloseStub func() error 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) 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) 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) 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 { IsSysCCStub func(name string) bool IsSysCCAndNotInvokableCC2CCStub func(name string) bool IsSysCCAndNotInvokableExternalStub func(name string) bool GetQueryExecutorForLedgerStub func(cid string) (ledger.QueryExecutor, error) GetApplicationConfigStub func(cid string) (channelconfig.Application, bool) PolicyManagerStub func(channelID string) (policies.Manager, bool) // contains filtered or unexported fields }
func (*SystemChaincodeProvider) GetApplicationConfig ¶
func (fake *SystemChaincodeProvider) GetApplicationConfig(cid string) (channelconfig.Application, bool)
func (*SystemChaincodeProvider) GetApplicationConfigArgsForCall ¶
func (fake *SystemChaincodeProvider) GetApplicationConfigArgsForCall(i int) string
func (*SystemChaincodeProvider) GetApplicationConfigCallCount ¶
func (fake *SystemChaincodeProvider) GetApplicationConfigCallCount() int
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(cid string) (ledger.QueryExecutor, error)
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerArgsForCall ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerArgsForCall(i int) string
func (*SystemChaincodeProvider) GetQueryExecutorForLedgerCallCount ¶
func (fake *SystemChaincodeProvider) GetQueryExecutorForLedgerCallCount() int
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(name string) bool
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CC ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CC(name string) bool
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCArgsForCall ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCallCount ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
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(name string) bool
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalArgsForCall ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalArgsForCall(i int) string
func (*SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCallCount ¶
func (fake *SystemChaincodeProvider) IsSysCCAndNotInvokableExternalCallCount() int
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) 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(channelID string) (policies.Manager, bool)
func (*SystemChaincodeProvider) PolicyManagerArgsForCall ¶
func (fake *SystemChaincodeProvider) PolicyManagerArgsForCall(i int) string
func (*SystemChaincodeProvider) PolicyManagerCallCount ¶
func (fake *SystemChaincodeProvider) PolicyManagerCallCount() int
func (*SystemChaincodeProvider) PolicyManagerReturns ¶
func (fake *SystemChaincodeProvider) PolicyManagerReturns(result1 policies.Manager, result2 bool)
Click to show internal directories.
Click to hide internal directories.