Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
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