summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go31
1 files changed, 16 insertions, 15 deletions
diff --git a/structs.go b/structs.go
index fa740e5..136de37 100644
--- a/structs.go
+++ b/structs.go
@@ -17,19 +17,20 @@ var me *mainType
// this app's variables
type mainType struct {
- pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
- hostname string // my fqdn dns zookeeper hostname
- pollDelay time.Duration // how often to report our status
- dog *time.Ticker // the watchdog timer
- dogchan chan bool // can kill the watchdog
- distro string // debian,redhat,gentoo,macos,wincrap
- packages *zoopb.Packages // installed packages and versions
- machines *zoopb.Machines // every machine that has reported itself to the zookeeper
- targets map[string]string // what versions the machines should be running
- upgrade map[string]bool // use this to trigger builds
- myGui *prep.GuiPrep // the gui toolkit handle
- machinesWin *gadgets.GenericWindow // the machines gui window
- machinesBox *gui.Node // the machines gui parent box widget
- machinesTB *zoopb.MachinesTable // the machines gui table buffer
- zood *stdTableWin // the zood version window
+ pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
+ hostname string // my fqdn dns zookeeper hostname
+ pollDelay time.Duration // how often to report our status
+ dog *time.Ticker // the watchdog timer
+ dogchan chan bool // can kill the watchdog
+ distro string // debian,redhat,gentoo,macos,wincrap
+ packages *zoopb.Packages // installed packages and versions
+ machines *zoopb.Machines // every machine that has reported itself to the zookeeper
+ targets map[string]string // what versions the machines should be running
+ upgrade map[string]bool // use this to trigger builds
+ myGui *prep.GuiPrep // the gui toolkit handle
+ machinesWin *gadgets.GenericWindow // the machines gui window
+ machinesBox *gui.Node // the machines gui parent box widget
+ machinesTB *zoopb.MachinesTable // the machines gui table buffer
+ zood *stdTableWin // the zood version window
+ machinesfile string // where the machines.pb file should be stored
}