Sebastiaan van Stijn
64c6f72988
libnetwork: remove Network interface
...
There's only one implementation; drop the interface and use the
concrete type instead.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-07-22 11:56:41 +02:00
Cory Snider
f96b9bf761
libnetwork: return concrete-typed *Controller
...
libnetwork.NetworkController is an interface with a single
implementation.
https://github.com/golang/go/wiki/CodeReviewComments#interfaces
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-01-13 14:09:37 -05:00
Brian Goff
a0a473125b
Fix libnetwork imports
...
After moving libnetwork to this repo, we need to update all the import
paths for libnetwork to point to docker/docker/libnetwork instead of
docker/libnetwork.
This change implements that.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-06-01 21:51:23 +00:00
msabansal
261fedba8c
Default GW support for overlay networks
...
Signed-off-by: msabansal <sabansal@microsoft.com>
2016-11-08 14:12:29 -08:00
Madhu Venugopal
71220e2a88
Made use of map[string]string for nw options in default-gateway impl
...
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2015-10-12 15:28:28 -07:00