common

package
v0.0.0-...-f1c52c0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bold      = Regular.Bold(true)
	Border    = Regular.Border(lipgloss.NormalBorder())
	Regular   = lipgloss.NewStyle()
	Padded    = Regular.Padding(0, 1)
	HelpStyle = Regular.Padding(0, 1).Background(lipgloss.Color("#ffffff")).Foreground(lipgloss.Color("#000000")).Render
)

Functions

This section is empty.

Types

type Event

type Event struct {
	Type EventType
	Data interface{}
}

Event represents an event in the lifecycle of a resource

type EventType

type EventType string

EventType identifies the type of event

const (
	GetImagesEvent   EventType = "getImages"
	LaunchDebugEvent EventType = "launchDebug"
)

type TUIs

type TUIs struct {
	Home   tea.Model
	Images tea.Model
	Debug  tea.Model
}
var (
	// P the current tea program
	P            *tea.Program
	TUIsInstance TUIs
)

Jump to

Keyboard shortcuts

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