github.com/StackPointCloud/packer@v0.10.2-0.20180716202532-b28098e0f79b/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 }