11 Commits

Author SHA1 Message Date
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
959ffec79b Add RUNNING column to ls output 2022-07-21 17:17:26 -05:00
a09c2a7225 Add some warings on create if things don't look right 2022-07-20 21:42:57 -05:00
0be48b6477 Tweak command output 2022-07-19 19:47:35 -05:00
c5917ff102 output formatting 2022-07-19 19:05:42 -05:00
94c29f9d6e Don't bomb out when config file not found, just warn 2022-07-19 19:05:23 -05:00
78a75616c7 Improve ipv6 flushing operations 2022-07-19 13:42:45 -05:00
df54f05250 Various fixes after testing 2022-07-19 01:38:25 -05:00
e9e4b94e6d Change default config file path 2022-07-19 01:37:47 -05:00
f74dc50392
Rest of commands; tooling including conditional command types 2022-07-18 19:47:05 -05:00
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