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

Struct BuildParser

command/hcl2_upgrade.go:1288–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1286}
1287
1288type BuildParser struct {
1289 Builders []*template.Builder
1290 WithAnnotations bool
1291
1292 provisioners BlockParser
1293 postProcessors BlockParser
1294 out []byte
1295}
1296
1297func (p *BuildParser) Parse(tpl *template.Template) error {
1298 if len(p.Builders) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected