2015-02-19 20:37:53 -05:00
|
|
|
package libnetwork
|
|
|
|
|
2015-02-20 01:21:05 -05:00
|
|
|
import (
|
2015-04-13 14:40:42 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/bridge"
|
2015-05-03 16:37:22 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/host"
|
2016-06-13 22:38:18 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/macvlan"
|
2015-04-30 01:56:59 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/null"
|
2015-09-18 17:00:36 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/overlay"
|
2015-05-06 19:57:38 -04:00
|
|
|
"github.com/docker/libnetwork/drivers/remote"
|
2015-02-20 01:21:05 -05:00
|
|
|
)
|
2015-02-19 20:37:53 -05:00
|
|
|
|
2015-09-18 17:00:36 -04:00
|
|
|
func getInitializers() []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"},
|
2016-06-13 22:38:18 -04:00
|
|
|
{macvlan.Init, "macvlan"},
|
2015-09-18 17:00:36 -04:00
|
|
|
{null.Init, "null"},
|
|
|
|
{remote.Init, "remote"},
|
|
|
|
{overlay.Init, "overlay"},
|
2015-02-20 01:21:05 -05:00
|
|
|
}
|
2016-03-02 20:13:15 -05:00
|
|
|
|
|
|
|
in = append(in, additionalDrivers()...)
|
|
|
|
return in
|
2015-02-20 12:12:29 -05:00
|
|
|
}
|