cue

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputNotFoundErr    = errors.New("output not found in cue")
	OutputNilErr         = errors.New("output must not be nil")
	OutputNotSettableErr = errors.New("output must be settable")
)

Functions

func CueDoAndReturn

func CueDoAndReturn(template string, parameters []Parameter, outputName string, output interface{}) error

CueDoAndReturn will execute cue code and set execution result to output. output must not be nil and must be settable.

Types

type Parameter

type Parameter struct {
	Name   string
	Object interface{}
}

Jump to

Keyboard shortcuts

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