consul/agent/cache-types
freddygv 647c57a416 Add agent cache-type for TrustBundleListByService
There are a handful of changes in this commit:
* When querying trust bundles for a service we need to be able to
  specify the namespace of the service.
* The endpoint needs to track the index because the cache watches use
  it.
* Extracted bulk of the endpoint's logic to a state store function
  so that index tracking could be tested more easily.
* Removed check for service existence, deferring that sort of work to ACL authz
* Added the cache type
2022-06-01 17:05:10 -06:00
..
catalog_datacenters.go
catalog_datacenters_test.go
catalog_list_services.go
catalog_list_services_test.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
catalog_service_list.go
catalog_service_list_test.go
catalog_services.go
catalog_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
config_entry.go Watch the singular service resolver instead of the list + filtering to 1 (#13012) 2022-05-12 16:34:17 -04:00
config_entry_test.go Watch the singular service resolver instead of the list + filtering to 1 (#13012) 2022-05-12 16:34:17 -04:00
connect_ca_leaf.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
connect_ca_leaf_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
connect_ca_leaf_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
connect_ca_root.go
connect_ca_root_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
discovery_chain.go
discovery_chain_test.go
federation_state_list_gateways.go
federation_state_list_gateways_test.go
gateway_services.go
gateway_services_test.go
health_services.go
health_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
intention_match.go
intention_match_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
intention_upstreams.go
intention_upstreams_test.go
mock_Agent.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
mock_RPC.go chore: upgrade mockery to v2 and regenerate (#12836) 2022-04-21 09:48:21 -05:00
mock_TrustBundleReader_test.go Configure upstream TLS context with peer root certs (#13321) 2022-06-01 15:53:52 -06:00
node_services.go
node_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
norace_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
options.go
prepared_query.go
prepared_query_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
race_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
resolved_service_config.go
resolved_service_config_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
rpc.go chore: upgrade mockery to v2 and regenerate (#12836) 2022-04-21 09:48:21 -05:00
service_checks.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
service_checks_test.go
service_dump.go
service_dump_test.go
testing.go
trust_bundle.go Configure upstream TLS context with peer root certs (#13321) 2022-06-01 15:53:52 -06:00
trust_bundle_test.go Add agent cache-type for TrustBundleListByService 2022-06-01 17:05:10 -06:00
trust_bundles.go Add agent cache-type for TrustBundleListByService 2022-06-01 17:05:10 -06:00
trust_bundles_test.go Add agent cache-type for TrustBundleListByService 2022-06-01 17:05:10 -06:00