...

Package cuecontext

import "cuelang.org/go/cue/cuecontext"
Overview
Index

Overview ▾

func New

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

New creates a new Context.

type ExternInterpreter

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 ExternInterpreter = runtime.Interpreter

type Option

Option controls a build context.

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

func Interpreter

func Interpreter(i ExternInterpreter) Option

Interpreter associates an interpreter for external code with this context.