Documentation ¶
Index ¶
- type AutoRefresh
- func (_m *AutoRefresh) DeleteDelayed(id string) error
- func (_m *AutoRefresh) Get(id string) (cache.Item, error)
- func (_m *AutoRefresh) GetOrCreate(id string, item cache.Item) (cache.Item, error)
- func (_m *AutoRefresh) OnDeleteDelayed(id string) *AutoRefresh_DeleteDelayed
- func (_m *AutoRefresh) OnDeleteDelayedMatch(matchers ...interface{}) *AutoRefresh_DeleteDelayed
- 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_DeleteDelayed
- 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
- type Item_IsTerminal
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) DeleteDelayed ¶
func (_m *AutoRefresh) DeleteDelayed(id string) error
DeleteDelayed provides a mock function with given fields: id
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) OnDeleteDelayed ¶
func (_m *AutoRefresh) OnDeleteDelayed(id string) *AutoRefresh_DeleteDelayed
func (*AutoRefresh) OnDeleteDelayedMatch ¶
func (_m *AutoRefresh) OnDeleteDelayedMatch(matchers ...interface{}) *AutoRefresh_DeleteDelayed
func (*AutoRefresh) OnGet ¶
func (_m *AutoRefresh) OnGet(id string) *AutoRefresh_Get
func (*AutoRefresh) OnGetMatch ¶
func (_m *AutoRefresh) OnGetMatch(matchers ...interface{}) *AutoRefresh_Get
func (*AutoRefresh) OnGetOrCreate ¶
func (_m *AutoRefresh) OnGetOrCreate(id string, item cache.Item) *AutoRefresh_GetOrCreate
func (*AutoRefresh) OnGetOrCreateMatch ¶
func (_m *AutoRefresh) OnGetOrCreateMatch(matchers ...interface{}) *AutoRefresh_GetOrCreate
func (*AutoRefresh) OnStart ¶
func (_m *AutoRefresh) OnStart(ctx context.Context) *AutoRefresh_Start
func (*AutoRefresh) OnStartMatch ¶
func (_m *AutoRefresh) OnStartMatch(matchers ...interface{}) *AutoRefresh_Start
type AutoRefresh_DeleteDelayed ¶
func (AutoRefresh_DeleteDelayed) Return ¶
func (_m AutoRefresh_DeleteDelayed) Return(_a0 error) *AutoRefresh_DeleteDelayed
type AutoRefresh_Get ¶
func (AutoRefresh_Get) Return ¶
func (_m AutoRefresh_Get) Return(_a0 cache.Item, _a1 error) *AutoRefresh_Get
type AutoRefresh_GetOrCreate ¶
func (AutoRefresh_GetOrCreate) Return ¶
func (_m AutoRefresh_GetOrCreate) Return(_a0 cache.Item, _a1 error) *AutoRefresh_GetOrCreate
type AutoRefresh_Start ¶
func (AutoRefresh_Start) Return ¶
func (_m AutoRefresh_Start) Return(_a0 error) *AutoRefresh_Start
type Item ¶
Item is an autogenerated mock type for the Item type
func (*Item) IsTerminal ¶ added in v1.12.0
IsTerminal provides a mock function with given fields:
func (*Item) OnIsTerminal ¶ added in v1.12.0
func (_m *Item) OnIsTerminal() *Item_IsTerminal
func (*Item) OnIsTerminalMatch ¶ added in v1.12.0
func (_m *Item) OnIsTerminalMatch(matchers ...interface{}) *Item_IsTerminal
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 ¶
func (_m *ItemWrapper) OnGetID() *ItemWrapper_GetID
func (*ItemWrapper) OnGetIDMatch ¶
func (_m *ItemWrapper) OnGetIDMatch(matchers ...interface{}) *ItemWrapper_GetID
func (*ItemWrapper) OnGetItem ¶
func (_m *ItemWrapper) OnGetItem() *ItemWrapper_GetItem
func (*ItemWrapper) OnGetItemMatch ¶
func (_m *ItemWrapper) OnGetItemMatch(matchers ...interface{}) *ItemWrapper_GetItem
type ItemWrapper_GetID ¶
func (ItemWrapper_GetID) Return ¶
func (_m ItemWrapper_GetID) Return(_a0 string) *ItemWrapper_GetID
type ItemWrapper_GetItem ¶
func (ItemWrapper_GetItem) Return ¶
func (_m ItemWrapper_GetItem) Return(_a0 cache.Item) *ItemWrapper_GetItem
type Item_IsTerminal ¶ added in v1.12.0
func (Item_IsTerminal) Return ¶ added in v1.12.0
func (_m Item_IsTerminal) Return(_a0 bool) *Item_IsTerminal
Click to show internal directories.
Click to hide internal directories.