e909289454
TLDR with many modules the versions included in each diverged quite a bit. Attempting to use Go Workspaces produces a bunch of errors. This commit: 1. Fixes envoy-library-references.sh to work again 2. Ensures we are pulling in go-control-plane@v0.11.0 everywhere (previously it was at that version in some modules and others were much older) 3. Remove one usage of golang/protobuf that caused us to have a direct dependency on it. 4. Remove deprecated usage of the Endpoint field in the grpc resolver.Target struct. The current version of grpc (v1.55.0) has removed that field and recommended replacement with URL.Opaque and calls to the Endpoint() func when needing to consume the previous field. 4. `go work init <all the paths to go.mod files>` && `go work sync`. This syncrhonized versions of dependencies from the main workspace/root module to all submodules 5. Updated .gitignore to ignore the go.work and go.work.sum files. This seems to be standard practice at the moment. 6. Update doc comments in protoc-gen-consul-rate-limit to be go fmt compatible 7. Upgraded makefile infra to perform linting, testing and go mod tidy on all modules in a flexible manner. 8. Updated linter rules to prevent usage of golang/protobuf 9. Updated a leader peering test to account for an extra colon in a grpc error message.
46 lines
1.8 KiB
Modula-2
46 lines
1.8 KiB
Modula-2
module github.com/hashicorp/consul/envoyextensions
|
|
|
|
go 1.20
|
|
|
|
replace github.com/hashicorp/consul/api => ../api
|
|
|
|
require (
|
|
github.com/envoyproxy/go-control-plane v0.11.0
|
|
github.com/hashicorp/consul/api v1.20.0
|
|
github.com/hashicorp/consul/sdk v0.13.1
|
|
github.com/hashicorp/go-hclog v1.5.0
|
|
github.com/hashicorp/go-multierror v1.1.1
|
|
github.com/hashicorp/go-version v1.2.1
|
|
github.com/stretchr/testify v1.8.3
|
|
google.golang.org/protobuf v1.30.0
|
|
)
|
|
|
|
require (
|
|
github.com/armon/go-metrics v0.4.1 // indirect
|
|
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
|
|
github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/envoyproxy/protoc-gen-validate v0.10.0 // indirect
|
|
github.com/fatih/color v1.14.1 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
|
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
|
github.com/hashicorp/golang-lru v0.5.4 // indirect
|
|
github.com/hashicorp/serf v0.10.1 // indirect
|
|
github.com/kr/pretty v0.3.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.17 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
|
|
golang.org/x/sys v0.8.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|