consul/proto-public/buf.gen.yaml

46 lines
972 B
YAML

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/hashicorp/consul/proto-public
except:
- buf.build/k8s/api
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: resource-types
out: .
opt:
- paths=source_relative
strategy: all
- name: consul-rate-limit
out: .
opt:
- paths=source_relative
- name: deepcopy
out: .
opt: paths=source_relative
- name: json-shim
out: .
opt: paths=source_relative
# Generate cloning clients that can be used in conjunction with github.com/fullstorydev/grpchan/inprocgrpc
# to safely do gRPC in-process
- name: grpc-clone
out: .
opt:
- paths=source_relative