Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type D ¶
type D struct {
Image string // 镜像名
Ports []string // 映射端口
ConName string // 容器名
ConID string // 容器id
Client *client.Client // 连接
Context context.Context // 上下文
}
D 包含 Docker 操作的方法
type Dash ¶
func (*Dash) MonitorContainerLogs ¶
func (d *Dash) MonitorContainerLogs()
monitorContainerLogs 监控容器日志
Click to show internal directories.
Click to hide internal directories.