hcl

package
v0.0.0-...-6340669 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigAnalyzer

type ConfigAnalyzer struct {
	// contains filtered or unexported fields
}

func NewConfigAnalyzer

func NewConfigAnalyzer(filePattern *regexp.Regexp) ConfigAnalyzer

func (ConfigAnalyzer) Analyze

Analyze analyzes HCL-based config files, defaulting to HCL2.0 spec it returns error only if content does not comply to both HCL2.0 and HCL1.0 spec

func (ConfigAnalyzer) Required

func (a ConfigAnalyzer) Required(filePath string, _ os.FileInfo) bool

func (ConfigAnalyzer) Type

func (ConfigAnalyzer) Type() analyzer.Type

func (ConfigAnalyzer) Version

func (ConfigAnalyzer) Version() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL