Documentation ¶
Index ¶
Constants ¶
View Source
const MaxContainers = 1000
View Source
const MaxHorizPosition = int(TimeInfo)
Variables ¶
View Source
var InfoHeaders map[DockerInfoType]string = map[DockerInfoType]string{ ImageInfo: "Image", Names: "Names", PortInfo: "Ports", BindInfo: "Mounts", CommandInfo: "Command", EntrypointInfo: "Entrypoint", EnvInfo: "Envs", VolumesInfo: "Volumes", TimeInfo: "Created At", }
Functions ¶
This section is empty.
Types ¶
type ContainerSlice ¶
func (ContainerSlice) Len ¶
func (p ContainerSlice) Len() int
func (ContainerSlice) Less ¶
func (p ContainerSlice) Less(i, j int) bool
func (ContainerSlice) Swap ¶
func (p ContainerSlice) Swap(i, j int)
type DockerInfoType ¶
type DockerInfoType int
const ( ImageInfo DockerInfoType = iota Names PortInfo BindInfo CommandInfo EntrypointInfo EnvInfo VolumesInfo TimeInfo )
type View ¶
type View struct { Grid *ui.Grid Header *widgets.Paragraph InfoBar *widgets.Paragraph CpuChart *widgets.BarChart MemChart *widgets.BarChart NameList *widgets.List InfoList *widgets.List }
func (*View) RenderContainers ¶
func (*View) UpdateStats ¶
func (v *View) UpdateStats(statsCharts *docklistener.StatsMsg, offset int)
Click to show internal directories.
Click to hide internal directories.