mirror of
https://github.com/containers/podman.git
synced 2025-08-02 09:12:36 +08:00
binding tests for volumes
add binding tests for volumes: inspect(get), create, remove, prune, and list implement filters ability for volumes Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/containers/libpod/libpod"
|
||||
"github.com/containers/libpod/pkg/api/handlers"
|
||||
"github.com/containers/libpod/pkg/api/handlers/utils"
|
||||
)
|
||||
@ -139,3 +140,19 @@ type ok struct {
|
||||
ok string
|
||||
}
|
||||
}
|
||||
|
||||
// Volume create response
|
||||
// swagger:response VolumeCreateResponse
|
||||
type swagVolumeCreateResponse struct {
|
||||
// in:body
|
||||
Body struct {
|
||||
libpod.VolumeConfig
|
||||
}
|
||||
}
|
||||
|
||||
// Volume list
|
||||
// swagger:response VolumeList
|
||||
type swagVolumeListResponse struct {
|
||||
// in:body
|
||||
Body []libpod.Volume
|
||||
}
|
||||
|
Reference in New Issue
Block a user