mock

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaincodeStore

type ChaincodeStore struct {
	SaveStub func(name, version string, ccInstallPkg []byte) (hash []byte, err error)
	// contains filtered or unexported fields
}

func (*ChaincodeStore) Invocations

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

func (*ChaincodeStore) Save

func (fake *ChaincodeStore) Save(name string, version string, ccInstallPkg []byte) (hash []byte, err error)

func (*ChaincodeStore) SaveArgsForCall

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

func (*ChaincodeStore) SaveCallCount

func (fake *ChaincodeStore) SaveCallCount() int

func (*ChaincodeStore) SaveReturns

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

func (*ChaincodeStore) SaveReturnsOnCall

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

type ChaincodeStub

type ChaincodeStub struct {
	GetArgsStub func() [][]byte

	GetStringArgsStub func() []string

	GetFunctionAndParametersStub func() (string, []string)

	GetArgsSliceStub func() ([]byte, error)

	GetTxIDStub func() string

	GetChannelIDStub func() string

	InvokeChaincodeStub func(chaincodeName string, args [][]byte, channel string) pb.Response

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

	PutStateStub func(key string, value []byte) error

	DelStateStub func(key string) error

	SetStateValidationParameterStub func(key string, ep []byte) error

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

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

	GetStateByRangeWithPaginationStub func(startKey, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)

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

	GetStateByPartialCompositeKeyWithPaginationStub func(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)

	CreateCompositeKeyStub func(objectType string, attributes []string) (string, error)

	SplitCompositeKeyStub func(compositeKey string) (string, []string, error)

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

	GetQueryResultWithPaginationStub func(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)

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

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

	PutPrivateDataStub func(collection string, key string, value []byte) error

	DelPrivateDataStub func(collection, key string) error

	SetPrivateDataValidationParameterStub func(collection, key string, ep []byte) error

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

	GetPrivateDataByRangeStub func(collection, startKey, endKey string) (shim.StateQueryIteratorInterface, error)

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

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

	GetCreatorStub func() ([]byte, error)

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

	GetBindingStub func() ([]byte, error)

	GetDecorationsStub func() map[string][]byte

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

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

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

func (*ChaincodeStub) CreateCompositeKey

func (fake *ChaincodeStub) CreateCompositeKey(objectType string, attributes []string) (string, error)

func (*ChaincodeStub) CreateCompositeKeyArgsForCall

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

func (*ChaincodeStub) CreateCompositeKeyCallCount

func (fake *ChaincodeStub) CreateCompositeKeyCallCount() int

func (*ChaincodeStub) CreateCompositeKeyReturns

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

func (*ChaincodeStub) CreateCompositeKeyReturnsOnCall

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

func (*ChaincodeStub) DelPrivateData

func (fake *ChaincodeStub) DelPrivateData(collection string, key string) error

func (*ChaincodeStub) DelPrivateDataArgsForCall

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

func (*ChaincodeStub) DelPrivateDataCallCount

func (fake *ChaincodeStub) DelPrivateDataCallCount() int

func (*ChaincodeStub) DelPrivateDataReturns

func (fake *ChaincodeStub) DelPrivateDataReturns(result1 error)

func (*ChaincodeStub) DelPrivateDataReturnsOnCall

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

func (*ChaincodeStub) DelState

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

func (*ChaincodeStub) DelStateArgsForCall

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

func (*ChaincodeStub) DelStateCallCount

func (fake *ChaincodeStub) DelStateCallCount() int

func (*ChaincodeStub) DelStateReturns

func (fake *ChaincodeStub) DelStateReturns(result1 error)

func (*ChaincodeStub) DelStateReturnsOnCall

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

func (*ChaincodeStub) GetArgs

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

func (*ChaincodeStub) GetArgsCallCount

func (fake *ChaincodeStub) GetArgsCallCount() int

func (*ChaincodeStub) GetArgsReturns

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

func (*ChaincodeStub) GetArgsReturnsOnCall

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

func (*ChaincodeStub) GetArgsSlice

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

func (*ChaincodeStub) GetArgsSliceCallCount

func (fake *ChaincodeStub) GetArgsSliceCallCount() int

func (*ChaincodeStub) GetArgsSliceReturns

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

func (*ChaincodeStub) GetArgsSliceReturnsOnCall

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

func (*ChaincodeStub) GetBinding

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

func (*ChaincodeStub) GetBindingCallCount

func (fake *ChaincodeStub) GetBindingCallCount() int

func (*ChaincodeStub) GetBindingReturns

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

func (*ChaincodeStub) GetBindingReturnsOnCall

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

func (*ChaincodeStub) GetChannelID

func (fake *ChaincodeStub) GetChannelID() string

func (*ChaincodeStub) GetChannelIDCallCount

func (fake *ChaincodeStub) GetChannelIDCallCount() int

func (*ChaincodeStub) GetChannelIDReturns

func (fake *ChaincodeStub) GetChannelIDReturns(result1 string)

func (*ChaincodeStub) GetChannelIDReturnsOnCall

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

func (*ChaincodeStub) GetCreator

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

func (*ChaincodeStub) GetCreatorCallCount

func (fake *ChaincodeStub) GetCreatorCallCount() int

func (*ChaincodeStub) GetCreatorReturns

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

func (*ChaincodeStub) GetCreatorReturnsOnCall

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

func (*ChaincodeStub) GetDecorations

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

func (*ChaincodeStub) GetDecorationsCallCount

func (fake *ChaincodeStub) GetDecorationsCallCount() int

func (*ChaincodeStub) GetDecorationsReturns

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

func (*ChaincodeStub) GetDecorationsReturnsOnCall

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

func (*ChaincodeStub) GetFunctionAndParameters

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

func (*ChaincodeStub) GetFunctionAndParametersCallCount

func (fake *ChaincodeStub) GetFunctionAndParametersCallCount() int

func (*ChaincodeStub) GetFunctionAndParametersReturns

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

func (*ChaincodeStub) GetFunctionAndParametersReturnsOnCall

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

func (*ChaincodeStub) GetHistoryForKey

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

func (*ChaincodeStub) GetHistoryForKeyArgsForCall

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

func (*ChaincodeStub) GetHistoryForKeyCallCount

func (fake *ChaincodeStub) GetHistoryForKeyCallCount() int

func (*ChaincodeStub) GetHistoryForKeyReturns

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

func (*ChaincodeStub) GetHistoryForKeyReturnsOnCall

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

func (*ChaincodeStub) GetPrivateData

func (fake *ChaincodeStub) GetPrivateData(collection string, key string) ([]byte, error)

func (*ChaincodeStub) GetPrivateDataArgsForCall

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKey

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKey(collection string, objectType string, keys []string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyArgsForCall

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount

func (fake *ChaincodeStub) GetPrivateDataByPartialCompositeKeyCallCount() int

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturns

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

func (*ChaincodeStub) GetPrivateDataByPartialCompositeKeyReturnsOnCall

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

func (*ChaincodeStub) GetPrivateDataByRange

func (fake *ChaincodeStub) GetPrivateDataByRange(collection string, startKey string, endKey string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetPrivateDataByRangeArgsForCall

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

func (*ChaincodeStub) GetPrivateDataByRangeCallCount

func (fake *ChaincodeStub) GetPrivateDataByRangeCallCount() int

func (*ChaincodeStub) GetPrivateDataByRangeReturns

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

func (*ChaincodeStub) GetPrivateDataByRangeReturnsOnCall

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

func (*ChaincodeStub) GetPrivateDataCallCount

func (fake *ChaincodeStub) GetPrivateDataCallCount() int

func (*ChaincodeStub) GetPrivateDataQueryResult

func (fake *ChaincodeStub) GetPrivateDataQueryResult(collection string, query string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetPrivateDataQueryResultArgsForCall

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

func (*ChaincodeStub) GetPrivateDataQueryResultCallCount

func (fake *ChaincodeStub) GetPrivateDataQueryResultCallCount() int

func (*ChaincodeStub) GetPrivateDataQueryResultReturns

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

func (*ChaincodeStub) GetPrivateDataQueryResultReturnsOnCall

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

func (*ChaincodeStub) GetPrivateDataReturns

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

func (*ChaincodeStub) GetPrivateDataReturnsOnCall

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

func (*ChaincodeStub) GetPrivateDataValidationParameter

func (fake *ChaincodeStub) GetPrivateDataValidationParameter(collection string, key string) ([]byte, error)

func (*ChaincodeStub) GetPrivateDataValidationParameterArgsForCall

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

func (*ChaincodeStub) GetPrivateDataValidationParameterCallCount

func (fake *ChaincodeStub) GetPrivateDataValidationParameterCallCount() int

func (*ChaincodeStub) GetPrivateDataValidationParameterReturns

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

func (*ChaincodeStub) GetPrivateDataValidationParameterReturnsOnCall

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

func (*ChaincodeStub) GetQueryResult

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

func (*ChaincodeStub) GetQueryResultArgsForCall

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

func (*ChaincodeStub) GetQueryResultCallCount

func (fake *ChaincodeStub) GetQueryResultCallCount() int

func (*ChaincodeStub) GetQueryResultReturns

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

func (*ChaincodeStub) GetQueryResultReturnsOnCall

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

func (*ChaincodeStub) GetQueryResultWithPagination

func (fake *ChaincodeStub) GetQueryResultWithPagination(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)

func (*ChaincodeStub) GetQueryResultWithPaginationArgsForCall

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

func (*ChaincodeStub) GetQueryResultWithPaginationCallCount

func (fake *ChaincodeStub) GetQueryResultWithPaginationCallCount() int

func (*ChaincodeStub) GetQueryResultWithPaginationReturns

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

func (*ChaincodeStub) GetQueryResultWithPaginationReturnsOnCall

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

func (*ChaincodeStub) GetSignedProposal

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

func (*ChaincodeStub) GetSignedProposalCallCount

func (fake *ChaincodeStub) GetSignedProposalCallCount() int

func (*ChaincodeStub) GetSignedProposalReturns

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

func (*ChaincodeStub) GetSignedProposalReturnsOnCall

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

func (*ChaincodeStub) GetState

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

func (*ChaincodeStub) GetStateArgsForCall

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

func (*ChaincodeStub) GetStateByPartialCompositeKey

func (fake *ChaincodeStub) GetStateByPartialCompositeKey(objectType string, keys []string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyArgsForCall

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyCallCount

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyCallCount() int

func (*ChaincodeStub) GetStateByPartialCompositeKeyReturns

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyReturnsOnCall

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPagination

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPagination(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationArgsForCall

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount

func (fake *ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationCallCount() int

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturns

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

func (*ChaincodeStub) GetStateByPartialCompositeKeyWithPaginationReturnsOnCall

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

func (*ChaincodeStub) GetStateByRange

func (fake *ChaincodeStub) GetStateByRange(startKey string, endKey string) (shim.StateQueryIteratorInterface, error)

func (*ChaincodeStub) GetStateByRangeArgsForCall

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

func (*ChaincodeStub) GetStateByRangeCallCount

func (fake *ChaincodeStub) GetStateByRangeCallCount() int

func (*ChaincodeStub) GetStateByRangeReturns

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

func (*ChaincodeStub) GetStateByRangeReturnsOnCall

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

func (*ChaincodeStub) GetStateByRangeWithPagination

func (fake *ChaincodeStub) GetStateByRangeWithPagination(startKey string, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *pb.QueryResponseMetadata, error)

func (*ChaincodeStub) GetStateByRangeWithPaginationArgsForCall

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

func (*ChaincodeStub) GetStateByRangeWithPaginationCallCount

func (fake *ChaincodeStub) GetStateByRangeWithPaginationCallCount() int

func (*ChaincodeStub) GetStateByRangeWithPaginationReturns

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

func (*ChaincodeStub) GetStateByRangeWithPaginationReturnsOnCall

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

func (*ChaincodeStub) GetStateCallCount

func (fake *ChaincodeStub) GetStateCallCount() int

func (*ChaincodeStub) GetStateReturns

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

func (*ChaincodeStub) GetStateReturnsOnCall

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

func (*ChaincodeStub) GetStateValidationParameter

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

func (*ChaincodeStub) GetStateValidationParameterArgsForCall

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

func (*ChaincodeStub) GetStateValidationParameterCallCount

func (fake *ChaincodeStub) GetStateValidationParameterCallCount() int

func (*ChaincodeStub) GetStateValidationParameterReturns

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

func (*ChaincodeStub) GetStateValidationParameterReturnsOnCall

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

func (*ChaincodeStub) GetStringArgs

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

func (*ChaincodeStub) GetStringArgsCallCount

func (fake *ChaincodeStub) GetStringArgsCallCount() int

func (*ChaincodeStub) GetStringArgsReturns

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

func (*ChaincodeStub) GetStringArgsReturnsOnCall

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

func (*ChaincodeStub) GetTransient

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

func (*ChaincodeStub) GetTransientCallCount

func (fake *ChaincodeStub) GetTransientCallCount() int

func (*ChaincodeStub) GetTransientReturns

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

func (*ChaincodeStub) GetTransientReturnsOnCall

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

func (*ChaincodeStub) GetTxID

func (fake *ChaincodeStub) GetTxID() string

func (*ChaincodeStub) GetTxIDCallCount

func (fake *ChaincodeStub) GetTxIDCallCount() int

func (*ChaincodeStub) GetTxIDReturns

func (fake *ChaincodeStub) GetTxIDReturns(result1 string)

func (*ChaincodeStub) GetTxIDReturnsOnCall

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

func (*ChaincodeStub) GetTxTimestamp

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

func (*ChaincodeStub) GetTxTimestampCallCount

func (fake *ChaincodeStub) GetTxTimestampCallCount() int

func (*ChaincodeStub) GetTxTimestampReturns

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

func (*ChaincodeStub) GetTxTimestampReturnsOnCall

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

func (*ChaincodeStub) Invocations

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

func (*ChaincodeStub) InvokeChaincode

func (fake *ChaincodeStub) InvokeChaincode(chaincodeName string, args [][]byte, channel string) pb.Response

func (*ChaincodeStub) InvokeChaincodeArgsForCall

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

func (*ChaincodeStub) InvokeChaincodeCallCount

func (fake *ChaincodeStub) InvokeChaincodeCallCount() int

func (*ChaincodeStub) InvokeChaincodeReturns

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

func (*ChaincodeStub) InvokeChaincodeReturnsOnCall

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

func (*ChaincodeStub) PutPrivateData

func (fake *ChaincodeStub) PutPrivateData(collection string, key string, value []byte) error

func (*ChaincodeStub) PutPrivateDataArgsForCall

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

func (*ChaincodeStub) PutPrivateDataCallCount

func (fake *ChaincodeStub) PutPrivateDataCallCount() int

func (*ChaincodeStub) PutPrivateDataReturns

func (fake *ChaincodeStub) PutPrivateDataReturns(result1 error)

func (*ChaincodeStub) PutPrivateDataReturnsOnCall

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

func (*ChaincodeStub) PutState

func (fake *ChaincodeStub) PutState(key string, value []byte) error

func (*ChaincodeStub) PutStateArgsForCall

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

func (*ChaincodeStub) PutStateCallCount

func (fake *ChaincodeStub) PutStateCallCount() int

func (*ChaincodeStub) PutStateReturns

func (fake *ChaincodeStub) PutStateReturns(result1 error)

func (*ChaincodeStub) PutStateReturnsOnCall

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

func (*ChaincodeStub) SetEvent

func (fake *ChaincodeStub) SetEvent(name string, payload []byte) error

func (*ChaincodeStub) SetEventArgsForCall

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

func (*ChaincodeStub) SetEventCallCount

func (fake *ChaincodeStub) SetEventCallCount() int

func (*ChaincodeStub) SetEventReturns

func (fake *ChaincodeStub) SetEventReturns(result1 error)

func (*ChaincodeStub) SetEventReturnsOnCall

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

func (*ChaincodeStub) SetPrivateDataValidationParameter

func (fake *ChaincodeStub) SetPrivateDataValidationParameter(collection string, key string, ep []byte) error

func (*ChaincodeStub) SetPrivateDataValidationParameterArgsForCall

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

func (*ChaincodeStub) SetPrivateDataValidationParameterCallCount

func (fake *ChaincodeStub) SetPrivateDataValidationParameterCallCount() int

func (*ChaincodeStub) SetPrivateDataValidationParameterReturns

func (fake *ChaincodeStub) SetPrivateDataValidationParameterReturns(result1 error)

func (*ChaincodeStub) SetPrivateDataValidationParameterReturnsOnCall

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

func (*ChaincodeStub) SetStateValidationParameter

func (fake *ChaincodeStub) SetStateValidationParameter(key string, ep []byte) error

func (*ChaincodeStub) SetStateValidationParameterArgsForCall

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

func (*ChaincodeStub) SetStateValidationParameterCallCount

func (fake *ChaincodeStub) SetStateValidationParameterCallCount() int

func (*ChaincodeStub) SetStateValidationParameterReturns

func (fake *ChaincodeStub) SetStateValidationParameterReturns(result1 error)

func (*ChaincodeStub) SetStateValidationParameterReturnsOnCall

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

func (*ChaincodeStub) SplitCompositeKey

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

func (*ChaincodeStub) SplitCompositeKeyArgsForCall

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

func (*ChaincodeStub) SplitCompositeKeyCallCount

func (fake *ChaincodeStub) SplitCompositeKeyCallCount() int

func (*ChaincodeStub) SplitCompositeKeyReturns

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

func (*ChaincodeStub) SplitCompositeKeyReturnsOnCall

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

type PackageParser

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

func (*PackageParser) Invocations

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

func (*PackageParser) Parse

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

func (*PackageParser) ParseArgsForCall

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

func (*PackageParser) ParseCallCount

func (fake *PackageParser) ParseCallCount() int

func (*PackageParser) ParseReturns

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

func (*PackageParser) ParseReturnsOnCall

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL