cue

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v cue.Value) (string, error)

Marshal marshals cue into string.

func UnMarshal

func UnMarshal(v cue.Value, dst map[string]interface{}) error

UnMarshal unmarshals cue value into a map. dst must be a pointer.

func ValidateAndUnMarshal

func ValidateAndUnMarshal(schema string, input *runtime.RawExtension, output interface{}) error

ValidateAndUnMarshal validates the input against the CUE schema, and unmarshal the input cue to output. output must be a pointer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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