MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / newStatusStyles

Function newStatusStyles

tui/status.go:42–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func newStatusStyles() statusStyles {
43 return statusStyles{
44 header: PrimaryTitleStyle().Padding(0, 1),
45 running: SuccessStyle(),
46 starting: WarningStyle(),
47 restoring: PrimaryStyle().Bold(true),
48 migrating: PrimaryStyle().Bold(true),
49 deleting: ErrorStyle(),
50 provisioning: WarningStyle(),
51 cell: lipgloss.NewStyle().Padding(0, 1),
52 timestamp: HelpStyle(),
53 }
54}
55
56type statusModel struct {
57 instances []api.Instance

Callers 1

newStatusModelFunction · 0.85

Calls 6

PrimaryTitleStyleFunction · 0.85
SuccessStyleFunction · 0.85
WarningStyleFunction · 0.85
PrimaryStyleFunction · 0.85
ErrorStyleFunction · 0.85
HelpStyleFunction · 0.85

Tested by

no test coverage detected