consul/agent/config
freddygv 7bd51ff536 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 config: Use config fields to warn about enterprise settings 2021-01-07 19:31:39 -05:00
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 config: replace calls to config.NewBuilder with config.Load 2021-01-27 17:34:43 -05:00
default_oss.go config: Use LiteralSource for some defaults 2020-11-20 18:14:17 -05:00
doc.go
flags.go config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
flags_test.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
flagset.go
golden_test.go config: Use golden for TestRuntimeConfig_Sanitize 2021-01-11 14:34:03 -05:00
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