17 Commits

Author SHA1 Message Date
515929fd8f Fix container.Update 2022-07-29 23:06:31 -05:00
d58402ab6f Allow for connection failures for some commands 2022-07-29 22:10:12 -05:00
dd7adc00e1 Logging: show abbreviated id 2022-07-29 22:09:51 -05:00
04e108100a
Refactor command execution 2022-07-29 19:42:46 -05:00
fc40b5c4a3
Remove "STRFUNC" command type 2022-07-29 18:58:52 -05:00
ac59a50f06 Logging 2022-07-28 01:33:03 -05:00
a501fb0308
Clean up show toml format 2022-07-27 21:49:30 -05:00
84c431c8d4
Pull images if necessary before creating. Add pull command. 2022-07-27 01:01:24 -05:00
c5dc8ba3ed Clean up error handling, logging, and completion 2022-07-26 15:22:38 -05:00
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
c5917ff102 output formatting 2022-07-19 19:05:42 -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
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