2015-02-19 20:37:53 -05:00
|
|
|
package libnetwork
|
|
|
|
|
2015-02-20 01:21:05 -05:00
|
|
|
import (
|
2021-04-05 20:24:47 -04:00
|
|
|
"github.com/docker/docker/libnetwork/drivers/bridge"
|
|
|
|
"github.com/docker/docker/libnetwork/drivers/host"
|
|
|
|
"github.com/docker/docker/libnetwork/drivers/ipvlan"
|
|
|
|
"github.com/docker/docker/libnetwork/drivers/macvlan"
|
|
|
|
"github.com/docker/docker/libnetwork/drivers/null"
|
|
|
|
"github.com/docker/docker/libnetwork/drivers/overlay"
|
|
|
|
"github.com/docker/docker/libnetwork/drivers/remote"
|
2015-02-20 01:21:05 -05:00
|
|
|
)
|
2015-02-19 20:37:53 -05:00
|
|
|
|
2016-12-13 16:22:55 -05:00
|
|
|
func getInitializers(experimental bool) []initializer {
|
2016-03-02 20:13:15 -05:00
|
|
|
in := []initializer{
|
2015-09-18 17:00:36 -04:00
|
|
|
{bridge.Init, "bridge"},
|
|
|
|
{host.Init, "host"},
|
2018-07-12 00:42:01 -04:00
|
|
|
{ipvlan.Init, "ipvlan"},
|
2016-06-13 22:38:18 -04:00
|
|
|
{macvlan.Init, "macvlan"},
|
2015-09-18 17:00:36 -04:00
|
|
|
{null.Init, "null"},
|
|
|
|
{overlay.Init, "overlay"},
|
2018-07-12 00:42:01 -04:00
|
|
|
{remote.Init, "remote"},
|
2015-02-20 01:21:05 -05:00
|
|
|
}
|
2016-03-02 20:13:15 -05:00
|
|
|
return in
|
2015-02-20 12:12:29 -05:00
|
|
|
}
|