consul/internal/catalog/workloadselector
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
..
acls.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
acls_test.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
gather.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
gather_test.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
index.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
index_test.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
integ_test.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
mapper.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
mapper_test.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
selecting.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00