mocks

package
v0.2.28 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 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) OnGet added in v0.2.22

func (_m *AutoRefresh) OnGet(id string) *AutoRefresh_Get

func (*AutoRefresh) OnGetMatch added in v0.2.22

func (_m *AutoRefresh) OnGetMatch(matchers ...interface{}) *AutoRefresh_Get

func (*AutoRefresh) OnGetOrCreate added in v0.2.22

func (_m *AutoRefresh) OnGetOrCreate(id string, item cache.Item) *AutoRefresh_GetOrCreate

func (*AutoRefresh) OnGetOrCreateMatch added in v0.2.22

func (_m *AutoRefresh) OnGetOrCreateMatch(matchers ...interface{}) *AutoRefresh_GetOrCreate

func (*AutoRefresh) OnStart added in v0.2.22

func (_m *AutoRefresh) OnStart(ctx context.Context) *AutoRefresh_Start

func (*AutoRefresh) OnStartMatch added in v0.2.22

func (_m *AutoRefresh) OnStartMatch(matchers ...interface{}) *AutoRefresh_Start

func (*AutoRefresh) Start

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

Start provides a mock function with given fields: ctx

type AutoRefresh_Get added in v0.2.22

type AutoRefresh_Get struct {
	*mock.Call
}

func (AutoRefresh_Get) Return added in v0.2.22

func (_m AutoRefresh_Get) Return(_a0 cache.Item, _a1 error) *AutoRefresh_Get

type AutoRefresh_GetOrCreate added in v0.2.22

type AutoRefresh_GetOrCreate struct {
	*mock.Call
}

func (AutoRefresh_GetOrCreate) Return added in v0.2.22

type AutoRefresh_Start added in v0.2.22

type AutoRefresh_Start struct {
	*mock.Call
}

func (AutoRefresh_Start) Return added in v0.2.22

func (_m AutoRefresh_Start) Return(_a0 error) *AutoRefresh_Start

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:

func (*ItemWrapper) OnGetID added in v0.2.22

func (_m *ItemWrapper) OnGetID() *ItemWrapper_GetID

func (*ItemWrapper) OnGetIDMatch added in v0.2.22

func (_m *ItemWrapper) OnGetIDMatch(matchers ...interface{}) *ItemWrapper_GetID

func (*ItemWrapper) OnGetItem added in v0.2.22

func (_m *ItemWrapper) OnGetItem() *ItemWrapper_GetItem

func (*ItemWrapper) OnGetItemMatch added in v0.2.22

func (_m *ItemWrapper) OnGetItemMatch(matchers ...interface{}) *ItemWrapper_GetItem

type ItemWrapper_GetID added in v0.2.22

type ItemWrapper_GetID struct {
	*mock.Call
}

func (ItemWrapper_GetID) Return added in v0.2.22

func (_m ItemWrapper_GetID) Return(_a0 string) *ItemWrapper_GetID

type ItemWrapper_GetItem added in v0.2.22

type ItemWrapper_GetItem struct {
	*mock.Call
}

func (ItemWrapper_GetItem) Return added in v0.2.22

Jump to

Keyboard shortcuts

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