consul/internal/resource
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
..
demo Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
http resource: block default namespace deletion + test refactorings (#19822) 2023-12-05 14:00:06 -05:00
mappers NET-7025 - ci: test-integrations failures in compatibility tests. panics occuring in selectionTracker.TrackIDForSelection (#20040) 2023-12-22 16:32:40 +00:00
protoc-gen-deepcopy Clone proto into deepcopy correctly (#19204) 2023-10-13 16:41:22 -04:00
protoc-gen-json-shim Create DeepCopy() and Json Marshal/Unmarshal for proto-public (#19015) 2023-10-13 14:55:58 +00:00
protoc-gen-resource-types Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
reaper Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
resourcetest Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
testdata
acls.go catalog, mesh: implement missing ACL hooks (#19143) 2023-10-13 23:16:26 +00:00
authz.go
authz_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
authz_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
decode.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
decode_test.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
equality.go
equality_test.go
errors.go catalog, mesh: implement missing ACL hooks (#19143) 2023-10-13 23:16:26 +00:00
errors_test.go catalog,mesh,auth: Bump versions to v2beta1 (#18930) 2023-09-22 10:51:15 -06:00
filter.go Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
filter_test.go catalog: add metadata filtering to refine workload selectors (#19198) 2023-10-13 13:37:42 -05:00
hooks.go Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
hooks_test.go Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
reference.go
refkey.go
refkey_test.go
registry.go Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
registry_test.go
resource.go [OSS] feat: add experiments flag for v2 dns and skeleton interfaces (#20115) 2024-01-10 11:19:20 -05:00
resource_test.go resource: misc finalizer apis (#19474) 2023-11-02 15:56:02 -05:00
sort.go mesh: store bound reference pointers on a ComputedRoutes resource and use during reconcile (#18965) 2023-09-22 15:46:14 -05:00
sort_test.go Skip tests with p95 greater than 30 seconds outside of main and release branches. (#19628) 2023-11-15 13:43:33 -07:00
stringer.go
tenancy.go Tenancy Bridge v2 (#19220) 2023-10-20 14:49:54 -04:00
tenancy_test.go
tombstone.go