github.com/kaixiang/packer@v0.5.2-0.20140114230416-1f5786b0d7f1/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 PackerUserVars map[string]string `mapstructure:"packer_user_variables"` 12 }