cleanup code

This commit is contained in:
Arthur Lu 2025-02-11 07:11:05 +00:00
parent 5029ff4d2a
commit 571093379f

@ -14,37 +14,10 @@ type Host struct {
Memory Resource
Swap Resource
Hardware map[string]*HostSuperDevice
//QEMU map[uint]*QEMUInstance
//LXC map[uint]*LXCInstance
Instance map[uint]*Instance
node *proxmox.Node
}
/*
type QEMUInstance struct {
Name string
Proctype string
Cores uint64
Memory uint64
Drive map[uint]*Volume
Disk map[uint]*Volume
Net map[uint]*Net
Device map[uint]*InstanceDevice
vm *proxmox.VirtualMachine
}
type LXCInstance struct {
Name string
Cores uint64
Memory uint64
Swap uint64
RootDisk *Volume
MP map[uint]*Volume
Net map[uint]*Net
ct *proxmox.Container
}
*/
type InstanceType bool
const (