consul/build-support/scripts
Nitya Dhanushkodi b8b37c2357
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
..
build-date.sh Minor cleanup for build-date script 2022-06-09 17:07:41 -07:00
build-docker.sh Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
devtools.sh Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
envoy-library-references.sh refactor: remove troubleshoot module dependency on consul top level module (#16162) 2023-02-06 09:14:35 -08:00
functions.sh build: conditionally install or reinstall protobuf supporting tools as needed (#12674) 2022-04-05 11:58:07 -05:00
protobuf.sh Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
release.sh Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
version.sh build: conditionally install or reinstall protobuf supporting tools as needed (#12674) 2022-04-05 11:58:07 -05:00