Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Evaluate ¶
func Evaluate(ex string, env *ExpressionData) (interface{}, error)
func EvaluateString ¶
func EvaluateString(ex string, env *ExpressionData) (string, error)
Types ¶
type ExpressionData ¶
type ExpressionData struct { OS string `expr:"os"` Arch string `expr:"arch"` Ctx *CtxData `expr:"ctx"` Store map[string]string `expr:"store"` Env map[string]string `expr:"env"` }
func ExpressionEnv ¶
func ExpressionEnv( ctx *context.Context, executable *executable.Executable, dataMap, envMap map[string]string, ) ExpressionData
Click to show internal directories.
Click to hide internal directories.