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

Method AllX

app/controlplane/pkg/data/ent/referrer_query.go:246–252  ·  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

244
245// AllX is like All, but panics if an error occurs.
246func (_q *ReferrerQuery) AllX(ctx context.Context) []*Referrer {
247 nodes, err := _q.All(ctx)
248 if err != nil {
249 panic(err)
250 }
251 return nodes
252}
253
254// IDs executes the query and returns a list of Referrer IDs.
255func (_q *ReferrerQuery) 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