summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-11 03:34:30 -0500
committerJeff Carr <[email protected]>2025-03-11 03:34:30 -0500
commitd2d04da1228d36cfddc0cda357a2037ea7897345 (patch)
treead0143fff7511d3d8e87ae5ab45682b6c1562f4b /structs.go
parente0970840e20a27fc80f4e93ea2a30761fdc032e8 (diff)
cleaner droplet table views
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