open-consul/proto-public/buf.gen.yaml

27 lines
815 B
YAML
Raw Normal View History

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: .
2023-01-04 16:07:02 +00:00
- name: consul-rate-limit
out: .
opt:
- paths=source_relative