Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TitleStyle renders top-level titles with bold accent background TitleStyle = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.AdaptiveColor{Light: "255", Dark: "255"}). Background(colorAccent). Padding(0, 1) // HeaderStyle renders table/section headers HeaderStyle = lipgloss.NewStyle(). Bold(true). Foreground(colorAccent) // SelectedStyle highlights the currently selected row SelectedStyle = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.AdaptiveColor{Light: "232", Dark: "229"}). Background(colorHighlight) // BaseStyle is the default unstyled base BaseStyle = lipgloss.NewStyle() // MutedStyle renders secondary/less important text MutedStyle = lipgloss.NewStyle(). Foreground(colorMuted) // ErrorStyle renders error messages ErrorStyle = lipgloss.NewStyle(). Foreground(colorUnhealthy). Bold(true) // SuccessStyle renders success/status messages SuccessStyle = lipgloss.NewStyle(). Foreground(colorHealthy) // StatusBarStyle renders the bottom status bar StatusBarStyle = lipgloss.NewStyle(). Foreground(colorMuted). Background(colorBgDark). Padding(0, 1) // HelpStyle renders keybinding hints HelpStyle = lipgloss.NewStyle(). Foreground(colorMuted) )
Functions ¶
Types ¶
type Client ¶
type Client interface {
GetServers(ctx context.Context) ([]map[string]interface{}, error)
ListActivities(ctx context.Context, filter cliclient.ActivityFilterParams) ([]map[string]interface{}, int, error)
ServerAction(ctx context.Context, name, action string) error
TriggerOAuthLogin(ctx context.Context, name string) error
}
Client defines the interface for API operations
Click to show internal directories.
Click to hide internal directories.