Files
docker-cli/components/engine/daemon/execdriver/windows/info.go
David Calavera 4ec2693c9e Modify import paths to point to the new engine-api package.
Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: 907407d0b2e5863f0e1b40b93a356bbf03c7b9fb
Component: engine
2016-01-06 19:48:59 -05:00

30 lines
536 B
Go

// +build windows
package windows
import (
"github.com/docker/docker/daemon/execdriver"
"github.com/docker/engine-api/types/container"
)
type info struct {
ID string
driver *Driver
isolation container.IsolationLevel
}
// Info implements the exec driver Driver interface.
func (d *Driver) Info(id string) execdriver.Info {
return &info{
ID: id,
driver: d,
isolation: DefaultIsolation,
}
}
func (i *info) IsRunning() bool {
var running bool
running = true // TODO Need an HCS API
return running
}