mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 10:26:29 +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 |
||
---|---|---|
.. | ||
evaluator | ||
internal/store | ||
access_tracker.go | ||
access_tracker_test.go | ||
authorize.go | ||
authorize_test.go | ||
check_response.go | ||
check_response_test.go | ||
databroker.go | ||
databroker_test.go | ||
grpc.go | ||
grpc_test.go | ||
log.go | ||
log_test.go | ||
state.go |