hcl

package
v0.0.0-...-4685c53 Latest Latest
Warning

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

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

Documentation

Overview

hcl is a package to read HCL configuration files

Index

Constants

View Source
const (
	TagName = "hcl"
)

Variables

This section is empty.

Functions

func FromCtyValue

func FromCtyValue(val cty.Value, target interface{}) error

FromCtyValue decodes values from a cty.Value into golang native value

func NewDecoder

func NewDecoder() *decoder

func NewRefs

func NewRefs() *refs

func Parse

func Parse(filesys fs.FS, path string) (hcl.Body, error)

func SpecForType

func SpecForType(t reflect.Type, tag, name string) (hcldec.Spec, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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