interpolation

package
v5.0.1-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(templateString string, variables map[string]interface{}) (interface{}, error)

Eval evaluates the tempate string using hil https://github.com/hashicorp/hil with the given variables that can be accessed form the string.

func IsHILExpression

func IsHILExpression(template string) bool

IsHILExpression returns true if the template is a HIL expression and false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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