Documentation ¶ Index ¶ func PrintSnapshot(tree *model.Tree) type MenuItem type Model func NewModel(dockerClient *docker.Client) Model func (m Model) Init() tea.Cmd func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m Model) View() string type ViewMode Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func PrintSnapshot ¶ added in v0.2.0 func PrintSnapshot(tree *model.Tree) PrintSnapshot prints a non-interactive snapshot of the container tree Types ¶ type MenuItem ¶ type MenuItem struct { Label string Action func() tea.Cmd } type Model ¶ type Model struct { // contains filtered or unexported fields } func NewModel ¶ func NewModel(dockerClient *docker.Client) Model func (Model) Init ¶ func (m Model) Init() tea.Cmd func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string type ViewMode ¶ added in v0.2.0 type ViewMode int const ( ViewModeMain ViewMode = iota ViewModeMenu ViewModeLogs ) Source Files ¶ View all Source files logs.gomodel.gosnapshot.goview.go Click to show internal directories. Click to hide internal directories.