Documentation
¶
Index ¶
- type AutoRefresh
- func (_mock *AutoRefresh) DeleteDelayed(id autorefreshcache.ItemID) error
- func (_m *AutoRefresh) EXPECT() *AutoRefresh_Expecter
- func (_mock *AutoRefresh) Get(id autorefreshcache.ItemID) (autorefreshcache.Item, error)
- func (_mock *AutoRefresh) GetOrCreate(id autorefreshcache.ItemID, item autorefreshcache.Item) (autorefreshcache.Item, error)
- func (_mock *AutoRefresh) Start(ctx context.Context) error
- type AutoRefreshWithUpdate
- func (_mock *AutoRefreshWithUpdate) DeleteDelayed(id autorefreshcache.ItemID) error
- func (_m *AutoRefreshWithUpdate) EXPECT() *AutoRefreshWithUpdate_Expecter
- func (_mock *AutoRefreshWithUpdate) Get(id autorefreshcache.ItemID) (autorefreshcache.Item, error)
- func (_mock *AutoRefreshWithUpdate) GetOrCreate(id autorefreshcache.ItemID, item autorefreshcache.Item) (autorefreshcache.Item, error)
- func (_mock *AutoRefreshWithUpdate) Start(ctx context.Context) error
- func (_mock *AutoRefreshWithUpdate) Update(id autorefreshcache.ItemID, item autorefreshcache.Item) bool
- type AutoRefreshWithUpdate_DeleteDelayed_Call
- func (_c *AutoRefreshWithUpdate_DeleteDelayed_Call) Return(err error) *AutoRefreshWithUpdate_DeleteDelayed_Call
- func (_c *AutoRefreshWithUpdate_DeleteDelayed_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefreshWithUpdate_DeleteDelayed_Call
- func (_c *AutoRefreshWithUpdate_DeleteDelayed_Call) RunAndReturn(run func(id autorefreshcache.ItemID) error) *AutoRefreshWithUpdate_DeleteDelayed_Call
- type AutoRefreshWithUpdate_Expecter
- func (_e *AutoRefreshWithUpdate_Expecter) DeleteDelayed(id interface{}) *AutoRefreshWithUpdate_DeleteDelayed_Call
- func (_e *AutoRefreshWithUpdate_Expecter) Get(id interface{}) *AutoRefreshWithUpdate_Get_Call
- func (_e *AutoRefreshWithUpdate_Expecter) GetOrCreate(id interface{}, item interface{}) *AutoRefreshWithUpdate_GetOrCreate_Call
- func (_e *AutoRefreshWithUpdate_Expecter) Start(ctx interface{}) *AutoRefreshWithUpdate_Start_Call
- func (_e *AutoRefreshWithUpdate_Expecter) Update(id interface{}, item interface{}) *AutoRefreshWithUpdate_Update_Call
- type AutoRefreshWithUpdate_GetOrCreate_Call
- func (_c *AutoRefreshWithUpdate_GetOrCreate_Call) Return(item1 autorefreshcache.Item, err error) *AutoRefreshWithUpdate_GetOrCreate_Call
- func (_c *AutoRefreshWithUpdate_GetOrCreate_Call) Run(run func(id autorefreshcache.ItemID, item autorefreshcache.Item)) *AutoRefreshWithUpdate_GetOrCreate_Call
- func (_c *AutoRefreshWithUpdate_GetOrCreate_Call) RunAndReturn(...) *AutoRefreshWithUpdate_GetOrCreate_Call
- type AutoRefreshWithUpdate_Get_Call
- func (_c *AutoRefreshWithUpdate_Get_Call) Return(item autorefreshcache.Item, err error) *AutoRefreshWithUpdate_Get_Call
- func (_c *AutoRefreshWithUpdate_Get_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefreshWithUpdate_Get_Call
- func (_c *AutoRefreshWithUpdate_Get_Call) RunAndReturn(run func(id autorefreshcache.ItemID) (autorefreshcache.Item, error)) *AutoRefreshWithUpdate_Get_Call
- type AutoRefreshWithUpdate_Start_Call
- func (_c *AutoRefreshWithUpdate_Start_Call) Return(err error) *AutoRefreshWithUpdate_Start_Call
- func (_c *AutoRefreshWithUpdate_Start_Call) Run(run func(ctx context.Context)) *AutoRefreshWithUpdate_Start_Call
- func (_c *AutoRefreshWithUpdate_Start_Call) RunAndReturn(run func(ctx context.Context) error) *AutoRefreshWithUpdate_Start_Call
- type AutoRefreshWithUpdate_Update_Call
- func (_c *AutoRefreshWithUpdate_Update_Call) Return(ok bool) *AutoRefreshWithUpdate_Update_Call
- func (_c *AutoRefreshWithUpdate_Update_Call) Run(run func(id autorefreshcache.ItemID, item autorefreshcache.Item)) *AutoRefreshWithUpdate_Update_Call
- func (_c *AutoRefreshWithUpdate_Update_Call) RunAndReturn(run func(id autorefreshcache.ItemID, item autorefreshcache.Item) bool) *AutoRefreshWithUpdate_Update_Call
- type AutoRefresh_DeleteDelayed_Call
- func (_c *AutoRefresh_DeleteDelayed_Call) Return(err error) *AutoRefresh_DeleteDelayed_Call
- func (_c *AutoRefresh_DeleteDelayed_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefresh_DeleteDelayed_Call
- func (_c *AutoRefresh_DeleteDelayed_Call) RunAndReturn(run func(id autorefreshcache.ItemID) error) *AutoRefresh_DeleteDelayed_Call
- type AutoRefresh_Expecter
- func (_e *AutoRefresh_Expecter) DeleteDelayed(id interface{}) *AutoRefresh_DeleteDelayed_Call
- func (_e *AutoRefresh_Expecter) Get(id interface{}) *AutoRefresh_Get_Call
- func (_e *AutoRefresh_Expecter) GetOrCreate(id interface{}, item interface{}) *AutoRefresh_GetOrCreate_Call
- func (_e *AutoRefresh_Expecter) Start(ctx interface{}) *AutoRefresh_Start_Call
- type AutoRefresh_GetOrCreate_Call
- func (_c *AutoRefresh_GetOrCreate_Call) Return(item1 autorefreshcache.Item, err error) *AutoRefresh_GetOrCreate_Call
- func (_c *AutoRefresh_GetOrCreate_Call) Run(run func(id autorefreshcache.ItemID, item autorefreshcache.Item)) *AutoRefresh_GetOrCreate_Call
- func (_c *AutoRefresh_GetOrCreate_Call) RunAndReturn(...) *AutoRefresh_GetOrCreate_Call
- type AutoRefresh_Get_Call
- func (_c *AutoRefresh_Get_Call) Return(item autorefreshcache.Item, err error) *AutoRefresh_Get_Call
- func (_c *AutoRefresh_Get_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefresh_Get_Call
- func (_c *AutoRefresh_Get_Call) RunAndReturn(run func(id autorefreshcache.ItemID) (autorefreshcache.Item, error)) *AutoRefresh_Get_Call
- type AutoRefresh_Start_Call
- type Item
- type ItemWrapper
- type ItemWrapper_Expecter
- type ItemWrapper_GetID_Call
- type ItemWrapper_GetItem_Call
- type Item_Expecter
- type Item_IsTerminal_Call
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 NewAutoRefresh ¶ added in v2.0.10
func NewAutoRefresh(t interface {
mock.TestingT
Cleanup(func())
}) *AutoRefresh
NewAutoRefresh creates a new instance of AutoRefresh. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AutoRefresh) DeleteDelayed ¶
func (_mock *AutoRefresh) DeleteDelayed(id autorefreshcache.ItemID) error
DeleteDelayed provides a mock function for the type AutoRefresh
func (*AutoRefresh) EXPECT ¶ added in v2.0.10
func (_m *AutoRefresh) EXPECT() *AutoRefresh_Expecter
func (*AutoRefresh) Get ¶
func (_mock *AutoRefresh) Get(id autorefreshcache.ItemID) (autorefreshcache.Item, error)
Get provides a mock function for the type AutoRefresh
func (*AutoRefresh) GetOrCreate ¶
func (_mock *AutoRefresh) GetOrCreate(id autorefreshcache.ItemID, item autorefreshcache.Item) (autorefreshcache.Item, error)
GetOrCreate provides a mock function for the type AutoRefresh
type AutoRefreshWithUpdate ¶
AutoRefreshWithUpdate is an autogenerated mock type for the AutoRefreshWithUpdate type
func NewAutoRefreshWithUpdate ¶ added in v2.0.10
func NewAutoRefreshWithUpdate(t interface {
mock.TestingT
Cleanup(func())
}) *AutoRefreshWithUpdate
NewAutoRefreshWithUpdate creates a new instance of AutoRefreshWithUpdate. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AutoRefreshWithUpdate) DeleteDelayed ¶
func (_mock *AutoRefreshWithUpdate) DeleteDelayed(id autorefreshcache.ItemID) error
DeleteDelayed provides a mock function for the type AutoRefreshWithUpdate
func (*AutoRefreshWithUpdate) EXPECT ¶ added in v2.0.10
func (_m *AutoRefreshWithUpdate) EXPECT() *AutoRefreshWithUpdate_Expecter
func (*AutoRefreshWithUpdate) Get ¶
func (_mock *AutoRefreshWithUpdate) Get(id autorefreshcache.ItemID) (autorefreshcache.Item, error)
Get provides a mock function for the type AutoRefreshWithUpdate
func (*AutoRefreshWithUpdate) GetOrCreate ¶
func (_mock *AutoRefreshWithUpdate) GetOrCreate(id autorefreshcache.ItemID, item autorefreshcache.Item) (autorefreshcache.Item, error)
GetOrCreate provides a mock function for the type AutoRefreshWithUpdate
func (*AutoRefreshWithUpdate) Start ¶
func (_mock *AutoRefreshWithUpdate) Start(ctx context.Context) error
Start provides a mock function for the type AutoRefreshWithUpdate
func (*AutoRefreshWithUpdate) Update ¶
func (_mock *AutoRefreshWithUpdate) Update(id autorefreshcache.ItemID, item autorefreshcache.Item) bool
Update provides a mock function for the type AutoRefreshWithUpdate
type AutoRefreshWithUpdate_DeleteDelayed_Call ¶ added in v2.0.10
AutoRefreshWithUpdate_DeleteDelayed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDelayed'
func (*AutoRefreshWithUpdate_DeleteDelayed_Call) Return ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_DeleteDelayed_Call) Return(err error) *AutoRefreshWithUpdate_DeleteDelayed_Call
func (*AutoRefreshWithUpdate_DeleteDelayed_Call) Run ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_DeleteDelayed_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefreshWithUpdate_DeleteDelayed_Call
func (*AutoRefreshWithUpdate_DeleteDelayed_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_DeleteDelayed_Call) RunAndReturn(run func(id autorefreshcache.ItemID) error) *AutoRefreshWithUpdate_DeleteDelayed_Call
type AutoRefreshWithUpdate_Expecter ¶ added in v2.0.10
type AutoRefreshWithUpdate_Expecter struct {
// contains filtered or unexported fields
}
func (*AutoRefreshWithUpdate_Expecter) DeleteDelayed ¶ added in v2.0.10
func (_e *AutoRefreshWithUpdate_Expecter) DeleteDelayed(id interface{}) *AutoRefreshWithUpdate_DeleteDelayed_Call
DeleteDelayed is a helper method to define mock.On call
- id autorefreshcache.ItemID
func (*AutoRefreshWithUpdate_Expecter) Get ¶ added in v2.0.10
func (_e *AutoRefreshWithUpdate_Expecter) Get(id interface{}) *AutoRefreshWithUpdate_Get_Call
Get is a helper method to define mock.On call
- id autorefreshcache.ItemID
func (*AutoRefreshWithUpdate_Expecter) GetOrCreate ¶ added in v2.0.10
func (_e *AutoRefreshWithUpdate_Expecter) GetOrCreate(id interface{}, item interface{}) *AutoRefreshWithUpdate_GetOrCreate_Call
GetOrCreate is a helper method to define mock.On call
- id autorefreshcache.ItemID
- item autorefreshcache.Item
func (*AutoRefreshWithUpdate_Expecter) Start ¶ added in v2.0.10
func (_e *AutoRefreshWithUpdate_Expecter) Start(ctx interface{}) *AutoRefreshWithUpdate_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
func (*AutoRefreshWithUpdate_Expecter) Update ¶ added in v2.0.10
func (_e *AutoRefreshWithUpdate_Expecter) Update(id interface{}, item interface{}) *AutoRefreshWithUpdate_Update_Call
Update is a helper method to define mock.On call
- id autorefreshcache.ItemID
- item autorefreshcache.Item
type AutoRefreshWithUpdate_GetOrCreate_Call ¶ added in v2.0.10
AutoRefreshWithUpdate_GetOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrCreate'
func (*AutoRefreshWithUpdate_GetOrCreate_Call) Return ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_GetOrCreate_Call) Return(item1 autorefreshcache.Item, err error) *AutoRefreshWithUpdate_GetOrCreate_Call
func (*AutoRefreshWithUpdate_GetOrCreate_Call) Run ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_GetOrCreate_Call) Run(run func(id autorefreshcache.ItemID, item autorefreshcache.Item)) *AutoRefreshWithUpdate_GetOrCreate_Call
func (*AutoRefreshWithUpdate_GetOrCreate_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_GetOrCreate_Call) RunAndReturn(run func(id autorefreshcache.ItemID, item autorefreshcache.Item) (autorefreshcache.Item, error)) *AutoRefreshWithUpdate_GetOrCreate_Call
type AutoRefreshWithUpdate_Get_Call ¶ added in v2.0.10
AutoRefreshWithUpdate_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*AutoRefreshWithUpdate_Get_Call) Return ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Get_Call) Return(item autorefreshcache.Item, err error) *AutoRefreshWithUpdate_Get_Call
func (*AutoRefreshWithUpdate_Get_Call) Run ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Get_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefreshWithUpdate_Get_Call
func (*AutoRefreshWithUpdate_Get_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Get_Call) RunAndReturn(run func(id autorefreshcache.ItemID) (autorefreshcache.Item, error)) *AutoRefreshWithUpdate_Get_Call
type AutoRefreshWithUpdate_Start_Call ¶ added in v2.0.10
AutoRefreshWithUpdate_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*AutoRefreshWithUpdate_Start_Call) Return ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Start_Call) Return(err error) *AutoRefreshWithUpdate_Start_Call
func (*AutoRefreshWithUpdate_Start_Call) Run ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Start_Call) Run(run func(ctx context.Context)) *AutoRefreshWithUpdate_Start_Call
func (*AutoRefreshWithUpdate_Start_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Start_Call) RunAndReturn(run func(ctx context.Context) error) *AutoRefreshWithUpdate_Start_Call
type AutoRefreshWithUpdate_Update_Call ¶ added in v2.0.10
AutoRefreshWithUpdate_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*AutoRefreshWithUpdate_Update_Call) Return ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Update_Call) Return(ok bool) *AutoRefreshWithUpdate_Update_Call
func (*AutoRefreshWithUpdate_Update_Call) Run ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Update_Call) Run(run func(id autorefreshcache.ItemID, item autorefreshcache.Item)) *AutoRefreshWithUpdate_Update_Call
func (*AutoRefreshWithUpdate_Update_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefreshWithUpdate_Update_Call) RunAndReturn(run func(id autorefreshcache.ItemID, item autorefreshcache.Item) bool) *AutoRefreshWithUpdate_Update_Call
type AutoRefresh_DeleteDelayed_Call ¶ added in v2.0.10
AutoRefresh_DeleteDelayed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDelayed'
func (*AutoRefresh_DeleteDelayed_Call) Return ¶ added in v2.0.10
func (_c *AutoRefresh_DeleteDelayed_Call) Return(err error) *AutoRefresh_DeleteDelayed_Call
func (*AutoRefresh_DeleteDelayed_Call) Run ¶ added in v2.0.10
func (_c *AutoRefresh_DeleteDelayed_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefresh_DeleteDelayed_Call
func (*AutoRefresh_DeleteDelayed_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefresh_DeleteDelayed_Call) RunAndReturn(run func(id autorefreshcache.ItemID) error) *AutoRefresh_DeleteDelayed_Call
type AutoRefresh_Expecter ¶ added in v2.0.10
type AutoRefresh_Expecter struct {
// contains filtered or unexported fields
}
func (*AutoRefresh_Expecter) DeleteDelayed ¶ added in v2.0.10
func (_e *AutoRefresh_Expecter) DeleteDelayed(id interface{}) *AutoRefresh_DeleteDelayed_Call
DeleteDelayed is a helper method to define mock.On call
- id autorefreshcache.ItemID
func (*AutoRefresh_Expecter) Get ¶ added in v2.0.10
func (_e *AutoRefresh_Expecter) Get(id interface{}) *AutoRefresh_Get_Call
Get is a helper method to define mock.On call
- id autorefreshcache.ItemID
func (*AutoRefresh_Expecter) GetOrCreate ¶ added in v2.0.10
func (_e *AutoRefresh_Expecter) GetOrCreate(id interface{}, item interface{}) *AutoRefresh_GetOrCreate_Call
GetOrCreate is a helper method to define mock.On call
- id autorefreshcache.ItemID
- item autorefreshcache.Item
func (*AutoRefresh_Expecter) Start ¶ added in v2.0.10
func (_e *AutoRefresh_Expecter) Start(ctx interface{}) *AutoRefresh_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
type AutoRefresh_GetOrCreate_Call ¶ added in v2.0.10
AutoRefresh_GetOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrCreate'
func (*AutoRefresh_GetOrCreate_Call) Return ¶ added in v2.0.10
func (_c *AutoRefresh_GetOrCreate_Call) Return(item1 autorefreshcache.Item, err error) *AutoRefresh_GetOrCreate_Call
func (*AutoRefresh_GetOrCreate_Call) Run ¶ added in v2.0.10
func (_c *AutoRefresh_GetOrCreate_Call) Run(run func(id autorefreshcache.ItemID, item autorefreshcache.Item)) *AutoRefresh_GetOrCreate_Call
func (*AutoRefresh_GetOrCreate_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefresh_GetOrCreate_Call) RunAndReturn(run func(id autorefreshcache.ItemID, item autorefreshcache.Item) (autorefreshcache.Item, error)) *AutoRefresh_GetOrCreate_Call
type AutoRefresh_Get_Call ¶ added in v2.0.10
AutoRefresh_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*AutoRefresh_Get_Call) Return ¶ added in v2.0.10
func (_c *AutoRefresh_Get_Call) Return(item autorefreshcache.Item, err error) *AutoRefresh_Get_Call
func (*AutoRefresh_Get_Call) Run ¶ added in v2.0.10
func (_c *AutoRefresh_Get_Call) Run(run func(id autorefreshcache.ItemID)) *AutoRefresh_Get_Call
func (*AutoRefresh_Get_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefresh_Get_Call) RunAndReturn(run func(id autorefreshcache.ItemID) (autorefreshcache.Item, error)) *AutoRefresh_Get_Call
type AutoRefresh_Start_Call ¶ added in v2.0.10
AutoRefresh_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*AutoRefresh_Start_Call) Return ¶ added in v2.0.10
func (_c *AutoRefresh_Start_Call) Return(err error) *AutoRefresh_Start_Call
func (*AutoRefresh_Start_Call) Run ¶ added in v2.0.10
func (_c *AutoRefresh_Start_Call) Run(run func(ctx context.Context)) *AutoRefresh_Start_Call
func (*AutoRefresh_Start_Call) RunAndReturn ¶ added in v2.0.10
func (_c *AutoRefresh_Start_Call) RunAndReturn(run func(ctx context.Context) error) *AutoRefresh_Start_Call
type Item ¶
Item is an autogenerated mock type for the Item type
func NewItem ¶ added in v2.0.10
NewItem creates a new instance of Item. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Item) EXPECT ¶ added in v2.0.10
func (_m *Item) EXPECT() *Item_Expecter
func (*Item) IsTerminal ¶
IsTerminal provides a mock function for the type Item
type ItemWrapper ¶
ItemWrapper is an autogenerated mock type for the ItemWrapper type
func NewItemWrapper ¶ added in v2.0.10
func NewItemWrapper(t interface {
mock.TestingT
Cleanup(func())
}) *ItemWrapper
NewItemWrapper creates a new instance of ItemWrapper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ItemWrapper) EXPECT ¶ added in v2.0.10
func (_m *ItemWrapper) EXPECT() *ItemWrapper_Expecter
func (*ItemWrapper) GetID ¶
func (_mock *ItemWrapper) GetID() autorefreshcache.ItemID
GetID provides a mock function for the type ItemWrapper
func (*ItemWrapper) GetItem ¶
func (_mock *ItemWrapper) GetItem() autorefreshcache.Item
GetItem provides a mock function for the type ItemWrapper
type ItemWrapper_Expecter ¶ added in v2.0.10
type ItemWrapper_Expecter struct {
// contains filtered or unexported fields
}
func (*ItemWrapper_Expecter) GetID ¶ added in v2.0.10
func (_e *ItemWrapper_Expecter) GetID() *ItemWrapper_GetID_Call
GetID is a helper method to define mock.On call
func (*ItemWrapper_Expecter) GetItem ¶ added in v2.0.10
func (_e *ItemWrapper_Expecter) GetItem() *ItemWrapper_GetItem_Call
GetItem is a helper method to define mock.On call
type ItemWrapper_GetID_Call ¶ added in v2.0.10
ItemWrapper_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'
func (*ItemWrapper_GetID_Call) Return ¶ added in v2.0.10
func (_c *ItemWrapper_GetID_Call) Return(v autorefreshcache.ItemID) *ItemWrapper_GetID_Call
func (*ItemWrapper_GetID_Call) Run ¶ added in v2.0.10
func (_c *ItemWrapper_GetID_Call) Run(run func()) *ItemWrapper_GetID_Call
func (*ItemWrapper_GetID_Call) RunAndReturn ¶ added in v2.0.10
func (_c *ItemWrapper_GetID_Call) RunAndReturn(run func() autorefreshcache.ItemID) *ItemWrapper_GetID_Call
type ItemWrapper_GetItem_Call ¶ added in v2.0.10
ItemWrapper_GetItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetItem'
func (*ItemWrapper_GetItem_Call) Return ¶ added in v2.0.10
func (_c *ItemWrapper_GetItem_Call) Return(item autorefreshcache.Item) *ItemWrapper_GetItem_Call
func (*ItemWrapper_GetItem_Call) Run ¶ added in v2.0.10
func (_c *ItemWrapper_GetItem_Call) Run(run func()) *ItemWrapper_GetItem_Call
func (*ItemWrapper_GetItem_Call) RunAndReturn ¶ added in v2.0.10
func (_c *ItemWrapper_GetItem_Call) RunAndReturn(run func() autorefreshcache.Item) *ItemWrapper_GetItem_Call
type Item_Expecter ¶ added in v2.0.10
type Item_Expecter struct {
// contains filtered or unexported fields
}
func (*Item_Expecter) IsTerminal ¶ added in v2.0.10
func (_e *Item_Expecter) IsTerminal() *Item_IsTerminal_Call
IsTerminal is a helper method to define mock.On call
type Item_IsTerminal_Call ¶ added in v2.0.10
Item_IsTerminal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsTerminal'
func (*Item_IsTerminal_Call) Return ¶ added in v2.0.10
func (_c *Item_IsTerminal_Call) Return(b bool) *Item_IsTerminal_Call
func (*Item_IsTerminal_Call) Run ¶ added in v2.0.10
func (_c *Item_IsTerminal_Call) Run(run func()) *Item_IsTerminal_Call
func (*Item_IsTerminal_Call) RunAndReturn ¶ added in v2.0.10
func (_c *Item_IsTerminal_Call) RunAndReturn(run func() bool) *Item_IsTerminal_Call