summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-12 12:45:43 -0500
committerJeff Carr <[email protected]>2024-10-12 12:45:43 -0500
commite94b4d6626fafb20da118eb8b17e661928c2b5da (patch)
treee913fb22aadd8fcb9523d5a6cf3712b9464b63bd /structs.go
parent487c6fd11c2746a71fee1a6b562e41fbb2486382 (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.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index c747661..e39b8ce 100644
--- a/structs.go
+++ b/structs.go
@@ -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
}