moby/api/server/router
Anusha Ragunathan 14215ed5a1 Make daemonbuilder.Docker leaner.
Currently builder.Backend is implemented by daemonbuilder.Docker{} for
the daemon. This registration happens in the API/server code. However,
this is too implementation specific. Ideally we should be able to specify
that docker daemon (or any other) is implementing the Backend and abstract
the implementation details. So we should remove package daemonbuilder
dependency in build_routes.go

With this change, daemonbuilder.Docker is nothing more than the daemon.
A follow on change will remove the daemonbuilder package and move relevant
methods under daemon, so that API only knows about the backend.

Also cleanup code in api/client/build.go. docker cli always performs build
context tar download for remoteURLs and sends an empty remoteContext. So
remove relevant dead code.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-01-18 09:16:11 -08:00
..
build Make daemonbuilder.Docker leaner. 2016-01-18 09:16:11 -08:00
container Add a specific config for the update command 2016-01-12 08:33:41 +01:00
local Allow user to choose the IP address for the container 2016-01-08 10:09:16 -08:00
network Add network interal mode 2016-01-13 11:30:36 -05:00
system Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
volume Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
router.go Network remote APIs using new router, --net=<user-defined-network> changes 2015-10-07 03:54:19 -07:00