spiegel_podman/pkg/specgen/generate
Lokesh Mandvekar 4231526e18
Add build-tagged splits for libimage-dependent code
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>
2025-12-18 10:27:49 -05:00
..
kube Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
config_linux.go specgen: support CDI devices from containers.conf 2022-11-25 11:44:38 +01:00
config_linux_cgo.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
config_linux_nocgo.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
config_linux_test.go Add filepath glob support to --security-opt unmask 2021-05-04 14:40:43 -04:00
container.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
container_create.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
namespaces.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
namespaces_freebsd.go Fix stutters 2022-09-10 07:52:00 -04:00
namespaces_linux.go Stop recording annotations set to false 2022-12-19 16:07:33 -05:00
namespaces_unsupported.go specgen/generate: Add support for FreeBSD 2022-08-30 11:24:57 +01:00
oci.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
oci_freebsd.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
oci_linux.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
oci_unsupported.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
pause_image.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
pod_create.go remove pod if creation has failed 2022-11-15 13:36:57 +01:00
pod_create_test.go Allow namespace path network option for pods. 2022-11-04 11:26:06 +01:00
ports.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
ports_bench_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
ports_test.go bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
rlimit_int64.go pkg/specgen: Add stubs for non-linux builds 2022-08-15 10:45:23 +01:00
rlimit_uint64.go pkg/specgen: Add stubs for non-linux builds 2022-08-15 10:45:23 +01:00
security_freebsd.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
security_linux.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
security_unsupported.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
storage.go Add build-tagged splits for libimage-dependent code 2025-12-18 10:27:49 -05:00
validate.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00