builderfile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2014 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builderfile

type Builderfile struct {
	Docker     `toml:"docker"`
	Containers map[string]ContainerSection
}

Builderfile is a struct representation of what is expected to be inside a Builderfile.

func (*Builderfile) Clean

func (file *Builderfile) Clean()

Clean tidies up the structure of the Builderfile struct slightly by replacing some occurrences of nil arrays with empty arrays []string{}.

type ContainerSection

type ContainerSection struct {
	Name       string
	Dockerfile string
	Included   []string
	Excluded   []string
	Registry   string
	Project    string
	Tags       []string
	SkipPush   bool `toml:"skip_push"`
}

ContainerSection is a struct representation of an individual member of the "containers" section of a Builderfile. Each of these sections defines a docker container to be built and other related options.

type Docker

type Docker struct {
	BuildOpts []string `toml:"build_opts"`
	TagOpts   []string `toml:"tag_opts"`
}

Docker is a struct representation of the "docker" section of a Builderfile.

Jump to

Keyboard shortcuts

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