diff options
| author | Jeff Carr <[email protected]> | 2024-10-12 12:45:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-12 12:45:43 -0500 |
| commit | e94b4d6626fafb20da118eb8b17e661928c2b5da (patch) | |
| tree | e913fb22aadd8fcb9523d5a6cf3712b9464b63bd /structs.go | |
| parent | 487c6fd11c2746a71fee1a6b562e41fbb2486382 (diff) | |
first basic check to tell if the cluster is healthy
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -32,8 +32,10 @@ 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) - 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 + 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 } |
