github.com/go/docker@v1.12.0-rc2/cmd/dockerd/routes_experimental.go (about)

     1  // +build experimental
     2  
     3  package main
     4  
     5  import (
     6  	"github.com/docker/docker/api/server/router"
     7  	pluginrouter "github.com/docker/docker/api/server/router/plugin"
     8  	"github.com/docker/docker/plugin"
     9  )
    10  
    11  func addExperimentalRouters(routers []router.Router) []router.Router {
    12  	return append(routers, pluginrouter.NewRouter(plugin.GetManager()))
    13  }