containerd/container.go
2015-11-10 13:44:35 -08:00

18 lines
260 B
Go

package containerd
import "os"
type Process interface {
Pid() int
Signal(os.Signal) error
}
type Container interface {
ID() string
Start() error
Path() string
Pid() (int, error)
SetExited(status int)
Delete() error
Processes() ([]Process, error)
}