package
0.0.0-20240722083041-1e49dba912c3
Repository: https://github.com/hashicorp/hcl-lang.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewBodySchema creates a new BodySchema instance.
NewSchemaKey creates a marshalled form of DependencyKeys to be used inside a map of BlockSchema's DependentBody.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AnyExpression represents any expression type convertible to the given data type (OfType).
No description provided by the author
AttributeDependent represents a pair of attribute name and value used to find a dependent body schema.
AttributeSchema describes schema for an attribute.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AttributeSchema describes schema for a block e.g.
No description provided by the author
BodySchema describes schema of a body comprised of blocks or attributes (if any), where body can be root or body of any block in the hierarchy.
No description provided by the author
No description provided by the author
No description provided by the author
DependencyKeys represent values of labels or attributes on which BodySchema depends on.
No description provided by the author
ExpressionValue represents static value or a reference used to find a dependent body schema.
No description provided by the author
No description provided by the author
No description provided by the author
Keyword represents a keyword, represented as hcl.Traversal of a single segment.
LabelDependent represents a pair of label index and value used to find a dependent body schema.
LabelSchema describes schema for a label on a particular position.
No description provided by the author
List represents a list, equivalent of hclsyntax.TupleConsExpr interpreted as list, i.e.
LiteralType represents literal type constraint e.g.
LiteralValue represents a literal value, as defined by Value with additional metadata.
Map represents a map, equivalent of hclsyntax.ObjectConsExpr interpreted as map, i.e.
Object represents an object, equivalent of hclsyntax.ObjectConsExpr interpreted as object, i.e.
No description provided by the author
Reference represents a reference (equivalent of hcl.Traversal), i.e.
No description provided by the author
Set represents a set, equivalent of hclsyntax.TupleConsExpr interpreted as set, i.e.
No description provided by the author
No description provided by the author
No description provided by the author
Tuple represents a tuple, equivalent of hclsyntax.TupleConsExpr interpreted as tuple, i.e.
TypeDeclaration represents a type declaration as interpreted by HCL's ext/typeexpr package, i.e.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DependencyKey represents a key used to find a dependent body schema.
Schema represents any schema (e.g.
TypeAwareConstraint represents a constraint which may be type-aware.
No description provided by the author

# Type aliases

No description provided by the author
BlockType tells a decoder how to interpret instance(s) of a block Types reflect hcldec.Block*Spec types and terraform-json's SchemaNestingMode.
No description provided by the author
No description provided by the author
OneOf represents multiple constraints where any one of them is acceptable.
SchemaKey represents marshalled DependencyKeys which can be created using NewSchemaKey().
No description provided by the author