Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct { // Base image(s) to use Name string `yaml:"name"` // Base image version(s) to use Version string `yaml:"version"` }
Base represents the base image used by Packer for image building.
type Blueprint ¶
type Blueprint struct { // Name of the Blueprint Name string `yaml:"name"` // Path to the provisioning repo ProvisioningRepo string }
Blueprint represents the contents of a Blueprint.
type Container ¶
type Container struct { Workdir string `yaml:"container.workdir"` User string `yaml:"container.user"` Entrypoint string `yaml:"container.entrypoint"` Registry Registry }
Container stores information that is used for the container build process.
type Data ¶
type Data struct { Blueprint Blueprint PackerTemplates []PackerTemplate Container Container }
Data holds a blueprint and its associated packer templates.
type PackerTemplate ¶
type PackerTemplate struct { // Name of the Packer template Name string `yaml:"name"` Container Container `yaml:"container"` Base Base `yaml:"base"` Tag Tag `yaml:"tag"` // Systemd dictates creation of a container with systemd. Systemd bool `yaml:"systemd"` }
PackerTemplate is used to hold the information used with a blueprint's packer templates.
type Registry ¶
type Registry struct { // Registry server to connect to. Server string `yaml:"registry.server"` // Username to authenticate to the registry server. Username string `yaml:"registry.username"` // Credential to authenticate to the registry server. Credential string }
Registry stores container registry information that is used after image building to commit the image.
Click to show internal directories.
Click to hide internal directories.