implement state api command
This commit is contained in:
parent
cb7ab16427
commit
a2ddcc2232
5 changed files with 66 additions and 12 deletions
|
@ -3,7 +3,9 @@ package containerd
|
|||
type Container interface {
|
||||
ID() string
|
||||
Start() error
|
||||
Path() string
|
||||
Pid() (int, error)
|
||||
SetExited(status int)
|
||||
Delete() error
|
||||
Processes() ([]int, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue