cleanup code

This commit is contained in:
Arthur Lu 2025-01-08 23:20:57 +00:00
parent 57689e7c59
commit 958c0adc2b

View File

@ -14,37 +14,10 @@ type Host struct {
Memory Resource Memory Resource
Swap Resource Swap Resource
Hardware map[string]*HostSuperDevice Hardware map[string]*HostSuperDevice
//QEMU map[uint]*QEMUInstance
//LXC map[uint]*LXCInstance
Instance map[uint]*Instance Instance map[uint]*Instance
node *proxmox.Node 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 type InstanceType bool
const ( const (