mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
3ab093d567
full diff: 1a06131fb8...ebcade70ad
relevant changes:
- docker/libnetwork#2349 IPVS: Add support for GetConfig/SetConfig
- docker/libnetwork#2343 Revert "debian has iptables-legacy and iptables-nft now"
- docker/libnetwork#2230 Moving IPVLAN driver out of experimental
- docker/libnetwork#2307 Fix for problem where agent is stopped and does not restart
- docker/libnetwork#2303 Touch-up error-message and godoc for ConfigVXLANUDPPort
- docker/libnetwork#2325 Fix possible nil pointer exception
- docker/libnetwork#2302 Use sync.RWMutex for VXLANUDPPort
- docker/libnetwork#2306 Improve error if auto-selecting IP-range failed
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
24 lines
638 B
Go
24 lines
638 B
Go
package libnetwork
|
|
|
|
import (
|
|
"github.com/docker/libnetwork/drivers/bridge"
|
|
"github.com/docker/libnetwork/drivers/host"
|
|
"github.com/docker/libnetwork/drivers/ipvlan"
|
|
"github.com/docker/libnetwork/drivers/macvlan"
|
|
"github.com/docker/libnetwork/drivers/null"
|
|
"github.com/docker/libnetwork/drivers/overlay"
|
|
"github.com/docker/libnetwork/drivers/remote"
|
|
)
|
|
|
|
func getInitializers(experimental bool) []initializer {
|
|
in := []initializer{
|
|
{bridge.Init, "bridge"},
|
|
{host.Init, "host"},
|
|
{ipvlan.Init, "ipvlan"},
|
|
{macvlan.Init, "macvlan"},
|
|
{null.Init, "null"},
|
|
{overlay.Init, "overlay"},
|
|
{remote.Init, "remote"},
|
|
}
|
|
return in
|
|
}
|