Commit Graph

18 Commits

Author SHA1 Message Date
Joel Elkins 13e35e9c4d
Update deps. libpod is quite annoying in not following semver
Had to pull @head on several packages
2024-02-22 21:55:30 -06:00
Joel Elkins a2748ad1d5
Resiliency to nil options 2023-12-17 12:49:22 -06:00
Joel Elkins f61bccfecb
Implement per-container nsupdate settings 2023-12-17 12:24:29 -06:00
Joel Elkins 9740f61e81
Add nsupdate command
Will send updates to the configured dns server. To accomodate, added a global options
section to the configuration as well.

TODO: per-container domain name, dns server, and tsig keys

Status: lightly tested development version, needs field testing
2023-12-17 11:51:43 -06:00
Joel Elkins 05cc9bc27e
Update deps. Had to dial in the correct x/exp by hand 2023-08-07 22:40:00 -05:00
Joel Elkins 4c159fe29e
Add pseudo category "running" 2023-02-07 18:45:23 -06:00
Joel Elkins b91eb62c34
Huge amount of linting
Linting
2022-08-17 02:25:12 -05:00
Joel Elkins 4d1aa7117c
Implement locking on cdata 2022-08-15 02:32:27 -05:00
Joel Elkins fcbfc50be0 Juice up show command 2022-07-28 01:32:53 -05:00
Joel Elkins f1bc92cd46 Remove unsed type 2022-07-27 22:02:16 -05:00
Joel Elkins ddd391c8b0
Mask disabled category from action by default 2022-07-27 21:48:47 -05:00
Joel Elkins 84c431c8d4
Pull images if necessary before creating. Add pull command. 2022-07-27 01:01:24 -05:00
Joel Elkins c5dc8ba3ed Clean up error handling, logging, and completion 2022-07-26 15:22:38 -05:00
Joel Elkins b758f04a50 Migrate to podman API rather than cli
Large change greatly expanding the linked footprint of this little
utility, but it is much faster and adds a couple of very nice features:

- set container sysctl settings to disable router advertisements as part
  of container definition. this means we no longer need to do this via
  `ip netns exec <container> sysctl -w ...` (followed by
  `ip netns exec ip -6 a flush...`). Major win.
- able to very quickly ascertain creation and run state of defined
  containers.
2022-07-25 10:13:36 -05:00
Joel Elkins 94c29f9d6e Don't bomb out when config file not found, just warn 2022-07-19 19:05:23 -05:00
Joel Elkins e9e4b94e6d Change default config file path 2022-07-19 01:37:47 -05:00
Joel Elkins f74dc50392
Rest of commands; tooling including conditional command types 2022-07-18 19:47:05 -05:00
Joel Elkins 61b7fe55a0 Convert project structure to cobra; many other changes. WIP.
- Factor out various components to different packages
- Add abstract command package to allow for calling go funcs etc. at
  runtime.
2022-07-18 10:10:24 -05:00