summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-21 13:30:34 -0500
committerJeff Carr <[email protected]>2025-04-21 20:54:37 -0500
commita4dd085a47b0aa04d9d4475254fac08f62e0bc82 (patch)
tree0156e06f3689ff02a9026a34d6a0ebe7b6b2f102 /structs.go
parentd3f809b25d18df0846338a22554877701f793b36 (diff)
move everything into cluster protobuf
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/structs.go b/structs.go
index 84349b4..c54e6c2 100644
--- a/structs.go
+++ b/structs.go
@@ -48,14 +48,15 @@ type virtigoT 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
- 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
+ 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
}
// the stuff that is needed for a hypervisor