utils – k8s.io/utils Directories

utils/ directory

Directories

PathSynopsis
buffer
clock
clock/testing
cpusetPackage cpuset represents a collection of CPUs in a 'set' data structure.
diff
envPackage env provides utility functions for using environment variables.
execPackage exec provides an injectable interface and implementations for running commands.
exec/testing
field
inotifyPackage inotify implements a wrapper for the Linux inotify system.
integer
internal
io
keymutex
lru
mountPackage mount defines an interface to mounting filesystems.
net
net/ebtablesPackage ebtables allows to control the ebtables Linux-based bridging firewall.
nsenter
path
pointerDeprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers.
ptr
semantic
set
strings
strings/slicesPackage slices defines various functions useful with slices of string type.
tempPackage temp provides an interface to handle temporary files and directories.
temp/temptestPackage temptest provides utilities for testing temp files/directories testing.
third_party
third_party/forked
third_party/forked/golang
third_party/forked/golang/reflectPackage reflect is a fork of go's standard library reflection package, which allows for deep equal with equality functions defined.
trace
Version
v0.0.0-20250321185631-1f6e0b77f77e (latest)
Published
Mar 21, 2025
Platform
linux/amd64
Last checked
1 month ago

Tools for package owners.