forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf-go.gen.yaml
41 lines (39 loc) · 1.3 KB
/
buf-go.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: v2
inputs:
- directory: .
exclude_paths:
# generated by buf-gogo.gen.yaml
- api/proto/teleport/attestation/
- api/proto/teleport/legacy/
- api/proto/teleport/mfa/
- api/proto/teleport/usageevents/
- proto/teleport/lib/web/terminal/envelope.proto
# generated by buf-connect-go.gen.yaml
- proto/prehog/
- directory: .
paths:
# excluded by buf-gogo.gen.yaml
- api/proto/teleport/legacy/client/proto/event.proto
plugins:
- local:
- go
- run
- google.golang.org/protobuf/cmd/protoc-gen-go
out: .
opt:
- module=github.com/gravitational/teleport
# needed by teleport/lib/teleterm/v1/usage_events.proto because we use
# managed mode for the go package name there
- Mprehog/v1alpha/connect.proto=github.com/gravitational/teleport/gen/proto/go/prehog/v1alpha;prehogv1alpha
strategy: all
- local:
- go
- run
- google.golang.org/grpc/cmd/protoc-gen-go-grpc
out: .
opt:
- module=github.com/gravitational/teleport
# needed by teleport/lib/teleterm/v1/usage_events.proto because we use
# managed mode for the go package name there
- Mprehog/v1alpha/connect.proto=github.com/gravitational/teleport/gen/proto/go/prehog/v1alpha;prehogv1alpha
strategy: all