-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0423ae
commit e21681b
Showing
5 changed files
with
74 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
version: v1 | ||
version: v2 | ||
|
||
inputs: | ||
- directory: . | ||
paths: | ||
- proto/prehog/ | ||
|
||
managed: | ||
enabled: true | ||
go_package_prefix: | ||
default: github.com/gravitational/teleport/gen/proto/go | ||
override: | ||
- file_option: go_package_prefix | ||
value: github.com/gravitational/teleport/gen/proto/go | ||
|
||
plugins: | ||
- name: go | ||
strategy: all | ||
path: | ||
- local: | ||
- go | ||
- run | ||
- google.golang.org/protobuf/cmd/protoc-gen-go | ||
out: . | ||
opt: module=github.com/gravitational/teleport | ||
- name: connect-go | ||
strategy: all | ||
path: | ||
- local: | ||
- go | ||
- run | ||
- connectrpc.com/connect/cmd/protoc-gen-connect-go | ||
out: . | ||
opt: module=github.com/gravitational/teleport | ||
strategy: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,40 @@ | ||
version: v1 | ||
version: v2 | ||
|
||
inputs: | ||
- directory: . | ||
exclude_paths: | ||
# generated by buf-gogo.gen.yaml | ||
- api/proto/teleport/attestation/ | ||
- api/proto/teleport/legacy/ | ||
- 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: | ||
- name: go | ||
strategy: all | ||
path: | ||
- 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 | ||
# 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 | ||
- name: go-grpc | ||
strategy: all | ||
path: | ||
- 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 | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
version: v1 | ||
version: v2 | ||
|
||
inputs: | ||
- directory: . | ||
paths: | ||
- api/proto/teleport/accesslist/ | ||
- api/proto/teleport/header/ | ||
- api/proto/teleport/trait/ | ||
- proto/prehog/ | ||
- proto/teleport/lib/teleterm/ | ||
|
||
plugins: | ||
# https://github.com/protocolbuffers/protobuf/tree/v3.20.1/js | ||
- name: js | ||
strategy: all | ||
- protoc_builtin: js | ||
out: gen/proto/js | ||
opt: | ||
- import_style=commonjs,binary | ||
strategy: all | ||
|
||
# https://github.com/grpc/grpc-node/tree/grpc-tools%401.12.4/packages/grpc-tools/ | ||
- name: grpc | ||
strategy: all | ||
- local: grpc_tools_node_protoc_plugin | ||
out: gen/proto/js | ||
opt: grpc_js | ||
path: grpc_tools_node_protoc_plugin | ||
strategy: all | ||
|
||
# https://github.com/agreatfool/grpc_tools_node_protoc_ts/tree/v5.3.2 | ||
- name: ts | ||
strategy: all | ||
- local: protoc-gen-ts | ||
out: gen/proto/js | ||
opt: "service=grpc-node" | ||
strategy: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters