Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainModel ¶
type MainModel struct {
// Selected instance (set when user presses enter)
SelectedInstanceID string
SelectedInstanceName string
Error error
// contains filtered or unexported fields
}
MainModel is the top-level model for the list command TUI.
func NewListApp ¶
func NewListApp( deployEngine engine.DeployEngine, logger *zap.Logger, search string, bluelinkStyles *stylespkg.Styles, headless bool, headlessWriter io.Writer, jsonMode bool, ) (*MainModel, error)
NewListApp creates a new list application with the given configuration.
type PageLoadErrorMsg ¶
type PageLoadErrorMsg struct {
Err error
}
PageLoadErrorMsg is sent when loading a page fails.
type PageLoadedMsg ¶
type PageLoadedMsg struct {
Instances []state.InstanceSummary
TotalCount int
Page int
}
PageLoadedMsg is sent when a page of instances has been loaded.
Click to show internal directories.
Click to hide internal directories.