consul/agent/consul/discoverychain
sarahalsmiller 6d35edc21c
xds: generate routes directly from API gateway snapshot (#17392)
* 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

* update name and comment

* use constant value

* use constant

---------

Co-authored-by: Mike Morris <mikemorris@users.noreply.github.com>
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2023-05-25 09:54:55 -05:00
..
compile.go Attach service virtual IP info to compiled discovery chain (#17295) 2023-05-12 02:28:16 +00:00
compile_oss.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
compile_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
gateway.go xds: generate routes directly from API gateway snapshot (#17392) 2023-05-25 09:54:55 -05:00
gateway_httproute.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
gateway_tcproute.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
gateway_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
string_stack.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
string_stack_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
testing.go add order by locality failover to Consul enterprise (#16791) 2023-03-30 10:08:38 -04:00