hcllang

package
v0.165.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ValuesBlockIdentifier = "values"
	LocalsBlockIdentifier = "locals"
)

Variables

This section is empty.

Functions

func HCLFunctions

func HCLFunctions(additionnalFunctions map[string]function.Function) (map[string]function.Function, error)

Types

type HCLLoader

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

func NewHCLLoader

func NewHCLLoader(fs *filesystem.FileSystem, logger *zap.SugaredLogger) *HCLLoader

func (*HCLLoader) AddFile

func (hl *HCLLoader) AddFile(file string)

func (*HCLLoader) AddFiles

func (hl *HCLLoader) AddFiles(files []string)

func (*HCLLoader) HCLRender

func (hl *HCLLoader) HCLRender() (map[string]any, error)

func (*HCLLoader) Length

func (hl *HCLLoader) Length() int

type HelmfileHCLValue

type HelmfileHCLValue struct {
	Name  string
	Expr  hcl.Expression
	Range hcl.Range
}

HelmfileHCLValue represents a single entry from a "values" or "locals" block file. The blocks itself is not represented, because it serves only to provide context for us to interpret its contents.

Jump to

Keyboard shortcuts

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