summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doGui.go15
1 files changed, 3 insertions, 12 deletions
diff --git a/doGui.go b/doGui.go
index 716d36c..fe799ca 100644
--- a/doGui.go
+++ b/doGui.go
@@ -14,14 +14,13 @@ import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
"go.wit.com/lib/protobuf/virtpb"
- "go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
func debug() {
for {
time.Sleep(90 * time.Second)
- log.Info("TODO: zookeeper scan here. repo count =")
+ log.Info("TODO: virtigo scan here. repo count =")
}
}
@@ -30,7 +29,7 @@ func doGui() {
me.myGui.InitEmbed(resources)
me.myGui.Default()
- mainWindow := gadgets.RawBasicWindow("Zookeeper: (inventory your cluster)")
+ mainWindow := gadgets.RawBasicWindow("Virtigo: (inventory your cluster)")
mainWindow.Make()
mainWindow.Show()
mainWindow.Custom = func() {
@@ -50,7 +49,7 @@ func drawWindow(win *gadgets.BasicWindow) {
vbox := box.NewVerticalBox("BOX2")
- group1 := vbox.NewGroup("Zookeeper Settings")
+ group1 := vbox.NewGroup("Virtigo Settings")
grid := group1.NewGrid("buildOptions", 0, 0)
var hyperWin *GenericWindow
@@ -111,14 +110,6 @@ func drawWindow(win *gadgets.BasicWindow) {
})
}
-func findVersion(m *zoopb.Machine, pkgname string) string {
- zood := m.Packages.FindByName(pkgname)
- if zood == nil {
- return "n/a"
- }
- return zood.Version
-}
-
func makeDropletsWindow(pb *virtpb.Droplets) (*GenericWindow, *virtpb.DropletsTable) {
win := NewGenericWindow("Droplets registered with Virtigo", "Buttons of things")
t := pb.NewTable("testDroptable")