Documentation
¶
Index ¶
- type BackendConfig
- type Dependency
- type LibraryDependency
- type LockedProvider
- type ModuleCall
- type ModuleDependencies
- type ParsedModule
- func (pm *ParsedModule) AddDiags(diags hcl.Diagnostics)
- func (pm *ParsedModule) AdoptDiags(diags hcl.Diagnostics)
- func (pm *ParsedModule) AdoptTopLevelBlocks(blocks map[string][]*hcl.Block)
- func (pm *ParsedModule) SetTopLevelBlocks(blocks map[string][]*hcl.Block)
- func (pm *ParsedModule) TopLevelBlocks() map[string][]*hcl.Block
- type RemoteStateRef
- type RequiredProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type Dependency ¶
type LibraryDependency ¶
type LibraryDependency struct {
ModuleCall *ModuleCall
LibraryPath string
}
type LockedProvider ¶
type ModuleCall ¶
type ModuleDependencies ¶
type ModuleDependencies struct {
Module *discovery.Module
Dependencies []*Dependency
LibraryDependencies []*LibraryDependency
DependsOn []string
Errors []error
}
type ParsedModule ¶
type ParsedModule struct {
Path string
Locals map[string]cty.Value
Variables map[string]cty.Value
Backend *BackendConfig
RequiredProviders []*RequiredProvider
LockedProviders []*LockedProvider
RemoteStates []*RemoteStateRef
ModuleCalls []*ModuleCall
Files map[string]*hcl.File
Diagnostics hcl.Diagnostics
// contains filtered or unexported fields
}
func NewParsedModule ¶
func NewParsedModule(modulePath string) *ParsedModule
func (*ParsedModule) AddDiags ¶
func (pm *ParsedModule) AddDiags(diags hcl.Diagnostics)
func (*ParsedModule) AdoptDiags ¶
func (pm *ParsedModule) AdoptDiags(diags hcl.Diagnostics)
func (*ParsedModule) AdoptTopLevelBlocks ¶
func (pm *ParsedModule) AdoptTopLevelBlocks(blocks map[string][]*hcl.Block)
func (*ParsedModule) SetTopLevelBlocks ¶
func (pm *ParsedModule) SetTopLevelBlocks(blocks map[string][]*hcl.Block)
func (*ParsedModule) TopLevelBlocks ¶
func (pm *ParsedModule) TopLevelBlocks() map[string][]*hcl.Block
type RemoteStateRef ¶
type RemoteStateRef struct {
Name string
Backend string
Config map[string]hcl.Expression
ForEach hcl.Expression
WorkspaceDir string
RawBody hcl.Body
}
type RequiredProvider ¶
Click to show internal directories.
Click to hide internal directories.