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 {
    GetStateStub func(namespace, key string) (*statedb.VersionedValue, error)

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

func (*QueryExecuter) GetState Uses

func (fake *QueryExecuter) GetState(namespace string, key 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) GetStateRangeScanIterator Uses

func (fake *QueryExecuter) GetStateRangeScanIterator(namespace string, startKey string, endKey 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) 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 2018-10-26. Refresh now. Tools for package owners.