Documentation
¶
Index ¶
- type Backend
- func (_m *Backend) DestroyStep(ctx context.Context, step *types.Step, taskUUID string) error
- func (_m *Backend) DestroyWorkflow(ctx context.Context, conf *types.Config, taskUUID string) error
- func (_m *Backend) Flags() []cli.Flag
- func (_m *Backend) IsAvailable(ctx context.Context) bool
- func (_m *Backend) Load(ctx context.Context) (*types.BackendInfo, error)
- func (_m *Backend) Name() string
- func (_m *Backend) SetupWorkflow(ctx context.Context, conf *types.Config, taskUUID string) error
- func (_m *Backend) StartStep(ctx context.Context, step *types.Step, taskUUID string) error
- func (_m *Backend) TailStep(ctx context.Context, step *types.Step, taskUUID string) (io.ReadCloser, error)
- func (_m *Backend) WaitStep(ctx context.Context, step *types.Step, taskUUID string) (*types.State, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
Backend is an autogenerated mock type for the Backend type
func NewBackend ¶
NewBackend creates a new instance of Backend. 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 (*Backend) DestroyStep ¶
DestroyStep provides a mock function with given fields: ctx, step, taskUUID
func (*Backend) DestroyWorkflow ¶
DestroyWorkflow provides a mock function with given fields: ctx, conf, taskUUID
func (*Backend) IsAvailable ¶
IsAvailable provides a mock function with given fields: ctx
func (*Backend) SetupWorkflow ¶
SetupWorkflow provides a mock function with given fields: ctx, conf, taskUUID
func (*Backend) StartStep ¶
StartStep provides a mock function with given fields: ctx, step, taskUUID