consul
consul copied to clipboard
mesh: update the explicit dest controller to use the cache
Description
This switches the explicit destination controller from using the custom bimapper caching to using the common controller caching system.
follows https://github.com/hashicorp/consul/pull/20601
This also adds bound references to the ComputedExplicitDestinations type.
Testing & Reproduction steps
- The existing tests were retained.
PR Checklist
- [x] updated test coverage
- [ ] ~external facing docs updated~
- [ ] appropriate backport labels added
- [ ] ~not a security concern~