Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerItem ¶
ContainerItem represents a Docker container in the list.
func NewContainerItem ¶
func NewContainerItem(container types.Container) *ContainerItem
NewContainerItem creates a new instance of ContainerItem from a Docker API Container type.
func (*ContainerItem) Children ¶
func (c *ContainerItem) Children() []source.ListItem
Children returns an empty slice, as Docker containers don't have a hierarchical structure in this context.
func (*ContainerItem) FilterValue ¶
func (c *ContainerItem) FilterValue() string
FilterValue returns the value used for filtering the list. It could be the container's name or ID.
func (*ContainerItem) String ¶
func (c *ContainerItem) String() string
String returns a string representation of the container, which will be displayed in the list.
type DockerSource ¶
type DockerSource struct {
// contains filtered or unexported fields
}
func (*DockerSource) Columns ¶
func (d *DockerSource) Columns() []*source.List
Click to show internal directories.
Click to hide internal directories.