1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router
Yong Tang 704ea8f6b4 Add --filter scope=swarm|local for docker network ls
This fix tries to address the request in 31324 by adding
`--filter scope=swarm|local` for `docker network ls`.

As `docker network ls` has a `SCOPE` column by default,
it is natural to add the support of `--filter scope=swarm|local`.

This fix adds the `scope=swarm|local` support for
`docker network ls --filter`.

Related docs has been updated.

Additional unit test cases have been added.

This fix fixes 31324.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-03-23 18:48:11 -07:00
..
build fix func name "BuildFromContext" in comment 2017-03-02 17:00:40 +08:00
checkpoint router: Return explicit error rather than 404 for experimental. 2016-11-17 15:51:47 -08:00
container bump API to 1.28 2017-03-14 09:32:50 -07:00
image Replace API version comparison by a if 2017-03-15 10:46:06 +01:00
network Add --filter scope=swarm|local for docker network ls 2017-03-23 18:48:11 -07:00
plugin Use distribution reference 2017-02-07 11:08:37 -08:00
swarm Implement server-side rollback, for daemon versions that support this 2017-03-03 16:33:34 -08:00
system rename clusterProvider to cluster in router 2016-12-26 20:53:13 +08:00
volume Convert DanglingOnly to Filters for docker image prune 2016-12-02 20:08:49 -08:00
experimental.go router: Return explicit error rather than 404 for experimental. 2016-11-17 15:51:47 -08:00
local.go api/server/router: add Cancellable function 2016-03-25 10:19:23 -07:00
router.go Decouple the "container" router from the actual daemon implementation. 2016-02-08 11:30:57 -05:00