cuecontext

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 230

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) *cue.Context

New creates a new Context.

Types

type ExternInterpreter added in v0.6.0

type ExternInterpreter = runtime.Interpreter

An ExternInterpreter creates a compiler that can produce implementations of functions written in a language other than CUE. It is currently for internal use only.

type Option

type Option struct {
	// contains filtered or unexported fields
}

Option controls a build context.

func Interpreter added in v0.6.0

func Interpreter(i ExternInterpreter) Option

Interpreter associates an interpreter for external code with this context.

Jump to

Keyboard shortcuts

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