moby--moby/pkg/plugins
Brian Goff f6c20d9b22 Add back compat for volume drivers `Get` and `Ls`
Use a back-compat struct to handle listing volumes for volumes we know
about (because, presumably, they are being used by a container) for
volume drivers which don't yet support `List`.

Adds a fall-back for the volume driver `Get` call, which will use
`Create` when the driver returns a `404` for `Get`. The old behavior was
to always use `Create` to get a volume reference.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-01-22 22:48:17 -05:00
..
pluginrpc-gen Add README for pluginrpc-gen 2015-09-22 19:34:44 -04:00
client.go Add back compat for volume drivers `Get` and `Ls` 2016-01-22 22:48:17 -05:00
client_test.go Remove usage of pkg sockets and tlsconfig. 2015-12-29 19:27:12 -05:00
discovery.go Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00
discovery_test.go Separate plugin sockets and specs. 2015-07-16 14:20:07 -07:00
errors.go Add back compat for volume drivers `Get` and `Ls` 2016-01-22 22:48:17 -05:00
plugins.go Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00