diff options
| author | Jeff Carr <[email protected]> | 2024-10-15 11:02:34 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-15 11:02:34 -0500 |
| commit | 1c77ec7e63355cab48564a9fb49f34f55b5f0b15 (patch) | |
| tree | 8d081863ea226465827f9d266b0e701da216220e /structs.go | |
| parent | aa6b142b7c156b8f1925eb4af10b0b371263a129 (diff) | |
start from the command line works
Signed-off-by: Jeff Carr <[email protected]>
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 } |
