Documentation ¶
Index ¶
- type Attribute
- type Block
- func (block *Block) AllBlocks() []*Block
- func (block *Block) GetAttribute(name string) *Attribute
- func (block *Block) GetAttributes() []*Attribute
- func (block *Block) GetBlock(name string) *Block
- func (block *Block) GetBlocks(name string) Blocks
- func (block *Block) Labels() []string
- func (block *Block) Name() string
- func (block *Block) Range() Range
- func (block *Block) Type() string
- type Blocks
- type Parser
- type Range
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct {
// contains filtered or unexported fields
}
func NewAttribute ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
func (*Block) GetAttribute ¶
func (*Block) GetAttributes ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is a tool for parsing terraform templates at a given file system location
func (*Parser) ParseDirectory ¶
ParseDirectory recursively parses all terraform files within a given directory
Click to show internal directories.
Click to hide internal directories.