MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / AllX

Method AllX

app/controlplane/pkg/data/ent/workflow_query.go:368–374  ·  view source on GitHub ↗

AllX is like All, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

366
367// AllX is like All, but panics if an error occurs.
368func (_q *WorkflowQuery) AllX(ctx context.Context) []*Workflow {
369 nodes, err := _q.All(ctx)
370 if err != nil {
371 panic(err)
372 }
373 return nodes
374}
375
376// IDs executes the query and returns a list of Workflow IDs.
377func (_q *WorkflowQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) {

Callers

nothing calls this directly

Calls 1

AllMethod · 0.95

Tested by

no test coverage detected