diff options
| author | Jeff Carr <[email protected]> | 2024-10-23 01:31:17 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-23 01:31:17 -0500 |
| commit | 3f2cbcb57f818981b1291c0e644b6e3416b7d455 (patch) | |
| tree | 450662a26b2400d2a76bccbed6966c69ffa58a9e /structs.go | |
| parent | ca98c0e3c0e40aa2b4215b90d2c04df2ffe0c63a (diff) | |
things to add xml files
Signed-off-by: Jeff Carr <[email protected]>
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 } |
