consul/agent/xds/testdata/endpoints
R.B. Boyer 2a56e0055b
proxycfg: change how various proxycfg test helpers for making ConfigSnapshot copies works to be more correct and less error prone (#12531)
Prior to this PR for the envoy xDS golden tests in the agent/xds package we
were hand-creating a proxycfg.ConfigSnapshot structure in the proper format for
input to the xDS generator. Over time this intermediate structure has gotten
trickier to build correctly for the various tests.

This PR proposes to switch to using the existing mechanism for turning a
structs.NodeService and a sequence of cache.UpdateEvent copies into a
proxycfg.ConfigSnapshot, as that is less error prone to construct and aligns
more with how the data arrives.

NOTE: almost all of this is in test-related code. I tried super hard to craft
correct event inputs to get the golden files to be the same, or similar enough
after construction to feel ok that i recreated the spirit of the original test
cases.
2022-03-07 11:47:14 -06:00
..
connect-proxy-with-chain-and-failover.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain-and-overrides.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain-external-sni.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-chain.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-default-chain-and-custom-cluster.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-double-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
connect-proxy-with-tcp-chain-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
defaults.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-gateway-no-services.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-multiple-listeners-duplicate-service.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-splitter-with-resolver-redirect.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain-and-failover.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain-external-sni.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-chain.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-double-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-local-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-local-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-remote-gateway-triggered.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
ingress-with-tcp-chain-failover-through-remote-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-default-service-subset.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-newer-information-in-federation-states.envoy-1-20-x.golden xds: prefer fed state gateway definitions if they're fresher (#11522) 2021-11-09 16:45:36 +00:00
mesh-gateway-no-services.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-older-information-in-federation-states.envoy-1-20-x.golden xds: prefer fed state gateway definitions if they're fresher (#11522) 2021-11-09 16:45:36 +00:00
mesh-gateway-service-subsets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-using-federation-states.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
splitter-with-resolver-redirect.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-default-service-subset.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-no-services.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-service-subsets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00