feat: complete daemon operations and recovery tooling
This commit is contained in:
@@ -132,8 +132,8 @@ type Engine interface {
|
||||
StartContainer(context.Context, string) error
|
||||
// ContainerLogs 读取指定容器的日志流。
|
||||
ContainerLogs(context.Context, string) (io.ReadCloser, error)
|
||||
// StopContainer 停止指定容器。
|
||||
StopContainer(context.Context, string) error
|
||||
// StopContainer 停止指定容器,timeoutSeconds 是发送停止信号后到强制终止前的等待秒数。
|
||||
StopContainer(context.Context, string, int) error
|
||||
// InspectContainer 检查容器并返回其运行时状态。
|
||||
InspectContainer(context.Context, string) (Container, error)
|
||||
// RemoveContainer 移除指定容器,force 决定是否强制移除。
|
||||
|
||||
Reference in New Issue
Block a user