mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 20:06:03 +02:00
* Optimize policy iterators (go1.23) This modifies (*Options).GetAllPolicies() to use a go 1.23 iterator instead of copying all policies on every call, which can be extremely expensive. All existing usages of this function were updated as necessary. Additionally, a new (*Options).NumPolicies() method was added which quickly computes the number of policies that would be given by GetAllPolicies(), since there were several usages where only the number of policies was needed. * Fix race condition when assigning default envoy opts to a policy |
||
---|---|---|
.. | ||
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 | ||
log.go | ||
log_test.go | ||
policy_evaluator.go | ||
policy_evaluator_test.go |