docker

package
v0.15.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	DockerClient command.Cli
}

Builder contains information about the build environment

func (*Builder) AuthToken

func (b *Builder) AuthToken(ctx context.Context, app *builder.AppContext) (string, error)

AuthToken retrieves the auth token for the given image.

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, app *builder.AppContext, out chan<- *builder.Summary) (err error)

Build builds the docker image.

func (*Builder) Push

func (b *Builder) Push(ctx context.Context, app *builder.AppContext, out chan<- *builder.Summary) (err error)

Push pushes the results of Build to the image repository.

Jump to

Keyboard shortcuts

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