package hclparser
import "github.com/docker/buildx/bake/hclparser"
Index ¶
- func FilterExcludeBody(body hcl.Body, schema *hcl.BodySchema) hcl.Body
- func FilterIncludeBody(body hcl.Body, schema *hcl.BodySchema) hcl.Body
- func Parse(b hcl.Body, opt Opt, val interface{}) hcl.Diagnostics
- type Opt
Functions ¶
func FilterExcludeBody ¶
func FilterExcludeBody(body hcl.Body, schema *hcl.BodySchema) hcl.Body
func FilterIncludeBody ¶
func FilterIncludeBody(body hcl.Body, schema *hcl.BodySchema) hcl.Body
func Parse ¶
func Parse(b hcl.Body, opt Opt, val interface{}) hcl.Diagnostics
Types ¶
type Opt ¶
type Opt struct { LookupVar func(string) (string, bool) Vars map[string]string ValidateLabel func(string) error }
Source Files ¶
body.go expr.go hclparser.go stdlib.go
- Version
- v0.10.5
- Published
- May 22, 2023
- Platform
- js/wasm
- Imports
- 23 packages
- Last checked
- 12 hours ago –
Tools for package owners.