images

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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

func Push

func Push(ctx context.Context, client docker.ImageAPIClient, name, registryAuth string) error

Push a docker image

func Remove added in v0.1.23

func Remove(ctx context.Context, client docker.ImageAPIClient, name string) error

Remove a docker image

Types

This section is empty.

Jump to

Keyboard shortcuts

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