(ctx context.Context, arg database.GetCryptoKeyByFeatureAndSequenceParams)
| 3316 | } |
| 3317 | |
| 3318 | func (q *querier) GetCryptoKeyByFeatureAndSequence(ctx context.Context, arg database.GetCryptoKeyByFeatureAndSequenceParams) (database.CryptoKey, error) { |
| 3319 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceCryptoKey); err != nil { |
| 3320 | return database.CryptoKey{}, err |
| 3321 | } |
| 3322 | return q.db.GetCryptoKeyByFeatureAndSequence(ctx, arg) |
| 3323 | } |
| 3324 | |
| 3325 | func (q *querier) GetCryptoKeys(ctx context.Context) ([]database.CryptoKey, error) { |
| 3326 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceCryptoKey); err != nil { |
nothing calls this directly
no test coverage detected