summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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