github.com/rentongzhang/docker@v1.8.2-rc1/daemon/execdriver/windows/info.go (about)

     1  // +build windows
     2  
     3  package windows
     4  
     5  import "github.com/docker/docker/daemon/execdriver"
     6  
     7  type info struct {
     8  	ID     string
     9  	driver *driver
    10  }
    11  
    12  func (d *driver) Info(id string) execdriver.Info {
    13  	return &info{
    14  		ID:     id,
    15  		driver: d,
    16  	}
    17  }
    18  
    19  func (i *info) IsRunning() bool {
    20  	var running bool
    21  	running = true // TODO Need an HCS API
    22  	return running
    23  }