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.
Click to show internal directories.
Click to hide internal directories.