Documentation
¶
Index ¶
- type TypedRateLimitingInterface
- func (_m *TypedRateLimitingInterface[T]) Add(item T)
- func (_m *TypedRateLimitingInterface[T]) AddAfter(item T, duration time.Duration)
- func (_m *TypedRateLimitingInterface[T]) AddRateLimited(item T)
- func (_m *TypedRateLimitingInterface[T]) Done(item T)
- func (_m *TypedRateLimitingInterface[T]) EXPECT() *TypedRateLimitingInterface_Expecter[T]
- func (_m *TypedRateLimitingInterface[T]) Forget(item T)
- func (_m *TypedRateLimitingInterface[T]) Get() (T, bool)
- func (_m *TypedRateLimitingInterface[T]) Len() int
- func (_m *TypedRateLimitingInterface[T]) NumRequeues(item T) int
- func (_m *TypedRateLimitingInterface[T]) ShutDown()
- func (_m *TypedRateLimitingInterface[T]) ShutDownWithDrain()
- func (_m *TypedRateLimitingInterface[T]) ShuttingDown() bool
- type TypedRateLimitingInterface_AddAfter_Call
- func (_c *TypedRateLimitingInterface_AddAfter_Call[T]) Return() *TypedRateLimitingInterface_AddAfter_Call[T]
- func (_c *TypedRateLimitingInterface_AddAfter_Call[T]) Run(run func(item T, duration time.Duration)) *TypedRateLimitingInterface_AddAfter_Call[T]
- func (_c *TypedRateLimitingInterface_AddAfter_Call[T]) RunAndReturn(run func(T, time.Duration)) *TypedRateLimitingInterface_AddAfter_Call[T]
- type TypedRateLimitingInterface_AddRateLimited_Call
- func (_c *TypedRateLimitingInterface_AddRateLimited_Call[T]) Return() *TypedRateLimitingInterface_AddRateLimited_Call[T]
- func (_c *TypedRateLimitingInterface_AddRateLimited_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_AddRateLimited_Call[T]
- func (_c *TypedRateLimitingInterface_AddRateLimited_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_AddRateLimited_Call[T]
- type TypedRateLimitingInterface_Add_Call
- func (_c *TypedRateLimitingInterface_Add_Call[T]) Return() *TypedRateLimitingInterface_Add_Call[T]
- func (_c *TypedRateLimitingInterface_Add_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_Add_Call[T]
- func (_c *TypedRateLimitingInterface_Add_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_Add_Call[T]
- type TypedRateLimitingInterface_Done_Call
- func (_c *TypedRateLimitingInterface_Done_Call[T]) Return() *TypedRateLimitingInterface_Done_Call[T]
- func (_c *TypedRateLimitingInterface_Done_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_Done_Call[T]
- func (_c *TypedRateLimitingInterface_Done_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_Done_Call[T]
- type TypedRateLimitingInterface_Expecter
- func (_e *TypedRateLimitingInterface_Expecter[T]) Add(item interface{}) *TypedRateLimitingInterface_Add_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) AddAfter(item interface{}, duration interface{}) *TypedRateLimitingInterface_AddAfter_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) AddRateLimited(item interface{}) *TypedRateLimitingInterface_AddRateLimited_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) Done(item interface{}) *TypedRateLimitingInterface_Done_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) Forget(item interface{}) *TypedRateLimitingInterface_Forget_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) Get() *TypedRateLimitingInterface_Get_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) Len() *TypedRateLimitingInterface_Len_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) NumRequeues(item interface{}) *TypedRateLimitingInterface_NumRequeues_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) ShutDown() *TypedRateLimitingInterface_ShutDown_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) ShutDownWithDrain() *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
- func (_e *TypedRateLimitingInterface_Expecter[T]) ShuttingDown() *TypedRateLimitingInterface_ShuttingDown_Call[T]
- type TypedRateLimitingInterface_Forget_Call
- func (_c *TypedRateLimitingInterface_Forget_Call[T]) Return() *TypedRateLimitingInterface_Forget_Call[T]
- func (_c *TypedRateLimitingInterface_Forget_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_Forget_Call[T]
- func (_c *TypedRateLimitingInterface_Forget_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_Forget_Call[T]
- type TypedRateLimitingInterface_Get_Call
- func (_c *TypedRateLimitingInterface_Get_Call[T]) Return(item T, shutdown bool) *TypedRateLimitingInterface_Get_Call[T]
- func (_c *TypedRateLimitingInterface_Get_Call[T]) Run(run func()) *TypedRateLimitingInterface_Get_Call[T]
- func (_c *TypedRateLimitingInterface_Get_Call[T]) RunAndReturn(run func() (T, bool)) *TypedRateLimitingInterface_Get_Call[T]
- type TypedRateLimitingInterface_Len_Call
- func (_c *TypedRateLimitingInterface_Len_Call[T]) Return(_a0 int) *TypedRateLimitingInterface_Len_Call[T]
- func (_c *TypedRateLimitingInterface_Len_Call[T]) Run(run func()) *TypedRateLimitingInterface_Len_Call[T]
- func (_c *TypedRateLimitingInterface_Len_Call[T]) RunAndReturn(run func() int) *TypedRateLimitingInterface_Len_Call[T]
- type TypedRateLimitingInterface_NumRequeues_Call
- func (_c *TypedRateLimitingInterface_NumRequeues_Call[T]) Return(_a0 int) *TypedRateLimitingInterface_NumRequeues_Call[T]
- func (_c *TypedRateLimitingInterface_NumRequeues_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_NumRequeues_Call[T]
- func (_c *TypedRateLimitingInterface_NumRequeues_Call[T]) RunAndReturn(run func(T) int) *TypedRateLimitingInterface_NumRequeues_Call[T]
- type TypedRateLimitingInterface_ShutDownWithDrain_Call
- func (_c *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) Return() *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
- func (_c *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) Run(run func()) *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
- func (_c *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) RunAndReturn(run func()) *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
- type TypedRateLimitingInterface_ShutDown_Call
- func (_c *TypedRateLimitingInterface_ShutDown_Call[T]) Return() *TypedRateLimitingInterface_ShutDown_Call[T]
- func (_c *TypedRateLimitingInterface_ShutDown_Call[T]) Run(run func()) *TypedRateLimitingInterface_ShutDown_Call[T]
- func (_c *TypedRateLimitingInterface_ShutDown_Call[T]) RunAndReturn(run func()) *TypedRateLimitingInterface_ShutDown_Call[T]
- type TypedRateLimitingInterface_ShuttingDown_Call
- func (_c *TypedRateLimitingInterface_ShuttingDown_Call[T]) Return(_a0 bool) *TypedRateLimitingInterface_ShuttingDown_Call[T]
- func (_c *TypedRateLimitingInterface_ShuttingDown_Call[T]) Run(run func()) *TypedRateLimitingInterface_ShuttingDown_Call[T]
- func (_c *TypedRateLimitingInterface_ShuttingDown_Call[T]) RunAndReturn(run func() bool) *TypedRateLimitingInterface_ShuttingDown_Call[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypedRateLimitingInterface ¶
type TypedRateLimitingInterface[T comparable] struct { mock.Mock }
TypedRateLimitingInterface is an autogenerated mock type for the TypedRateLimitingInterface type
func NewTypedRateLimitingInterface ¶
func NewTypedRateLimitingInterface[T comparable](t interface { mock.TestingT Cleanup(func()) }) *TypedRateLimitingInterface[T]
NewTypedRateLimitingInterface creates a new instance of TypedRateLimitingInterface. 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 (*TypedRateLimitingInterface[T]) Add ¶
func (_m *TypedRateLimitingInterface[T]) Add(item T)
Add provides a mock function with given fields: item
func (*TypedRateLimitingInterface[T]) AddAfter ¶
func (_m *TypedRateLimitingInterface[T]) AddAfter(item T, duration time.Duration)
AddAfter provides a mock function with given fields: item, duration
func (*TypedRateLimitingInterface[T]) AddRateLimited ¶
func (_m *TypedRateLimitingInterface[T]) AddRateLimited(item T)
AddRateLimited provides a mock function with given fields: item
func (*TypedRateLimitingInterface[T]) Done ¶
func (_m *TypedRateLimitingInterface[T]) Done(item T)
Done provides a mock function with given fields: item
func (*TypedRateLimitingInterface[T]) EXPECT ¶
func (_m *TypedRateLimitingInterface[T]) EXPECT() *TypedRateLimitingInterface_Expecter[T]
func (*TypedRateLimitingInterface[T]) Forget ¶
func (_m *TypedRateLimitingInterface[T]) Forget(item T)
Forget provides a mock function with given fields: item
func (*TypedRateLimitingInterface[T]) Get ¶
func (_m *TypedRateLimitingInterface[T]) Get() (T, bool)
Get provides a mock function with given fields:
func (*TypedRateLimitingInterface[T]) Len ¶
func (_m *TypedRateLimitingInterface[T]) Len() int
Len provides a mock function with given fields:
func (*TypedRateLimitingInterface[T]) NumRequeues ¶
func (_m *TypedRateLimitingInterface[T]) NumRequeues(item T) int
NumRequeues provides a mock function with given fields: item
func (*TypedRateLimitingInterface[T]) ShutDown ¶
func (_m *TypedRateLimitingInterface[T]) ShutDown()
ShutDown provides a mock function with given fields:
func (*TypedRateLimitingInterface[T]) ShutDownWithDrain ¶
func (_m *TypedRateLimitingInterface[T]) ShutDownWithDrain()
ShutDownWithDrain provides a mock function with given fields:
func (*TypedRateLimitingInterface[T]) ShuttingDown ¶
func (_m *TypedRateLimitingInterface[T]) ShuttingDown() bool
ShuttingDown provides a mock function with given fields:
type TypedRateLimitingInterface_AddAfter_Call ¶
type TypedRateLimitingInterface_AddAfter_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_AddAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAfter'
func (*TypedRateLimitingInterface_AddAfter_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_AddAfter_Call[T]) Return() *TypedRateLimitingInterface_AddAfter_Call[T]
func (*TypedRateLimitingInterface_AddAfter_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_AddAfter_Call[T]) Run(run func(item T, duration time.Duration)) *TypedRateLimitingInterface_AddAfter_Call[T]
func (*TypedRateLimitingInterface_AddAfter_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_AddAfter_Call[T]) RunAndReturn(run func(T, time.Duration)) *TypedRateLimitingInterface_AddAfter_Call[T]
type TypedRateLimitingInterface_AddRateLimited_Call ¶
type TypedRateLimitingInterface_AddRateLimited_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_AddRateLimited_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddRateLimited'
func (*TypedRateLimitingInterface_AddRateLimited_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_AddRateLimited_Call[T]) Return() *TypedRateLimitingInterface_AddRateLimited_Call[T]
func (*TypedRateLimitingInterface_AddRateLimited_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_AddRateLimited_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_AddRateLimited_Call[T]
func (*TypedRateLimitingInterface_AddRateLimited_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_AddRateLimited_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_AddRateLimited_Call[T]
type TypedRateLimitingInterface_Add_Call ¶
type TypedRateLimitingInterface_Add_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*TypedRateLimitingInterface_Add_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_Add_Call[T]) Return() *TypedRateLimitingInterface_Add_Call[T]
func (*TypedRateLimitingInterface_Add_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_Add_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_Add_Call[T]
func (*TypedRateLimitingInterface_Add_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_Add_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_Add_Call[T]
type TypedRateLimitingInterface_Done_Call ¶
type TypedRateLimitingInterface_Done_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*TypedRateLimitingInterface_Done_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_Done_Call[T]) Return() *TypedRateLimitingInterface_Done_Call[T]
func (*TypedRateLimitingInterface_Done_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_Done_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_Done_Call[T]
func (*TypedRateLimitingInterface_Done_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_Done_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_Done_Call[T]
type TypedRateLimitingInterface_Expecter ¶
type TypedRateLimitingInterface_Expecter[T comparable] struct { // contains filtered or unexported fields }
func (*TypedRateLimitingInterface_Expecter[T]) Add ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) Add(item interface{}) *TypedRateLimitingInterface_Add_Call[T]
Add is a helper method to define mock.On call
- item T
func (*TypedRateLimitingInterface_Expecter[T]) AddAfter ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) AddAfter(item interface{}, duration interface{}) *TypedRateLimitingInterface_AddAfter_Call[T]
AddAfter is a helper method to define mock.On call
- item T
- duration time.Duration
func (*TypedRateLimitingInterface_Expecter[T]) AddRateLimited ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) AddRateLimited(item interface{}) *TypedRateLimitingInterface_AddRateLimited_Call[T]
AddRateLimited is a helper method to define mock.On call
- item T
func (*TypedRateLimitingInterface_Expecter[T]) Done ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) Done(item interface{}) *TypedRateLimitingInterface_Done_Call[T]
Done is a helper method to define mock.On call
- item T
func (*TypedRateLimitingInterface_Expecter[T]) Forget ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) Forget(item interface{}) *TypedRateLimitingInterface_Forget_Call[T]
Forget is a helper method to define mock.On call
- item T
func (*TypedRateLimitingInterface_Expecter[T]) Get ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) Get() *TypedRateLimitingInterface_Get_Call[T]
Get is a helper method to define mock.On call
func (*TypedRateLimitingInterface_Expecter[T]) Len ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) Len() *TypedRateLimitingInterface_Len_Call[T]
Len is a helper method to define mock.On call
func (*TypedRateLimitingInterface_Expecter[T]) NumRequeues ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) NumRequeues(item interface{}) *TypedRateLimitingInterface_NumRequeues_Call[T]
NumRequeues is a helper method to define mock.On call
- item T
func (*TypedRateLimitingInterface_Expecter[T]) ShutDown ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) ShutDown() *TypedRateLimitingInterface_ShutDown_Call[T]
ShutDown is a helper method to define mock.On call
func (*TypedRateLimitingInterface_Expecter[T]) ShutDownWithDrain ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) ShutDownWithDrain() *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
ShutDownWithDrain is a helper method to define mock.On call
func (*TypedRateLimitingInterface_Expecter[T]) ShuttingDown ¶
func (_e *TypedRateLimitingInterface_Expecter[T]) ShuttingDown() *TypedRateLimitingInterface_ShuttingDown_Call[T]
ShuttingDown is a helper method to define mock.On call
type TypedRateLimitingInterface_Forget_Call ¶
type TypedRateLimitingInterface_Forget_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_Forget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Forget'
func (*TypedRateLimitingInterface_Forget_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_Forget_Call[T]) Return() *TypedRateLimitingInterface_Forget_Call[T]
func (*TypedRateLimitingInterface_Forget_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_Forget_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_Forget_Call[T]
func (*TypedRateLimitingInterface_Forget_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_Forget_Call[T]) RunAndReturn(run func(T)) *TypedRateLimitingInterface_Forget_Call[T]
type TypedRateLimitingInterface_Get_Call ¶
type TypedRateLimitingInterface_Get_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*TypedRateLimitingInterface_Get_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_Get_Call[T]) Return(item T, shutdown bool) *TypedRateLimitingInterface_Get_Call[T]
func (*TypedRateLimitingInterface_Get_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_Get_Call[T]) Run(run func()) *TypedRateLimitingInterface_Get_Call[T]
func (*TypedRateLimitingInterface_Get_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_Get_Call[T]) RunAndReturn(run func() (T, bool)) *TypedRateLimitingInterface_Get_Call[T]
type TypedRateLimitingInterface_Len_Call ¶
type TypedRateLimitingInterface_Len_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_Len_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Len'
func (*TypedRateLimitingInterface_Len_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_Len_Call[T]) Return(_a0 int) *TypedRateLimitingInterface_Len_Call[T]
func (*TypedRateLimitingInterface_Len_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_Len_Call[T]) Run(run func()) *TypedRateLimitingInterface_Len_Call[T]
func (*TypedRateLimitingInterface_Len_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_Len_Call[T]) RunAndReturn(run func() int) *TypedRateLimitingInterface_Len_Call[T]
type TypedRateLimitingInterface_NumRequeues_Call ¶
type TypedRateLimitingInterface_NumRequeues_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_NumRequeues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumRequeues'
func (*TypedRateLimitingInterface_NumRequeues_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_NumRequeues_Call[T]) Return(_a0 int) *TypedRateLimitingInterface_NumRequeues_Call[T]
func (*TypedRateLimitingInterface_NumRequeues_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_NumRequeues_Call[T]) Run(run func(item T)) *TypedRateLimitingInterface_NumRequeues_Call[T]
func (*TypedRateLimitingInterface_NumRequeues_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_NumRequeues_Call[T]) RunAndReturn(run func(T) int) *TypedRateLimitingInterface_NumRequeues_Call[T]
type TypedRateLimitingInterface_ShutDownWithDrain_Call ¶
type TypedRateLimitingInterface_ShutDownWithDrain_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_ShutDownWithDrain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShutDownWithDrain'
func (*TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) Return() *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
func (*TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) Run(run func()) *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
func (*TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]) RunAndReturn(run func()) *TypedRateLimitingInterface_ShutDownWithDrain_Call[T]
type TypedRateLimitingInterface_ShutDown_Call ¶
type TypedRateLimitingInterface_ShutDown_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_ShutDown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShutDown'
func (*TypedRateLimitingInterface_ShutDown_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_ShutDown_Call[T]) Return() *TypedRateLimitingInterface_ShutDown_Call[T]
func (*TypedRateLimitingInterface_ShutDown_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_ShutDown_Call[T]) Run(run func()) *TypedRateLimitingInterface_ShutDown_Call[T]
func (*TypedRateLimitingInterface_ShutDown_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_ShutDown_Call[T]) RunAndReturn(run func()) *TypedRateLimitingInterface_ShutDown_Call[T]
type TypedRateLimitingInterface_ShuttingDown_Call ¶
type TypedRateLimitingInterface_ShuttingDown_Call[T comparable] struct { *mock.Call }
TypedRateLimitingInterface_ShuttingDown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShuttingDown'
func (*TypedRateLimitingInterface_ShuttingDown_Call[T]) Return ¶
func (_c *TypedRateLimitingInterface_ShuttingDown_Call[T]) Return(_a0 bool) *TypedRateLimitingInterface_ShuttingDown_Call[T]
func (*TypedRateLimitingInterface_ShuttingDown_Call[T]) Run ¶
func (_c *TypedRateLimitingInterface_ShuttingDown_Call[T]) Run(run func()) *TypedRateLimitingInterface_ShuttingDown_Call[T]
func (*TypedRateLimitingInterface_ShuttingDown_Call[T]) RunAndReturn ¶
func (_c *TypedRateLimitingInterface_ShuttingDown_Call[T]) RunAndReturn(run func() bool) *TypedRateLimitingInterface_ShuttingDown_Call[T]