dockerstatusmodal

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(status utils.DockerStatus, terminalWidth int) tea.Model

New builds the docker diagnosis overlay for status, resolving the current machine's remedy from it. Prose wraps to half the terminal width or 60, whichever is smaller - the same rule errormodal uses.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is the docker diagnosis overlay: which of the five states the preflight found, what it means, and the exact command that fixes it on this machine - copyable, never run (D2 in docs/plans/docker-preflight.md). It is a read-only surface like aboutmodal, closing on esc/q.

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() tea.View

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL