summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 4075227..33708c3 100644
--- a/structs.go
+++ b/structs.go
@@ -36,11 +36,15 @@ type virtigoT struct {
missingDropletTimeout time.Duration // how long a droplet can be missing for
status *gui.Node // the cluster status
lastuptime *gui.Node // the last time uptime was checked by Kuma
+ admin *adminT // the admin struct
+}
+type adminT struct {
// admin mode
droplets *virtpb.Droplets // your droplets
hypervisors *virtpb.Hypervisors // yep
events *virtpb.Events // yep
+ uptime *gui.Node // the uptime message
}
// the stuff that is needed for a hypervisor