summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-21 13:42:09 -0500
committerJeff Carr <[email protected]>2025-04-21 20:54:39 -0500
commit4121e66e01f5b314e4fe4999d61550fbbbc07946 (patch)
tree02ce2190b7dee4525e5aae87303ebdbbbde87617 /structs.go
parenta4dd085a47b0aa04d9d4475254fac08f62e0bc82 (diff)
attempting the cluster protobuf
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go17
1 files changed, 7 insertions, 10 deletions
diff --git a/structs.go b/structs.go
index c54e6c2..9a00e35 100644
--- a/structs.go
+++ b/structs.go
@@ -46,17 +46,14 @@ type virtigoT struct {
gwin *gadgets.GenericWindow // main window
}
+// cluster "admin" mode
type adminT struct {
- // admin mode
- cluster *virtpb.Cluster // the cluster protobuf
- droplets *virtpb.Droplets // your droplets
- hypervisors *virtpb.Hypervisors // yep
- // events *virtpb.Events // yep
- uptime *gui.Node // the uptime message
- dwin *stdDropletTableWin // the droplet window
- hwin *stdHypervisorTableWin // the hypervisor window
- ewin *stdEventTableWin // the events window
- url *url.URL // URL for the cloud
+ cluster *virtpb.Cluster // the cluster protobuf
+ uptime *gui.Node // the uptime message
+ dwin *stdDropletTableWin // the droplet window
+ hwin *stdHypervisorTableWin // the hypervisor window
+ ewin *stdEventTableWin // the events window
+ url *url.URL // URL for the cloud
}
// the stuff that is needed for a hypervisor