Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Arch ¶
Arch returns a function that produces the CPU architecture name, such as "amd64" or "arm64".
func EndsWith ¶
EndsWith returns a function that checks whether a string ends with the given suffix.
func Env ¶
Env returns a function that reads an environment variable by name, returning an empty string when the variable is not set. An optional second argument provides a fallback value used instead of the empty string.
func OS ¶
OS returns a function that produces the operating system name, such as "linux", "darwin", or "windows".
func Registry ¶
Registry returns the complete function table for use in HCL expression evaluation. The workingDir parameter scopes filesystem functions to the caller's effective directory.
func StartsWith ¶
StartsWith returns a function that checks whether a string begins with the given prefix.
Types ¶
This section is empty.