-
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
acc08a3
commit 6205e30
Showing
5 changed files
with
81 additions
and
55 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,41 @@ | ||
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/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: | ||
- 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,13 +1,30 @@ | ||
version: v1 | ||
version: v2 | ||
|
||
inputs: | ||
- directory: . | ||
paths: | ||
- api/proto/teleport/accesslist/ | ||
- api/proto/teleport/devicetrust/ | ||
- api/proto/teleport/header/ | ||
- api/proto/teleport/trait/ | ||
- api/proto/teleport/userpreferences/ | ||
- proto/prehog/ | ||
- proto/teleport/lib/teleterm/ | ||
|
||
plugins: | ||
- name: typescript | ||
out: gen/proto/ts | ||
opt: eslint_disable,add_pb_suffix,server_grpc1,ts_nocheck | ||
path: | ||
- local: | ||
- npm | ||
- exec | ||
- --yes | ||
- --package=@protobuf-ts/[email protected] | ||
- -- | ||
- protoc-gen-ts | ||
out: gen/proto/ts | ||
opt: | ||
# the next time we tweak the ts codegen we should put the options in | ||
# alphabetical order | ||
- eslint_disable | ||
- add_pb_suffix | ||
- server_grpc1 | ||
- ts_nocheck | ||
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