ui

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const KoopaShell = `` /* 1120-byte string literal not displayed */
View Source
const ShyGuy = `` /* 497-byte string literal not displayed */
View Source
const SplashYoshi = `` /* 2361-byte string literal not displayed */
View Source
const StarPower = `` /* 771-byte string literal not displayed */
View Source
const TabHeader = "★"

Variables

View Source
var (
	YoshiGreen = theme.YoshiGreen
	PipeGreen  = theme.PipeGreen
	MarioBlue  = theme.MarioBlue
	CoinGold   = theme.CoinGold
	MarioRed   = theme.MarioRed
	OneUpGreen = theme.OneUpGreen
	SnesBg     = theme.SnesBg
	TextWhite  = theme.TextWhite
	TextDim    = theme.TextDim
	BrickBrown = theme.BrickBrown
)
View Source
var (
	FrameStyle       = theme.FrameStyle
	TitleStyle       = theme.TitleStyle
	ActiveTabStyle   = theme.ActiveTabStyle
	InactiveTabStyle = theme.InactiveTabStyle
	BarOK            = theme.BarOK
	BarWarn          = theme.BarWarn
	BarCrit          = theme.BarCrit
	StatusOK         = theme.StatusOK
	StatusWarn       = theme.StatusWarn
	StatusCrit       = theme.StatusCrit
	ProtectedStyle   = theme.ProtectedStyle
	DangerStyle      = theme.DangerStyle
	HelpStyle        = theme.HelpStyle
)
View Source
var MarioBorder = theme.MarioBorder

Functions

func ProgressBar

func ProgressBar(percent float64, width int) string

Types

type App

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

func NewApp

func NewApp() App

func (App) Init

func (a App) Init() tea.Cmd

func (App) Update

func (a App) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (App) View

func (a App) View() string

type SplashDoneMsg

type SplashDoneMsg struct{}

type SplashModel

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

func NewSplash

func NewSplash() SplashModel

func (SplashModel) Done

func (s SplashModel) Done() bool

func (SplashModel) Init

func (s SplashModel) Init() tea.Cmd

func (SplashModel) Update

func (s SplashModel) Update(msg tea.Msg) (SplashModel, tea.Cmd)

func (SplashModel) View

func (s SplashModel) View() string

type Tab

type Tab int
const (
	TabDashboard Tab = iota
	TabDocker
	TabAudit
)

type TickMsg

type TickMsg time.Time

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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