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"
|
2016-01-04 19:05:26 -05:00
|
|
|
"github.com/docker/engine-api/types/container"
|
2015-10-31 22:16:58 -04:00
|
|
|
)
|
2015-05-27 16:15:14 -04:00
|
|
|
|
|
|
|
type info struct {
|
2015-10-31 22:16:58 -04:00
|
|
|
ID string
|
|
|
|
driver *Driver
|
2015-12-18 13:36:17 -05:00
|
|
|
isolation container.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,
|
2015-12-18 13:36:17 -05:00
|
|
|
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
|
|
|
|
}
|