Documentation ¶
Index ¶
- func GetCanonicalTag(ctx *context.ExecuteContext, conf *config.ImageConfig) string
- func GetImage(ctx *context.ExecuteContext, conf *config.ImageConfig) (*docker.Image, error)
- func GetImageName(ctx *context.ExecuteContext, conf *config.ImageConfig) string
- func GetTaskConfig(name, action string, conf *config.ImageConfig) (types.TaskConfig, error)
- func NewTask(runFunc runFunc) func(task.Name, config.Resource) types.Task
- func RunBuild(ctx *context.ExecuteContext, t *Task, hasModifiedDeps bool) (bool, error)
- func RunPull(ctx *context.ExecuteContext, t *Task, _ bool) (bool, error)
- func RunPush(ctx *context.ExecuteContext, t *Task, _ bool) (bool, error)
- func RunRemove(ctx *context.ExecuteContext, t *Task, _ bool) (bool, error)
- func RunTag(ctx *context.ExecuteContext, t *Task, _ bool) (bool, error)
- func Stream(out io.Writer, streamer func(out io.Writer) error) error
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCanonicalTag ¶
func GetCanonicalTag(ctx *context.ExecuteContext, conf *config.ImageConfig) string
GetCanonicalTag returns the canonical tag for an image config
func GetImage ¶
func GetImage(ctx *context.ExecuteContext, conf *config.ImageConfig) (*docker.Image, error)
GetImage returns the image created by an image config
func GetImageName ¶
func GetImageName(ctx *context.ExecuteContext, conf *config.ImageConfig) string
GetImageName returns the image name for an image config
func GetTaskConfig ¶
func GetTaskConfig(name, action string, conf *config.ImageConfig) (types.TaskConfig, error)
GetTaskConfig returns a new TaskConfig for the action
Types ¶
type Task ¶
Task creates a Docker image
func (*Task) ForEachTag ¶
ForEachTag runs a function for each tag
Click to show internal directories.
Click to hide internal directories.