Documentation ¶
Index ¶
- func Build(ctx context.Context, client docker.ImageAPIClient, dir, name string, ...) error
- func BuildAndPushFromDir(ctx context.Context, client docker.ImageAPIClient, ...) error
- func DockerError(r io.ReadCloser, err error) error
- func Push(ctx context.Context, client docker.ImageAPIClient, name, registryAuth string) error
- func Remove(ctx context.Context, client docker.ImageAPIClient, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(ctx context.Context, client docker.ImageAPIClient, dir, name string, buildArgs map[string]*string) error
Build a docker image
func BuildAndPushFromDir ¶
func BuildAndPushFromDir(ctx context.Context, client docker.ImageAPIClient, dir, name, registryAuth string, push bool, buildArgs map[string]*string) error
BuildAndPushFromDir will tar up a docker image, build it, and push it
func DockerError ¶
func DockerError(r io.ReadCloser, err error) error
DockerError scans for errors in docker commands
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.