Documentation
¶
Index ¶
- type ConnectRequestMsg
- type HomeModel
- func (h *HomeModel) GetContainers() []container.Info
- func (h *HomeModel) GetCursor() int
- func (h *HomeModel) Init() tea.Cmd
- func (h *HomeModel) RefreshContainers(containers []container.Info, daemonRunning bool)
- func (h *HomeModel) SetAnimationState(state int)
- func (h *HomeModel) SetCursor(pos int)
- func (h *HomeModel) SetSize(width, height int)
- func (h *HomeModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (h *HomeModel) View() string
- type ShowActionsMenuMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectRequestMsg ¶
type ConnectRequestMsg struct {
ContainerName string
}
ConnectRequestMsg signals that the user wants to connect to a container
type HomeModel ¶
type HomeModel struct {
// contains filtered or unexported fields
}
HomeModel is the main container list view
func NewHomeModel ¶
NewHomeModel creates a new home view
func (*HomeModel) GetContainers ¶
GetContainers returns the current container list for caching
func (*HomeModel) RefreshContainers ¶
RefreshContainers updates the container list
func (*HomeModel) SetAnimationState ¶
SetAnimationState updates the animation state for pulsing indicators
type ShowActionsMenuMsg ¶
ShowActionsMenuMsg signals to show the actions menu for a container
Click to show internal directories.
Click to hide internal directories.