pomerium/authorize/evaluator
Kenneth Jenkins ffca3b36a9
authorize: reuse policy evaluators where possible (#4710)
Add a parameter to evaluator.New() for the previous Evaluator (if any).
If the evaluatorConfig is the same, reuse any PolicyEvaluators for
policies that have not changed from the previous Evaluator.

Use the route IDs along with the policy checksums to determine whether a
given policy has changed. Similarly, add a new cacheKey() method to the
evaluatorConfig to compute a checksum used for determine whether the
evaluatorConfig has changed. (Store this checksum on the Evaluator.)
2023-11-06 13:57:59 -08:00
..
opa
config.go
evaluator.go
evaluator_test.go
functions.go
functions_test.go
gen-test-certs.go
google_cloud_serverless.go
google_cloud_serverless_test.go
headers_evaluator.go
headers_evaluator_test.go
policy_evaluator.go
policy_evaluator_test.go