Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
Executor is an autogenerated mock type for the Executor type
func NewExecutor ¶ added in v1.15.1
NewExecutor creates a new instance of Executor. 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 (*Executor) EXPECT ¶ added in v1.15.1
func (_m *Executor) EXPECT() *Executor_Expecter
type Executor_Execute_Call ¶ added in v1.15.1
Executor_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*Executor_Execute_Call) Return ¶ added in v1.15.1
func (_c *Executor_Execute_Call) Return(_a0 error) *Executor_Execute_Call
func (*Executor_Execute_Call) Run ¶ added in v1.15.1
func (_c *Executor_Execute_Call) Run(run func(ctx context.Context, scheduledTime time.Time, s models.SchedulableEntity)) *Executor_Execute_Call
func (*Executor_Execute_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Executor_Execute_Call) RunAndReturn(run func(context.Context, time.Time, models.SchedulableEntity) error) *Executor_Execute_Call
type Executor_Expecter ¶ added in v1.15.1
type Executor_Expecter struct {
// contains filtered or unexported fields
}
func (*Executor_Expecter) Execute ¶ added in v1.15.1
func (_e *Executor_Expecter) Execute(ctx interface{}, scheduledTime interface{}, s interface{}) *Executor_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- scheduledTime time.Time
- s models.SchedulableEntity
Click to show internal directories.
Click to hide internal directories.