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 agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_datacenters_test.go ci: enable SA4006 staticcheck check 2020-06-16 13:10:11 -04:00
catalog_list_services.go agent/cache: Use AllowNotModifiedResponse in CatalogListServices 2020-07-14 18:58:20 -04:00
catalog_list_services_test.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
catalog_service_list.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_service_list_test.go Gateway Services Nodes UI Endpoint (#7685) 2020-05-11 11:35:17 -06:00
catalog_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
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 agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
connect_ca_root_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
discovery_chain.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
discovery_chain_test.go Finish removing useInDatacenter 2021-10-26 23:36:01 -06:00
federation_state_list_gateways.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
federation_state_list_gateways_test.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
gateway_services.go Move GatewayServices out of Internal 2020-06-12 13:46:47 -06:00
gateway_services_test.go Move compound service names to use ServiceName type 2020-06-12 13:47:43 -06:00
health_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
health_services_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
intention_match.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
intention_match_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
intention_upstreams.go Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
intention_upstreams_test.go Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
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 agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
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 Disable background cache refresh for Connect Leaf Certs 2020-07-21 12:19:25 -04:00
prepared_query.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
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 agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
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 Fix a number of problems found by staticcheck 2020-05-19 16:50:14 -04:00
service_dump.go end to end changes to pass gatewayservices to /ui/services/ 2020-07-30 10:21:11 -06:00
service_dump_test.go Fix test build 2020-08-06 11:31:56 -06:00
testing.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
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