containers

package
v0.0.0-...-7d254bc Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildOpt

type BuildOpt func(buildOpts *BuildOptions)

func WithContextDir

func WithContextDir(dirPath string) BuildOpt

func WithOutputStream

func WithOutputStream(writer io.Writer) BuildOpt

type BuildOptions

type BuildOptions struct {
	Name         string
	ContextDir   string
	OutputStream io.Writer
}

type DockerClient

type DockerClient struct {
	DockerClient *docker.Client
}

func (*DockerClient) Build

func (c *DockerClient) Build(name string, opts ...BuildOpt) error

Jump to

Keyboard shortcuts

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