1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/networkdriver/portmapper
Paul Bellamy 87df5ab41b Refactor global portallocator and portmapper state
Continuation of: #11660, working on issue #11626.

Wrapped portmapper global state into a struct. Now portallocator and
portmapper have no global state (except configuration, and a default
instance).

Unfortunately, removing the global default instances will break
```api/server/server.go:1539```, and ```daemon/daemon.go:832```, which
both call the global portallocator directly. Fixing that would be a much
bigger change, so for now, have postponed that.

Signed-off-by: Paul Bellamy <paul.a.bellamy@gmail.com>
2015-03-24 11:15:30 +00:00
..
mapper.go Refactor global portallocator and portmapper state 2015-03-24 11:15:30 +00:00
mapper_test.go Refactor global portallocator and portmapper state 2015-03-24 11:15:30 +00:00
mock_proxy.go Move userland proxies out of daemon's process 2014-08-13 11:54:47 -07:00
proxy.go Increase timeout for userland proxy starting 2014-11-20 09:02:42 -08:00