fabric: github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/queryutil/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/queryutil/mock"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

query_executer.go

type QueryExecuter Uses

type QueryExecuter struct {
    GetPrivateDataHashStub func(string, string, string) (*statedb.VersionedValue, error)

    GetStateStub func(string, string) (*statedb.VersionedValue, error)

    GetStateRangeScanIteratorStub func(string, string, string) (statedb.ResultsIterator, error)
    // contains filtered or unexported fields
}

func (*QueryExecuter) GetPrivateDataHash Uses

func (fake *QueryExecuter) GetPrivateDataHash(arg1 string, arg2 string, arg3 string) (*statedb.VersionedValue, error)

func (*QueryExecuter) GetPrivateDataHashArgsForCall Uses

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

func (*QueryExecuter) GetPrivateDataHashCallCount Uses

func (fake *QueryExecuter) GetPrivateDataHashCallCount() int

func (*QueryExecuter) GetPrivateDataHashCalls Uses

func (fake *QueryExecuter) GetPrivateDataHashCalls(stub func(string, string, string) (*statedb.VersionedValue, error))

func (*QueryExecuter) GetPrivateDataHashReturns Uses

func (fake *QueryExecuter) GetPrivateDataHashReturns(result1 *statedb.VersionedValue, result2 error)

func (*QueryExecuter) GetPrivateDataHashReturnsOnCall Uses

func (fake *QueryExecuter) GetPrivateDataHashReturnsOnCall(i int, result1 *statedb.VersionedValue, result2 error)

func (*QueryExecuter) GetState Uses

func (fake *QueryExecuter) GetState(arg1 string, arg2 string) (*statedb.VersionedValue, error)

func (*QueryExecuter) GetStateArgsForCall Uses

func (fake *QueryExecuter) GetStateArgsForCall(i int) (string, string)

func (*QueryExecuter) GetStateCallCount Uses

func (fake *QueryExecuter) GetStateCallCount() int

func (*QueryExecuter) GetStateCalls Uses

func (fake *QueryExecuter) GetStateCalls(stub func(string, string) (*statedb.VersionedValue, error))

func (*QueryExecuter) GetStateRangeScanIterator Uses

func (fake *QueryExecuter) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (statedb.ResultsIterator, error)

func (*QueryExecuter) GetStateRangeScanIteratorArgsForCall Uses

func (fake *QueryExecuter) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)

func (*QueryExecuter) GetStateRangeScanIteratorCallCount Uses

func (fake *QueryExecuter) GetStateRangeScanIteratorCallCount() int

func (*QueryExecuter) GetStateRangeScanIteratorCalls Uses

func (fake *QueryExecuter) GetStateRangeScanIteratorCalls(stub func(string, string, string) (statedb.ResultsIterator, error))

func (*QueryExecuter) GetStateRangeScanIteratorReturns Uses

func (fake *QueryExecuter) GetStateRangeScanIteratorReturns(result1 statedb.ResultsIterator, result2 error)

func (*QueryExecuter) GetStateRangeScanIteratorReturnsOnCall Uses

func (fake *QueryExecuter) GetStateRangeScanIteratorReturnsOnCall(i int, result1 statedb.ResultsIterator, result2 error)

func (*QueryExecuter) GetStateReturns Uses

func (fake *QueryExecuter) GetStateReturns(result1 *statedb.VersionedValue, result2 error)

func (*QueryExecuter) GetStateReturnsOnCall Uses

func (fake *QueryExecuter) GetStateReturnsOnCall(i int, result1 *statedb.VersionedValue, result2 error)

func (*QueryExecuter) Invocations Uses

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

Package mock imports 3 packages (graph). Updated 2019-11-19. Refresh now. Tools for package owners.