mirror of
https://github.com/containers/podman.git
synced 2025-10-14 17:55:51 +08:00
AdditionalSupport for SubPath volume mounts
Add support for inspecting Mounts which include SubPaths. Handle SubPaths for kubernetes image volumes. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -285,6 +285,9 @@ type InspectMount struct {
|
||||
// Mount propagation for the mount. Can be empty if not specified, but
|
||||
// is always printed - no omitempty.
|
||||
Propagation string `json:"Propagation"`
|
||||
// SubPath object from the volume. Specified as a path within
|
||||
// the source volume to be mounted at the Destination.
|
||||
SubPath string `json:"SubPath,omitempty"`
|
||||
}
|
||||
|
||||
// InspectContainerState provides a detailed record of a container's current
|
||||
|
Reference in New Issue
Block a user