Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultyConfig ¶
type MultyConfig struct {
Location string
DefaultResourceGroupName *hcl.Expression
Clouds []string
}
type MultyOutput ¶
type MultyOutput struct {
ID string `hcl:"id,label"`
Value hcl.Expression `hcl:"value"`
DefinitionRange hcl.Range
}
type MultyResource ¶
type MultyResource struct {
Type string `hcl:"type,label"`
ID string `hcl:"id,label"`
DependsOn hcl.Expression `hcl:"depends_on,optional"`
HCLBody hcl.Body `hcl:",remain"`
Dependencies []MultyResourceDependency
DefinitionRange hcl.Range
}
type MultyResourceDependency ¶
type MultyResourceDependency struct {
From *MultyResource
To *MultyResource
SourceRange hcl.Range
UserDeclared bool
}
type ParsedConfig ¶
type ParsedConfig struct {
Variables []ParsedVariable
MultyResources []*MultyResource
Outputs []*MultyOutput
GlobalConfig hcl.Body
}
type ParsedVariable ¶
type ParsedVariable struct {
Name string
Value func(common.CloudProvider) cty.Value
}
type Parser ¶
type Parser struct {
CliVars variables.CommandLineVariables
}
func (*Parser) Parse ¶
func (p *Parser) Parse(filepaths []string) ParsedConfig
Click to show internal directories.
Click to hide internal directories.