summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index ca77a7c..80f493b 100644
--- a/structs.go
+++ b/structs.go
@@ -37,10 +37,12 @@ type HyperT struct {
// the stuff that is needed for a hypervisor
type DropletT struct {
- Hostname string // the name of the virtual machine. should be unique (probably enforce this forever)
- State string // what the state of the droplet is SUPPOSED TO BE
- CurrentState string // what the state of the droplet is ACTUALLY IS
- hname string // the hypervisor it's currently running on
- h *HyperT // the hypervisor it's currently running on
- lastpoll time.Time // the last time the droplet was seen running
+ Hostname string // the name of the virtual machine. should be unique (probably enforce this forever)
+ State string // what the state of the droplet is SUPPOSED TO BE
+ CurrentState string // what the state of the droplet is ACTUALLY IS
+ hyperPreferred string // the hypervisor to prefer to run the droplet on
+ hname string // the hypervisor it's currently running on
+ 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
}