From a4dd085a47b0aa04d9d4475254fac08f62e0bc82 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 21 Apr 2025 13:30:34 -0500 Subject: move everything into cluster protobuf --- structs.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'structs.go') 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 -- cgit v1.2.3