searchfakes

package
v29.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeResults

type FakeResults struct {
	CStub func() <-chan search.Result

	ErrStub func() error
	// contains filtered or unexported fields
}

func (*FakeResults) C

func (fake *FakeResults) C() <-chan search.Result

func (*FakeResults) CCallCount

func (fake *FakeResults) CCallCount() int

func (*FakeResults) CReturns

func (fake *FakeResults) CReturns(result1 <-chan search.Result)

func (*FakeResults) Err

func (fake *FakeResults) Err() error

func (*FakeResults) ErrCallCount

func (fake *FakeResults) ErrCallCount() int

func (*FakeResults) ErrReturns

func (fake *FakeResults) ErrReturns(result1 error)

func (*FakeResults) Invocations

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

type FakeSearcher

type FakeSearcher struct {
	SearchCurrentStub func(ctx context.Context, logger lager.Logger, matcher matchers.Matcher) search.Results
	// contains filtered or unexported fields
}

func (*FakeSearcher) Invocations

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

func (*FakeSearcher) SearchCurrent

func (fake *FakeSearcher) SearchCurrent(ctx context.Context, logger lager.Logger, matcher matchers.Matcher) search.Results

func (*FakeSearcher) SearchCurrentArgsForCall

func (fake *FakeSearcher) SearchCurrentArgsForCall(i int) (context.Context, lager.Logger, matchers.Matcher)

func (*FakeSearcher) SearchCurrentCallCount

func (fake *FakeSearcher) SearchCurrentCallCount() int

func (*FakeSearcher) SearchCurrentReturns

func (fake *FakeSearcher) SearchCurrentReturns(result1 search.Results)

Jump to

Keyboard shortcuts

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