Add kill API for execution service
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
@@ -14,6 +14,8 @@ type Container interface {
|
||||
Start(context.Context) error
|
||||
// State returns the container's state
|
||||
State(context.Context) (State, error)
|
||||
// Kill signals a container
|
||||
Kill(context.Context, uint32, bool) error
|
||||
}
|
||||
|
||||
type LinuxContainer interface {
|
||||
|
||||
Reference in New Issue
Block a user