2016-05-16 11:50:55 -04:00
|
|
|
// +build experimental
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2016-05-12 10:52:00 -04:00
|
|
|
"github.com/docker/docker/api/server/httputils"
|
2016-05-16 11:50:55 -04:00
|
|
|
"github.com/docker/docker/api/server/router"
|
2016-05-12 10:52:00 -04:00
|
|
|
checkpointrouter "github.com/docker/docker/api/server/router/checkpoint"
|
2016-05-16 11:50:55 -04:00
|
|
|
pluginrouter "github.com/docker/docker/api/server/router/plugin"
|
2016-05-12 10:52:00 -04:00
|
|
|
"github.com/docker/docker/daemon"
|
2016-05-16 11:50:55 -04:00
|
|
|
"github.com/docker/docker/plugin"
|
|
|
|
)
|
|
|
|
|
2016-05-12 10:52:00 -04:00
|
|
|
func addExperimentalRouters(routers []router.Router, d *daemon.Daemon, decoder httputils.ContainerDecoder) []router.Router {
|
|
|
|
return append(routers, checkpointrouter.NewRouter(d, decoder), pluginrouter.NewRouter(plugin.GetManager()))
|
2016-05-16 11:50:55 -04:00
|
|
|
}
|