packer: move constants into a single const()
This commit is contained in:
parent
afea628e2c
commit
f621f88913
|
@ -6,17 +6,19 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
// This is the key in configurations that is set to the name of the
|
// This is the key in configurations that is set to the name of the
|
||||||
// build.
|
// build.
|
||||||
const BuildNameConfigKey = "packer_build_name"
|
BuildNameConfigKey = "packer_build_name"
|
||||||
|
|
||||||
// This is the key in configurations that is set to "true" when Packer
|
// This is the key in configurations that is set to "true" when Packer
|
||||||
// debugging is enabled.
|
// debugging is enabled.
|
||||||
const DebugConfigKey = "packer_debug"
|
DebugConfigKey = "packer_debug"
|
||||||
|
|
||||||
// This is the key in configurations that is set to "true" when Packer
|
// This is the key in configurations that is set to "true" when Packer
|
||||||
// force build is enabled.
|
// force build is enabled.
|
||||||
const ForceConfigKey = "packer_force"
|
ForceConfigKey = "packer_force"
|
||||||
|
)
|
||||||
|
|
||||||
// A Build represents a single job within Packer that is responsible for
|
// A Build represents a single job within Packer that is responsible for
|
||||||
// building some machine image artifact. Builds are meant to be parallelized.
|
// building some machine image artifact. Builds are meant to be parallelized.
|
||||||
|
|
Loading…
Reference in New Issue