mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add todos for driver changes
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
97c8450705
commit
5c30c4379a
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,7 @@ type Info interface {
|
|||
type Driver interface {
|
||||
Run(c *Process, startCallback StartCallback) (int, error) // Run executes the process and blocks until the process exits and returns the exit code
|
||||
Kill(c *Process, sig int) error
|
||||
Wait(id string) error // Wait on an out of process...process - lxc ghosts
|
||||
Wait(id string) error // Wait on an out of process...process - lxc ghosts TODO: Rename to reattach, reconnect
|
||||
Name() string // Driver name
|
||||
Info(id string) Info // "temporary" hack (until we move state from core to plugins)
|
||||
}
|
||||
|
@ -77,6 +77,7 @@ type Network struct {
|
|||
}
|
||||
|
||||
// Process wrapps an os/exec.Cmd to add more metadata
|
||||
// TODO: Rename to Command
|
||||
type Process struct {
|
||||
exec.Cmd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue