spiegel_podman/pkg/machine/ocipull
Paul Holzinger ea1eeb523f
remove github.com/crc-org/crc/v2 dependency
There is one user in the code and one in the tests.
First the test is testing an external function that doesn't seem to make
a lot of sense.

Second when we pull the machine image and renmae doesn't work it would
mean it is on a different disk. That should never happen.
The oci pull is to
~/.local/share/containers/podman/machine/<provider>/cache/<sha>/...
and then it gets moved to
~/.local/share/containers/podman/machine/qemu/cache/<sha>.<extension>

These can under normal circumstances never be on different disk as it
would mean the pulled sha is known ahead of time and then that the blob
path is a mount point which is unrealistic and not something we have to
support.

It also removes three transitive dependencies.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-03-31 14:39:51 +02:00
..
oci.go Allow podman machine to download from oci registry 2024-02-12 15:19:34 -06:00
ociartifact.go remove github.com/crc-org/crc/v2 dependency 2025-03-31 14:39:51 +02:00
ociartifact_test.go Allow podman machine to download from oci registry 2024-02-12 15:19:34 -06:00
ocidir.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
policy.go do not require policy.json 2024-03-13 09:07:51 -05:00
policy.json pkg/machine/ocipull: add default policy.json file 2024-02-27 15:29:59 +01:00
policy_unix.go pkg/machine/ocipull: add custom policy.json location 2024-02-27 15:29:58 +01:00
policy_windows.go pkg/machine/ocipull: add custom policy.json location 2024-02-27 15:29:58 +01:00
pull.go do not require policy.json 2024-03-13 09:07:51 -05:00
source.go Use UnparsedInstance.Manifest instead of ImageSource.GetManifest 2025-02-28 20:14:11 +01:00