package
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Aug 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package unlockdialog provides an app-level modal for entering a Docker Swarm
unlock key. It is shown when the active context's swarm is locked.
type Model struct {
Visible bool
Width int
Height int
}
Hide makes the dialog invisible and blurs the input.
Show makes the dialog visible with a cleared, focused input.
type ResultMsg struct {
Confirmed bool
Key string
}
ResultMsg is emitted when the dialog is dismissed. Confirmed is true when the
user submitted a key with Enter; Key holds the entered (unmasked) value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.