spiegel_podman/pkg/api/handlers/utils
Lokesh Mandvekar 421d11529e
Add build-tagged splits for libimage-dependent code
(cherry picked from commit 4231526e18)

The common v0.57.7 vendor bump added !remote build tags to libimage,
causing podman-remote builds to fail. This change splits files that
use libimage into separate _local and _remote variants:

- pkg/specgen/specgen_{local,remote}.go: Image field storage and methods
- pkg/api/handlers/types_local.go: ImageDataToImageInspect function
- cmd/podman/utils/error_local.go: ExitCodeFromBuildError function

This allows type definitions to be shared between remote and local
builds while keeping libimage-dependent implementations local-only.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-03-30 15:13:31 -04:00
..
containers.go podman wait can take multiple conditions 2022-07-08 05:26:56 -04:00
errors.go libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
handler.go Switch to github.com/blang/semver/v4 2022-07-26 13:22:46 -04:00
handler_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
images.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00