Add NVMe block format tool

This commit is contained in:
Mikhail Chusavitin
2026-04-30 16:27:25 +03:00
parent 8a21809ade
commit 7ce73e34a4
8 changed files with 408 additions and 0 deletions

View File

@@ -307,6 +307,8 @@ func NewHandler(opts HandlerOptions) http.Handler {
// Tools
mux.HandleFunc("GET /api/tools/check", h.handleAPIToolsCheck)
mux.HandleFunc("GET /api/tools/nvme-formats", h.handleAPINVMeFormats)
mux.HandleFunc("POST /api/tools/nvme-format/run", h.handleAPINVMeFormatRun)
// GPU presence / tools
mux.HandleFunc("GET /api/gpu/presence", h.handleAPIGPUPresence)