fabric: github.com/hyperledger/fabric/core/chaincode/lifecycle/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/chaincode/lifecycle/mock"

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

Package Files

chaincode_store.go chaincode_stub.go package_parser.go protobuf.go scc_functions.go

type ChaincodeStore Uses

type ChaincodeStore struct {
    RetrieveHashStub func(string, string) ([]byte, error)

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

func (*ChaincodeStore) Invocations Uses

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

func (*ChaincodeStore) RetrieveHash Uses

func (fake *ChaincodeStore) RetrieveHash(arg1 string, arg2 string) ([]byte, error)

func (*ChaincodeStore) RetrieveHashArgsForCall Uses

func (fake *ChaincodeStore) RetrieveHashArgsForCall(i int) (string, string)

func (*ChaincodeStore) RetrieveHashCallCount Uses

func (fake *ChaincodeStore) RetrieveHashCallCount() int

func (*ChaincodeStore) RetrieveHashCalls Uses

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

func (*ChaincodeStore) RetrieveHashReturns Uses

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

func (*ChaincodeStore) RetrieveHashReturnsOnCall Uses

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

func (*ChaincodeStore) Save Uses

func (fake *ChaincodeStore) Save(arg1 string, arg2 string, arg3 []byte) ([]byte, error)

func (*ChaincodeStore) SaveArgsForCall Uses

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

func (*ChaincodeStore) SaveCallCount Uses

func (fake *ChaincodeStore) SaveCallCount() int

func (*ChaincodeStore) SaveCalls Uses

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

func (*ChaincodeStore) SaveReturns Uses

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

func (*ChaincodeStore) SaveReturnsOnCall Uses

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

type ChaincodeStub Uses

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

    DelPrivateDataStub func(string, string) error

    DelStateStub func(string) error

    GetArgsStub func() [][]byte

    GetArgsSliceStub func() ([]byte, error)

    GetBindingStub func() ([]byte, error)

    GetChannelIDStub func() string

    GetCreatorStub func() ([]byte, error)

    GetDecorationsStub func() map[string][]byte

    GetFunctionAndParametersStub func() (string, []string)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    GetStringArgsStub func() []string

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

    GetTxIDStub func() string

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

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

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

    PutStateStub func(string, []byte) error

    SetEventStub func(string, []byte) error

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

    SetStateValidationParameterStub func(string, []byte) error

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

func (*ChaincodeStub) CreateCompositeKey Uses

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

func (*ChaincodeStub) CreateCompositeKeyArgsForCall Uses

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

func (*ChaincodeStub) CreateCompositeKeyCallCount Uses

func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int

func (*ChaincodeStub) CreateCompositeKeyCalls Uses

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

func (*ChaincodeStub) CreateCompositeKeyReturns Uses

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

func (*ChaincodeStub) CreateCompositeKeyReturnsOnCall Uses

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

func (*ChaincodeStub) DelPrivateData Uses

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

func (*ChaincodeStub) DelPrivateDataArgsForCall Uses

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

func (*ChaincodeStub) DelPrivateDataCallCount Uses

func (fake *ChaincodeStub) DelPrivateDataCallCount() int

func (*ChaincodeStub) DelPrivateDataCalls Uses

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

func (*ChaincodeStub) DelPrivateDataReturns Uses

func (fake *ChaincodeStub) DelPrivateDataReturns(result1 error)

func (*ChaincodeStub) DelPrivateDataReturnsOnCall Uses

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

func (*ChaincodeStub) DelState Uses

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

func (*ChaincodeStub) DelStateArgsForCall Uses

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

func (*ChaincodeStub) DelStateCallCount Uses

func (fake *ChaincodeStub) DelStateCallCount() int

func (*ChaincodeStub) DelStateCalls Uses

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

func (*ChaincodeStub) DelStateReturns Uses

func (fake *ChaincodeStub) DelStateReturns(result1 error)

func (*ChaincodeStub) DelStateReturnsOnCall Uses

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

func (*ChaincodeStub) GetArgs Uses

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

func (*ChaincodeStub) GetArgsCallCount Uses

func (fake *ChaincodeStub) GetArgsCallCount() int

func (*ChaincodeStub) GetArgsCalls Uses

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

func (*ChaincodeStub) GetArgsReturns Uses

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

func (*ChaincodeStub) GetArgsReturnsOnCall Uses

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

func (*ChaincodeStub) GetArgsSlice Uses

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

func (*ChaincodeStub) GetArgsSliceCallCount Uses

func (fake *ChaincodeStub) GetArgsSliceCallCount() int

func (*ChaincodeStub) GetArgsSliceCalls Uses

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

func (*ChaincodeStub) GetArgsSliceReturns Uses

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

func (*ChaincodeStub) GetArgsSliceReturnsOnCall Uses

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

func (*ChaincodeStub) GetBinding Uses

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

func (*ChaincodeStub) GetBindingCallCount Uses

func (fake *ChaincodeStub) GetBindingCallCount() int

func (*ChaincodeStub) GetBindingCalls Uses

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

func (*ChaincodeStub) GetBindingReturns Uses

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

func (*ChaincodeStub) GetBindingReturnsOnCall Uses

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

func (*ChaincodeStub) GetChannelID Uses

func (fake *ChaincodeStub) GetChannelID() string

func (*ChaincodeStub) GetChannelIDCallCount Uses

func (fake *ChaincodeStub) GetChannelIDCallCount() int

func (*ChaincodeStub) GetChannelIDCalls Uses

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

func (*ChaincodeStub) GetChannelIDReturns Uses

func (fake *ChaincodeStub) GetChannelIDReturns(result1 string)

func (*ChaincodeStub) GetChannelIDReturnsOnCall Uses

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

func (*ChaincodeStub) GetCreator Uses

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

func (*ChaincodeStub) GetCreatorCallCount Uses

func (fake *ChaincodeStub) GetCreatorCallCount() int

func (*ChaincodeStub) GetCreatorCalls Uses

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

func (*ChaincodeStub) GetCreatorReturns Uses

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

func (*ChaincodeStub) GetCreatorReturnsOnCall Uses

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

func (*ChaincodeStub) GetDecorations Uses

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

func (*ChaincodeStub) GetDecorationsCallCount Uses

func (fake *ChaincodeStub) GetDecorationsCallCount() int

func (*ChaincodeStub) GetDecorationsCalls Uses

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

func (*ChaincodeStub) GetDecorationsReturns Uses

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

func (*ChaincodeStub) GetDecorationsReturnsOnCall Uses

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

func (*ChaincodeStub) GetFunctionAndParameters Uses

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

func (*ChaincodeStub) GetFunctionAndParametersCallCount Uses

func (fake *ChaincodeStub) GetFunctionAndParametersCallCount() int

func (*ChaincodeStub) GetFunctionAndParametersCalls Uses

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

func (*ChaincodeStub) GetFunctionAndParametersReturns Uses

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

func (*ChaincodeStub) GetFunctionAndParametersReturnsOnCall Uses

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

func (*ChaincodeStub) GetHistoryForKey Uses

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

func (*ChaincodeStub) GetHistoryForKeyArgsForCall Uses

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

func (*ChaincodeStub) GetHistoryForKeyCallCount Uses

func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int

func (*ChaincodeStub) GetHistoryForKeyCalls Uses

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

func (*ChaincodeStub) GetHistoryForKeyReturns Uses

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

func (*ChaincodeStub) GetHistoryForKeyReturnsOnCall Uses

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

func (*ChaincodeStub) GetPrivateData Uses

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

func (*ChaincodeStub) GetPrivateDataArgsForCall Uses

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKey Uses

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall Uses

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount Uses

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount() int

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCalls Uses

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns Uses

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall Uses

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

func (*ChaincodeStub) GetPrivateDataByRange Uses

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

func (*ChaincodeStub) GetPrivateDataByRangeArgsForCall Uses

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

func (*ChaincodeStub) GetPrivateDataByRangeCallCount Uses

func (fake *ChaincodeStub) GetPrivateDataByRangeCallCount() int

func (*ChaincodeStub) GetPrivateDataByRangeCalls Uses

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

func (*ChaincodeStub) GetPrivateDataByRangeReturns Uses

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

func (*ChaincodeStub) GetPrivateDataByRangeReturnsOnCall Uses

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

func (*ChaincodeStub) GetPrivateDataCallCount Uses

func (fake *ChaincodeStub) GetPrivateDataCallCount() int

func (*ChaincodeStub) GetPrivateDataCalls Uses

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

func (*ChaincodeStub) GetPrivateDataHash Uses

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

func (*ChaincodeStub) GetPrivateDataHashArgsForCall Uses

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

func (*ChaincodeStub) GetPrivateDataHashCallCount Uses

func (fake *ChaincodeStub) GetPrivateDataHashCallCount() int

func (*ChaincodeStub) GetPrivateDataHashCalls Uses

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

func (*ChaincodeStub) GetPrivateDataHashReturns Uses

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

func (*ChaincodeStub) GetPrivateDataHashReturnsOnCall Uses

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

func (*ChaincodeStub) GetPrivateDataQueryResult Uses

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

func (*ChaincodeStub) GetPrivateDataQueryResultArgsForCall Uses

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

func (*ChaincodeStub) GetPrivateDataQueryResultCallCount Uses

func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int

func (*ChaincodeStub) GetPrivateDataQueryResultCalls Uses

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

func (*ChaincodeStub) GetPrivateDataQueryResultReturns Uses

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

func (*ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall Uses

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

func (*ChaincodeStub) GetPrivateDataReturns Uses

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

func (*ChaincodeStub) GetPrivateDataReturnsOnCall Uses

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

func (*ChaincodeStub) GetPrivateDataValidationParameter Uses

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

func (*ChaincodeStub) GetPrivateDataValidationParameterArgsForCall Uses

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

func (*ChaincodeStub) GetPrivateDataValidationParameterCallCount Uses

func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int

func (*ChaincodeStub) GetPrivateDataValidationParameterCalls Uses

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

func (*ChaincodeStub) GetPrivateDataValidationParameterReturns Uses

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

func (*ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall Uses

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

func (*ChaincodeStub) GetQueryResult Uses

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

func (*ChaincodeStub) GetQueryResultArgsForCall Uses

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

func (*ChaincodeStub) GetQueryResultCallCount Uses

func (fake *ChaincodeStub) GetQueryResultCallCount() int

func (*ChaincodeStub) GetQueryResultCalls Uses

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

func (*ChaincodeStub) GetQueryResultReturns Uses

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

func (*ChaincodeStub) GetQueryResultReturnsOnCall Uses

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

func (*ChaincodeStub) GetQueryResultWithPagination Uses

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

func (*ChaincodeStub) GetQueryResultWithPaginationArgsForCall Uses

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

func (*ChaincodeStub) GetQueryResultWithPaginationCallCount Uses

func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int

func (*ChaincodeStub) GetQueryResultWithPaginationCalls Uses

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

func (*ChaincodeStub) GetQueryResultWithPaginationReturns Uses

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

func (*ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall Uses

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

func (*ChaincodeStub) GetSignedProposal Uses

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

func (*ChaincodeStub) GetSignedProposalCallCount Uses

func (fake *ChaincodeStub) GetSignedProposalCallCount() int

func (*ChaincodeStub) GetSignedProposalCalls Uses

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

func (*ChaincodeStub) GetSignedProposalReturns Uses

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

func (*ChaincodeStub) GetSignedProposalReturnsOnCall Uses

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

func (*ChaincodeStub) GetState Uses

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

func (*ChaincodeStub) GetStateArgsForCall Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKey Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyCallCount Uses

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCallCount() int

func (*ChaincodeStub) GetStateByPartialCompositeKeyCalls Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyReturns Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPagination Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount Uses

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCalls Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns Uses

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall Uses

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

func (*ChaincodeStub) GetStateByRange Uses

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

func (*ChaincodeStub) GetStateByRangeArgsForCall Uses

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

func (*ChaincodeStub) GetStateByRangeCallCount Uses

func (fake *ChaincodeStub) GetStateByRangeCallCount() int

func (*ChaincodeStub) GetStateByRangeCalls Uses

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

func (*ChaincodeStub) GetStateByRangeReturns Uses

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

func (*ChaincodeStub) GetStateByRangeReturnsOnCall Uses

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

func (*ChaincodeStub) GetStateByRangeWithPagination Uses

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

func (*ChaincodeStub) GetStateByRangeWithPaginationArgsForCall Uses

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

func (*ChaincodeStub) GetStateByRangeWithPaginationCallCount Uses

func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int

func (*ChaincodeStub) GetStateByRangeWithPaginationCalls Uses

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

func (*ChaincodeStub) GetStateByRangeWithPaginationReturns Uses

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

func (*ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall Uses

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

func (*ChaincodeStub) GetStateCallCount Uses

func (fake *ChaincodeStub) GetStateCallCount() int

func (*ChaincodeStub) GetStateCalls Uses

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

func (*ChaincodeStub) GetStateReturns Uses

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

func (*ChaincodeStub) GetStateReturnsOnCall Uses

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

func (*ChaincodeStub) GetStateValidationParameter Uses

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

func (*ChaincodeStub) GetStateValidationParameterArgsForCall Uses

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

func (*ChaincodeStub) GetStateValidationParameterCallCount Uses

func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int

func (*ChaincodeStub) GetStateValidationParameterCalls Uses

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

func (*ChaincodeStub) GetStateValidationParameterReturns Uses

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

func (*ChaincodeStub) GetStateValidationParameterReturnsOnCall Uses

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

func (*ChaincodeStub) GetStringArgs Uses

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

func (*ChaincodeStub) GetStringArgsCallCount Uses

func (fake *ChaincodeStub) GetStringArgsCallCount() int

func (*ChaincodeStub) GetStringArgsCalls Uses

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

func (*ChaincodeStub) GetStringArgsReturns Uses

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

func (*ChaincodeStub) GetStringArgsReturnsOnCall Uses

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

func (*ChaincodeStub) GetTransient Uses

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

func (*ChaincodeStub) GetTransientCallCount Uses

func (fake *ChaincodeStub) GetTransientCallCount() int

func (*ChaincodeStub) GetTransientCalls Uses

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

func (*ChaincodeStub) GetTransientReturns Uses

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

func (*ChaincodeStub) GetTransientReturnsOnCall Uses

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

func (*ChaincodeStub) GetTxID Uses

func (fake *ChaincodeStub) GetTxID() string

func (*ChaincodeStub) GetTxIDCallCount Uses

func (fake *ChaincodeStub) GetTxIDCallCount() int

func (*ChaincodeStub) GetTxIDCalls Uses

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

func (*ChaincodeStub) GetTxIDReturns Uses

func (fake *ChaincodeStub) GetTxIDReturns(result1 string)

func (*ChaincodeStub) GetTxIDReturnsOnCall Uses

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

func (*ChaincodeStub) GetTxTimestamp Uses

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

func (*ChaincodeStub) GetTxTimestampCallCount Uses

func (fake *ChaincodeStub) GetTxTimestampCallCount() int

func (*ChaincodeStub) GetTxTimestampCalls Uses

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

func (*ChaincodeStub) GetTxTimestampReturns Uses

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

func (*ChaincodeStub) GetTxTimestampReturnsOnCall Uses

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

func (*ChaincodeStub) Invocations Uses

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

func (*ChaincodeStub) InvokeChaincode Uses

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

func (*ChaincodeStub) InvokeChaincodeArgsForCall Uses

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

func (*ChaincodeStub) InvokeChaincodeCallCount Uses

func (fake *ChaincodeStub) InvokeChaincodeCallCount() int

func (*ChaincodeStub) InvokeChaincodeCalls Uses

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

func (*ChaincodeStub) InvokeChaincodeReturns Uses

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

func (*ChaincodeStub) InvokeChaincodeReturnsOnCall Uses

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

func (*ChaincodeStub) PutPrivateData Uses

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

func (*ChaincodeStub) PutPrivateDataArgsForCall Uses

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

func (*ChaincodeStub) PutPrivateDataCallCount Uses

func (fake *ChaincodeStub) PutPrivateDataCallCount() int

func (*ChaincodeStub) PutPrivateDataCalls Uses

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

func (*ChaincodeStub) PutPrivateDataReturns Uses

func (fake *ChaincodeStub) PutPrivateDataReturns(result1 error)

func (*ChaincodeStub) PutPrivateDataReturnsOnCall Uses

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

func (*ChaincodeStub) PutState Uses

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

func (*ChaincodeStub) PutStateArgsForCall Uses

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

func (*ChaincodeStub) PutStateCallCount Uses

func (fake *ChaincodeStub) PutStateCallCount() int

func (*ChaincodeStub) PutStateCalls Uses

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

func (*ChaincodeStub) PutStateReturns Uses

func (fake *ChaincodeStub) PutStateReturns(result1 error)

func (*ChaincodeStub) PutStateReturnsOnCall Uses

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

func (*ChaincodeStub) SetEvent Uses

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

func (*ChaincodeStub) SetEventArgsForCall Uses

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

func (*ChaincodeStub) SetEventCallCount Uses

func (fake *ChaincodeStub) SetEventCallCount() int

func (*ChaincodeStub) SetEventCalls Uses

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

func (*ChaincodeStub) SetEventReturns Uses

func (fake *ChaincodeStub) SetEventReturns(result1 error)

func (*ChaincodeStub) SetEventReturnsOnCall Uses

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

func (*ChaincodeStub) SetPrivateDataValidationParameter Uses

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

func (*ChaincodeStub) SetPrivateDataValidationParameterArgsForCall Uses

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

func (*ChaincodeStub) SetPrivateDataValidationParameterCallCount Uses

func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int

func (*ChaincodeStub) SetPrivateDataValidationParameterCalls Uses

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

func (*ChaincodeStub) SetPrivateDataValidationParameterReturns Uses

func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturns(result1 error)

func (*ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall Uses

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

func (*ChaincodeStub) SetStateValidationParameter Uses

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

func (*ChaincodeStub) SetStateValidationParameterArgsForCall Uses

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

func (*ChaincodeStub) SetStateValidationParameterCallCount Uses

func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int

func (*ChaincodeStub) SetStateValidationParameterCalls Uses

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

func (*ChaincodeStub) SetStateValidationParameterReturns Uses

func (fake *ChaincodeStub) SetStateValidationParameterReturns(result1 error)

func (*ChaincodeStub) SetStateValidationParameterReturnsOnCall Uses

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

func (*ChaincodeStub) SplitCompositeKey Uses

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

func (*ChaincodeStub) SplitCompositeKeyArgsForCall Uses

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

func (*ChaincodeStub) SplitCompositeKeyCallCount Uses

func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int

func (*ChaincodeStub) SplitCompositeKeyCalls Uses

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

func (*ChaincodeStub) SplitCompositeKeyReturns Uses

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

func (*ChaincodeStub) SplitCompositeKeyReturnsOnCall Uses

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

type PackageParser Uses

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

func (*PackageParser) Invocations Uses

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

func (*PackageParser) Parse Uses

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

func (*PackageParser) ParseArgsForCall Uses

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

func (*PackageParser) ParseCallCount Uses

func (fake *PackageParser) ParseCallCount() int

func (*PackageParser) ParseCalls Uses

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

func (*PackageParser) ParseReturns Uses

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

func (*PackageParser) ParseReturnsOnCall Uses

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

type Protobuf Uses

type Protobuf struct {
    MarshalStub func(msg proto.Message) (marshaled []byte, err error)

    UnmarshalStub func(marshaled []byte, msg proto.Message) error
    // contains filtered or unexported fields
}

func (*Protobuf) Invocations Uses

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

func (*Protobuf) Marshal Uses

func (fake *Protobuf) Marshal(msg proto.Message) (marshaled []byte, err error)

func (*Protobuf) MarshalArgsForCall Uses

func (fake *Protobuf) MarshalArgsForCall(i int) proto.Message

func (*Protobuf) MarshalCallCount Uses

func (fake *Protobuf) MarshalCallCount() int

func (*Protobuf) MarshalReturns Uses

func (fake *Protobuf) MarshalReturns(result1 []byte, result2 error)

func (*Protobuf) MarshalReturnsOnCall Uses

func (fake *Protobuf) MarshalReturnsOnCall(i int, result1 []byte, result2 error)

func (*Protobuf) Unmarshal Uses

func (fake *Protobuf) Unmarshal(marshaled []byte, msg proto.Message) error

func (*Protobuf) UnmarshalArgsForCall Uses

func (fake *Protobuf) UnmarshalArgsForCall(i int) ([]byte, proto.Message)

func (*Protobuf) UnmarshalCallCount Uses

func (fake *Protobuf) UnmarshalCallCount() int

func (*Protobuf) UnmarshalReturns Uses

func (fake *Protobuf) UnmarshalReturns(result1 error)

func (*Protobuf) UnmarshalReturnsOnCall Uses

func (fake *Protobuf) UnmarshalReturnsOnCall(i int, result1 error)

type SCCFunctions Uses

type SCCFunctions struct {
    InstallChaincodeStub func(string, string, []byte) ([]byte, error)

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

func (*SCCFunctions) InstallChaincode Uses

func (fake *SCCFunctions) InstallChaincode(arg1 string, arg2 string, arg3 []byte) ([]byte, error)

func (*SCCFunctions) InstallChaincodeArgsForCall Uses

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

func (*SCCFunctions) InstallChaincodeCallCount Uses

func (fake *SCCFunctions) InstallChaincodeCallCount() int

func (*SCCFunctions) InstallChaincodeCalls Uses

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

func (*SCCFunctions) InstallChaincodeReturns Uses

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

func (*SCCFunctions) InstallChaincodeReturnsOnCall Uses

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

func (*SCCFunctions) Invocations Uses

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

func (*SCCFunctions) QueryInstalledChaincode Uses

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

func (*SCCFunctions) QueryInstalledChaincodeArgsForCall Uses

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

func (*SCCFunctions) QueryInstalledChaincodeCallCount Uses

func (fake *SCCFunctions) QueryInstalledChaincodeCallCount() int

func (*SCCFunctions) QueryInstalledChaincodeCalls Uses

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

func (*SCCFunctions) QueryInstalledChaincodeReturns Uses

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

func (*SCCFunctions) QueryInstalledChaincodeReturnsOnCall Uses

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

Package mock imports 6 packages (graph). Updated 2019-07-21. Refresh now. Tools for package owners.