25 lines
638 B
Go
25 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
|
|
}
|