Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackOffFunc ¶
BackOffFunc is an autogenerated mock type for the BackOffFunc type
func NewBackOffFunc ¶
func NewBackOffFunc(t mockConstructorTestingTNewBackOffFunc) *BackOffFunc
NewBackOffFunc creates a new instance of BackOffFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BackOffFunc) EXPECT ¶
func (_m *BackOffFunc) EXPECT() *BackOffFunc_Expecter
func (*BackOffFunc) Execute ¶
func (_m *BackOffFunc) Execute() time.Duration
Execute provides a mock function with given fields:
type BackOffFunc_Execute_Call ¶
BackOffFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*BackOffFunc_Execute_Call) Return ¶
func (_c *BackOffFunc_Execute_Call) Return(_a0 time.Duration) *BackOffFunc_Execute_Call
func (*BackOffFunc_Execute_Call) Run ¶
func (_c *BackOffFunc_Execute_Call) Run(run func()) *BackOffFunc_Execute_Call
type BackOffFunc_Expecter ¶
type BackOffFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*BackOffFunc_Expecter) Execute ¶
func (_e *BackOffFunc_Expecter) Execute() *BackOffFunc_Execute_Call
Execute is a helper method to define mock.On call
Click to show internal directories.
Click to hide internal directories.