mirror of https://github.com/hashicorp/consul
24 lines
738 B
YAML
24 lines
738 B
YAML
|
version: v1
|
||
|
managed:
|
||
|
enabled: true
|
||
|
go_package_prefix:
|
||
|
# this is not github.com/hashicorp/consul/proto 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: .
|