consul/agent/xds/testdata/clusters
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-lb-in-resolver.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-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-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
custom-limits-max-connections-only.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-limits-set-to-zero.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-limits.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-local-app.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-timeouts.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-upstream-default-chain.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
custom-upstream.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
downstream-service-with-unix-sockets.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
expose-paths-grpc-new-cluster-http1.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
expose-paths-local-app-paths.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
expose-paths-new-cluster-http2.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-lb-in-resolver.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-hash-lb-ignored.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
mesh-gateway-ignore-extra-resolvers.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07: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-non-hash-lb-injected.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07: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-service-timeouts.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-hostname-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-ignore-extra-resolvers.envoy-1-20-x.golden connect: Add support for Envoy 1.20 (#11277) 2021-10-27 18:38:10 -07:00
terminating-gateway-lb-config.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
transparent-proxy-catalog-destinations-only.envoy-1-20-x.golden proxycfg: change how various proxycfg test helpers for making ConfigSnapshot copies works to be more correct and less error prone (#12531) 2022-03-07 11:47:14 -06:00
transparent-proxy-dial-instances-directly.envoy-1-20-x.golden proxycfg: change how various proxycfg test helpers for making ConfigSnapshot copies works to be more correct and less error prone (#12531) 2022-03-07 11:47:14 -06:00
transparent-proxy.envoy-1-20-x.golden proxycfg: change how various proxycfg test helpers for making ConfigSnapshot copies works to be more correct and less error prone (#12531) 2022-03-07 11:47:14 -06:00