consul/internal
Matt Keeler 8d79ae81ed Allow reuse of cache indexes
Previously calling `index.New` would return an object with the index information such as the Indexer, whether it was required, and the name of the index as well as a radix tree to store indexed data.

Now the main `Index` type doesn’t contain the radix tree for indexed data. Instead the `IndexedData` method can be used to combine the main `Index` with a radix tree in the `IndexedData` structure.

The cache still only allows configuring the `Index` type and will invoke the `IndexedData` method on the provided indexes to get the structure that the cache can use for actual data management.

All of this makes it now safe to reuse the `index.Index` types.
2024-02-09 10:35:37 -05:00
..
auth Move sameness groups to v2beta1 version (#20531) 2024-02-08 11:05:06 -05:00
catalog Move sameness groups to v2beta1 version (#20531) 2024-02-08 11:05:06 -05:00
controller Allow reuse of cache indexes 2024-02-09 10:35:37 -05:00
dnsutil feat(v2dns): add PTR query support (#20362) 2024-01-29 11:40:10 -05:00
go-sso [Cloud][CC-6925] Updates to pushing server state (#19682) 2023-12-04 10:25:18 -05:00
hcp internal/hcp: prevent write loop on telemetrystate resource updates (#20435) 2024-02-02 16:28:20 -05:00
mesh Fixes gatewayproxy controller tests for ent (#20543) 2024-02-08 18:34:44 +00:00
multicluster Move sameness groups to v2beta1 version (#20531) 2024-02-08 11:05:06 -05:00
protohcl [Cloud][CC-6925] Updates to pushing server state (#19682) 2023-12-04 10:25:18 -05:00
protoutil mesh: compute more of the xRoute features into ComputedRoutes (#18980) 2023-09-22 16:13:24 -05:00
radix [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
resource Add tests for gw proxy controller (#20510) 2024-02-07 17:01:10 -05:00
resourcehcl mesh: rename Upstreams and UpstreamsConfiguration to Destinations* (#18995) 2023-09-25 12:03:45 -06:00
storage v2: ensure the controller caches are fully populated before first use (#20421) 2024-02-02 15:11:05 -06:00
tenancy Remove V2 PeerName field from pbresource.Tenancy (#19865) 2024-01-29 15:08:31 -05:00
testing Add Common Controller Caching Infrastructure (#19767) 2023-12-13 10:06:39 -05:00
tools NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30