model

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppModel

type AppModel struct {
	// contains filtered or unexported fields
}

func GetInitialModel

func GetInitialModel(source utils.ComposeSource) AppModel

GetInitialModel builds the app's starting state. source is what the -f/-d flags resolved to; the zero value means "the compose file in the current directory", which is what a bare run gets.

func (AppModel) Init

func (m AppModel) Init() tea.Cmd

func (AppModel) Update

func (m AppModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*AppModel) UpdateInnerComponent

func (m *AppModel) UpdateInnerComponent(activePage string, msg tea.Msg) tea.Cmd

func (AppModel) View

func (m AppModel) View() tea.View

type Components

type Components struct {
	MainMenu      tea.Model
	KeybindingBar tea.Model
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL