consul/internal/controller
hc-github-team-consul-core 3a7f0d1d04
Backport of mesh: use ComputedImplicitDestinations resource in the sidecar controller into release/1.18.x (#20596)
* no-op commit due to failed cherry-picking

* [1.18.x] mesh: use ComputedImplicitDestinations resource in the sidecar controller (#20553)

Wire the ComputedImplicitDestinations resource into the sidecar controller, replacing the inline version already present.

Also:

- Rewrite the controller to use the controller cache
- Rewrite it to no longer depend on ServiceEndpoints
- Remove the fetcher and (local) cache abstraction

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2024-02-12 20:41:59 +00:00
..
cache Backport of Allow reuse of cache indexes into release/1.18.x (#20567) 2024-02-09 13:25:28 -06:00
controllermock Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
controllertest In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
dependency Backport of mesh: add ComputedImplicitDestinations resource for future use into release/1.18.x (#20572) 2024-02-09 21:54:25 +00:00
testdata Prevent circular dependencies between v2 resources and generate a mermaid diagram with their dependencies (#19230) 2023-10-18 10:55:32 -04:00
.mockery.yaml Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
controller.go Backport of mesh: add ComputedImplicitDestinations resource for future use into release/1.18.x (#20572) 2024-02-09 21:54:25 +00:00
controller_test.go Add a separate test for initializer retries (#20298) 2024-01-19 16:59:44 -06:00
custom_watch.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
dependencies.go [NET-6426] Add gateway proxy controller that generates empty proxy state template (#19901) 2023-12-21 16:37:47 -05:00
dependencies_test.go Prevent circular dependencies between v2 resources and generate a mermaid diagram with their dependencies (#19230) 2023-10-18 10:55:32 -04:00
doc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
helper.go Backport of mesh: use ComputedImplicitDestinations resource in the sidecar controller into release/1.18.x (#20596) 2024-02-12 20:41:59 +00:00
helper_test.go mesh: create new routes-controller to reconcile xRoute types into a ComputedRoutes resource (#18460) 2023-09-12 12:08:51 -05:00
lease.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
manager.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
mem_consistency_test.go Backport of v2: ensure the controller caches are fully populated before first use into release/1.18.x (#20462) 2024-02-02 22:08:47 +00:00
runner.go Backport of Panic for unregistered types into release/1.18.x (#20504) 2024-02-06 12:48:50 -05:00
supervisor.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
supervisor_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing.go Backport of mesh: add ComputedImplicitDestinations resource for future use into release/1.18.x (#20572) 2024-02-09 21:54:25 +00:00
watch.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00