MCPcopy
hub / github.com/hatchet-dev/hatchet / WorkersView

Struct WorkersView

cmd/hatchet-cli/cli/tui/workers.go:22–35  ·  view source on GitHub ↗

WorkersView displays a list of workers in a table

Source from the content-addressed store, hash-verified

20
21// WorkersView displays a list of workers in a table
22type 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
38type workersMsg struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected