WorkflowsView displays a list of workflows in a table
| 18 | |
| 19 | // WorkflowsView displays a list of workflows in a table |
| 20 | type WorkflowsView struct { |
| 21 | lastFetch time.Time |
| 22 | table *TableWithStyleFunc |
| 23 | debugLogger *DebugLogger |
| 24 | searchForm *huh.Form |
| 25 | searchQuery string |
| 26 | workflows []rest.Workflow |
| 27 | BaseModel |
| 28 | totalPages int |
| 29 | currentOffset int |
| 30 | pageSize int |
| 31 | showDebug bool |
| 32 | showingSearch bool |
| 33 | hasMore bool |
| 34 | loading bool |
| 35 | } |
| 36 | |
| 37 | // workflowsMsg contains the fetched workflows |
| 38 | type workflowsMsg struct { |
nothing calls this directly
no outgoing calls
no test coverage detected