WorkersView displays a list of workers in a table
| 20 | |
| 21 | // WorkersView displays a list of workers in a table |
| 22 | type WorkersView struct { |
| 23 | lastFetch time.Time |
| 24 | table *TableWithStyleFunc |
| 25 | debugLogger *DebugLogger |
| 26 | filterForm *huh.Form |
| 27 | workers []rest.Worker |
| 28 | filteredWorkers []rest.Worker |
| 29 | selectedStatuses []string |
| 30 | tempStatusFilters []string |
| 31 | BaseModel |
| 32 | loading bool |
| 33 | showDebug bool |
| 34 | showingFilter bool |
| 35 | } |
| 36 | |
| 37 | // workersMsg contains the fetched workers |
| 38 | type workersMsg struct { |
nothing calls this directly
no outgoing calls
no test coverage detected