Documentation ¶
Index ¶
- func AbsBindPath(c *config.MountConfig, workingDir string) string
- func AsBind(c *config.MountConfig, workingDir string) string
- func GetTaskConfig(name, action string, conf *config.MountConfig) (types.TaskConfig, error)
- func NewTask(runFunc func(task *Task, ctx *context.ExecuteContext) (bool, error)) types.TaskBuilder
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsBindPath ¶
func AbsBindPath(c *config.MountConfig, workingDir string) string
AbsBindPath returns the MountConfig.Bind as an absolute path
func AsBind ¶
func AsBind(c *config.MountConfig, workingDir string) string
AsBind returns a MountConfig formatted as a bind mount string
func GetTaskConfig ¶
func GetTaskConfig(name, action string, conf *config.MountConfig) (types.TaskConfig, error)
GetTaskConfig returns a new task for the action
func NewTask ¶
func NewTask( runFunc func(task *Task, ctx *context.ExecuteContext) (bool, error)) types.TaskBuilder
NewTask creates a new Task object
Types ¶
Click to show internal directories.
Click to hide internal directories.