Commit Graph

21 Commits

Author SHA1 Message Date
Theodore Salvo 6e43203eb4
reflection: generate protobuf files from grpc-proto (#5799) 2022-11-21 15:48:12 -08:00
Doug Fawley fefb3ec0c0
test/tools: update everything to latest versions except staticcheck (#5805) 2022-11-18 11:26:37 -08:00
Easwar Swaminathan 06ad0b8221
internal/proto: remove obsolete test and service_config.pb.go (#5459) 2022-06-23 13:40:41 -07:00
Eric Butler ebc30b8fc3
reflection: use protobuf/reflect instead of go reflection, fix dynamic messages (#5180) 2022-02-15 11:01:42 -08:00
Shang Jian Ding c18e2a2883
cmd/protoc-gen-go-grpc: update google.golang.org/protobuf to v1.27.1 (#5053) 2021-12-13 13:56:04 -08:00
Easwar Swaminathan f45e617974
rls: move pb.gos to grpc/internal/proto/grpc_lookup_v1 (#4993) 2021-11-18 16:51:41 -08:00
Easwar Swaminathan 75497df97f
meshca: remove meshca certificate provider implementation (#4385) 2021-05-04 14:38:47 -07:00
Easwar Swaminathan 7bb497f784
grpc: Update protobuf regenrate script (#4177)
- Pull in protobuf repo since one of our protos pulls in duration.proto
- Update grpc_testing/messages.pb.go to pull in a recent change
2021-01-27 16:36:06 -08:00
Doug Fawley ecc9a99b66
interop: remove test.proto clones/variants and use grpc-proto repo instead (#4129) 2021-01-07 14:19:11 -08:00
Easwar Swaminathan 6d0f0110bf
meshca: Don't use the config proto from grpc-proto (#4056) 2020-11-23 09:44:03 -08:00
Doug Fawley 4e8458e5c6
protobuf: update all generated code to google.golang.org/protobuf (#3932) 2020-10-21 16:05:44 -07:00
Doug Fawley 02cd07d9bb
cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07:00
Doug Fawley ff9dd65c90
protoc-gen-go-grpc: generate interfaces optionally; remove NewFooService (#3876) 2020-09-16 10:15:56 -07:00
Doug Fawley 44d73dff99
cmd/protoc-gen-go-grpc: rework service registration (#3828) 2020-08-25 09:28:01 -07:00
Easwar Swaminathan 6c0171fad0
rls: Update rls protos and code/test to reflect those changes. (#3832) 2020-08-21 10:41:53 -07:00
Easwar Swaminathan 9310253e11
meshca: Pull in the MeshCA service proto from istio repo. (#3814) 2020-08-13 12:27:18 -07:00
Easwar Swaminathan 0baf4c2d4c
meshca: Pull in the MeshCA config proto from grpc-proto repo. (#3807) 2020-08-13 08:58:51 -07:00
Doug Fawley ad51f572fd
protoc-gen-go-grpc: add requirement of embedding UnimplementedServer in services (#3657) 2020-06-04 10:56:13 -07:00
Damien Neil f818fd2a02
all: regenerate .pb.go files using cmd/protoc-gen-go-grpc (#3646)
Change regenerate.sh to use cmd/protoc-gen-go-grpc and rerun it.
This splits the gRPC service definitions into separate files, but
otherwise has no changes.
2020-05-28 13:52:49 -07:00
Menghan Li 80ff2c9d78
internal: code regen move file to correct location (#3574) 2020-04-28 18:27:18 -07:00
Damien Neil 15653fec60
all: refactor .pb.go generation (#3451)
Replace various //go:generate lines and regenerate.sh scripts with a
single, top-level regenerate.sh that regenerates all .pb.go files.

Placing generation in a single script ensures that all files are
generated with similar parameters. The new regenerate.sh uses the
protoc-gen-go version defined in test/tools/go.mod and automatically
handles new .proto files as they are added.

Do some minor refactoring on .proto files: Every file now has a
go_package option (which will be required by a future version of the
code generator), and file imports are all relative to the repository
root.
2020-04-24 08:54:03 -07:00