transform

package
v0.740.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTransformInput added in v0.505.0

func BuildTransformInput(modules []*sysl.Module, modulePaths []string) (rel.Tuple, error)

buildTransformInput prepares the input tuple that is accepted as the only parameter for transforms.

func EvalWithParam

func EvalWithParam(scriptBytes []byte, scriptPath string, param rel.Value) (rel.Value, error)

EvalWithParam returns the result of evaluating the function in the specified bytes, passing in the specified parameter.

func RunTests

func RunTests(scriptBytes []byte, testScriptPath string, param rel.Value) (test.File, error)

RunTests runs the test function in the specified string, passing in the specified param, and returns a populated test.File with the results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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