cleanup code
This commit is contained in:
parent
57689e7c59
commit
958c0adc2b
27
app/types.go
27
app/types.go
@ -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 (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user