Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- 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) GetPrivateDataHash(arg1 string, arg2 string) ([]byte, error)
- func (fake *ChaincodeStub) GetPrivateDataHashArgsForCall(i int) (string, string)
- func (fake *ChaincodeStub) GetPrivateDataHashCallCount() int
- func (fake *ChaincodeStub) GetPrivateDataHashCalls(stub func(string, string) ([]byte, error))
- func (fake *ChaincodeStub) GetPrivateDataHashReturns(result1 []byte, result2 error)
- func (fake *ChaincodeStub) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 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() (*timestamppb.Timestamp, error)
- func (fake *ChaincodeStub) GetTxTimestampCallCount() int
- func (fake *ChaincodeStub) GetTxTimestampCalls(stub func() (*timestamppb.Timestamp, error))
- func (fake *ChaincodeStub) GetTxTimestampReturns(result1 *timestamppb.Timestamp, result2 error)
- func (fake *ChaincodeStub) GetTxTimestampReturnsOnCall(i int, result1 *timestamppb.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 ClientIdentity
- func (fake *ClientIdentity) AssertAttributeValue(arg1 string, arg2 string) error
- func (fake *ClientIdentity) AssertAttributeValueArgsForCall(i int) (string, string)
- func (fake *ClientIdentity) AssertAttributeValueCallCount() int
- func (fake *ClientIdentity) AssertAttributeValueCalls(stub func(string, string) error)
- func (fake *ClientIdentity) AssertAttributeValueReturns(result1 error)
- func (fake *ClientIdentity) AssertAttributeValueReturnsOnCall(i int, result1 error)
- func (fake *ClientIdentity) GetAttributeValue(arg1 string) (string, bool, error)
- func (fake *ClientIdentity) GetAttributeValueArgsForCall(i int) string
- func (fake *ClientIdentity) GetAttributeValueCallCount() int
- func (fake *ClientIdentity) GetAttributeValueCalls(stub func(string) (string, bool, error))
- func (fake *ClientIdentity) GetAttributeValueReturns(result1 string, result2 bool, result3 error)
- func (fake *ClientIdentity) GetAttributeValueReturnsOnCall(i int, result1 string, result2 bool, result3 error)
- func (fake *ClientIdentity) GetID() (string, error)
- func (fake *ClientIdentity) GetIDCallCount() int
- func (fake *ClientIdentity) GetIDCalls(stub func() (string, error))
- func (fake *ClientIdentity) GetIDReturns(result1 string, result2 error)
- func (fake *ClientIdentity) GetIDReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ClientIdentity) GetMSPID() (string, error)
- func (fake *ClientIdentity) GetMSPIDCallCount() int
- func (fake *ClientIdentity) GetMSPIDCalls(stub func() (string, error))
- func (fake *ClientIdentity) GetMSPIDReturns(result1 string, result2 error)
- func (fake *ClientIdentity) GetMSPIDReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ClientIdentity) GetX509Certificate() (*x509.Certificate, error)
- func (fake *ClientIdentity) GetX509CertificateCallCount() int
- func (fake *ClientIdentity) GetX509CertificateCalls(stub func() (*x509.Certificate, error))
- func (fake *ClientIdentity) GetX509CertificateReturns(result1 *x509.Certificate, result2 error)
- func (fake *ClientIdentity) GetX509CertificateReturnsOnCall(i int, result1 *x509.Certificate, result2 error)
- func (fake *ClientIdentity) Invocations() map[string][][]interface{}
- type ContractInterface
- func (fake *ContractInterface) GetAfterTransaction() interface{}
- func (fake *ContractInterface) GetAfterTransactionCallCount() int
- func (fake *ContractInterface) GetAfterTransactionCalls(stub func() interface{})
- func (fake *ContractInterface) GetAfterTransactionReturns(result1 interface{})
- func (fake *ContractInterface) GetAfterTransactionReturnsOnCall(i int, result1 interface{})
- func (fake *ContractInterface) GetBeforeTransaction() interface{}
- func (fake *ContractInterface) GetBeforeTransactionCallCount() int
- func (fake *ContractInterface) GetBeforeTransactionCalls(stub func() interface{})
- func (fake *ContractInterface) GetBeforeTransactionReturns(result1 interface{})
- func (fake *ContractInterface) GetBeforeTransactionReturnsOnCall(i int, result1 interface{})
- func (fake *ContractInterface) GetInfo() metadata.InfoMetadata
- func (fake *ContractInterface) GetInfoCallCount() int
- func (fake *ContractInterface) GetInfoCalls(stub func() metadata.InfoMetadata)
- func (fake *ContractInterface) GetInfoReturns(result1 metadata.InfoMetadata)
- func (fake *ContractInterface) GetInfoReturnsOnCall(i int, result1 metadata.InfoMetadata)
- func (fake *ContractInterface) GetName() string
- func (fake *ContractInterface) GetNameCallCount() int
- func (fake *ContractInterface) GetNameCalls(stub func() string)
- func (fake *ContractInterface) GetNameReturns(result1 string)
- func (fake *ContractInterface) GetNameReturnsOnCall(i int, result1 string)
- func (fake *ContractInterface) GetTransactionContextHandler() contractapi.SettableTransactionContextInterface
- func (fake *ContractInterface) GetTransactionContextHandlerCallCount() int
- func (fake *ContractInterface) GetTransactionContextHandlerCalls(stub func() contractapi.SettableTransactionContextInterface)
- func (fake *ContractInterface) GetTransactionContextHandlerReturns(result1 contractapi.SettableTransactionContextInterface)
- func (fake *ContractInterface) GetTransactionContextHandlerReturnsOnCall(i int, result1 contractapi.SettableTransactionContextInterface)
- func (fake *ContractInterface) GetUnknownTransaction() interface{}
- func (fake *ContractInterface) GetUnknownTransactionCallCount() int
- func (fake *ContractInterface) GetUnknownTransactionCalls(stub func() interface{})
- func (fake *ContractInterface) GetUnknownTransactionReturns(result1 interface{})
- func (fake *ContractInterface) GetUnknownTransactionReturnsOnCall(i int, result1 interface{})
- func (fake *ContractInterface) Invocations() map[string][][]interface{}
- type CustomTransactionContext
- func (fake *CustomTransactionContext) GetClientIdentity() cid.ClientIdentity
- func (fake *CustomTransactionContext) GetClientIdentityCallCount() int
- func (fake *CustomTransactionContext) GetClientIdentityCalls(stub func() cid.ClientIdentity)
- func (fake *CustomTransactionContext) GetClientIdentityReturns(result1 cid.ClientIdentity)
- func (fake *CustomTransactionContext) GetClientIdentityReturnsOnCall(i int, result1 cid.ClientIdentity)
- func (fake *CustomTransactionContext) GetData() []byte
- func (fake *CustomTransactionContext) GetDataCallCount() int
- func (fake *CustomTransactionContext) GetDataCalls(stub func() []byte)
- func (fake *CustomTransactionContext) GetDataReturns(result1 []byte)
- func (fake *CustomTransactionContext) GetDataReturnsOnCall(i int, result1 []byte)
- func (fake *CustomTransactionContext) GetStub() shim.ChaincodeStubInterface
- func (fake *CustomTransactionContext) GetStubCallCount() int
- func (fake *CustomTransactionContext) GetStubCalls(stub func() shim.ChaincodeStubInterface)
- func (fake *CustomTransactionContext) GetStubReturns(result1 shim.ChaincodeStubInterface)
- func (fake *CustomTransactionContext) GetStubReturnsOnCall(i int, result1 shim.ChaincodeStubInterface)
- func (fake *CustomTransactionContext) Invocations() map[string][][]interface{}
- func (fake *CustomTransactionContext) SetData(arg1 []byte)
- func (fake *CustomTransactionContext) SetDataArgsForCall(i int) []byte
- func (fake *CustomTransactionContext) SetDataCallCount() int
- func (fake *CustomTransactionContext) SetDataCalls(stub func([]byte))
- type HistoryQueryIteratorInterface
- func (fake *HistoryQueryIteratorInterface) Close() error
- func (fake *HistoryQueryIteratorInterface) CloseCallCount() int
- func (fake *HistoryQueryIteratorInterface) CloseCalls(stub func() error)
- func (fake *HistoryQueryIteratorInterface) CloseReturns(result1 error)
- func (fake *HistoryQueryIteratorInterface) CloseReturnsOnCall(i int, result1 error)
- func (fake *HistoryQueryIteratorInterface) HasNext() bool
- func (fake *HistoryQueryIteratorInterface) HasNextCallCount() int
- func (fake *HistoryQueryIteratorInterface) HasNextCalls(stub func() bool)
- func (fake *HistoryQueryIteratorInterface) HasNextReturns(result1 bool)
- func (fake *HistoryQueryIteratorInterface) HasNextReturnsOnCall(i int, result1 bool)
- func (fake *HistoryQueryIteratorInterface) Invocations() map[string][][]interface{}
- func (fake *HistoryQueryIteratorInterface) Next() (*queryresult.KeyModification, error)
- func (fake *HistoryQueryIteratorInterface) NextCallCount() int
- func (fake *HistoryQueryIteratorInterface) NextCalls(stub func() (*queryresult.KeyModification, error))
- func (fake *HistoryQueryIteratorInterface) NextReturns(result1 *queryresult.KeyModification, result2 error)
- func (fake *HistoryQueryIteratorInterface) NextReturnsOnCall(i int, result1 *queryresult.KeyModification, result2 error)
- type SettableTransactionContextInterface
- func (fake *SettableTransactionContextInterface) Invocations() map[string][][]interface{}
- func (fake *SettableTransactionContextInterface) SetClientIdentity(arg1 cid.ClientIdentity)
- func (fake *SettableTransactionContextInterface) SetClientIdentityArgsForCall(i int) cid.ClientIdentity
- func (fake *SettableTransactionContextInterface) SetClientIdentityCallCount() int
- func (fake *SettableTransactionContextInterface) SetClientIdentityCalls(stub func(cid.ClientIdentity))
- func (fake *SettableTransactionContextInterface) SetStub(arg1 shim.ChaincodeStubInterface)
- func (fake *SettableTransactionContextInterface) SetStubArgsForCall(i int) shim.ChaincodeStubInterface
- func (fake *SettableTransactionContextInterface) SetStubCallCount() int
- func (fake *SettableTransactionContextInterface) SetStubCalls(stub func(shim.ChaincodeStubInterface))
- 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 TransactionContext
- func (fake *TransactionContext) GetClientIdentity() cid.ClientIdentity
- func (fake *TransactionContext) GetClientIdentityCallCount() int
- func (fake *TransactionContext) GetClientIdentityCalls(stub func() cid.ClientIdentity)
- func (fake *TransactionContext) GetClientIdentityReturns(result1 cid.ClientIdentity)
- func (fake *TransactionContext) GetClientIdentityReturnsOnCall(i int, result1 cid.ClientIdentity)
- func (fake *TransactionContext) GetStub() shim.ChaincodeStubInterface
- func (fake *TransactionContext) GetStubCallCount() int
- func (fake *TransactionContext) GetStubCalls(stub func() shim.ChaincodeStubInterface)
- func (fake *TransactionContext) GetStubReturns(result1 shim.ChaincodeStubInterface)
- func (fake *TransactionContext) GetStubReturnsOnCall(i int, result1 shim.ChaincodeStubInterface)
- func (fake *TransactionContext) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaincodeStub ¶
type ChaincodeStub struct { CreateCompositeKeyStub func(string, []string) (string, error) DelPrivateDataStub func(string, string) error DelStateStub func(string) error GetArgsStub func() [][]byte GetArgsSliceStub func() ([]byte, error) GetBindingStub func() ([]byte, error) GetChannelIDStub func() string GetCreatorStub func() ([]byte, error) GetDecorationsStub func() map[string][]byte GetFunctionAndParametersStub func() (string, []string) GetHistoryForKeyStub func(string) (shim.HistoryQueryIteratorInterface, error) GetPrivateDataStub func(string, string) ([]byte, error) GetPrivateDataByPartialCompositeKeyStub func(string, string, []string) (shim.StateQueryIteratorInterface, error) GetPrivateDataByRangeStub func(string, string, string) (shim.StateQueryIteratorInterface, error) GetPrivateDataHashStub func(string, string) ([]byte, error) GetPrivateDataQueryResultStub func(string, string) (shim.StateQueryIteratorInterface, error) GetPrivateDataValidationParameterStub func(string, string) ([]byte, error) GetQueryResultStub func(string) (shim.StateQueryIteratorInterface, error) GetQueryResultWithPaginationStub func(string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error) GetSignedProposalStub func() (*peer.SignedProposal, error) GetStateStub func(string) ([]byte, error) GetStateByPartialCompositeKeyStub func(string, []string) (shim.StateQueryIteratorInterface, error) GetStateByPartialCompositeKeyWithPaginationStub func(string, []string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error) GetStateByRangeStub func(string, string) (shim.StateQueryIteratorInterface, error) GetStateByRangeWithPaginationStub func(string, string, int32, string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error) GetStateValidationParameterStub func(string) ([]byte, error) GetStringArgsStub func() []string GetTransientStub func() (map[string][]byte, error) GetTxIDStub func() string GetTxTimestampStub func() (*timestamppb.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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (fake *ChaincodeStub) GetPrivateDataCalls(stub func(string, string) ([]byte, error))
func (*ChaincodeStub) GetPrivateDataHash ¶
func (fake *ChaincodeStub) GetPrivateDataHash(arg1 string, arg2 string) ([]byte, error)
func (*ChaincodeStub) GetPrivateDataHashArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataHashArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataHashCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataHashCallCount() int
func (*ChaincodeStub) GetPrivateDataHashCalls ¶
func (fake *ChaincodeStub) GetPrivateDataHashCalls(stub func(string, string) ([]byte, error))
func (*ChaincodeStub) GetPrivateDataHashReturns ¶
func (fake *ChaincodeStub) GetPrivateDataHashReturns(result1 []byte, result2 error)
func (*ChaincodeStub) GetPrivateDataHashReturnsOnCall ¶
func (fake *ChaincodeStub) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 error)
func (*ChaincodeStub) GetPrivateDataQueryResult ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResult(arg1 string, arg2 string) (shim.StateQueryIteratorInterface, error)
func (*ChaincodeStub) GetPrivateDataQueryResultArgsForCall ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResultArgsForCall(i int) (string, string)
func (*ChaincodeStub) GetPrivateDataQueryResultCallCount ¶
func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int
func (*ChaincodeStub) GetPrivateDataQueryResultCalls ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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() (*timestamppb.Timestamp, error)
func (*ChaincodeStub) GetTxTimestampCallCount ¶
func (fake *ChaincodeStub) GetTxTimestampCallCount() int
func (*ChaincodeStub) GetTxTimestampCalls ¶
func (fake *ChaincodeStub) GetTxTimestampCalls(stub func() (*timestamppb.Timestamp, error))
func (*ChaincodeStub) GetTxTimestampReturns ¶
func (fake *ChaincodeStub) GetTxTimestampReturns(result1 *timestamppb.Timestamp, result2 error)
func (*ChaincodeStub) GetTxTimestampReturnsOnCall ¶
func (fake *ChaincodeStub) GetTxTimestampReturnsOnCall(i int, result1 *timestamppb.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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ClientIdentity ¶
type ClientIdentity struct { AssertAttributeValueStub func(string, string) error GetAttributeValueStub func(string) (string, bool, error) GetIDStub func() (string, error) GetMSPIDStub func() (string, error) GetX509CertificateStub func() (*x509.Certificate, error) // contains filtered or unexported fields }
func (*ClientIdentity) AssertAttributeValue ¶
func (fake *ClientIdentity) AssertAttributeValue(arg1 string, arg2 string) error
func (*ClientIdentity) AssertAttributeValueArgsForCall ¶
func (fake *ClientIdentity) AssertAttributeValueArgsForCall(i int) (string, string)
func (*ClientIdentity) AssertAttributeValueCallCount ¶
func (fake *ClientIdentity) AssertAttributeValueCallCount() int
func (*ClientIdentity) AssertAttributeValueCalls ¶
func (fake *ClientIdentity) AssertAttributeValueCalls(stub func(string, string) error)
func (*ClientIdentity) AssertAttributeValueReturns ¶
func (fake *ClientIdentity) AssertAttributeValueReturns(result1 error)
func (*ClientIdentity) AssertAttributeValueReturnsOnCall ¶
func (fake *ClientIdentity) AssertAttributeValueReturnsOnCall(i int, result1 error)
func (*ClientIdentity) GetAttributeValue ¶
func (fake *ClientIdentity) GetAttributeValue(arg1 string) (string, bool, error)
func (*ClientIdentity) GetAttributeValueArgsForCall ¶
func (fake *ClientIdentity) GetAttributeValueArgsForCall(i int) string
func (*ClientIdentity) GetAttributeValueCallCount ¶
func (fake *ClientIdentity) GetAttributeValueCallCount() int
func (*ClientIdentity) GetAttributeValueCalls ¶
func (fake *ClientIdentity) GetAttributeValueCalls(stub func(string) (string, bool, error))
func (*ClientIdentity) GetAttributeValueReturns ¶
func (fake *ClientIdentity) GetAttributeValueReturns(result1 string, result2 bool, result3 error)
func (*ClientIdentity) GetAttributeValueReturnsOnCall ¶
func (fake *ClientIdentity) GetAttributeValueReturnsOnCall(i int, result1 string, result2 bool, result3 error)
func (*ClientIdentity) GetID ¶
func (fake *ClientIdentity) GetID() (string, error)
func (*ClientIdentity) GetIDCallCount ¶
func (fake *ClientIdentity) GetIDCallCount() int
func (*ClientIdentity) GetIDCalls ¶
func (fake *ClientIdentity) GetIDCalls(stub func() (string, error))
func (*ClientIdentity) GetIDReturns ¶
func (fake *ClientIdentity) GetIDReturns(result1 string, result2 error)
func (*ClientIdentity) GetIDReturnsOnCall ¶
func (fake *ClientIdentity) GetIDReturnsOnCall(i int, result1 string, result2 error)
func (*ClientIdentity) GetMSPID ¶
func (fake *ClientIdentity) GetMSPID() (string, error)
func (*ClientIdentity) GetMSPIDCallCount ¶
func (fake *ClientIdentity) GetMSPIDCallCount() int
func (*ClientIdentity) GetMSPIDCalls ¶
func (fake *ClientIdentity) GetMSPIDCalls(stub func() (string, error))
func (*ClientIdentity) GetMSPIDReturns ¶
func (fake *ClientIdentity) GetMSPIDReturns(result1 string, result2 error)
func (*ClientIdentity) GetMSPIDReturnsOnCall ¶
func (fake *ClientIdentity) GetMSPIDReturnsOnCall(i int, result1 string, result2 error)
func (*ClientIdentity) GetX509Certificate ¶
func (fake *ClientIdentity) GetX509Certificate() (*x509.Certificate, error)
func (*ClientIdentity) GetX509CertificateCallCount ¶
func (fake *ClientIdentity) GetX509CertificateCallCount() int
func (*ClientIdentity) GetX509CertificateCalls ¶
func (fake *ClientIdentity) GetX509CertificateCalls(stub func() (*x509.Certificate, error))
func (*ClientIdentity) GetX509CertificateReturns ¶
func (fake *ClientIdentity) GetX509CertificateReturns(result1 *x509.Certificate, result2 error)
func (*ClientIdentity) GetX509CertificateReturnsOnCall ¶
func (fake *ClientIdentity) GetX509CertificateReturnsOnCall(i int, result1 *x509.Certificate, result2 error)
func (*ClientIdentity) Invocations ¶
func (fake *ClientIdentity) Invocations() map[string][][]interface{}
type ContractInterface ¶
type ContractInterface struct { GetAfterTransactionStub func() interface{} GetBeforeTransactionStub func() interface{} GetInfoStub func() metadata.InfoMetadata GetNameStub func() string GetTransactionContextHandlerStub func() contractapi.SettableTransactionContextInterface GetUnknownTransactionStub func() interface{} // contains filtered or unexported fields }
func (*ContractInterface) GetAfterTransaction ¶
func (fake *ContractInterface) GetAfterTransaction() interface{}
func (*ContractInterface) GetAfterTransactionCallCount ¶
func (fake *ContractInterface) GetAfterTransactionCallCount() int
func (*ContractInterface) GetAfterTransactionCalls ¶
func (fake *ContractInterface) GetAfterTransactionCalls(stub func() interface{})
func (*ContractInterface) GetAfterTransactionReturns ¶
func (fake *ContractInterface) GetAfterTransactionReturns(result1 interface{})
func (*ContractInterface) GetAfterTransactionReturnsOnCall ¶
func (fake *ContractInterface) GetAfterTransactionReturnsOnCall(i int, result1 interface{})
func (*ContractInterface) GetBeforeTransaction ¶
func (fake *ContractInterface) GetBeforeTransaction() interface{}
func (*ContractInterface) GetBeforeTransactionCallCount ¶
func (fake *ContractInterface) GetBeforeTransactionCallCount() int
func (*ContractInterface) GetBeforeTransactionCalls ¶
func (fake *ContractInterface) GetBeforeTransactionCalls(stub func() interface{})
func (*ContractInterface) GetBeforeTransactionReturns ¶
func (fake *ContractInterface) GetBeforeTransactionReturns(result1 interface{})
func (*ContractInterface) GetBeforeTransactionReturnsOnCall ¶
func (fake *ContractInterface) GetBeforeTransactionReturnsOnCall(i int, result1 interface{})
func (*ContractInterface) GetInfo ¶
func (fake *ContractInterface) GetInfo() metadata.InfoMetadata
func (*ContractInterface) GetInfoCallCount ¶
func (fake *ContractInterface) GetInfoCallCount() int
func (*ContractInterface) GetInfoCalls ¶
func (fake *ContractInterface) GetInfoCalls(stub func() metadata.InfoMetadata)
func (*ContractInterface) GetInfoReturns ¶
func (fake *ContractInterface) GetInfoReturns(result1 metadata.InfoMetadata)
func (*ContractInterface) GetInfoReturnsOnCall ¶
func (fake *ContractInterface) GetInfoReturnsOnCall(i int, result1 metadata.InfoMetadata)
func (*ContractInterface) GetName ¶
func (fake *ContractInterface) GetName() string
func (*ContractInterface) GetNameCallCount ¶
func (fake *ContractInterface) GetNameCallCount() int
func (*ContractInterface) GetNameCalls ¶
func (fake *ContractInterface) GetNameCalls(stub func() string)
func (*ContractInterface) GetNameReturns ¶
func (fake *ContractInterface) GetNameReturns(result1 string)
func (*ContractInterface) GetNameReturnsOnCall ¶
func (fake *ContractInterface) GetNameReturnsOnCall(i int, result1 string)
func (*ContractInterface) GetTransactionContextHandler ¶
func (fake *ContractInterface) GetTransactionContextHandler() contractapi.SettableTransactionContextInterface
func (*ContractInterface) GetTransactionContextHandlerCallCount ¶
func (fake *ContractInterface) GetTransactionContextHandlerCallCount() int
func (*ContractInterface) GetTransactionContextHandlerCalls ¶
func (fake *ContractInterface) GetTransactionContextHandlerCalls(stub func() contractapi.SettableTransactionContextInterface)
func (*ContractInterface) GetTransactionContextHandlerReturns ¶
func (fake *ContractInterface) GetTransactionContextHandlerReturns(result1 contractapi.SettableTransactionContextInterface)
func (*ContractInterface) GetTransactionContextHandlerReturnsOnCall ¶
func (fake *ContractInterface) GetTransactionContextHandlerReturnsOnCall(i int, result1 contractapi.SettableTransactionContextInterface)
func (*ContractInterface) GetUnknownTransaction ¶
func (fake *ContractInterface) GetUnknownTransaction() interface{}
func (*ContractInterface) GetUnknownTransactionCallCount ¶
func (fake *ContractInterface) GetUnknownTransactionCallCount() int
func (*ContractInterface) GetUnknownTransactionCalls ¶
func (fake *ContractInterface) GetUnknownTransactionCalls(stub func() interface{})
func (*ContractInterface) GetUnknownTransactionReturns ¶
func (fake *ContractInterface) GetUnknownTransactionReturns(result1 interface{})
func (*ContractInterface) GetUnknownTransactionReturnsOnCall ¶
func (fake *ContractInterface) GetUnknownTransactionReturnsOnCall(i int, result1 interface{})
func (*ContractInterface) Invocations ¶
func (fake *ContractInterface) Invocations() map[string][][]interface{}
type CustomTransactionContext ¶
type CustomTransactionContext struct { GetClientIdentityStub func() cid.ClientIdentity GetDataStub func() []byte GetStubStub func() shim.ChaincodeStubInterface SetDataStub func([]byte) // contains filtered or unexported fields }
func (*CustomTransactionContext) GetClientIdentity ¶
func (fake *CustomTransactionContext) GetClientIdentity() cid.ClientIdentity
func (*CustomTransactionContext) GetClientIdentityCallCount ¶
func (fake *CustomTransactionContext) GetClientIdentityCallCount() int
func (*CustomTransactionContext) GetClientIdentityCalls ¶
func (fake *CustomTransactionContext) GetClientIdentityCalls(stub func() cid.ClientIdentity)
func (*CustomTransactionContext) GetClientIdentityReturns ¶
func (fake *CustomTransactionContext) GetClientIdentityReturns(result1 cid.ClientIdentity)
func (*CustomTransactionContext) GetClientIdentityReturnsOnCall ¶
func (fake *CustomTransactionContext) GetClientIdentityReturnsOnCall(i int, result1 cid.ClientIdentity)
func (*CustomTransactionContext) GetData ¶
func (fake *CustomTransactionContext) GetData() []byte
func (*CustomTransactionContext) GetDataCallCount ¶
func (fake *CustomTransactionContext) GetDataCallCount() int
func (*CustomTransactionContext) GetDataCalls ¶
func (fake *CustomTransactionContext) GetDataCalls(stub func() []byte)
func (*CustomTransactionContext) GetDataReturns ¶
func (fake *CustomTransactionContext) GetDataReturns(result1 []byte)
func (*CustomTransactionContext) GetDataReturnsOnCall ¶
func (fake *CustomTransactionContext) GetDataReturnsOnCall(i int, result1 []byte)
func (*CustomTransactionContext) GetStub ¶
func (fake *CustomTransactionContext) GetStub() shim.ChaincodeStubInterface
func (*CustomTransactionContext) GetStubCallCount ¶
func (fake *CustomTransactionContext) GetStubCallCount() int
func (*CustomTransactionContext) GetStubCalls ¶
func (fake *CustomTransactionContext) GetStubCalls(stub func() shim.ChaincodeStubInterface)
func (*CustomTransactionContext) GetStubReturns ¶
func (fake *CustomTransactionContext) GetStubReturns(result1 shim.ChaincodeStubInterface)
func (*CustomTransactionContext) GetStubReturnsOnCall ¶
func (fake *CustomTransactionContext) GetStubReturnsOnCall(i int, result1 shim.ChaincodeStubInterface)
func (*CustomTransactionContext) Invocations ¶
func (fake *CustomTransactionContext) Invocations() map[string][][]interface{}
func (*CustomTransactionContext) SetData ¶
func (fake *CustomTransactionContext) SetData(arg1 []byte)
func (*CustomTransactionContext) SetDataArgsForCall ¶
func (fake *CustomTransactionContext) SetDataArgsForCall(i int) []byte
func (*CustomTransactionContext) SetDataCallCount ¶
func (fake *CustomTransactionContext) SetDataCallCount() int
func (*CustomTransactionContext) SetDataCalls ¶
func (fake *CustomTransactionContext) SetDataCalls(stub func([]byte))
type HistoryQueryIteratorInterface ¶
type HistoryQueryIteratorInterface struct { CloseStub func() error HasNextStub func() bool NextStub func() (*queryresult.KeyModification, error) // contains filtered or unexported fields }
func (*HistoryQueryIteratorInterface) Close ¶
func (fake *HistoryQueryIteratorInterface) Close() error
func (*HistoryQueryIteratorInterface) CloseCallCount ¶
func (fake *HistoryQueryIteratorInterface) CloseCallCount() int
func (*HistoryQueryIteratorInterface) CloseCalls ¶
func (fake *HistoryQueryIteratorInterface) CloseCalls(stub func() error)
func (*HistoryQueryIteratorInterface) CloseReturns ¶
func (fake *HistoryQueryIteratorInterface) CloseReturns(result1 error)
func (*HistoryQueryIteratorInterface) CloseReturnsOnCall ¶
func (fake *HistoryQueryIteratorInterface) CloseReturnsOnCall(i int, result1 error)
func (*HistoryQueryIteratorInterface) HasNext ¶
func (fake *HistoryQueryIteratorInterface) HasNext() bool
func (*HistoryQueryIteratorInterface) HasNextCallCount ¶
func (fake *HistoryQueryIteratorInterface) HasNextCallCount() int
func (*HistoryQueryIteratorInterface) HasNextCalls ¶
func (fake *HistoryQueryIteratorInterface) HasNextCalls(stub func() bool)
func (*HistoryQueryIteratorInterface) HasNextReturns ¶
func (fake *HistoryQueryIteratorInterface) HasNextReturns(result1 bool)
func (*HistoryQueryIteratorInterface) HasNextReturnsOnCall ¶
func (fake *HistoryQueryIteratorInterface) HasNextReturnsOnCall(i int, result1 bool)
func (*HistoryQueryIteratorInterface) Invocations ¶
func (fake *HistoryQueryIteratorInterface) Invocations() map[string][][]interface{}
func (*HistoryQueryIteratorInterface) Next ¶
func (fake *HistoryQueryIteratorInterface) Next() (*queryresult.KeyModification, error)
func (*HistoryQueryIteratorInterface) NextCallCount ¶
func (fake *HistoryQueryIteratorInterface) NextCallCount() int
func (*HistoryQueryIteratorInterface) NextCalls ¶
func (fake *HistoryQueryIteratorInterface) NextCalls(stub func() (*queryresult.KeyModification, error))
func (*HistoryQueryIteratorInterface) NextReturns ¶
func (fake *HistoryQueryIteratorInterface) NextReturns(result1 *queryresult.KeyModification, result2 error)
func (*HistoryQueryIteratorInterface) NextReturnsOnCall ¶
func (fake *HistoryQueryIteratorInterface) NextReturnsOnCall(i int, result1 *queryresult.KeyModification, result2 error)
type SettableTransactionContextInterface ¶
type SettableTransactionContextInterface struct { SetClientIdentityStub func(cid.ClientIdentity) SetStubStub func(shim.ChaincodeStubInterface) // contains filtered or unexported fields }
func (*SettableTransactionContextInterface) Invocations ¶
func (fake *SettableTransactionContextInterface) Invocations() map[string][][]interface{}
func (*SettableTransactionContextInterface) SetClientIdentity ¶
func (fake *SettableTransactionContextInterface) SetClientIdentity(arg1 cid.ClientIdentity)
func (*SettableTransactionContextInterface) SetClientIdentityArgsForCall ¶
func (fake *SettableTransactionContextInterface) SetClientIdentityArgsForCall(i int) cid.ClientIdentity
func (*SettableTransactionContextInterface) SetClientIdentityCallCount ¶
func (fake *SettableTransactionContextInterface) SetClientIdentityCallCount() int
func (*SettableTransactionContextInterface) SetClientIdentityCalls ¶
func (fake *SettableTransactionContextInterface) SetClientIdentityCalls(stub func(cid.ClientIdentity))
func (*SettableTransactionContextInterface) SetStub ¶
func (fake *SettableTransactionContextInterface) SetStub(arg1 shim.ChaincodeStubInterface)
func (*SettableTransactionContextInterface) SetStubArgsForCall ¶
func (fake *SettableTransactionContextInterface) SetStubArgsForCall(i int) shim.ChaincodeStubInterface
func (*SettableTransactionContextInterface) SetStubCallCount ¶
func (fake *SettableTransactionContextInterface) SetStubCallCount() int
func (*SettableTransactionContextInterface) SetStubCalls ¶
func (fake *SettableTransactionContextInterface) SetStubCalls(stub func(shim.ChaincodeStubInterface))
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 ¶
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 ¶
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 ¶
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 TransactionContext ¶
type TransactionContext struct { GetClientIdentityStub func() cid.ClientIdentity GetStubStub func() shim.ChaincodeStubInterface // contains filtered or unexported fields }
func (*TransactionContext) GetClientIdentity ¶
func (fake *TransactionContext) GetClientIdentity() cid.ClientIdentity
func (*TransactionContext) GetClientIdentityCallCount ¶
func (fake *TransactionContext) GetClientIdentityCallCount() int
func (*TransactionContext) GetClientIdentityCalls ¶
func (fake *TransactionContext) GetClientIdentityCalls(stub func() cid.ClientIdentity)
func (*TransactionContext) GetClientIdentityReturns ¶
func (fake *TransactionContext) GetClientIdentityReturns(result1 cid.ClientIdentity)
func (*TransactionContext) GetClientIdentityReturnsOnCall ¶
func (fake *TransactionContext) GetClientIdentityReturnsOnCall(i int, result1 cid.ClientIdentity)
func (*TransactionContext) GetStub ¶
func (fake *TransactionContext) GetStub() shim.ChaincodeStubInterface
func (*TransactionContext) GetStubCallCount ¶
func (fake *TransactionContext) GetStubCallCount() int
func (*TransactionContext) GetStubCalls ¶
func (fake *TransactionContext) GetStubCalls(stub func() shim.ChaincodeStubInterface)
func (*TransactionContext) GetStubReturns ¶
func (fake *TransactionContext) GetStubReturns(result1 shim.ChaincodeStubInterface)
func (*TransactionContext) GetStubReturnsOnCall ¶
func (fake *TransactionContext) GetStubReturnsOnCall(i int, result1 shim.ChaincodeStubInterface)
func (*TransactionContext) Invocations ¶
func (fake *TransactionContext) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.