forked from longhorn/longhorn-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.yaml
20 lines (19 loc) · 748 Bytes
/
buf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: v1beta1
build:
roots:
- proto/ptypes
- proto/vendor/protobuf/src
lint:
use:
- DEFAULT
except:
# `Files with package "ptypes" must be within a directory "ptypes" relative to root but were in directory "."`
- PACKAGE_DIRECTORY_MATCH
# `Package name "ptypes" should be suffixed with a correctly formed version, such as "ptypes.v1".`
- PACKAGE_VERSION_SUFFIX
ignore:
# Do not check controller.proto for now since modifying this proto file will lead to version bump and compatibility break.
- controller.proto
# `".google.protobuf.Empty" is used as the request or response type for multiple RPCs.`
rpc_allow_google_protobuf_empty_requests: true
rpc_allow_google_protobuf_empty_responses: true