Documentation ¶
Overview ¶
Package packer allows to interact with Packer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildArtifact ¶ added in v0.10.0
BuildArtifact builds the given Packer template and return the generated Artifact ID.
Types ¶
type Options ¶
type Options struct { Template string // The path to the Packer template Vars map[string]string // The custom vars to pass when running the build command Only string // If specified, only run the build of this name Env map[string]string // Custom environment variables to set when running Packer }
Options are the options for Packer.
Click to show internal directories.
Click to hide internal directories.