consul/agent/cache
Matt Keeler 5afd4657ec
Protobuf Modernization (#15949)
* Protobuf Modernization

Remove direct usage of golang/protobuf in favor of google.golang.org/protobuf

Marshallers (protobuf and json) needed some changes to account for different APIs.

Moved to using the google.golang.org/protobuf/types/known/* for the well known types including replacing some custom Struct manipulation with whats available in the structpb well known type package.

This also updates our devtools script to install protoc-gen-go from the right location so that files it generates conform to the correct interfaces.

* Fix go-mod-tidy make target to work on all modules
2023-01-11 09:39:10 -05:00
..
cache.go cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956) 2022-10-25 10:27:26 -05:00
cache_test.go cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956) 2022-10-25 10:27:26 -05:00
entry.go cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956) 2022-10-25 10:27:26 -05:00
mock_Request.go test: update mockery use to put mocks into test files (#13656) 2022-07-05 16:57:15 -05:00
mock_Type.go test: update mockery use to put mocks into test files (#13656) 2022-07-05 16:57:15 -05:00
request.go Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
testing.go test: update mockery use to put mocks into test files (#13656) 2022-07-05 16:57:15 -05:00
type.go Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
watch.go Fix agent cache incorrectly notifying unchanged protobufs. (#15866) 2023-01-03 10:11:56 -06:00
watch_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00