spiegel_podman/pkg/api/handlers
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
..
compat Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
libpod Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
swagger podman image scp remote support & podman image scp tagging 2022-06-28 08:54:19 -04:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
decoder.go pkg/api: do not register decoder in endpoint handler 2022-04-29 14:06:54 +02:00
types.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
types_local.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00