MCPcopy Index your code
hub / github.com/coder/coder / GetAPIKeyByID

Method GetAPIKeyByID

coderd/database/dbauthz/dbauthz.go:2652–2654  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

2650}
2651
2652func (q *querier) GetAPIKeyByID(ctx context.Context, id string) (database.APIKey, error) {
2653 return fetch(q.log, q.auth, q.db.GetAPIKeyByID)(ctx, id)
2654}
2655
2656func (q *querier) GetAPIKeyByName(ctx context.Context, arg database.GetAPIKeyByNameParams) (database.APIKey, error) {
2657 return fetch(q.log, q.auth, q.db.GetAPIKeyByName)(ctx, arg)

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.70

Tested by

no test coverage detected