cue

package
v0.55.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 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) ([]byte, error)

func RemoveEmptyStringField

func RemoveEmptyStringField(ctx *cue.Context, val cue.Value) (cue.Value, error)

RemoveEmptyStringField removes any struct field whose label is the empty string literal "". This is a workaround to mitigate issues with cue vet.

func RenameDefinition

func RenameDefinition(ctx *cue.Context, value cue.Value, oldName, newName string) cue.Value

RenameDefinition renames all AST identifiers matching oldName to newName within value.

func ValueToASTExpr

func ValueToASTExpr(v cue.Value) (ast.Expr, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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