package pkg

import "cuelang.org/go/pkg"

Package pkg define CUE standard packages.

Many of the standard packages are modeled after and generated from the Go core packages. The types, values, and functions are defined as their Go equivalence and mapped to CUE types.

Beware that some packages are defined in lesser-precision types than are typically used in CUE and thus may lead to loss of precision.

All packages except those defined in the tool subdirectory are hermetic, that is depending only on a known set of inputs, and therefore can guarantee reproducible results. That is:

Hermetic configurations allow for fast and advanced analysis that otherwise would not be possible or practical. The cue "cmd" command can be used to mix in non-hermetic influences into configurations by using packages defined in the tool subdirectory.

Index

Source Files

doc.go gen.go register.go

Directories

PathSynopsis
pkg/crypto
pkg/crypto/ed25519
pkg/crypto/hmacPackage hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198.
pkg/crypto/md5
pkg/crypto/sha1
pkg/crypto/sha256
pkg/crypto/sha512
pkg/encoding
pkg/encoding/base64Package base64 implements base64 encoding as specified by RFC 4648.
pkg/encoding/csv
pkg/encoding/hex
pkg/encoding/json
pkg/encoding/yaml
pkg/genPackage gen generates the pkg.go files inside the packages under the pkg directory.
pkg/html
pkg/internal
pkg/listPackage list contains functions for manipulating and examining lists.
pkg/math
pkg/math/bits
pkg/netPackage net provides net-related type definitions.
pkg/pathPackage filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
pkg/regexpPackage regexp implements regular expression search.
pkg/strconv
pkg/stringsPackage strings implements simple functions to manipulate UTF-8 encoded strings.package strings.
pkg/structPackage struct defines utilities for struct types.
pkg/text
pkg/text/tabwriter
pkg/text/template
pkg/timePackage time defines time-related types.
pkg/toolPackage tool defines stateful operation types for cue commands.
pkg/tool/cliPackage cli provides tasks dealing with a console.
pkg/tool/execPackage exec defines tasks for running commands.
pkg/tool/filePackage file provides file operations for cue tasks.
pkg/tool/httpPackage http provides tasks related to the HTTP protocol.
pkg/tool/osPackage os defines tasks for retrieving os-related information.
pkg/uuidPackage uuid defines functionality for creating UUIDs as defined in RFC 4122.
Version
v0.5.0-beta.5
Published
Feb 2, 2023
Platform
windows/amd64
Imports
31 packages
Last checked
4 hours ago

Tools for package owners.