spiegel_podman/cmd/podman/system
Valentin Rothberg 4e29ce2baf use cached containers.conf
Use `Default()` instead of re-loading containers.conf.

Also rework how the containers.conf objects are handled for parsing the
CLI.  Previously, we were conflating "loading the defaults" with
"storing values from the CLI" with "libpod may further change fields"
which ultimately led to various bugs and test failues.

To address the issue, separate the defaults from the values from the CLI
and properly name the fields to make the semantics less ambiguous.

[NO NEW TESTS NEEDED] as it's not a functional change.

Fixes: containers/common/issues/1200
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-21 14:03:14 +02:00
..
connection podman machine ssh handling 2022-09-26 18:35:01 -04:00
connection.go Add podman machine events 2022-05-03 13:49:01 -07:00
context.go Add support for podman context as alias to podman system connection 2022-09-15 08:17:15 -04:00
df.go system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
dial_stdio.go Fix stutters 2022-09-10 07:52:00 -04:00
events.go podman events --format: fix duplicated newline 2022-09-12 18:05:18 +02:00
info.go podman info: use report.Formatter over Template 2022-09-13 10:33:14 +02:00
migrate.go enable gocritic linter 2022-04-26 18:12:22 +02:00
prune.go podman system prune support prune unused networks 2022-06-14 14:04:03 +09:00
renumber.go enable gocritic linter 2022-04-26 18:12:22 +02:00
reset.go Update system reset warning message to warn against deletion of all volumes 2022-09-05 19:34:04 +02:00
reset_machine.go podman system reset removed machines incorrectly 2022-05-04 10:31:42 -04:00
reset_machine_unsupported.go podman system reset removed machines incorrectly 2022-05-04 10:31:42 -04:00
service.go use cached containers.conf 2022-10-21 14:03:14 +02:00
service_abi.go Return error in podman system service if URI scheme is not unix/tcp 2022-10-06 14:47:03 +03:00
system.go bump go module to version 4 2022-01-18 12:47:07 +01:00
unshare.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
version.go podman version: use report.Formatter over Template 2022-09-13 10:33:15 +02:00