summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/structs.go b/structs.go
index 0cf0176..0b08b25 100644
--- a/structs.go
+++ b/structs.go
@@ -4,6 +4,7 @@ import (
"time"
pb "go.wit.com/lib/protobuf/virtbuf"
+ "libvirt.org/go/libvirtxml"
)
var me virtigoT
@@ -39,9 +40,10 @@ type HyperT struct {
// the stuff that is needed for a hypervisor
type DropletT struct {
- pb *pb.Droplet // the Droplet protobuf
- CurrentState string // what the state of the droplet is ACTUALLY IS
- h *HyperT // the hypervisor it's currently running on
- lastpoll time.Time // the last time the droplet was seen running
- starts int // how many times a start event has been attempted
+ pb *pb.Droplet // the Droplet protobuf
+ xml *libvirtxml.Domain // a xml representation from libvirt
+ h *HyperT // the hypervisor it's currently running on
+ CurrentState string // what the state of the droplet is ACTUALLY IS
+ lastpoll time.Time // the last time the droplet was seen running
+ starts int // how many times a start event has been attempted
}