summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go15
1 files changed, 7 insertions, 8 deletions
diff --git a/structs.go b/structs.go
index 28f367e..7152c21 100644
--- a/structs.go
+++ b/structs.go
@@ -15,14 +15,13 @@ var me *zookeep
// this app's variables
type zookeep struct {
- 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
- // machines2 *zoopb.Machines // every machine that has reported itself to the zookeeper
+ 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 *gui.Node // the gui toolkit handle