Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIgnoredFile ¶ added in v0.29.0
isIgnoredFile returns true if the given filename (which must not have a directory path ahead of it) should be ignored as e.g. an editor swap file. See https://github.com/hashicorp/terraform/blob/d35bc05/internal/configs/parser_config_dir.go#L107
func IsModuleFilename ¶
func IsVarsFilename ¶
Types ¶
type ModDiags ¶
type ModDiags map[ModFilename]hcl.Diagnostics
func ModDiagsFromMap ¶
func (ModDiags) AutoloadedOnly ¶ added in v0.29.0
type ModFilename ¶
type ModFilename string
func (ModFilename) IsIgnored ¶ added in v0.29.0
func (mf ModFilename) IsIgnored() bool
func (ModFilename) IsJSON ¶ added in v0.23.0
func (mf ModFilename) IsJSON() bool
func (ModFilename) String ¶
func (mf ModFilename) String() string
type VarsDiags ¶
type VarsDiags map[VarsFilename]hcl.Diagnostics
func VarsDiagsFromMap ¶
func (VarsDiags) AutoloadedOnly ¶
type VarsFilename ¶
type VarsFilename string
func NewVarsFilename ¶
func NewVarsFilename(name string) (VarsFilename, bool)
func (VarsFilename) IsAutoloaded ¶
func (vf VarsFilename) IsAutoloaded() bool
func (VarsFilename) IsJSON ¶ added in v0.24.0
func (vf VarsFilename) IsJSON() bool
func (VarsFilename) String ¶
func (vf VarsFilename) String() string
Click to show internal directories.
Click to hide internal directories.