pkg

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package pkg contains a set of generic Go packages that are useful to gpud and possibly to other projects.

Directories

Path Synopsis
Package config provides the gpud configuration data for the server.
Package config provides the gpud configuration data for the server.
Package customplugins provides a way to register and run custom plugins.
Package customplugins provides a way to register and run custom plugins.
Package disk provides utilities for disk operations.
Package disk provides utilities for disk operations.
Package errdefs provides common error definitions for gpud.
Package errdefs provides common error definitions for gpud.
Package faultinjector provides a way to inject failures into the system.
Package faultinjector provides a way to inject failures into the system.
Package file implements file utils.
Package file implements file utils.
Package fuse provides a client for the FUSE (Filesystem in Userspace) protocol.
Package fuse provides a client for the FUSE (Filesystem in Userspace) protocol.
systemd
Package systemd provides the systemd artifacts and variables for the gpud server.
Package systemd provides the systemd artifacts and variables for the gpud server.
Package host provides the host information.
Package host provides the host information.
Package httputil provides utilities for HTTP requests.
Package httputil provides utilities for HTTP requests.
writer
Package writer implements the kmsg writer.
Package writer implements the kmsg writer.
Package log provides the logging functionality for gpud.
Package log provides the logging functionality for gpud.
Package login provides login functionality for GPUd.
Package login provides login functionality for GPUd.
Package machineinfo provides information about the machine.
Package machineinfo provides information about the machine.
Package memory provides utilities for memory usage.
Package memory provides utilities for memory usage.
Package metadata provides the persistent storage layer for GPUd metadata.
Package metadata provides the persistent storage layer for GPUd metadata.
recorder
Package recorder records internal GPUd metrics to Prometheus.
Package recorder records internal GPUd metrics to Prometheus.
scraper
Package scraper scrapes internal GPUd metrics from Prometheus.
Package scraper scrapes internal GPUd metrics from Prometheus.
store
Package store provides the persistent storage layer for the metrics.
Package store provides the persistent storage layer for the metrics.
syncer
Package syncer provides a syncer for the metrics.
Package syncer provides a syncer for the metrics.
Package netutil provides utility functions for network operations.
Package netutil provides utility functions for network operations.
latency
Package latency contains logic for egress traffic from each device.
Package latency contains logic for egress traffic from each device.
latency/edge
Package edge provides a client for the Tailscale DERP (Designated Edge Router Protocol) service.
Package edge provides a client for the Tailscale DERP (Designated Edge Router Protocol) service.
latency/edge/derpmap
Package derpmap provides the tailscale derp map implementation.
Package derpmap provides the tailscale derp map implementation.
latency/edge/derpmap/sync command
"sync" syncs the tailscale derp map.
"sync" syncs the tailscale derp map.
Package nfschecker checks the health of the NFS mount points.
Package nfschecker checks the health of the NFS mount points.
nvidia
dev
pci
nvidia-query
nvml
Package nvml implements the NVIDIA Management Library (NVML) interface.
Package nvml implements the NVIDIA Management Library (NVML) interface.
nvml/device
Package device provides a wrapper around the "github.com/NVIDIA/go-nvlib/pkg/nvlib/device".Device type that adds a PCIBusID and UUID method, with support for test failure injection.
Package device provides a wrapper around the "github.com/NVIDIA/go-nvlib/pkg/nvlib/device".Device type that adds a PCIBusID and UUID method, with support for test failure injection.
nvml/lib
Package lib implements the NVIDIA Management Library (NVML) interface.
Package lib implements the NVIDIA Management Library (NVML) interface.
Package osutil provides utilities for the operating system.
Package osutil provides utilities for the operating system.
Package process provides the process runner implementation on the host.
Package process provides the process runner implementation on the host.
Package providers contains machine/cloud providers.
Package providers contains machine/cloud providers.
all
Package all provides a list of known providers.
Package all provides a list of known providers.
aws
Package aws implements "AWS" provider and helpers.
Package aws implements "AWS" provider and helpers.
aws/imds
Package imds provides functions for interacting with the AWS Instance Metadata Service.
Package imds provides functions for interacting with the AWS Instance Metadata Service.
azure
Package azure implements "azure" provider and helpers.
Package azure implements "azure" provider and helpers.
azure/imds
Package imds provides functions for interacting with the Azure Instance Metadata Service.
Package imds provides functions for interacting with the Azure Instance Metadata Service.
gcp
Package gcp implements Google Cloud Platform (GCP) provider and helpers.
Package gcp implements Google Cloud Platform (GCP) provider and helpers.
gcp/imds
Package imds provides functions for interacting with the Google Cloud Platform Instance Metadata Service.
Package imds provides functions for interacting with the Google Cloud Platform Instance Metadata Service.
Package pstore provides operations for Linux pstore, mainly to read the pstore log on reboot.
Package pstore provides operations for Linux pstore, mainly to read the pstore log on reboot.
Package release provides utilities for releasing new versions of gpud.
Package release provides utilities for releasing new versions of gpud.
distsign
Package distsign implements signature and validation of arbitrary distributable files.
Package distsign implements signature and validation of arbitrary distributable files.
states
Package states provides tracking of login success and failure events as well as the state of ongoing session loops (token expiration, etc.).
Package states provides tracking of login success and failure events as well as the state of ongoing session loops (token expiration, etc.).
Package sqlite provides a SQLite3 database utils.
Package sqlite provides a SQLite3 database utils.
Package systemd provides the common systemd helper functions.
Package systemd provides the common systemd helper functions.
Package update provides the update functionality for the server.
Package update provides the update functionality for the server.
Package uptime provides utilities for uptime.
Package uptime provides utilities for uptime.

Jump to

Keyboard shortcuts

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