moby--moby/api/server/router
Brian Goff 618f26ccbc Volume prune: only prune anonymous volumes by default
This adds a new filter argument to the volume prune endpoint "all".
When this is not set, or it is a false-y value, then only anonymous
volumes are considered for pruning.

When `all` is set to a truth-y value, you get the old behavior.

This is an API change, but I think one that is what most people would
want.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-04 20:55:13 +00:00
..
build api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
checkpoint api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
container api: POST /containers/{id}/wait: fix validation for "condition" parameter 2022-06-27 14:45:32 +02:00
debug Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
distribution api: add registry.DecodeAuthConfig, registry.DecodeAuthConfigBody 2022-07-29 23:11:13 +02:00
grpc api/server/router/grpc: fix some nits in NewRouter() 2022-04-07 16:06:15 +02:00
image ImageService.GetImage(): pass context 2022-09-07 16:53:45 +02:00
network api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
plugin api: add registry.DecodeAuthConfig, registry.DecodeAuthConfigBody 2022-07-29 23:11:13 +02:00
session move /session api endpoint out of experimental 2018-08-21 22:43:34 +00:00
swarm api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
system api: add BuildCache.Parents for API >= v1.42 2022-08-04 09:30:06 +02:00
volume Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
experimental.go fix typos 2018-09-01 21:26:38 +08:00
local.go api/server/router: use consts for HTTP methods 2019-11-26 21:55:29 +01:00
router.go Add canonical import comment 2018-02-05 16:51:57 -05:00