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

Struct WorkflowsView

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

WorkflowsView displays a list of workflows in a table

Source from the content-addressed store, hash-verified

18
19// WorkflowsView displays a list of workflows in a table
20type 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
38type workflowsMsg struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected