This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
moby--moby
Watch
1
Star
0
Fork
You've already forked moby--moby
0
mirror of
https://github.com/moby/moby.git
synced
2022-11-09 12:21:53 -05:00
Code
Releases
Activity
02eed8d666
moby--moby
/
api
/
server
/
server_stub.go
7 lines
90 B
Go
Raw
Normal View
History
Unescape
Escape
Mark network ui endpoints unix-only Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-08-11 00:45:32 -04:00
// +build !experimental windows
register libnetwork API and UI with docker parent chain This commit also brings in the ability to specify a default network and its corresponding driver as daemon flags. This helps in existing clients to make use of newer networking features provided by libnetwork. Signed-off-by: Madhu Venugopal <madhu@docker.com>
2015-05-20 08:20:19 -04:00
package
server
Define a context per request. Avoid creating a global context object that will be used while the daemon is running. Not only this object won't ever be garbage collected, but it won't ever be used for anything else than creating other contexts in each request. I think it's a bad practive to have something like this sprawling aroud the code. This change removes that global object and initializes a context in the cases we don't have already one, like shutting down the server. This also removes a bunch of context arguments from functions that did nothing with it. Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-09-24 17:29:54 -04:00
func
(
s
*
Server
)
registerSubRouter
(
)
{
register libnetwork API and UI with docker parent chain This commit also brings in the ability to specify a default network and its corresponding driver as daemon flags. This helps in existing clients to make use of newer networking features provided by libnetwork. Signed-off-by: Madhu Venugopal <madhu@docker.com>
2015-05-20 08:20:19 -04:00
}
Copy permalink