mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
24 lines
351 B
Go
24 lines
351 B
Go
|
// +build windows
|
||
|
|
||
|
package windows
|
||
|
|
||
|
import "github.com/docker/docker/daemon/execdriver"
|
||
|
|
||
|
type info struct {
|
||
|
ID string
|
||
|
driver *driver
|
||
|
}
|
||
|
|
||
|
func (d *driver) Info(id string) execdriver.Info {
|
||
|
return &info{
|
||
|
ID: id,
|
||
|
driver: d,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (i *info) IsRunning() bool {
|
||
|
var running bool
|
||
|
running = true // TODO Need an HCS API
|
||
|
return running
|
||
|
}
|