Documentation
¶
Overview ¶
Package execform renders the modal one-off-run wizard: start a disposable interactive container from an image (`docker run --rm -it` analogue) with optional volume mounts and a command (empty = shell).
Index ¶
- type Model
- func (m Model) Command() string
- func (m Model) Image() string
- func (m *Model) Next()
- func (m *Model) Open(image string)
- func (m *Model) Prev()
- func (m *Model) SetError(s string)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View(width, height int) string
- func (m Model) Volumes() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the three-field (Image, Volumes, Command) exec wizard.
func (*Model) SetError ¶
SetError shows a validation/operation message inside the form (keeps it open).
Click to show internal directories.
Click to hide internal directories.