Documentation
¶
Index ¶
- type BackendBlockView
- type Loader
- type ModuleBlockView
- type RemoteStateBlockView
- func (v RemoteStateBlockView) AppendConfigBlockAttributes(content *hcl.BodyContent, dst map[string]hcl.Expression) hcl.Diagnostics
- func (v RemoteStateBlockView) AppendInlineConfigExpressions(content *hcl.BodyContent, dst map[string]hcl.Expression)
- func (v RemoteStateBlockView) Content() (*hcl.BodyContent, hcl.Diagnostics)
- func (v RemoteStateBlockView) Name() string
- func (v RemoteStateBlockView) RawBody() hcl.Body
- type Snapshot
- func (s *Snapshot) Blocks(blockType string) []*hcl.Block
- func (s *Snapshot) DataBlocks() []*hcl.Block
- func (s *Snapshot) Diagnostics() hcl.Diagnostics
- func (s *Snapshot) Files() map[string]*hcl.File
- func (s *Snapshot) LocalsBlocks() []*hcl.Block
- func (s *Snapshot) LockFile() (*hcl.File, hcl.Diagnostics)
- func (s *Snapshot) ModuleBlockViews() []ModuleBlockView
- func (s *Snapshot) ModuleBlocks() []*hcl.Block
- func (s *Snapshot) ParseHCLFile(path string) (*hcl.File, hcl.Diagnostics, error)
- func (s *Snapshot) RemoteStateBlockViews() []RemoteStateBlockView
- func (s *Snapshot) SharedDiagnostics() hcl.Diagnostics
- func (s *Snapshot) SharedFiles() map[string]*hcl.File
- func (s *Snapshot) SharedTopLevelBlockIndex() map[string][]*hcl.Block
- func (s *Snapshot) TerraformBlockViews() []TerraformBlockView
- func (s *Snapshot) TerraformBlocks() []*hcl.Block
- func (s *Snapshot) TopLevelBlockIndex() map[string][]*hcl.Block
- func (s *Snapshot) VariableBlockViews() []VariableBlockView
- func (s *Snapshot) VariableBlocks() []*hcl.Block
- type TerraformBlockView
- type VariableBlockView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendBlockView ¶
type BackendBlockView struct {
// contains filtered or unexported fields
}
func (BackendBlockView) Attributes ¶
func (v BackendBlockView) Attributes() (map[string]*hcl.Attribute, hcl.Diagnostics)
func (BackendBlockView) Type ¶
func (v BackendBlockView) Type() string
type ModuleBlockView ¶
type ModuleBlockView struct {
// contains filtered or unexported fields
}
func (ModuleBlockView) Content ¶
func (v ModuleBlockView) Content() (*hcl.BodyContent, hcl.Diagnostics)
func (ModuleBlockView) Name ¶
func (v ModuleBlockView) Name() string
type RemoteStateBlockView ¶
type RemoteStateBlockView struct {
// contains filtered or unexported fields
}
func (RemoteStateBlockView) AppendConfigBlockAttributes ¶
func (v RemoteStateBlockView) AppendConfigBlockAttributes( content *hcl.BodyContent, dst map[string]hcl.Expression, ) hcl.Diagnostics
func (RemoteStateBlockView) AppendInlineConfigExpressions ¶
func (v RemoteStateBlockView) AppendInlineConfigExpressions( content *hcl.BodyContent, dst map[string]hcl.Expression, )
func (RemoteStateBlockView) Content ¶
func (v RemoteStateBlockView) Content() (*hcl.BodyContent, hcl.Diagnostics)
func (RemoteStateBlockView) Name ¶
func (v RemoteStateBlockView) Name() string
func (RemoteStateBlockView) RawBody ¶
func (v RemoteStateBlockView) RawBody() hcl.Body
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
func (*Snapshot) DataBlocks ¶
func (*Snapshot) Diagnostics ¶
func (s *Snapshot) Diagnostics() hcl.Diagnostics
func (*Snapshot) LocalsBlocks ¶
func (*Snapshot) ModuleBlockViews ¶
func (s *Snapshot) ModuleBlockViews() []ModuleBlockView
func (*Snapshot) ModuleBlocks ¶
func (*Snapshot) ParseHCLFile ¶
func (*Snapshot) RemoteStateBlockViews ¶
func (s *Snapshot) RemoteStateBlockViews() []RemoteStateBlockView
func (*Snapshot) SharedDiagnostics ¶
func (s *Snapshot) SharedDiagnostics() hcl.Diagnostics
func (*Snapshot) SharedTopLevelBlockIndex ¶
func (*Snapshot) TerraformBlockViews ¶
func (s *Snapshot) TerraformBlockViews() []TerraformBlockView
func (*Snapshot) TerraformBlocks ¶
func (*Snapshot) TopLevelBlockIndex ¶
func (*Snapshot) VariableBlockViews ¶
func (s *Snapshot) VariableBlockViews() []VariableBlockView
func (*Snapshot) VariableBlocks ¶
type TerraformBlockView ¶
type TerraformBlockView struct {
// contains filtered or unexported fields
}
func (TerraformBlockView) BackendBlocks ¶
func (v TerraformBlockView) BackendBlocks() ([]BackendBlockView, hcl.Diagnostics)
func (TerraformBlockView) RequiredProviderBlocks ¶
func (v TerraformBlockView) RequiredProviderBlocks() ([]*hcl.Block, hcl.Diagnostics)
type VariableBlockView ¶
type VariableBlockView struct {
// contains filtered or unexported fields
}
func (VariableBlockView) DefaultValue ¶
func (v VariableBlockView) DefaultValue() (cty.Value, bool, hcl.Diagnostics)
func (VariableBlockView) Name ¶
func (v VariableBlockView) Name() string
Click to show internal directories.
Click to hide internal directories.