Documentation ¶
Index ¶
- func CountFiles() int
- func Functions(baseDir string) map[string]function.Function
- func LoadBlocksFromFile(file File) (hcl.Blocks, []block.Ignore, error)
- func LoadTFVars(filenames []string) (map[string]cty.Value, error)
- type Evaluator
- type File
- type ModuleDefinition
- type ModuleMetadata
- type ModulesMetadata
- type Option
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountFiles ¶
func CountFiles() int
Types ¶
type Evaluator ¶
type Evaluator struct {
// contains filtered or unexported fields
}
func NewEvaluator ¶
func (*Evaluator) ExportOutputs ¶
export module outputs to a parent
type ModuleDefinition ¶
type ModuleMetadata ¶
type ModulesMetadata ¶
type ModulesMetadata struct {
Modules []ModuleMetadata `json:"Modules"`
}
func LoadModuleMetadata ¶
func LoadModuleMetadata(fullPath string) (*ModulesMetadata, error)
type Option ¶
type Option func(p *Parser)
func OptionDoNotSearchTfFiles ¶
func OptionDoNotSearchTfFiles() Option
func OptionSkipDownloaded ¶
func OptionSkipDownloaded() Option
func OptionStopOnHCLError ¶
func OptionStopOnHCLError() Option
func OptionWithExcludePaths ¶
func OptionWithTFVarsPaths ¶
func OptionWithWorkspaceName ¶
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 parses all terraform files within a given directory
Click to show internal directories.
Click to hide internal directories.