diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 } |
