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