mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 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 AutoRefreshCache

type AutoRefreshCache struct {
	mock.Mock
}

AutoRefreshCache is an autogenerated mock type for the AutoRefreshCache type

func (*AutoRefreshCache) Get

func (_m *AutoRefreshCache) Get(id string) utils.CacheItem

Get provides a mock function with given fields: id

func (*AutoRefreshCache) GetOrCreate

func (_m *AutoRefreshCache) GetOrCreate(item utils.CacheItem) (utils.CacheItem, error)

GetOrCreate provides a mock function with given fields: item

func (*AutoRefreshCache) Start

func (_m *AutoRefreshCache) Start(ctx context.Context)

Start provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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