util/

directory
v3.0.0-rc48 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0

Directories

Path Synopsis
Package args parses a posix arguments string using shlex.Split() and proposes methods to drop options and option-values.
Package args parses a posix arguments string using shlex.Split() and proposes methods to drop options and option-values.
Package arithmetic evaluates the arithmetic a configuration keyword holds, so a size can be written as a share of another size rather than as a number somebody worked out by hand.
Package arithmetic evaluates the arithmetic a configuration keyword holds, so a size can be written as a share of another size rather than as a number somebody worked out by hand.
Package bootid provides node boot id.
Package bootid provides node boot id.
Package btrfs reads what the btrfs commands say of the subvolumes of a filesystem.
Package btrfs reads what the btrfs commands say of the subvolumes of a filesystem.
Package capabilities maintain global capabilities
Package capabilities maintain global capabilities
Package command provide utilities around os/exec package
Package command provide utilities around os/exec package
Package confined runs file operations on the paths of a directory tree without ever leaving it.
Package confined runs file operations on the paths of a directory tree without ever leaving it.
Package deepcopy copies the values the daemon datasets hold in fields typed any, where the concrete type is not known at compile time and so cannot be copied by a hand-written DeepCopy method.
Package deepcopy copies the values the daemon datasets hold in fields typed any, where the concrete type is not known at compile time and so cannot be copied by a hand-written DeepCopy method.
Package durationlog provides a helper to log a warning when the delay between 2 events is longer than expected.
Package durationlog provides a helper to log a warning when the delay between 2 events is longer than expected.
Package envprovider implement function to construct env vars from sec or cfg env items
Package envprovider implement function to construct env vars from sec or cfg env items
Package errcontext defines a context-aware error handling mechanism using interfaces and a struct that allows sending and receiving a single error.
Package errcontext defines a context-aware error handling mechanism using interfaces and a struct that allows sending and receiving a single error.
Package flagvalue holds the option types the standard library and pflag do not provide, for the command sets that need them.
Package flagvalue holds the option types the standard library and pflag do not provide, for the command sets that need them.
Package fssnap takes read-only, point in time snapshots of the filesystems holding a set of paths, for a copy to read a stable source rather than one written to while it is read, and removes them after the copy, the snapshots a run killed before its end included.
Package fssnap takes read-only, point in time snapshots of the filesystems holding a set of paths, for a copy to read a stable source rather than one written to while it is read, and removes them after the copy, the snapshots a run killed before its end included.
Package funcopt is a functional options helper package.
Package funcopt is a functional options helper package.
Package homedir expands the ~ of a path to the home directory of the user.
Package homedir expands the ~ of a path to the home directory of the user.
Package httpclientcache serve http client from cache.
Package httpclientcache serve http client from cache.
Package httphelper implements NewRequest, Do, DoRequest from a requestfactory.T and http.client
Package httphelper implements NewRequest, Do, DoRequest from a requestfactory.T and http.client
Package ini implements a lossless reader and writer for the INI dialect used by the OpenSVC configuration files.
Package ini implements a lossless reader and writer for the INI dialect used by the OpenSVC configuration files.
Package metricsreg holds the prometheus registries the daemon serves apart from the default one.
Package metricsreg holds the prometheus registries the daemon serves apart from the default one.
Package mock_fcntllock is a generated GoMock package.
Package mock_fcntllock is a generated GoMock package.
Package mountinfo reads the mounts of the node, as /proc/self/mountinfo lists them: unlike /proc/mounts, it says which directory of a filesystem a mount shows, as the subvolume of a btrfs or the directory of a bind mount.
Package mountinfo reads the mounts of the node, as /proc/self/mountinfo lists them: unlike /proc/mounts, it says which directory of a filesystem a mount shows, as the subvolume of a btrfs or the directory of a bind mount.
Package nodestats collects the performance statistics of the node the collector keeps: cpu, memory, swap, load, block and network i/o, as the pushstats action of the opensvc v2 agent read them from sysstat, and the file system usage.
Package nodestats collects the performance statistics of the node the collector keeps: cpu, memory, swap, load, block and network i/o, as the pushstats action of the opensvc v2 agent read them from sysstat, and the file system usage.
Package oidc logs a user in at an OpenID Connect provider, from a command line program, and refreshes the tokens it obtained.
Package oidc logs a user in at an OpenID Connect provider, from a command line program, and refreshes the tokens it obtained.
Package prioqueue implements a priority queue using a heap-based implementation.
Package prioqueue implements a priority queue using a heap-based implementation.
Package random provides utilities for generating random data
Package random provides utilities for generating random data
Package requestfactory provides *http.Request factory with default headers and base url.
Package requestfactory provides *http.Request factory with default headers and base url.
Package sessioncache provide session cache for functions
Package sessioncache provide session cache for functions
Package sgcp provides utility functions for SGCP API interactions.
Package sgcp provides utility functions for SGCP API interactions.
Package systemd provides systemd utilities
Package systemd provides systemd utilities
Package tabwriter preserves ANSI color codes and aligns columns based on visible width (excluding ANSI escape sequences).
Package tabwriter preserves ANSI color codes and aligns columns based on visible width (excluding ANSI escape sequences).
Package timestamp manage Unix timestamps
Package timestamp manage Unix timestamps
Package tokenstore keeps the secrets a client caches between its runs, as the refresh token of a login, in the most protected place the machine offers.
Package tokenstore keeps the secrets a client caches between its runs, as the refresh token of a login, in the most protected place the machine offers.
Package usergroup provides helpers for user and group
Package usergroup provides helpers for user and group
Package versioncmp compares the versions of the tools the drivers depend on, as "lxc-info --version" or "virsh --version" print them.
Package versioncmp compares the versions of the tools the drivers depend on, as "lxc-info --version" or "virsh --version" print them.
Package xfsquota sets and reads the project quotas an xfs filesystem can put on a directory tree.
Package xfsquota sets and reads the project quotas an xfs filesystem can put on a directory tree.

Jump to

Keyboard shortcuts

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