Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type ContainerInfo struct { Pid string `json:"pid"` //容器的init进程在宿主机上的 PID Id string `json:"id"` //容器Id Name string `json:"name"` //容器名 Command string `json:"command"` //容器内init运行命令 CreatedTime string `json:"createTime"` //创建时间 Status string `json:"status"` //容器的状态 Volume string `json:"volume"` //容器的数据卷 Ip string `json:"ip"` //容器的Ip PortMapping []string `json:"portmapping"` //端口映射 NetworkName string `json:"networkName"` //容器网络名称 }
Click to show internal directories.
Click to hide internal directories.