Documentation
¶
Overview ¶
Package value contains functions for converting values to internal types and various other Value-related utilities.
Index ¶
- func ConvertToContext(r *cue.Runtime) *cue.Context
- func ConvertToRuntime(c *cue.Context) *cue.Runtime
- func FromGoType(r *cue.Context, x interface{}) cue.Value
- func FromGoValue(r *cue.Context, x interface{}, nilIsTop bool) cue.Value
- func Make(ctx *adt.OpContext, v adt.Value) cue.Value
- func MakeError(r *runtime.Runtime, err errors.Error) cue.Value
- func ToInternal(v cue.Value) (*runtime.Runtime, *adt.Vertex)
- func UnifyBuiltin(v cue.Value, kind string) cue.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToContext ¶
func ConvertToContext(r *cue.Runtime) *cue.Context
func ConvertToRuntime ¶
func ConvertToRuntime(c *cue.Context) *cue.Runtime
func FromGoType ¶
func FromGoType(r *cue.Context, x interface{}) cue.Value
func FromGoValue ¶
func FromGoValue(r *cue.Context, x interface{}, nilIsTop bool) cue.Value
func ToInternal ¶
func ToInternal(v cue.Value) (*runtime.Runtime, *adt.Vertex)
func UnifyBuiltin ¶
func UnifyBuiltin(v cue.Value, kind string) cue.Value
UnifyBuiltin returns the given Value unified with the given builtin template.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.