Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
| ... | ... |
@@ -62,7 +62,7 @@ type Info interface {
|
| 62 | 62 |
type Driver interface {
|
| 63 | 63 |
Run(c *Process, startCallback StartCallback) (int, error) // Run executes the process and blocks until the process exits and returns the exit code |
| 64 | 64 |
Kill(c *Process, sig int) error |
| 65 |
- Wait(id string) error // Wait on an out of process...process - lxc ghosts |
|
| 65 |
+ Wait(id string) error // Wait on an out of process...process - lxc ghosts TODO: Rename to reattach, reconnect |
|
| 66 | 66 |
Name() string // Driver name |
| 67 | 67 |
Info(id string) Info // "temporary" hack (until we move state from core to plugins) |
| 68 | 68 |
} |
| ... | ... |
@@ -77,6 +77,7 @@ type Network struct {
|
| 77 | 77 |
} |
| 78 | 78 |
|
| 79 | 79 |
// Process wrapps an os/exec.Cmd to add more metadata |
| 80 |
+// TODO: Rename to Command |
|
| 80 | 81 |
type Process struct {
|
| 81 | 82 |
exec.Cmd |
| 82 | 83 |
|