2015-02-19 20:37:53 -05:00
|
|
|
package libnetwork
|
|
|
|
|
2016-01-29 20:08:11 -05:00
|
|
|
import (
|
|
|
|
"github.com/docker/libnetwork/drivers/null"
|
2016-11-02 11:18:12 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/remote"
|
2016-01-29 20:08:11 -05:00
|
|
|
"github.com/docker/libnetwork/drivers/windows"
|
2016-10-12 19:55:20 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/windows/overlay"
|
2016-01-29 20:08:11 -05:00
|
|
|
)
|
2015-02-19 20:37:53 -05:00
|
|
|
|
2016-12-13 16:22:55 -05:00
|
|
|
func getInitializers(experimental bool) []initializer {
|
2015-09-18 17:00:36 -04:00
|
|
|
return []initializer{
|
2016-01-29 20:08:11 -05:00
|
|
|
{null.Init, "null"},
|
2016-10-12 19:55:20 -04:00
|
|
|
{overlay.Init, "overlay"},
|
2016-11-02 11:18:12 -04:00
|
|
|
{remote.Init, "remote"},
|
2016-02-25 18:06:16 -05:00
|
|
|
{windows.GetInit("transparent"), "transparent"},
|
|
|
|
{windows.GetInit("l2bridge"), "l2bridge"},
|
|
|
|
{windows.GetInit("l2tunnel"), "l2tunnel"},
|
|
|
|
{windows.GetInit("nat"), "nat"},
|
2017-05-18 16:38:04 -04:00
|
|
|
{windows.GetInit("ics"), "ics"},
|
2015-02-20 01:21:05 -05:00
|
|
|
}
|
2015-02-20 12:12:29 -05:00
|
|
|
}
|