Documentation
¶
Overview ¶
Package overview owns the app-level cross-project Overview model.
Index ¶
- func IsAsyncMessage(msg tea.Msg) bool
- type Model
- func (m *Model) Commands() []struct{ ... }
- func (m *Model) ConsumeValidation(generation int, requestID uint64) bool
- func (m *Model) IsCurrentNavigation(generation int, requestID uint64) bool
- func (m *Model) RequestNavigation(workspace workspaceinventory.Workspace) tea.Cmd
- func (m *Model) Start(projects []Project) tea.Cmd
- func (m *Model) Stop()
- func (m *Model) Update(msg tea.Msg) tea.Cmd
- func (m *Model) Validate(msg NavigateMsg) tea.Cmd
- func (m *Model) View(width, height int) string
- type NavigateMsg
- type Project
- type ValidationMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAsyncMessage ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func New ¶
func New(collector workspaceinventory.Collector) *Model
func (*Model) ConsumeValidation ¶
ConsumeValidation accepts a result at most once. A later duplicate or a result superseded by another activation cannot navigate.
func (*Model) IsCurrentNavigation ¶
func (*Model) RequestNavigation ¶
func (m *Model) RequestNavigation(workspace workspaceinventory.Workspace) tea.Cmd
RequestNavigation binds a card activation to the current Overview lifecycle and supersedes any prior in-flight destination validation.
type NavigateMsg ¶
type NavigateMsg struct {
}
type ValidationMsg ¶
type ValidationMsg struct {
Workspace workspaceinventory.Workspace
Generation int
RequestID uint64
Err error
}