config

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFiles added in v0.10.0

func LoadFiles(config any, paths []string) error

LoadFiles loads the given paths into the given config, merging contents of multiple HCL files specified by the "include" attribute using glob patterns, and expanding dynamic blocks before decoding the HCL content.

Types

type URL added in v0.10.0

type URL netURL.URL

URL accepts a URL as a string. It returns an error if the string is not a valid URL.

func (*URL) String added in v0.10.0

func (u *URL) String() string

String implements the fmt.Stringer interface.

func (*URL) UnmarshalHCL added in v0.10.0

func (u *URL) UnmarshalHCL(value cty.Value) error

UnmarshalHCL implements the hcl.Unmarshaler interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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