From 3dc1b8e83f2459a58d65f3bb918975cd6f1bb794 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 16 Feb 2022 06:04:22 -0500 Subject: Add podman volume mount support Fixes: https://github.com/containers/podman/issues/12768 Signed-off-by: Daniel J Walsh --- pkg/domain/entities/volumes.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pkg/domain/entities/volumes.go') diff --git a/pkg/domain/entities/volumes.go b/pkg/domain/entities/volumes.go index 9bdce8392..f2e60a0db 100644 --- a/pkg/domain/entities/volumes.go +++ b/pkg/domain/entities/volumes.go @@ -187,3 +187,17 @@ type VolumeCreateBody struct { // Required: true Name string `json:"Name"` } + +// VolumeMountReport describes the response from volume mount +type VolumeMountReport struct { + Err error + Id string //nolint + Name string + Path string +} + +// VolumeUnmountReport describes the response from umounting a volume +type VolumeUnmountReport struct { + Err error + Id string //nolint +} -- cgit v1.2.3-54-g00ecf