summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-22 16:41:27 -0500
committerJeff Carr <[email protected]>2025-03-23 09:32:50 -0500
commitf90c4af25ee18068cffdb1501f7c0f31c538aee0 (patch)
tree2ea93f368527f821ed318a2d0b9319c89d8a79e0 /structs.go
parentfc82e095ef933d152bc8a627ff6f67a8589c1c6f (diff)
show virtigod version
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