mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
907407d0b2
Signed-off-by: David Calavera <david.calavera@gmail.com>
29 lines
536 B
Go
29 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
|
|
}
|