utils

package
v0.0.0-...-473ff8e Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DryRun = false

Functions

func CheckDiags

func CheckDiags(diag hcl.Diagnostics)

func CheckErr

func CheckErr(e error)

func ProcessGoTemplate

func ProcessGoTemplate(file string, configValues []byte) (string, error)

The actual template processing for Go templates

func ProcessHCLTemplate

func ProcessHCLTemplate(file string, config []byte) (string, error)

The actual template processing for HCL templates

func ReadOSRelease

func ReadOSRelease() (map[string]string, error)

func RunSystemCommand

func RunSystemCommand(name string, arg ...string) ([]byte, []byte, error)

Execute a system command ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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