consul/internal/controller
Matt Keeler 59cb12c798
Migrate the Endpoints controller to use the controller cache (#20241)
* Add cache resource decoding helpers

* Implement a common package for workload selection facilities. This includes:

   * Controller cache Index
   * ACL hooks
   * Dependency Mapper to go from workload to list of resources which select it
   * Dependency Mapper to go from a resource which selects workloads to all the workloads it selects.

* Update the endpoints controller to use the cache instead of custom mappers.

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
2024-01-18 17:52:52 -05:00
..
cache Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05: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 Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05: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 In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
controller_test.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05: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
helper.go mesh: Add ComputedProxyConfiguration and a controller that computes it. (#19043) 2023-10-10 17:34:53 -06:00
helper_test.go
lease.go
manager.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
mem_consistency_test.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
runner.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
supervisor.go
supervisor_test.go
testing.go Update workload health controller to use the controller cache (#20240) 2024-01-18 16:30:11 -05:00
watch.go Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00