moby--moby/volume/service
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
..
opts Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
by.go
convert.go Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
convert_test.go Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
db.go
db_test.go fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
default_driver.go
default_driver_stubs.go
errors.go
restore.go
restore_test.go fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
service.go Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
service_linux_test.go
service_test.go Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
store.go gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
store_test.go fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
store_unix.go
store_windows.go