Documentation ¶
Index ¶
- func GetSectionBody(tokens hclwrite.Tokens) hclwrite.Tokens
- type ForExpression
- type ForExpressionBody
- type Section
- func (s *Section) FlattenValue() hclwrite.Tokens
- func (s *Section) HasValue() bool
- func (s *Section) IsAttribute() bool
- func (s *Section) IsBlock() bool
- func (s *Section) IsEmpty() bool
- func (s *Section) IsList() bool
- func (s *Section) LineCounts() int
- func (s *Section) ListCount() int
- func (s *Section) Tokens() hclwrite.Tokens
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForExpression ¶ added in v0.2.7
type ForExpression struct { Key hclwrite.Tokens Value hclwrite.Tokens Body *ForExpressionBody }
type ForExpressionBody ¶ added in v0.2.7
type Section ¶
type Section struct { Type string Labels []string Value []hclwrite.Tokens Comments hclwrite.Tokens // contains filtered or unexported fields }
func ParseConfigFromFile ¶
func ParseSectionConfig ¶
ParseSectionConfig This method assumes the correctness of the syntax. Use with care
func (*Section) FlattenValue ¶
func (*Section) IsAttribute ¶
func (*Section) LineCounts ¶
Click to show internal directories.
Click to hide internal directories.