You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/packer/hcl2spec.go

13 lines
404 B

package packer
import "github.com/hashicorp/hcl/v2/hcldec"
// a struct (or type) implementing HCL2Speccer is a type that can tell it's own
// hcl2 conf/layout.
type HCL2Speccer interface {
// ConfigSpec should return the hcl object spec used to configure the
// builder. It will be used to tell the HCL parsing library how to
// validate/configure a configuration.
ConfigSpec() hcldec.ObjectSpec
}