mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f2614f2107
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
24 lines
589 B
Go
24 lines
589 B
Go
package libnetwork
|
|
|
|
import (
|
|
"github.com/docker/libnetwork/drivers/bridge"
|
|
"github.com/docker/libnetwork/drivers/host"
|
|
"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() []initializer {
|
|
in := []initializer{
|
|
{bridge.Init, "bridge"},
|
|
{host.Init, "host"},
|
|
{macvlan.Init, "macvlan"},
|
|
{null.Init, "null"},
|
|
{remote.Init, "remote"},
|
|
{overlay.Init, "overlay"},
|
|
}
|
|
|
|
in = append(in, additionalDrivers()...)
|
|
return in
|
|
}
|