util

package
v0.0.0-...-067284b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix = "/"

Variables

This section is empty.

Functions

func RandSeq

func RandSeq(n int) string

RandSeq produces random (basic, not crypto) letters of a given length.

func SanitizeLabelString

func SanitizeLabelString(s string) string

SanitizeLabelString strips characters from a string that are not allowed for use in a CUE label.

func ToOverlay

func ToOverlay(prefix string, vfs fs.FS, overlay map[string]load.Source) error

ToOverlay converts an fs.FS into a CUE loader overlay.

Types

This section is empty.

Jump to

Keyboard shortcuts

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