logsmodal

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(target string, isGroup bool, composeFile string, members []string, termWidth, termHeight int) (tea.Model, tea.Cmd)

New opens a near-full-screen overlay streaming logs for target (a service when isGroup is false, a group otherwise), from composeFile. members is the group's member services, resolved by AppModel; it is ignored when isGroup is false. It starts the stream immediately and returns the model plus the initial WaitForLog cmd; on a start failure it returns a model that just displays the error.

Types

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() tea.View

Jump to

Keyboard shortcuts

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