summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-22 14:11:24 -0400
committerGitHub <noreply@github.com>2021-07-22 14:11:24 -0400
commit365775489f24bcfe84a7e5257cf64ea51d523b6e (patch)
tree4cc046907e0b658cfda5507562e475e09baa3525 /pkg/api/server
parent6370622444676db812cbc54aef56e691ea7788d0 (diff)
parent2d8e837a9b351536fa45da8f80de5df118db6f1b (diff)
downloadpodman-365775489f24bcfe84a7e5257cf64ea51d523b6e.tar.gz
podman-365775489f24bcfe84a7e5257cf64ea51d523b6e.tar.bz2
podman-365775489f24bcfe84a7e5257cf64ea51d523b6e.zip
Merge pull request #11015 from jmguzik/until-list-volume
Add until filter to volume ls filters list
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_volumes.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go
index d58bf0662..fb02cffcf 100644
--- a/pkg/api/server/register_volumes.go
+++ b/pkg/api/server/register_volumes.go
@@ -68,6 +68,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
// - name=<volume-name> Matches all of volume name.
// - opt=<driver-option> Matches a storage driver options
+ // - `until=<timestamp>` List volumes created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
// responses:
// '200':
// "$ref": "#/responses/VolumeList"
@@ -166,6 +167,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// - driver=<volume-driver-name> Matches volumes based on their driver.
// - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
// - name=<volume-name> Matches all of volume name.
+ // - `until=<timestamp>` List volumes created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
//
// Note:
// The boolean `dangling` filter is not yet implemented for this endpoint.