vars

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Escape

func Escape(buf *bytes.Buffer) (out string)

func FromJson

func FromJson(in string) (value any, err error)

func FromTerraformOutputMeta

func FromTerraformOutputMeta(in tfexec.OutputMeta) (any, error)

FromTerraformOutputMeta returns strings as they are and properly escapes json objects

func ToVar

func ToVar(in string) (key string, value any, err error)

ToVar parses a var string and returns the key and value.

Types

type VarSet

type VarSet map[string]any

Jump to

Keyboard shortcuts

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