2015-05-27 16:15:14 -04:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package windows
|
|
|
|
|
2015-10-31 22:16:58 -04:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/daemon/execdriver"
|
|
|
|
"github.com/docker/docker/runconfig"
|
|
|
|
)
|
2015-05-27 16:15:14 -04:00
|
|
|
|
|
|
|
type info struct {
|
2015-10-31 22:16:58 -04:00
|
|
|
ID string
|
|
|
|
driver *Driver
|
|
|
|
isolation runconfig.IsolationLevel
|
2015-05-27 16:15:14 -04:00
|
|
|
}
|
|
|
|
|
2015-08-02 21:54:02 -04:00
|
|
|
// Info implements the exec driver Driver interface.
|
|
|
|
func (d *Driver) Info(id string) execdriver.Info {
|
2015-05-27 16:15:14 -04:00
|
|
|
return &info{
|
2015-10-31 22:16:58 -04:00
|
|
|
ID: id,
|
|
|
|
driver: d,
|
|
|
|
isolation: defaultIsolation,
|
2015-05-27 16:15:14 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (i *info) IsRunning() bool {
|
|
|
|
var running bool
|
|
|
|
running = true // TODO Need an HCS API
|
|
|
|
return running
|
|
|
|
}
|