diff options
Diffstat (limited to 'poll.go')
| -rw-r--r-- | poll.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -69,6 +69,15 @@ func findDroplet(name string) *DropletT { return nil } +func findHypervisor(name string) *HyperT { + for _, h := range me.hypers { + if h.Hostname == name { + return h + } + } + return nil +} + // check the state of the cluster and return a string // that is intended to be sent to an uptime monitor like Kuma func clusterHealthy() (bool, string) { |
