fix hard coded URL, add proxmox URL to config

This commit is contained in:
Arthur Lu
2025-01-28 00:48:53 +00:00
parent 58cf403d26
commit 3cea9f6bcd
4 changed files with 10 additions and 15 deletions

View File

@@ -15,9 +15,9 @@ type Cluster struct {
type Host struct {
lock sync.Mutex
Name string
Cores Resource
Memory Resource
Swap Resource
Cores uint64
Memory uint64
Swap uint64
Devices map[string]*Device
Instances map[uint]*Instance
pvenode *proxmox.Node
@@ -47,12 +47,6 @@ type Instance struct {
configHostPCIs map[string]string
}
type Resource struct {
Reserved uint64
Free uint64
Total uint64
}
type Volume struct {
Path string
Format string