consul/agent/config
Luke Kysow a1e6d69454
peering: add config to enable/disable peering (#13867)
* peering: add config to enable/disable peering

Add config:

```
peering {
  enabled = true
}
```

Defaults to true. When disabled:
1. All peering RPC endpoints will return an error
2. Leader won't start its peering establishment goroutines
3. Leader won't start its peering deletion goroutines
2022-07-22 15:20:21 -07:00
..
testdata
agent_limits.go
builder.go
builder_oss.go
builder_oss_test.go
builder_test.go
config.go
config_oss.go
default.go
default_oss.go
deprecated.go
deprecated_test.go
doc.go
file_watcher.go
file_watcher_test.go
flags.go
flags_test.go
flagset.go
golden_test.go
limits.go
limits_windows.go
merge.go
merge_test.go
ratelimited_file_watcher.go
ratelimited_file_watcher_test.go
runtime.go
runtime_oss.go
runtime_oss_test.go
runtime_test.go
segment_oss.go
segment_oss_test.go