pkg/

directory
v0.2.0 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
cmd
Package cmd holds what every kubectl-nv command needs before it can talk to a cluster: the kubectl configuration flags, the resolved kubeconfig path, and the factory the commands get their clients from.
Package cmd holds what every kubectl-nv command needs before it can talk to a cluster: the kubectl configuration flags, the resolved kubeconfig path, and the factory the commands get their clients from.
adm
Package adm carries the admin-level operations on the NVIDIA resources of a cluster.
Package adm carries the admin-level operations on the NVIDIA resources of a cluster.
debug
Package debug implements "kubectl nv debug <node>": a must-gather narrowed to one node, with a summary of that node on one screen.
Package debug implements "kubectl nv debug <node>": a must-gather narrowed to one node, with a summary of that node on one screen.
info
Package info implements "kubectl nv info <node>", everything kubectl-nv knows about one GPU node.
Package info implements "kubectl nv info <node>", everything kubectl-nv knows about one GPU node.
list
Package list implements "kubectl nv list", the inventory of a cluster's GPU nodes.
Package list implements "kubectl nv list", the inventory of a cluster's GPU nodes.
mcp
Package mcp serves the kubectl-nv command tree as a Model Context Protocol server over stdio, one tool per read-only leaf command.
Package mcp serves the kubectl-nv command tree as a Model Context Protocol server over stdio, one tool per read-only leaf command.
root
Package root builds the kubectl-nv command tree.
Package root builds the kubectl-nv command tree.
schema
Package schema carries the schema command, which prints the JSON Schema of one kubectl-nv kind, and the generator behind "make schema" that keeps the checked-in copies of those schemas in step with the code.
Package schema carries the schema command, which prints the JSON Schema of one kubectl-nv kind, and the generator behind "make schema" that keeps the checked-in copies of those schemas in step with the code.
Package debug holds the report "kubectl nv debug <node>" prints: one node as the inventory sees it, next to the must-gather bundle collected for it.
Package debug holds the report "kubectl nv debug <node>" prints: one node as the inventory sees it, next to the must-gather bundle collected for it.
Package health holds the rule contract behind gpu health: what a rule may read, what it returns, and the registry that collects them.
Package health holds the rule contract behind gpu health: what a rule may read, what it returns, and the registry that collects them.
Package inventory holds the model of a GPU capable node: one flat type that every read-only command shares, built from node labels, node status and the GPU operator's pods.
Package inventory holds the model of a GPU capable node: one flat type that every read-only command shares, built from node labels, node status and the GPU operator's pods.
Package output carries the machine readable output contract of kubectl-nv: the API version and kinds every command stamps its output with, the printers behind -o, the exit code mapping, a stderr logger, and a deterministic order for findings.
Package output carries the machine readable output contract of kubectl-nv: the API version and kinds every command stamps its output with, the printers behind -o, the exit code mapping, a stderr logger, and a deterministic order for findings.
Package source is the single read path for every read-only command.
Package source is the single read path for every read-only command.

Jump to

Keyboard shortcuts

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