482c9e1122
* Fix usage of protoc-gen-go-binary * Pin protoc-gen-go-binary version
29 lines
854 B
YAML
29 lines
854 B
YAML
version: v1
|
|
managed:
|
|
enabled: true
|
|
go_package_prefix:
|
|
# this is not github.com/hashicorp/consul/proto-public because we are going
|
|
# to execute buf generate from the top level directory so that the filepaths
|
|
# contain the full path within the repo. This avoids registration conflicts
|
|
# in protocolbuffers/protobuf-go when Consul starts. Those conflicts would
|
|
# have been due to a protobuf file being registered to a global registry
|
|
# using a relative file name.
|
|
default: github.com/hashicorp/consul
|
|
plugins:
|
|
- name: go
|
|
out: .
|
|
opt: paths=source_relative
|
|
- name: go-grpc
|
|
out: .
|
|
opt:
|
|
- paths=source_relative
|
|
- require_unimplemented_servers=false
|
|
- name: go-binary
|
|
out: .
|
|
opt:
|
|
- paths=source_relative
|
|
- name: consul-rate-limit
|
|
out: .
|
|
opt:
|
|
- paths=source_relative
|