commands

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package commands gathers commands exposed in the CLI docker-bakery interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDockerfileCmd

func BuildDockerfileCmd(c *cli.Context) error

BuildDockerfileCmd invokes docker build command on the provided file with the provided change scope. Optionally it skips builds of dependant images.

func DumpLatestVersionsCmd added in v1.1.0

func DumpLatestVersionsCmd(c *cli.Context) error

DumpLatestVersionsCmd dumps information about images and their latest versions to file in json format.

func FillTemplateCmd

func FillTemplateCmd(c *cli.Context) error

FillTemplateCmd fills input dockerfile template and stores the result under provided output.

func GenerateImagesTree added in v1.4.0

func GenerateImagesTree(c *cli.Context) error

GenerateImagesTree generate ancestors for a given image with a new parent image

func InitConfiguration

func InitConfiguration(c *cli.Context) error

InitConfiguration initializes configuration for the rest of invoked commands. Receives config file path and optionally root directory to override the config section.

func PushDockerImagesCmd

func PushDockerImagesCmd(c *cli.Context) error

PushDockerImagesCmd invokes docker push command on the provided file with the provided change scope. Optionally it skips pushes of dependant images.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL