Documentation
¶
Overview ¶
Package ui - contains UI iteraction code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶ added in v1.1.0
Start - starts UI subsystem of the application. *state.ApplicationState should be substituted with interface type which would have getters and setters for appropriate fields, without doing it it's hard to use mock objects in unit tests of the child components. Search for 'MockAppState'.
Types ¶
type MainModel ¶ added in v1.5.0
type MainModel struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.1.0
func New( ctx context.Context, storage storage.HostStorage, appState *state.State, log iLogger, ) MainModel
New - creates a parent module for other component and preserves state which can be propagated to other subcomponents.
Directories
¶
| Path | Synopsis |
|---|---|
|
component
|
|
|
grouplist
Package grouplist implements the group list view.
|
Package grouplist implements the group list view. |
|
hostedit
Package hostedit contains UI components for editing host model attributes.
|
Package hostedit contains UI components for editing host model attributes. |
|
hostlist
Package hostlist implements the host list view.
|
Package hostlist implements the host list view. |
|
input
Package input implements generic UI input component.
|
Package input implements generic UI input component. |
|
Package message contains shared messages which are used to communicate between bubbletea components
|
Package message contains shared messages which are used to communicate between bubbletea components |
|
Package theme provides centralized styling and theming functionality
|
Package theme provides centralized styling and theming functionality |
Click to show internal directories.
Click to hide internal directories.