open-consul/agent/config
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
..
testdata Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
agent_limits.go
builder.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
builder_oss.go config: Unexport Builder and NewBuilder 2021-01-27 17:41:53 -05:00
builder_oss_test.go
builder_test.go config: move testing shims to LoadOpts 2021-02-16 14:40:15 -05:00
config.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
config_oss.go
default.go
default_oss.go
doc.go
flags.go config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
flags_test.go
flagset.go
golden_test.go
limits.go
limits_windows.go
merge.go
merge_test.go
runtime.go add http2 ping health checks (#8431) 2021-04-09 15:12:10 -04:00
runtime_oss.go
runtime_oss_test.go config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
runtime_test.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
segment_oss.go config: Unexport Builder and NewBuilder 2021-01-27 17:41:53 -05:00
segment_oss_test.go config: rename testCase fields 2021-02-16 14:40:16 -05:00