Documentation
¶
Index ¶
- type AutoRefresh
- func (_m *AutoRefresh) DeleteDelayed(id string) error
- func (_m *AutoRefresh) Get(id string) (autorefreshcache.Item, error)
- func (_m *AutoRefresh) GetOrCreate(id string, item autorefreshcache.Item) (autorefreshcache.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 autorefreshcache.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 AutoRefreshWithUpdate
- func (_m *AutoRefreshWithUpdate) DeleteDelayed(id string) error
- func (_m *AutoRefreshWithUpdate) Get(id string) (autorefreshcache.Item, error)
- func (_m *AutoRefreshWithUpdate) GetOrCreate(id string, item autorefreshcache.Item) (autorefreshcache.Item, error)
- func (_m *AutoRefreshWithUpdate) OnDeleteDelayed(id string) *AutoRefreshWithUpdate_DeleteDelayed
- func (_m *AutoRefreshWithUpdate) OnDeleteDelayedMatch(matchers ...interface{}) *AutoRefreshWithUpdate_DeleteDelayed
- func (_m *AutoRefreshWithUpdate) OnGet(id string) *AutoRefreshWithUpdate_Get
- func (_m *AutoRefreshWithUpdate) OnGetMatch(matchers ...interface{}) *AutoRefreshWithUpdate_Get
- func (_m *AutoRefreshWithUpdate) OnGetOrCreate(id string, item autorefreshcache.Item) *AutoRefreshWithUpdate_GetOrCreate
- func (_m *AutoRefreshWithUpdate) OnGetOrCreateMatch(matchers ...interface{}) *AutoRefreshWithUpdate_GetOrCreate
- func (_m *AutoRefreshWithUpdate) OnStart(ctx context.Context) *AutoRefreshWithUpdate_Start
- func (_m *AutoRefreshWithUpdate) OnStartMatch(matchers ...interface{}) *AutoRefreshWithUpdate_Start
- func (_m *AutoRefreshWithUpdate) OnUpdate(id string, item autorefreshcache.Item) *AutoRefreshWithUpdate_Update
- func (_m *AutoRefreshWithUpdate) OnUpdateMatch(matchers ...interface{}) *AutoRefreshWithUpdate_Update
- func (_m *AutoRefreshWithUpdate) Start(ctx context.Context) error
- func (_m *AutoRefreshWithUpdate) Update(id string, item autorefreshcache.Item) bool
- type AutoRefreshWithUpdate_DeleteDelayed
- type AutoRefreshWithUpdate_Get
- type AutoRefreshWithUpdate_GetOrCreate
- type AutoRefreshWithUpdate_Start
- type AutoRefreshWithUpdate_Update
- 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() autorefreshcache.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) (autorefreshcache.Item, error)
Get provides a mock function with given fields: id
func (*AutoRefresh) GetOrCreate ¶
func (_m *AutoRefresh) GetOrCreate(id string, item autorefreshcache.Item) (autorefreshcache.Item, error)
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 autorefreshcache.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 AutoRefreshWithUpdate ¶
AutoRefreshWithUpdate is an autogenerated mock type for the AutoRefreshWithUpdate type
func (*AutoRefreshWithUpdate) DeleteDelayed ¶
func (_m *AutoRefreshWithUpdate) DeleteDelayed(id string) error
DeleteDelayed provides a mock function with given fields: id
func (*AutoRefreshWithUpdate) Get ¶
func (_m *AutoRefreshWithUpdate) Get(id string) (autorefreshcache.Item, error)
Get provides a mock function with given fields: id
func (*AutoRefreshWithUpdate) GetOrCreate ¶
func (_m *AutoRefreshWithUpdate) GetOrCreate(id string, item autorefreshcache.Item) (autorefreshcache.Item, error)
GetOrCreate provides a mock function with given fields: id, item
func (*AutoRefreshWithUpdate) OnDeleteDelayed ¶
func (_m *AutoRefreshWithUpdate) OnDeleteDelayed(id string) *AutoRefreshWithUpdate_DeleteDelayed
func (*AutoRefreshWithUpdate) OnDeleteDelayedMatch ¶
func (_m *AutoRefreshWithUpdate) OnDeleteDelayedMatch(matchers ...interface{}) *AutoRefreshWithUpdate_DeleteDelayed
func (*AutoRefreshWithUpdate) OnGet ¶
func (_m *AutoRefreshWithUpdate) OnGet(id string) *AutoRefreshWithUpdate_Get
func (*AutoRefreshWithUpdate) OnGetMatch ¶
func (_m *AutoRefreshWithUpdate) OnGetMatch(matchers ...interface{}) *AutoRefreshWithUpdate_Get
func (*AutoRefreshWithUpdate) OnGetOrCreate ¶
func (_m *AutoRefreshWithUpdate) OnGetOrCreate(id string, item autorefreshcache.Item) *AutoRefreshWithUpdate_GetOrCreate
func (*AutoRefreshWithUpdate) OnGetOrCreateMatch ¶
func (_m *AutoRefreshWithUpdate) OnGetOrCreateMatch(matchers ...interface{}) *AutoRefreshWithUpdate_GetOrCreate
func (*AutoRefreshWithUpdate) OnStart ¶
func (_m *AutoRefreshWithUpdate) OnStart(ctx context.Context) *AutoRefreshWithUpdate_Start
func (*AutoRefreshWithUpdate) OnStartMatch ¶
func (_m *AutoRefreshWithUpdate) OnStartMatch(matchers ...interface{}) *AutoRefreshWithUpdate_Start
func (*AutoRefreshWithUpdate) OnUpdate ¶
func (_m *AutoRefreshWithUpdate) OnUpdate(id string, item autorefreshcache.Item) *AutoRefreshWithUpdate_Update
func (*AutoRefreshWithUpdate) OnUpdateMatch ¶
func (_m *AutoRefreshWithUpdate) OnUpdateMatch(matchers ...interface{}) *AutoRefreshWithUpdate_Update
func (*AutoRefreshWithUpdate) Start ¶
func (_m *AutoRefreshWithUpdate) Start(ctx context.Context) error
Start provides a mock function with given fields: ctx
func (*AutoRefreshWithUpdate) Update ¶
func (_m *AutoRefreshWithUpdate) Update(id string, item autorefreshcache.Item) bool
Update provides a mock function with given fields: id, item
type AutoRefreshWithUpdate_DeleteDelayed ¶
func (AutoRefreshWithUpdate_DeleteDelayed) Return ¶
func (_m AutoRefreshWithUpdate_DeleteDelayed) Return(_a0 error) *AutoRefreshWithUpdate_DeleteDelayed
type AutoRefreshWithUpdate_Get ¶
func (AutoRefreshWithUpdate_Get) Return ¶
func (_m AutoRefreshWithUpdate_Get) Return(_a0 autorefreshcache.Item, _a1 error) *AutoRefreshWithUpdate_Get
type AutoRefreshWithUpdate_GetOrCreate ¶
func (AutoRefreshWithUpdate_GetOrCreate) Return ¶
func (_m AutoRefreshWithUpdate_GetOrCreate) Return(_a0 autorefreshcache.Item, _a1 error) *AutoRefreshWithUpdate_GetOrCreate
type AutoRefreshWithUpdate_Start ¶
func (AutoRefreshWithUpdate_Start) Return ¶
func (_m AutoRefreshWithUpdate_Start) Return(_a0 error) *AutoRefreshWithUpdate_Start
type AutoRefreshWithUpdate_Update ¶
func (AutoRefreshWithUpdate_Update) Return ¶
func (_m AutoRefreshWithUpdate_Update) Return(ok bool) *AutoRefreshWithUpdate_Update
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 autorefreshcache.Item, _a1 error) *AutoRefresh_Get
type AutoRefresh_GetOrCreate ¶
func (AutoRefresh_GetOrCreate) Return ¶
func (_m AutoRefresh_GetOrCreate) Return(_a0 autorefreshcache.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 ¶
IsTerminal provides a mock function with given fields:
func (*Item) OnIsTerminal ¶
func (_m *Item) OnIsTerminal() *Item_IsTerminal
func (*Item) OnIsTerminalMatch ¶
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() autorefreshcache.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 autorefreshcache.Item) *ItemWrapper_GetItem
type Item_IsTerminal ¶
func (Item_IsTerminal) Return ¶
func (_m Item_IsTerminal) Return(_a0 bool) *Item_IsTerminal