cachefakes

package
v0.0.0-...-50db23e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePage

type FakePage struct {
	KeyForPageStub func(pageURL string) (cacheKey string, err error)

	FetchPageByKeyStub func(cacheKey string) (page []byte, err error)

	AddPageStub func(pageURL string, cacheKey string, page []byte) error

	OpenStub func() error

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

func (*FakePage) AddPage

func (fake *FakePage) AddPage(pageURL string, cacheKey string, page []byte) error

func (*FakePage) AddPageArgsForCall

func (fake *FakePage) AddPageArgsForCall(i int) (string, string, []byte)

func (*FakePage) AddPageCallCount

func (fake *FakePage) AddPageCallCount() int

func (*FakePage) AddPageReturns

func (fake *FakePage) AddPageReturns(result1 error)

func (*FakePage) Close

func (fake *FakePage) Close() error

func (*FakePage) CloseCallCount

func (fake *FakePage) CloseCallCount() int

func (*FakePage) CloseReturns

func (fake *FakePage) CloseReturns(result1 error)

func (*FakePage) FetchPageByKey

func (fake *FakePage) FetchPageByKey(cacheKey string) (page []byte, err error)

func (*FakePage) FetchPageByKeyArgsForCall

func (fake *FakePage) FetchPageByKeyArgsForCall(i int) string

func (*FakePage) FetchPageByKeyCallCount

func (fake *FakePage) FetchPageByKeyCallCount() int

func (*FakePage) FetchPageByKeyReturns

func (fake *FakePage) FetchPageByKeyReturns(result1 []byte, result2 error)

func (*FakePage) Invocations

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

func (*FakePage) KeyForPage

func (fake *FakePage) KeyForPage(pageURL string) (cacheKey string, err error)

func (*FakePage) KeyForPageArgsForCall

func (fake *FakePage) KeyForPageArgsForCall(i int) string

func (*FakePage) KeyForPageCallCount

func (fake *FakePage) KeyForPageCallCount() int

func (*FakePage) KeyForPageReturns

func (fake *FakePage) KeyForPageReturns(result1 string, result2 error)

func (*FakePage) Open

func (fake *FakePage) Open() error

func (*FakePage) OpenCallCount

func (fake *FakePage) OpenCallCount() int

func (*FakePage) OpenReturns

func (fake *FakePage) OpenReturns(result1 error)

Jump to

Keyboard shortcuts

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