Expand description
OPA authorization-cache admission and error policy.
All deadlines here are milliseconds on the host’s monotonic clock. The
kernels compare and add them; that the clock never steps backwards is a
host responsibility, discharged by reading a MonotonicClock.
Enums§
- OpaAuthorization
Decision - Binary authorization result used at the OPA proof boundary.
- OpaCache
Admission - Result of checking one exact-key cache entry.
- OpaCache
Expiry - Result of computing a monotonic cache deadline.
Functions§
- opa_
cache_ admission - Reuse an entry’s decision only while its deadline is strictly in the future.
- opa_
cache_ expiry - Compute a deadline
ttl_msafternow_ms. - opa_
error_ decision - Map the explicit outage policy without changing successful OPA decisions.