Documentation
¶
Index ¶
- Constants
- Variables
- func ContainerFormatter(row bubble.Row) lipgloss.Style
- func ImageFormatter(row bubble.Row) lipgloss.Style
- type ContextState
- type KeyMapping
- type Model
- func (m Model) Context() ContextState
- func (m Model) Focus() focusState
- func (m Model) Init() tea.Cmd
- func (m *Model) PopulateContainers() error
- func (m *Model) PopulateImages() error
- func (m *Model) SetContext(context ContextState) error
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
Constants ¶
View Source
const ( ImageContext ContextState = iota ContainerContext ContextState = iota VolumeContext ContextState = iota InspectContext ContextState = iota LogsContext ContextState = iota TableFocus focusState = iota DialogFocus focusState = iota )
Variables ¶
View Source
var (
KeyEscape = key.NewBinding(key.WithKeys("esc"))
)
Functions ¶
Types ¶
type ContextState ¶
type ContextState uint
type KeyMapping ¶
type KeyMapping struct {
// contains filtered or unexported fields
}
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) Context ¶
func (m Model) Context() ContextState
func (*Model) PopulateContainers ¶
func (*Model) PopulateImages ¶
func (*Model) SetContext ¶
func (m *Model) SetContext(context ContextState) error
Click to show internal directories.
Click to hide internal directories.