pkg/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: Apache-2.0

Directories

Path Synopsis
Package fmcoord implements the marker-file coordination protocol used by the fake nvidia-fabricmanager binaries (cmd/fake-fabricmanager/{daemon,ctl}) to simulate fabric-manager readiness on KIND clusters without real NVSwitch hardware.
Package fmcoord implements the marker-file coordination protocol used by the fake nvidia-fabricmanager binaries (cmd/fake-fabricmanager/{daemon,ctl}) to simulate fabric-manager readiness on KIND clusters without real NVSwitch hardware.
gpu
allocwatch
Package allocwatch turns Kubernetes GPU allocation into mock NVML memory readings.
Package allocwatch turns Kubernetes GPU allocation into mock NVML memory readings.
mockctl
Package mockctl holds the pure config override-mutation logic used by the nvml-mock-ctl CLI.
Package mockctl holds the pure config override-mutation logic used by the nvml-mock-ctl CLI.
mockcuda/bridge command
mocknvml/bridge command
Package main provides the shared CGo type definitions for the mock NVML bridge.
Package main provides the shared CGo type definitions for the mock NVML bridge.
Package imexcoord implements the shared-volume coordination protocol used by the fake IMEX binaries (cmd/fake-imex/{daemon,ctl}) to simulate ComputeDomain peer discovery on KIND clusters without real GB200 hardware.
Package imexcoord implements the shared-volume coordination protocol used by the fake IMEX binaries (cmd/fake-imex/{daemon,ctl}) to simulate ComputeDomain peer discovery on KIND clusters without real GB200 hardware.
network
mockib/config
Package config defines the YAML schema for the InfiniBand block embedded in mock-nvml profile configs.
Package config defines the YAML schema for the InfiniBand block embedded in mock-nvml profile configs.
mockib/daemon
Package daemon implements mock-ib Unix-socket UMAD loopback (phase 1).
Package daemon implements mock-ib Unix-socket UMAD loopback (phase 1).
mockib/daemon/madtest
Package madtest provides shared MAD/UMAD fixtures for mock-ib daemon tests.
Package madtest provides shared MAD/UMAD fixtures for mock-ib daemon tests.
mockib/fabric
Package fabric models the mock InfiniBand subnet for SMP synthesis.
Package fabric models the mock InfiniBand subnet for SMP synthesis.
mockib/gid
Package gid provides InfiniBand GID / port-GUID string helpers shared by sysfs scanning and the mock-ib daemon.
Package gid provides InfiniBand GID / port-GUID string helpers shared by sysfs scanning and the mock-ib daemon.
mockib/protocol
Package protocol defines length-prefixed JSON framing for mock-ib traffic on Unix sockets (libibmockumad shim) and TCP (cross-node fabric).
Package protocol defines length-prefixed JSON framing for mock-ib traffic on Unix sockets (libibmockumad shim) and TCP (cross-node fabric).
mockib/registry
Package registry maps InfiniBand port GUIDs to peers for mock-ib fabric routing.
Package registry maps InfiniBand port GUIDs to peers for mock-ib fabric routing.
mockib/render
Package render writes a fake InfiniBand sysfs tree from an config.Infiniband specification.
Package render writes a fake InfiniBand sysfs tree from an config.Infiniband specification.
mockib/subnet
Package subnet synthesizes subnet management MAD responses for iblinkinfo.
Package subnet synthesizes subnet management MAD responses for iblinkinfo.
mockib/sysfs
Package sysfs scans a mock InfiniBand sysfs tree under MOCK_IB_ROOT.
Package sysfs scans a mock InfiniBand sysfs tree under MOCK_IB_ROOT.
nri
system
mockimex/render
Package render generates the mock IMEX capability surface that the NVIDIA DRA driver's compute-domain kubelet plugin needs on a node with no NVIDIA kernel driver.
Package render generates the mock IMEX capability surface that the NVIDIA DRA driver's compute-domain kubelet plugin needs on a node with no NVIDIA kernel driver.
mockpcisysfs/config
Package config defines the YAML schema for the `pcie_topology:` block embedded in mock-nvml profile configs.
Package config defines the YAML schema for the `pcie_topology:` block embedded in mock-nvml profile configs.
mockpcisysfs/render
Package render writes a fake PCI sysfs tree from a config.PCIeTopology specification.
Package render writes a fake PCI sysfs tree from a config.PCIeTopology specification.

Jump to

Keyboard shortcuts

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