github.com/amanya/packer@v0.12.1-0.20161117214323-902ac5ab2eb6/common/packer_config.go (about) 1 package common 2 3 // PackerConfig is a struct that contains the configuration keys that 4 // are sent by packer, properly tagged already so mapstructure can load 5 // them. Embed this structure into your configuration class to get it. 6 type PackerConfig struct { 7 PackerBuildName string `mapstructure:"packer_build_name"` 8 PackerBuilderType string `mapstructure:"packer_builder_type"` 9 PackerDebug bool `mapstructure:"packer_debug"` 10 PackerForce bool `mapstructure:"packer_force"` 11 PackerOnError string `mapstructure:"packer_on_error"` 12 PackerUserVars map[string]string `mapstructure:"packer_user_variables"` 13 }