Documentation
¶
Index ¶
- type TaskEventUpdater
- func (_m *TaskEventUpdater) EXPECT() *TaskEventUpdater_Expecter
- func (_m *TaskEventUpdater) GetSubtaskEventUpdater(subtask string) job.SubtaskEventUpdater
- func (_m *TaskEventUpdater) SetStatusToCompleted(ctx context.Context, results []job.TaskResult)
- func (_m *TaskEventUpdater) SetStatusToDataProcessing(ctx context.Context)
- func (_m *TaskEventUpdater) SetStatusToDataRetrieve(ctx context.Context)
- func (_m *TaskEventUpdater) SetStatusToDataUpload(ctx context.Context)
- func (_m *TaskEventUpdater) SetStatusToFailed(ctx context.Context, err error)
- func (_m *TaskEventUpdater) SetStatusToQueued(ctx context.Context)
- func (_m *TaskEventUpdater) SetStatusToSkipped(ctx context.Context)
- func (_m *TaskEventUpdater) SetStatusToStarted(ctx context.Context)
- type TaskEventUpdater_Expecter
- func (_e *TaskEventUpdater_Expecter) GetSubtaskEventUpdater(subtask interface{}) *TaskEventUpdater_GetSubtaskEventUpdater_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToCompleted(ctx interface{}, results interface{}) *TaskEventUpdater_SetStatusToCompleted_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToDataProcessing(ctx interface{}) *TaskEventUpdater_SetStatusToDataProcessing_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToDataRetrieve(ctx interface{}) *TaskEventUpdater_SetStatusToDataRetrieve_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToDataUpload(ctx interface{}) *TaskEventUpdater_SetStatusToDataUpload_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToFailed(ctx interface{}, err interface{}) *TaskEventUpdater_SetStatusToFailed_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToQueued(ctx interface{}) *TaskEventUpdater_SetStatusToQueued_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToSkipped(ctx interface{}) *TaskEventUpdater_SetStatusToSkipped_Call
- func (_e *TaskEventUpdater_Expecter) SetStatusToStarted(ctx interface{}) *TaskEventUpdater_SetStatusToStarted_Call
- type TaskEventUpdater_GetSubtaskEventUpdater_Call
- func (_c *TaskEventUpdater_GetSubtaskEventUpdater_Call) Return(_a0 job.SubtaskEventUpdater) *TaskEventUpdater_GetSubtaskEventUpdater_Call
- func (_c *TaskEventUpdater_GetSubtaskEventUpdater_Call) Run(run func(subtask string)) *TaskEventUpdater_GetSubtaskEventUpdater_Call
- func (_c *TaskEventUpdater_GetSubtaskEventUpdater_Call) RunAndReturn(run func(string) job.SubtaskEventUpdater) *TaskEventUpdater_GetSubtaskEventUpdater_Call
- type TaskEventUpdater_SetStatusToCompleted_Call
- func (_c *TaskEventUpdater_SetStatusToCompleted_Call) Return() *TaskEventUpdater_SetStatusToCompleted_Call
- func (_c *TaskEventUpdater_SetStatusToCompleted_Call) Run(run func(ctx context.Context, results []job.TaskResult)) *TaskEventUpdater_SetStatusToCompleted_Call
- func (_c *TaskEventUpdater_SetStatusToCompleted_Call) RunAndReturn(run func(context.Context, []job.TaskResult)) *TaskEventUpdater_SetStatusToCompleted_Call
- type TaskEventUpdater_SetStatusToDataProcessing_Call
- func (_c *TaskEventUpdater_SetStatusToDataProcessing_Call) Return() *TaskEventUpdater_SetStatusToDataProcessing_Call
- func (_c *TaskEventUpdater_SetStatusToDataProcessing_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToDataProcessing_Call
- func (_c *TaskEventUpdater_SetStatusToDataProcessing_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToDataProcessing_Call
- type TaskEventUpdater_SetStatusToDataRetrieve_Call
- func (_c *TaskEventUpdater_SetStatusToDataRetrieve_Call) Return() *TaskEventUpdater_SetStatusToDataRetrieve_Call
- func (_c *TaskEventUpdater_SetStatusToDataRetrieve_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToDataRetrieve_Call
- func (_c *TaskEventUpdater_SetStatusToDataRetrieve_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToDataRetrieve_Call
- type TaskEventUpdater_SetStatusToDataUpload_Call
- func (_c *TaskEventUpdater_SetStatusToDataUpload_Call) Return() *TaskEventUpdater_SetStatusToDataUpload_Call
- func (_c *TaskEventUpdater_SetStatusToDataUpload_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToDataUpload_Call
- func (_c *TaskEventUpdater_SetStatusToDataUpload_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToDataUpload_Call
- type TaskEventUpdater_SetStatusToFailed_Call
- func (_c *TaskEventUpdater_SetStatusToFailed_Call) Return() *TaskEventUpdater_SetStatusToFailed_Call
- func (_c *TaskEventUpdater_SetStatusToFailed_Call) Run(run func(ctx context.Context, err error)) *TaskEventUpdater_SetStatusToFailed_Call
- func (_c *TaskEventUpdater_SetStatusToFailed_Call) RunAndReturn(run func(context.Context, error)) *TaskEventUpdater_SetStatusToFailed_Call
- type TaskEventUpdater_SetStatusToQueued_Call
- func (_c *TaskEventUpdater_SetStatusToQueued_Call) Return() *TaskEventUpdater_SetStatusToQueued_Call
- func (_c *TaskEventUpdater_SetStatusToQueued_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToQueued_Call
- func (_c *TaskEventUpdater_SetStatusToQueued_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToQueued_Call
- type TaskEventUpdater_SetStatusToSkipped_Call
- func (_c *TaskEventUpdater_SetStatusToSkipped_Call) Return() *TaskEventUpdater_SetStatusToSkipped_Call
- func (_c *TaskEventUpdater_SetStatusToSkipped_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToSkipped_Call
- func (_c *TaskEventUpdater_SetStatusToSkipped_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToSkipped_Call
- type TaskEventUpdater_SetStatusToStarted_Call
- func (_c *TaskEventUpdater_SetStatusToStarted_Call) Return() *TaskEventUpdater_SetStatusToStarted_Call
- func (_c *TaskEventUpdater_SetStatusToStarted_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToStarted_Call
- func (_c *TaskEventUpdater_SetStatusToStarted_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToStarted_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskEventUpdater ¶
TaskEventUpdater is an autogenerated mock type for the TaskEventUpdater type
func NewTaskEventUpdater ¶
func NewTaskEventUpdater(t mockConstructorTestingTNewTaskEventUpdater) *TaskEventUpdater
NewTaskEventUpdater creates a new instance of TaskEventUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TaskEventUpdater) EXPECT ¶
func (_m *TaskEventUpdater) EXPECT() *TaskEventUpdater_Expecter
func (*TaskEventUpdater) GetSubtaskEventUpdater ¶
func (_m *TaskEventUpdater) GetSubtaskEventUpdater(subtask string) job.SubtaskEventUpdater
GetSubtaskEventUpdater provides a mock function with given fields: subtask
func (*TaskEventUpdater) SetStatusToCompleted ¶
func (_m *TaskEventUpdater) SetStatusToCompleted(ctx context.Context, results []job.TaskResult)
SetStatusToCompleted provides a mock function with given fields: ctx, results
func (*TaskEventUpdater) SetStatusToDataProcessing ¶
func (_m *TaskEventUpdater) SetStatusToDataProcessing(ctx context.Context)
SetStatusToDataProcessing provides a mock function with given fields: ctx
func (*TaskEventUpdater) SetStatusToDataRetrieve ¶
func (_m *TaskEventUpdater) SetStatusToDataRetrieve(ctx context.Context)
SetStatusToDataRetrieve provides a mock function with given fields: ctx
func (*TaskEventUpdater) SetStatusToDataUpload ¶
func (_m *TaskEventUpdater) SetStatusToDataUpload(ctx context.Context)
SetStatusToDataUpload provides a mock function with given fields: ctx
func (*TaskEventUpdater) SetStatusToFailed ¶
func (_m *TaskEventUpdater) SetStatusToFailed(ctx context.Context, err error)
SetStatusToFailed provides a mock function with given fields: ctx, err
func (*TaskEventUpdater) SetStatusToQueued ¶
func (_m *TaskEventUpdater) SetStatusToQueued(ctx context.Context)
SetStatusToQueued provides a mock function with given fields: ctx
func (*TaskEventUpdater) SetStatusToSkipped ¶
func (_m *TaskEventUpdater) SetStatusToSkipped(ctx context.Context)
SetStatusToSkipped provides a mock function with given fields: ctx
func (*TaskEventUpdater) SetStatusToStarted ¶
func (_m *TaskEventUpdater) SetStatusToStarted(ctx context.Context)
SetStatusToStarted provides a mock function with given fields: ctx
type TaskEventUpdater_Expecter ¶
type TaskEventUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*TaskEventUpdater_Expecter) GetSubtaskEventUpdater ¶
func (_e *TaskEventUpdater_Expecter) GetSubtaskEventUpdater(subtask interface{}) *TaskEventUpdater_GetSubtaskEventUpdater_Call
GetSubtaskEventUpdater is a helper method to define mock.On call
- subtask string
func (*TaskEventUpdater_Expecter) SetStatusToCompleted ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToCompleted(ctx interface{}, results interface{}) *TaskEventUpdater_SetStatusToCompleted_Call
SetStatusToCompleted is a helper method to define mock.On call
- ctx context.Context
- results []job.TaskResult
func (*TaskEventUpdater_Expecter) SetStatusToDataProcessing ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToDataProcessing(ctx interface{}) *TaskEventUpdater_SetStatusToDataProcessing_Call
SetStatusToDataProcessing is a helper method to define mock.On call
- ctx context.Context
func (*TaskEventUpdater_Expecter) SetStatusToDataRetrieve ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToDataRetrieve(ctx interface{}) *TaskEventUpdater_SetStatusToDataRetrieve_Call
SetStatusToDataRetrieve is a helper method to define mock.On call
- ctx context.Context
func (*TaskEventUpdater_Expecter) SetStatusToDataUpload ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToDataUpload(ctx interface{}) *TaskEventUpdater_SetStatusToDataUpload_Call
SetStatusToDataUpload is a helper method to define mock.On call
- ctx context.Context
func (*TaskEventUpdater_Expecter) SetStatusToFailed ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToFailed(ctx interface{}, err interface{}) *TaskEventUpdater_SetStatusToFailed_Call
SetStatusToFailed is a helper method to define mock.On call
- ctx context.Context
- err error
func (*TaskEventUpdater_Expecter) SetStatusToQueued ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToQueued(ctx interface{}) *TaskEventUpdater_SetStatusToQueued_Call
SetStatusToQueued is a helper method to define mock.On call
- ctx context.Context
func (*TaskEventUpdater_Expecter) SetStatusToSkipped ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToSkipped(ctx interface{}) *TaskEventUpdater_SetStatusToSkipped_Call
SetStatusToSkipped is a helper method to define mock.On call
- ctx context.Context
func (*TaskEventUpdater_Expecter) SetStatusToStarted ¶
func (_e *TaskEventUpdater_Expecter) SetStatusToStarted(ctx interface{}) *TaskEventUpdater_SetStatusToStarted_Call
SetStatusToStarted is a helper method to define mock.On call
- ctx context.Context
type TaskEventUpdater_GetSubtaskEventUpdater_Call ¶
TaskEventUpdater_GetSubtaskEventUpdater_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubtaskEventUpdater'
func (*TaskEventUpdater_GetSubtaskEventUpdater_Call) Run ¶
func (_c *TaskEventUpdater_GetSubtaskEventUpdater_Call) Run(run func(subtask string)) *TaskEventUpdater_GetSubtaskEventUpdater_Call
func (*TaskEventUpdater_GetSubtaskEventUpdater_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_GetSubtaskEventUpdater_Call) RunAndReturn(run func(string) job.SubtaskEventUpdater) *TaskEventUpdater_GetSubtaskEventUpdater_Call
type TaskEventUpdater_SetStatusToCompleted_Call ¶
TaskEventUpdater_SetStatusToCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToCompleted'
func (*TaskEventUpdater_SetStatusToCompleted_Call) Return ¶
func (_c *TaskEventUpdater_SetStatusToCompleted_Call) Return() *TaskEventUpdater_SetStatusToCompleted_Call
func (*TaskEventUpdater_SetStatusToCompleted_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToCompleted_Call) Run(run func(ctx context.Context, results []job.TaskResult)) *TaskEventUpdater_SetStatusToCompleted_Call
func (*TaskEventUpdater_SetStatusToCompleted_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToCompleted_Call) RunAndReturn(run func(context.Context, []job.TaskResult)) *TaskEventUpdater_SetStatusToCompleted_Call
type TaskEventUpdater_SetStatusToDataProcessing_Call ¶
TaskEventUpdater_SetStatusToDataProcessing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToDataProcessing'
func (*TaskEventUpdater_SetStatusToDataProcessing_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToDataProcessing_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToDataProcessing_Call
func (*TaskEventUpdater_SetStatusToDataProcessing_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToDataProcessing_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToDataProcessing_Call
type TaskEventUpdater_SetStatusToDataRetrieve_Call ¶
TaskEventUpdater_SetStatusToDataRetrieve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToDataRetrieve'
func (*TaskEventUpdater_SetStatusToDataRetrieve_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToDataRetrieve_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToDataRetrieve_Call
func (*TaskEventUpdater_SetStatusToDataRetrieve_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToDataRetrieve_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToDataRetrieve_Call
type TaskEventUpdater_SetStatusToDataUpload_Call ¶
TaskEventUpdater_SetStatusToDataUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToDataUpload'
func (*TaskEventUpdater_SetStatusToDataUpload_Call) Return ¶
func (_c *TaskEventUpdater_SetStatusToDataUpload_Call) Return() *TaskEventUpdater_SetStatusToDataUpload_Call
func (*TaskEventUpdater_SetStatusToDataUpload_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToDataUpload_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToDataUpload_Call
func (*TaskEventUpdater_SetStatusToDataUpload_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToDataUpload_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToDataUpload_Call
type TaskEventUpdater_SetStatusToFailed_Call ¶
TaskEventUpdater_SetStatusToFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToFailed'
func (*TaskEventUpdater_SetStatusToFailed_Call) Return ¶
func (_c *TaskEventUpdater_SetStatusToFailed_Call) Return() *TaskEventUpdater_SetStatusToFailed_Call
func (*TaskEventUpdater_SetStatusToFailed_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToFailed_Call) Run(run func(ctx context.Context, err error)) *TaskEventUpdater_SetStatusToFailed_Call
func (*TaskEventUpdater_SetStatusToFailed_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToFailed_Call) RunAndReturn(run func(context.Context, error)) *TaskEventUpdater_SetStatusToFailed_Call
type TaskEventUpdater_SetStatusToQueued_Call ¶
TaskEventUpdater_SetStatusToQueued_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToQueued'
func (*TaskEventUpdater_SetStatusToQueued_Call) Return ¶
func (_c *TaskEventUpdater_SetStatusToQueued_Call) Return() *TaskEventUpdater_SetStatusToQueued_Call
func (*TaskEventUpdater_SetStatusToQueued_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToQueued_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToQueued_Call
func (*TaskEventUpdater_SetStatusToQueued_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToQueued_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToQueued_Call
type TaskEventUpdater_SetStatusToSkipped_Call ¶
TaskEventUpdater_SetStatusToSkipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToSkipped'
func (*TaskEventUpdater_SetStatusToSkipped_Call) Return ¶
func (_c *TaskEventUpdater_SetStatusToSkipped_Call) Return() *TaskEventUpdater_SetStatusToSkipped_Call
func (*TaskEventUpdater_SetStatusToSkipped_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToSkipped_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToSkipped_Call
func (*TaskEventUpdater_SetStatusToSkipped_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToSkipped_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToSkipped_Call
type TaskEventUpdater_SetStatusToStarted_Call ¶
TaskEventUpdater_SetStatusToStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStatusToStarted'
func (*TaskEventUpdater_SetStatusToStarted_Call) Return ¶
func (_c *TaskEventUpdater_SetStatusToStarted_Call) Return() *TaskEventUpdater_SetStatusToStarted_Call
func (*TaskEventUpdater_SetStatusToStarted_Call) Run ¶
func (_c *TaskEventUpdater_SetStatusToStarted_Call) Run(run func(ctx context.Context)) *TaskEventUpdater_SetStatusToStarted_Call
func (*TaskEventUpdater_SetStatusToStarted_Call) RunAndReturn ¶
func (_c *TaskEventUpdater_SetStatusToStarted_Call) RunAndReturn(run func(context.Context)) *TaskEventUpdater_SetStatusToStarted_Call