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 `toml:"containers"`
}
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 `toml:"-"`
Dockerfile string `toml:"Dockerfile"`
Included []string `toml:"included"`
Excluded []string `toml:"excluded"`
Registry string `toml:"registry"`
Project string `toml:"project"`
Tags []string `toml:"tags"`
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.