consul/agent/xds
sarahalsmiller b147323fb0
xds: Remove APIGateway ToIngress function (#17453)
* xds generation for routes api gateway

* Update gateway.go

* move buildHttpRoute into xds package

* Update agent/consul/discoverychain/gateway.go

* remove unneeded function

* convert http route code to only run for http protocol to future proof code path

* Update agent/consul/discoverychain/gateway.go

Co-authored-by: Mike Morris <mikemorris@users.noreply.github.com>

* fix tests, clean up http check logic

* clean up todo

* Fix casing in docstring

* Fix import block, adjust docstrings

* Rename func

* Consolidate docstring onto single line

* Remove ToIngress() conversion for APIGW, which generates its own xDS now

* update name and comment

* use constant value

* use constant

* rename readyUpstreams to readyListeners to better communicate what that function is doing

---------

Co-authored-by: Mike Morris <mikemorris@users.noreply.github.com>
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2023-05-25 15:16:37 +00:00
..
accesslogs copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
extensionruntime Disable remote proxy patching except AWS Lambda (#17415) 2023-05-23 11:55:06 +00:00
testcommon copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
testdata Use original_dst filter instead of use_original_dst field (#17433) 2023-05-24 12:01:17 -05:00
validateupstream-test copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
clusters.go xds: Remove APIGateway ToIngress function (#17453) 2023-05-25 15:16:37 +00:00
clusters_test.go Support Envoy's MaxEjectionPercent and BaseEjectionTime config entries for passive health checks (#15979) 2023-04-26 15:59:48 -07:00
config.go Support Envoy's MaxEjectionPercent and BaseEjectionTime config entries for passive health checks (#15979) 2023-04-26 15:59:48 -07:00
config_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
delta.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
delta_envoy_extender_oss_test.go Disable remote proxy patching except AWS Lambda (#17415) 2023-05-23 11:55:06 +00:00
delta_test.go Disable remote proxy patching except AWS Lambda (#17415) 2023-05-23 11:55:06 +00:00
endpoints.go xds: Remove APIGateway ToIngress function (#17453) 2023-05-25 15:16:37 +00:00
endpoints_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
failover_policy.go [COMPLIANCE] Add Copyright and License Headers (#16854) 2023-04-20 12:40:22 +00:00
failover_policy_oss.go [COMPLIANCE] Add Copyright and License Headers (#16854) 2023-04-20 12:40:22 +00:00
golden_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
jwt_authn.go [NET-3092] Improve jwt-provider tests (#17430) 2023-05-24 10:30:48 -04:00
jwt_authn_test.go [NET-3092] Improve jwt-provider tests (#17430) 2023-05-24 10:30:48 -04:00
listeners.go Use original_dst filter instead of use_original_dst field (#17433) 2023-05-24 12:01:17 -05:00
listeners_apigateway.go xds: Remove APIGateway ToIngress function (#17453) 2023-05-25 15:16:37 +00:00
listeners_ingress.go xds: generate listeners directly from API gateway snapshot (#17398) 2023-05-22 17:36:29 -04:00
listeners_test.go Permissive mTLS (#17035) 2023-04-19 14:45:00 -05:00
naming.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
net_fallback.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
net_linux.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
protocol_trace.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
rbac.go Add sameness groups to service intentions. (#17064) 2023-04-20 12:16:04 -04:00
rbac_test.go Add sameness groups to service intentions. (#17064) 2023-04-20 12:16:04 -04:00
resources.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
resources_oss_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
resources_test.go xds: generate endpoints directly from API gateway snapshot (#17390) 2023-05-19 18:50:59 +00:00
response.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
routes.go xds: Remove APIGateway ToIngress function (#17453) 2023-05-25 15:16:37 +00:00
routes_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
secrets.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
server.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
server_oss.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
testing.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
xds.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
xds_protocol_helpers_test.go Disable remote proxy patching except AWS Lambda (#17415) 2023-05-23 11:55:06 +00:00
z_xds_packages.go Add connection limit setting to service defaults 2022-05-24 10:13:38 -07:00
z_xds_packages_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00