Documentation ¶
Index ¶
- func GetTaskConfig(name, action string, conf *config.ComposeConfig) (types.TaskConfig, error)
- func NewTask(run actionFunc, stop actionFunc) func(task.Name, config.Resource) types.Task
- func RunDown(_ *context.ExecuteContext, t *Task) error
- func RunUp(_ *context.ExecuteContext, t *Task) error
- func RunUpAttached(ctx *context.ExecuteContext, t *Task) error
- func StopNothing(_ *context.ExecuteContext, _ *Task) error
- func StopUp(_ *context.ExecuteContext, t *Task) error
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTaskConfig ¶
func GetTaskConfig(name, action string, conf *config.ComposeConfig) (types.TaskConfig, error)
GetTaskConfig returns a new task for the action
func RunDown ¶
func RunDown(_ *context.ExecuteContext, t *Task) error
RunDown removes all the project resources
func RunUpAttached ¶
func RunUpAttached(ctx *context.ExecuteContext, t *Task) error
RunUpAttached starts the Compose project
func StopNothing ¶
func StopNothing(_ *context.ExecuteContext, _ *Task) error
StopNothing implements the Stop interface but does nothing
Types ¶
Click to show internal directories.
Click to hide internal directories.