diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-01 03:53:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 03:53:21 -0500 |
commit | 87d22e101465fa9e8d25653918328e768a92aa71 (patch) | |
tree | da115e8d159200a765c5eff9f3abfa56f3e49094 /pkg/domain/entities/volumes.go | |
parent | 86a057e6be434159e3e60add5a7a7d649e0b4ad5 (diff) | |
parent | 3dc1b8e83f2459a58d65f3bb918975cd6f1bb794 (diff) | |
download | podman-87d22e101465fa9e8d25653918328e768a92aa71.tar.gz podman-87d22e101465fa9e8d25653918328e768a92aa71.tar.bz2 podman-87d22e101465fa9e8d25653918328e768a92aa71.zip |
Merge pull request #13318 from rhatdan/volume
Add podman volume mount support
Diffstat (limited to 'pkg/domain/entities/volumes.go')
-rw-r--r-- | pkg/domain/entities/volumes.go | 14 |
1 files changed, 14 insertions, 0 deletions
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 +} |