Documentation ¶
Index ¶
- type Controller
- func (_m *Controller) DeleteExecution(ctx context.Context, executionID int64) error
- func (_m *Controller) GetExecution(ctx context.Context, executionID int64) (*export.Execution, error)
- func (_m *Controller) GetTask(ctx context.Context, executionID int64) (*task.Task, error)
- func (_m *Controller) ListExecutions(ctx context.Context, userName string) ([]*export.Execution, error)
- func (_m *Controller) Start(ctx context.Context, criteria export.Request) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is an autogenerated mock type for the Controller type
func NewController ¶
func NewController(t interface { mock.TestingT Cleanup(func()) }) *Controller
NewController creates a new instance of Controller. 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 (*Controller) DeleteExecution ¶
func (_m *Controller) DeleteExecution(ctx context.Context, executionID int64) error
DeleteExecution provides a mock function with given fields: ctx, executionID
func (*Controller) GetExecution ¶
func (_m *Controller) GetExecution(ctx context.Context, executionID int64) (*export.Execution, error)
GetExecution provides a mock function with given fields: ctx, executionID
func (*Controller) ListExecutions ¶
func (_m *Controller) ListExecutions(ctx context.Context, userName string) ([]*export.Execution, error)
ListExecutions provides a mock function with given fields: ctx, userName
Click to show internal directories.
Click to hide internal directories.