package view import ( "fmt" "git.staur.ca/stobbsm/clustvirt/cluster" "git.staur.ca/stobbsm/clustvirt/view/components" "git.staur.ca/stobbsm/clustvirt/view/layouts" ) templ ClusterInfo(cs *cluster.ClusterStats, diff cluster.StatDiff, navbar []components.NavItem) { @layouts.Manager("ClustVirt", "Cluster Manager", navbar) {
Sockets | Cores | Threads | Allocated |
---|---|---|---|
{ fmt.Sprint(cs.CPU.Sockets) } | { fmt.Sprint(cs.CPU.Cores) } | { fmt.Sprint(cs.CPU.Threads) } | { fmt.Sprint(cs.CPU.Allocated) } |
{ fmt.Sprint(diff.CPU.Sockets) } | { fmt.Sprint(diff.CPU.Cores) } | { fmt.Sprint(diff.CPU.Threads) } | { fmt.Sprint(diff.CPU.Allocated) } |