Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeScraper
- func (fake *FakeScraper) Invocations() map[string][][]interface{}
- func (fake *FakeScraper) Scrape(arg1 url.URL) (scrape.Result, error)
- func (fake *FakeScraper) ScrapeArgsForCall(i int) url.URL
- func (fake *FakeScraper) ScrapeCallCount() int
- func (fake *FakeScraper) ScrapeCalls(stub func(url.URL) (scrape.Result, error))
- func (fake *FakeScraper) ScrapeReturns(result1 scrape.Result, result2 error)
- func (fake *FakeScraper) ScrapeReturnsOnCall(i int, result1 scrape.Result, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeScraper ¶
type FakeScraper struct { ScrapeStub func(url.URL) (scrape.Result, error) // contains filtered or unexported fields }
func (*FakeScraper) Invocations ¶
func (fake *FakeScraper) Invocations() map[string][][]interface{}
func (*FakeScraper) ScrapeArgsForCall ¶
func (fake *FakeScraper) ScrapeArgsForCall(i int) url.URL
func (*FakeScraper) ScrapeCallCount ¶
func (fake *FakeScraper) ScrapeCallCount() int
func (*FakeScraper) ScrapeCalls ¶
func (*FakeScraper) ScrapeReturns ¶
func (fake *FakeScraper) ScrapeReturns(result1 scrape.Result, result2 error)
func (*FakeScraper) ScrapeReturnsOnCall ¶
func (fake *FakeScraper) ScrapeReturnsOnCall(i int, result1 scrape.Result, result2 error)
Click to show internal directories.
Click to hide internal directories.