podman/pkg/specgenutil
Matt Heon 693ae0ebc6 Add support for image volume subpaths
Image volumes (the `--mount type=image,...` kind, not the
`podman volume create --driver image ...` kind - it's strange
that we have two) are needed for our automount scheme, but the
request is that we mount only specific subpaths from the image
into the container. To do that, we need image volume subpath
support. Not that difficult code-wise, mostly just plumbing.

Also, add support to the CLI; not strictly necessary, but it
doesn't hurt anything and will make testing easier.

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-04-25 14:12:27 -04:00
..
createparse.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
ports.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports_test.go
specgen.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
specgenutil_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
util.go add --module flag 2023-08-16 14:32:35 +02:00
util_test.go
volumes.go Add support for image volume subpaths 2024-04-25 14:12:27 -04:00
volumes_test.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00