(gpuType string)
| 495 | } |
| 496 | |
| 497 | func (m *statusModel) ensureProgressBar(gpuType string) { |
| 498 | if _, exists := m.progressBars[gpuType]; !exists { |
| 499 | p := progress.New( |
| 500 | progress.WithSolidFill("#FFA500"), |
| 501 | progress.WithWidth(70), |
| 502 | ) |
| 503 | m.progressBars[gpuType] = p |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | func (m *statusModel) renderProvisioningSection() string { |
| 508 | // Group instances with PROVISIONING status by GPU type |
no outgoing calls
no test coverage detected