mock

package
v0.0.0-...-193ac73 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 QueryExecuter

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

func (fake *QueryExecuter) GetState(namespace string, key string) (*statedb.VersionedValue, error)

func (*QueryExecuter) GetStateArgsForCall

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

func (*QueryExecuter) GetStateCallCount

func (fake *QueryExecuter) GetStateCallCount() int

func (*QueryExecuter) GetStateRangeScanIterator

func (fake *QueryExecuter) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (statedb.ResultsIterator, error)

func (*QueryExecuter) GetStateRangeScanIteratorArgsForCall

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

func (*QueryExecuter) GetStateRangeScanIteratorCallCount

func (fake *QueryExecuter) GetStateRangeScanIteratorCallCount() int

func (*QueryExecuter) GetStateRangeScanIteratorReturns

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

func (*QueryExecuter) GetStateRangeScanIteratorReturnsOnCall

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

func (*QueryExecuter) GetStateReturns

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

func (*QueryExecuter) GetStateReturnsOnCall

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

func (*QueryExecuter) Invocations

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

Jump to

Keyboard shortcuts

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