open-consul/agent/proxycfg
freddygv eeccba945d Replace TransparentProxy bool with ProxyMode
This PR replaces the original boolean used to configure transparent
proxy mode. It was replaced with a string mode that can be set to:

- "": Empty string is the default for when the setting should be
defaulted from other configuration like config entries.
- "direct": Direct mode is how applications originally opted into the
mesh. Proxy listeners need to be dialed directly.
- "transparent": Transparent mode enables configuring Envoy as a
transparent proxy. Traffic must be captured and redirected to the
inbound and outbound listeners.

This PR also adds a struct for transparent proxy specific configuration.
Initially this is not stored as a pointer. Will revisit that decision
before GA.
2021-04-12 09:35:14 -06:00
..
manager.go proxycfg: use rpcclient/health.Client instead of passing around cache name 2021-03-12 11:46:04 -05:00
manager_test.go Merge master and fix upstream config protocol defaulting 2021-03-17 21:13:40 -06:00
proxycfg.go Proxy Config Manager (#4729) 2018-10-10 16:55:34 +01:00
snapshot.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
state.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
state_test.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
testing.go Update proxycfg for transparent proxy 2021-03-17 13:40:39 -06:00