mocks

package
v0.2.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoRefresh

type AutoRefresh struct {
	mock.Mock
}

AutoRefresh is an autogenerated mock type for the AutoRefresh type

func (*AutoRefresh) Get

func (_m *AutoRefresh) Get(id string) (cache.Item, error)

Get provides a mock function with given fields: id

func (*AutoRefresh) GetOrCreate

func (_m *AutoRefresh) GetOrCreate(id string, item cache.Item) (cache.Item, error)

GetOrCreate provides a mock function with given fields: id, item

func (*AutoRefresh) Start

func (_m *AutoRefresh) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

type Item

type Item struct {
	mock.Mock
}

Item is an autogenerated mock type for the Item type

type ItemWrapper

type ItemWrapper struct {
	mock.Mock
}

ItemWrapper is an autogenerated mock type for the ItemWrapper type

func (*ItemWrapper) GetID

func (_m *ItemWrapper) GetID() string

GetID provides a mock function with given fields:

func (*ItemWrapper) GetItem

func (_m *ItemWrapper) GetItem() cache.Item

GetItem provides a mock function with given fields:

Jump to

Keyboard shortcuts

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