Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonCompat added in v0.57.1

func JsonCompat(value any) any

JsonCompat takes a generic as returned from yaml.Unmarshal and returns a new instance with all map[any]any converted to map[string]any for compatiblilty with Apis that only support JSON generic objects. (Objects marshalled from json only support string keys).

func MultiSelect added in v0.54.0

func MultiSelect(msg string, options []string) ([]string, error)

func StringifySchema added in v0.56.0

func StringifySchema(value cue.Value) string

func ValidateAgainstSchema added in v0.56.0

func ValidateAgainstSchema(schema cue.Value, node *yaml.Node) error

Types

type IO

type IO struct {
	Out io.Writer
	Err io.Writer
	In  io.Reader
}

func IoFromCommand added in v0.35.0

func IoFromCommand(cmd *cobra.Command) IO

Directories

Path Synopsis
git
pr
Package labels matches Kubernetes-style metadata labels via `key` / `key=value` selectors.
Package labels matches Kubernetes-style metadata labels via `key` / `key=value` selectors.
Package patch applies RFC 6902 JSON Patch operations to a YAML release tree.
Package patch applies RFC 6902 JSON Patch operations to a YAML release tree.
pr
Package preview creates, updates and deletes preview copies of a release in the catalog.
Package preview creates, updates and deletes preview copies of a release in the catalog.

Jump to

Keyboard shortcuts

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