From 958c0adc2b4eba4450606298d7b7ffa7070e28d3 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 8 Jan 2025 23:20:57 +0000 Subject: [PATCH] cleanup code --- app/types.go | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/app/types.go b/app/types.go index 1a8aa98..acab2fc 100644 --- a/app/types.go +++ b/app/types.go @@ -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 (