images

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(client docker.ImageAPIClient, dir, name string, buildArgs map[string]*string) error

Build a docker image

func BuildAndPushFromDir

func BuildAndPushFromDir(client docker.ImageAPIClient, dir, name, registryAuth string, 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(client docker.ImageAPIClient, name, registryAuth string) error

Push a docker image

func Untar

func Untar(dst, prefix string, r io.Reader) error

Untar the tar stream r into the dst dir stripping prefix from file paths

Types

This section is empty.

Jump to

Keyboard shortcuts

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