()
| 40 | } |
| 41 | |
| 42 | func 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 | |
| 56 | type statusModel struct { |
| 57 | instances []api.Instance |
no test coverage detected