open-consul/command
Nitya Dhanushkodi 77f6b20db0
refactor: remove troubleshoot module dependency on consul top level module (#16162)
Ensure nothing in the troubleshoot go module depends on consul's top level module. This is so we can import troubleshoot into consul-k8s and not import all of consul.

* turns troubleshoot into a go module [authored by @curtbushko]
* gets the envoy protos into the troubleshoot module [authored by @curtbushko]
* adds a new go module `envoyextensions` which has xdscommon and extensioncommon folders that both the xds package and the troubleshoot package can import
* adds testing and linting for the new go modules
* moves the unit tests in `troubleshoot/validateupstream` that depend on proxycfg/xds into the xds package, with a comment describing why those tests cannot be in the troubleshoot package
* fixes all the imports everywhere as a result of these changes 

Co-authored-by: Curt Bushko <cbushko@gmail.com>
2023-02-06 09:14:35 -08:00
..
acl Remove legacy acl tokens (#15947) 2023-01-27 09:17:07 -06:00
agent Deprecate -join and -join-wan (#15598) 2022-12-14 20:28:25 +00:00
catalog
cli
config config entry: hardcode proxy-defaults name as global (#14833) 2022-10-25 10:55:15 -07:00
connect refactor: remove troubleshoot module dependency on consul top level module (#16162) 2023-02-06 09:14:35 -08:00
debug Allow consul debug on non-ACL consul servers (#15155) 2022-10-27 09:25:18 -04:00
event
exec
flags removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
forceleave
helpers Native API Gateway Config Entries (#15897) 2023-01-18 22:14:34 +00:00
info
intention
join
keygen
keyring Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
kv removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
leave
lock removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
login removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
logout removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
maint
members Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
monitor
operator fix cli string for id flag (#15695) 2023-01-03 20:36:26 +00:00
peering Bring back parameter ServerExternalAddresses in GenerateToken endpoint (#15267) 2022-11-08 14:55:18 -06:00
reload
rtt Pass remote addr of incoming HTTP requests through to RPC(..) calls (#15700) 2022-12-14 09:24:22 -06:00
services [OSS] feat: access logs for listeners and listener filters (#15864) 2022-12-22 15:18:15 -05:00
snapshot removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
tls Update docs for tls commands (#16077) 2023-01-30 17:26:56 +00:00
troubleshoot refactor: remove troubleshoot module dependency on consul top level module (#16162) 2023-02-06 09:14:35 -08:00
validate removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
version removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
watch removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
registry.go update troubleshoot CLI (#16129) 2023-02-01 15:11:05 -08:00
registry_oss.go Add build tag for oss (#13279) 2022-05-27 11:39:58 -04:00