MCPcopy
hub / github.com/hashicorp/packer / ConfigSpec

Method ConfigSpec

packer/cmd_builder.go:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (b *cmdBuilder) ConfigSpec() hcldec.ObjectSpec {
20 defer func() {
21 r := recover()
22 b.checkExit(r, nil)
23 }()
24
25 return b.builder.ConfigSpec()
26}
27
28func (b *cmdBuilder) Prepare(config ...interface{}) ([]string, []string, error) {
29 defer func() {

Callers

nothing calls this directly

Calls 2

checkExitMethod · 0.95
ConfigSpecMethod · 0.65

Tested by

no test coverage detected