open-consul/agent/cache-types
Dhia Ayachi 3deaf767f2
Egress gtw/intention rpc endpoint (#13354)
* update gateway-services table with endpoints

* fix failing test

* remove unneeded config in test

* rename "endpoint" to "destination"

* more endpoint renaming to destination in tests

* update isDestination based on service-defaults config entry creation

* use a 3 state kind to be able to set the kind to unknown (when neither a service or a destination exist)

* set unknown state to empty to avoid modifying alot of tests

* fix logic to set the kind correctly on CRUD

* fix failing tests

* add missing tests and fix service delete

* fix failing test

* Apply suggestions from code review

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>

* fix a bug with kind and add relevant test

* fix compile error

* fix failing tests

* add kind to clone

* fix failing tests

* fix failing tests in catalog endpoint

* fix service dump test

* Apply suggestions from code review

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>

* remove duplicate tests

* first draft of destinations intention in connect proxy

* remove ServiceDestinationList

* fix failing tests

* fix agent/consul failing tests

* change to filter intentions in the state store instead of adding a field.

* fix failing tests

* fix comment

* fix comments

* store service kind destination and add relevant tests

* changes based on review

* filter on destinations when querying source match

* change state store API to get an IntentionTarget parameter

* add intentions tests

* add destination upstream endpoint

* fix failing test

* fix failing test and a bug with wildcard intentions

* fix failing test

* Apply suggestions from code review

Co-authored-by: alex <8968914+acpana@users.noreply.github.com>

* add missing test and clarify doc

* fix style

* gofmt intention.go

* fix merge introduced issue

Co-authored-by: Dan Stough <dan.stough@hashicorp.com>
Co-authored-by: alex <8968914+acpana@users.noreply.github.com>
Co-authored-by: github-team-consul-core <github-team-consul-core@hashicorp.com>
2022-06-07 15:55:02 -04: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 Finish removing useInDatacenter 2021-10-26 23:36:01 -06:00
exported_peered_services.go peering: allow mesh gateways to proxy L4 peered traffic (#13339) 2022-06-06 14:20:41 -05:00
exported_peered_services_test.go peering: allow mesh gateways to proxy L4 peered traffic (#13339) 2022-06-06 14:20:41 -05:00
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 Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
intention_upstreams_destination.go Egress gtw/intention rpc endpoint (#13354) 2022-06-07 15:55:02 -04:00
intention_upstreams_destination_test.go Egress gtw/intention rpc endpoint (#13354) 2022-06-07 15:55:02 -04: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
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 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