Documentation ¶
Index ¶
- type AutoRefresh
- func (_m *AutoRefresh) Get(id string) (cache.Item, error)
- func (_m *AutoRefresh) GetOrCreate(id string, item cache.Item) (cache.Item, error)
- func (_m *AutoRefresh) OnGet(id string) *AutoRefresh_Get
- func (_m *AutoRefresh) OnGetMatch(matchers ...interface{}) *AutoRefresh_Get
- func (_m *AutoRefresh) OnGetOrCreate(id string, item cache.Item) *AutoRefresh_GetOrCreate
- func (_m *AutoRefresh) OnGetOrCreateMatch(matchers ...interface{}) *AutoRefresh_GetOrCreate
- func (_m *AutoRefresh) OnStart(ctx context.Context) *AutoRefresh_Start
- func (_m *AutoRefresh) OnStartMatch(matchers ...interface{}) *AutoRefresh_Start
- func (_m *AutoRefresh) Start(ctx context.Context) error
- type AutoRefresh_Get
- type AutoRefresh_GetOrCreate
- type AutoRefresh_Start
- type Item
- type ItemWrapper
- func (_m *ItemWrapper) GetID() string
- func (_m *ItemWrapper) GetItem() cache.Item
- func (_m *ItemWrapper) OnGetID() *ItemWrapper_GetID
- func (_m *ItemWrapper) OnGetIDMatch(matchers ...interface{}) *ItemWrapper_GetID
- func (_m *ItemWrapper) OnGetItem() *ItemWrapper_GetItem
- func (_m *ItemWrapper) OnGetItemMatch(matchers ...interface{}) *ItemWrapper_GetItem
- type ItemWrapper_GetID
- type ItemWrapper_GetItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoRefresh ¶
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 ¶
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
type AutoRefresh_Get ¶ added in v0.2.22
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
func (AutoRefresh_GetOrCreate) Return ¶ added in v0.2.22
func (_m AutoRefresh_GetOrCreate) Return(_a0 cache.Item, _a1 error) *AutoRefresh_GetOrCreate
type AutoRefresh_Start ¶ added in v0.2.22
func (AutoRefresh_Start) Return ¶ added in v0.2.22
func (_m AutoRefresh_Start) Return(_a0 error) *AutoRefresh_Start
type ItemWrapper ¶
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
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
func (ItemWrapper_GetItem) Return ¶ added in v0.2.22
func (_m ItemWrapper_GetItem) Return(_a0 cache.Item) *ItemWrapper_GetItem
Click to show internal directories.
Click to hide internal directories.