Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogsCmd = &cobra.Command{ Use: "logs [flags]", Short: "View stack container logs", Long: `Display logs from containers in your deployed stack. By default, shows the last 50 lines from all containers. Use --service to filter logs from a specific service.`, RunE: runLogs, SilenceUsage: true, }
Functions ¶
func RunViewer ¶
func RunViewer(containers []ContainerLogs) error
RunViewer starts the interactive logs viewer
Types ¶
type ContainerLogs ¶
ContainerLogs holds logs for a single container
type LogsViewer ¶
type LogsViewer struct {
// contains filtered or unexported fields
}
LogsViewer represents the TUI model for viewing logs
func NewLogsViewer ¶
func NewLogsViewer(containers []ContainerLogs) *LogsViewer
NewLogsViewer creates a new logs viewer
Click to show internal directories.
Click to hide internal directories.