Add ressource ounts to node table

This commit is contained in:
2025-06-18 13:02:11 +02:00
parent 82af984023
commit 6f3e1ffbe3
3 changed files with 28 additions and 10 deletions

View File

@@ -14,8 +14,14 @@ import (
)
type Node struct {
Name string `json:"hostname"`
States []string `json:"states"`
Name string `json:"hostname"`
States []string `json:"states"`
CpusAllocated int `json:"cpusAllocated"`
CpusTotal int `json:"cpusTotal"`
MemoryAllocated int `json:"memoryAllocated"`
MemoryTotal int `json:"memoryTotal"`
GpusAllocated int `json:"gpusAllocated"`
GpusTotal int `json:"gpusTotal"`
}
// updateNodeStatesRequest model