2013-07-16 00:28:49 -04:00
|
|
|
package common
|
|
|
|
|
|
|
|
// PackerConfig is a struct that contains the configuration keys that
|
|
|
|
// are sent by packer, properly tagged already so mapstructure can load
|
|
|
|
// them. Embed this structure into your configuration class to get it.
|
|
|
|
type PackerConfig struct {
|
2013-08-09 17:11:13 -04:00
|
|
|
PackerBuildName string `mapstructure:"packer_build_name"`
|
|
|
|
PackerBuilderType string `mapstructure:"packer_builder_type"`
|
|
|
|
PackerDebug bool `mapstructure:"packer_debug"`
|
|
|
|
PackerForce bool `mapstructure:"packer_force"`
|
|
|
|
PackerUserVars map[string]string `mapstructure:"packer_user_variables"`
|
2013-07-16 00:28:49 -04:00
|
|
|
}
|