MCPcopy Create free account
hub / github.com/Facets-cloud/flow / TaskFilter

Struct TaskFilter

internal/flowdb/db.go:191–202  ·  view source on GitHub ↗

TaskFilter holds optional filters for ListTasks.

Source from the content-addressed store, hash-verified

189
190// TaskFilter holds optional filters for ListTasks.
191type TaskFilter struct {
192 Status string
193 Project string
194 Priority string
195 Kind string // "regular" (default), "playbook_run", or "" for all
196 PlaybookSlug string // optional; filter to runs of one playbook
197 Tag string // optional; only tasks carrying this tag (already normalized)
198 Tags []string // optional; tasks must carry ALL of these (intersection; already normalized)
199 Since string // RFC3339 or "" for no lower bound
200 IncludeArchived bool
201 ExcludeDone bool // hide status=done; ignored if Status is set explicitly
202}
203
204// ProjectFilter is the equivalent for ListProjects.
205type ProjectFilter struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected