spiegel_podman/cmd/podman/machine
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
..
info.go podman machine info: use report.Formatter over Template 2022-09-13 10:33:14 +02:00
init.go use cached containers.conf 2022-10-21 14:03:14 +02:00
inspect.go podman machine inspect: use report.Formatter over Template 2022-09-13 10:33:13 +02:00
list.go Fix machine starting state 2022-09-23 11:52:07 -04:00
machine.go Podman machine info 2022-07-05 15:18:41 -04:00
machine_unix.go Fix podman machine on Windows 2022-06-30 16:21:59 -05:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Fix podman machine on Windows 2022-06-30 16:21:59 -05:00
platform.go Add interface for apple hypervisor 2022-08-08 14:04:49 -05:00
platform_windows.go podman system reset removed machines incorrectly 2022-05-04 10:31:42 -04:00
rm.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00
set.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00
ssh.go podman machine ssh handling 2022-09-26 18:35:01 -04:00
start.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
stop.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00