Add container logs page

This commit is contained in:
cuigh
2017-10-10 16:26:53 +08:00
parent 5693f1426e
commit 400a891b29
15 changed files with 445 additions and 120 deletions

View File

@@ -575,6 +575,14 @@ func NewImageListInfo(image types.ImageSummary) *ImageListInfo {
return info
}
type ContainerListArgs struct {
// created|restarting|running|removing|paused|exited|dead
Filter string `query:"filter"`
Name string `query:"name"`
PageIndex int `query:"page"`
PageSize int `query:"size"`
}
type ContainerListInfo struct {
types.Container
CreatedAt time.Time