Documentation
¶
Index ¶
- func CountFiles() int
- func Functions(baseDir string) map[string]function.Function
- func LoadBlocksFromFile(file *hcl.File) (hcl.Blocks, error)
- func LoadDirectory(fullPath string, stopOnHCLError bool) ([]*hcl.File, error)
- func LoadTFVars(filenames []string) (map[string]cty.Value, error)
- type Evaluator
- 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
func Functions ¶
Functions returns the set of functions that should be used to when evaluating expressions in the receiving scope.
func LoadBlocksFromFile ¶
func LoadBlocksFromFile(file *hcl.File) (hcl.Blocks, error)
func LoadDirectory ¶
Types ¶
type Evaluator ¶
type Evaluator struct {
// contains filtered or unexported fields
}
func NewEvaluator ¶
func (*Evaluator) ExportOutputs ¶
export module outputs to a parent
type ModuleDefinition ¶ added in v0.58.2
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 ¶ added in v0.58.13
func OptionSkipDownloaded() Option
func OptionStopOnHCLError ¶
func OptionStopOnHCLError() Option
func OptionWithTFVarsPaths ¶
func OptionWithWorkspaceName ¶ added in v0.50.4
Click to show internal directories.
Click to hide internal directories.