Jose Diaz-Gonzalez
61b7752cce
fix: implement missing network:info command
...
Also add json format output to the network:list command.
Closes #7093
2024-09-23 20:27:13 -04:00
Jose Diaz-Gonzalez
44dd933638
refactor: remove all calls to common.NewShellCmd
...
At this point, the only usage of go-sh should be by plugin trigger calls.
2024-02-13 01:09:24 -05:00
Jose Diaz-Gonzalez
3c6cc68086
refactor: capture output by default
...
This is almost certainly the correct default for Dokku. While it's a BC break and might cause an increase in memory usage, the api is mostly internal and therefore this is safe to use.
2024-02-12 20:28:31 -05:00
Jose Diaz-Gonzalez
047a3c00f5
chore: remove default false values when calling CallExecCommand
2024-02-12 20:07:43 -05:00
Jose Diaz-Gonzalez
8a940c6e47
chore: remove all direct usage of go-sh outside of plugin trigger setup
...
The new way is to use CallExecCommand instead.
2024-02-12 19:29:16 -05:00
Jose Diaz-Gonzalez
4436bb2023
chore: standardize on ls subcommand when interacting with the docker binary
...
The ls command is what is referenced in the --help output for the subcommands, so we should just use that everywhere.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
aa49df4fe4
fix: do not attempt to attach a network to a container that already has it
...
This avoids issues when scaling unrelated process types or if the user has specified the same network at different phases.
Closes #5352
2022-11-06 18:30:05 -05:00
Jose Diaz-Gonzalez
8d26d06f5e
feat: allow all network properties to be globally set
...
Global settings are cool if managed in a standard way (ugh env vars) so we'll add them back for golang plugins as necessary.
2021-07-09 20:30:09 -04:00
Jose Diaz-Gonzalez
d09a7506df
refactor: bubble up error handling so that standard exit codes can be set at the top-level
...
LogFail shouldn't be called internally if at all possible.
2021-02-28 15:20:46 -05:00
Jose Diaz-Gonzalez
52ef7e7cdc
refactor: move all internal functions to functions.go
2020-02-09 01:20:39 -05:00