diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 05:48:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 05:48:28 -0500 |
| commit | 65299beaf9cca2410bf01828b0f3afcfd701a633 (patch) | |
| tree | 6f37d365766b7bc035527cad592e727c4bd724a8 /structs.go | |
| parent | 81dde3b0067315b3126438b220e5ab5026a74c20 (diff) | |
new argvv0.0.95
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -6,9 +6,12 @@ package main import ( "time" + "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" + "go.wit.com/lib/fhelp" "go.wit.com/lib/gadgets" "go.wit.com/lib/protobuf/argvpb" + "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/zoopb" ) @@ -16,7 +19,10 @@ var me *mainType // this app's variables type mainType struct { - argv *argvpb.Argv // shell autocomplete + argv *argvpb.Argv // more experiments for bash handling + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! + myGui *fhelp.GuiPrep // for initializing the GUI toolkits + forge *forgepb.Forge // your customized repo preferences and settings hostname string // my fqdn dns zookeeper hostname pollDelay time.Duration // how often to report our status dog *time.Ticker // the watchdog timer @@ -26,7 +32,6 @@ type mainType struct { 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 *argvpb.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 |
