-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(core): migrate to latest buf schema
- Loading branch information
1 parent
8bc0a98
commit 77230f4
Showing
5 changed files
with
58 additions
and
58 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,23 +1,23 @@ | ||
version: v1 | ||
version: v2 | ||
managed: | ||
enabled: true | ||
go_package_prefix: | ||
default: github.com/opentdf/platform/protocol/go | ||
except: | ||
- buf.build/bufbuild/protovalidate | ||
- buf.build/googleapis/googleapis | ||
- buf.build/grpc-ecosystem/grpc-gateway | ||
disable: | ||
- file_option: go_package | ||
module: buf.build/bufbuild/protovalidate | ||
- file_option: go_package | ||
module: buf.build/googleapis/googleapis | ||
- file_option: go_package | ||
module: buf.build/grpc-ecosystem/grpc-gateway | ||
override: | ||
- file_option: go_package_prefix | ||
value: github.com/opentdf/platform/protocol/go | ||
plugins: | ||
- plugin: buf.build/grpc-ecosystem/gateway:v2.19.1 | ||
- remote: buf.build/grpc-ecosystem/gateway:v2.19.1 | ||
out: protocol/go | ||
opt: | ||
- paths=source_relative | ||
# dependencies | ||
- plugin: buf.build/protocolbuffers/go:v1.33.0 | ||
opt: paths=source_relative | ||
- remote: buf.build/protocolbuffers/go:v1.33.0 | ||
out: protocol/go | ||
opt: | ||
- paths=source_relative | ||
- plugin: buf.build/grpc/go:v1.3.0 | ||
opt: paths=source_relative | ||
- remote: buf.build/grpc/go:v1.3.0 | ||
out: protocol/go | ||
opt: | ||
- paths=source_relative | ||
opt: paths=source_relative |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v2 | ||
deps: | ||
- name: buf.build/bufbuild/protovalidate | ||
commit: e097f827e65240ac9fd4b1158849a8fc | ||
digest: b5:beda657a164abf9d1bac222e352f14d9a4a8c913ccdb7e5c3dfeda097690f60e8edb27b518c2d8e73b70aecb6ac47fdc3654a1f62b9e09c3566cd4e620628cfd | ||
- name: buf.build/googleapis/googleapis | ||
commit: a86849a25cc04f4dbe9b15ddddfbc488 | ||
digest: b5:a77a2082c596ee6800a23d8cecd021d316eb10565d6cb94532f2d7c567fe6c9a177b5bb123b51a3acb4f1f18d4f54a6da883afcb682919a137a8a37c020509a2 | ||
- name: buf.build/grpc-ecosystem/grpc-gateway | ||
commit: 3f42134f4c564983838425bc43c7a65f | ||
digest: b5:291b947d8ac09492517557e4e72e294788cb8201afc7d0df7bda80fa10931adb60d4d669208a7696bf24f1ecb2a33a16d4c1e766e6f31809248b00343119569b |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version: v2 | ||
modules: | ||
- path: service | ||
deps: | ||
- buf.build/bufbuild/protovalidate | ||
- buf.build/googleapis/googleapis | ||
- buf.build/grpc-ecosystem/grpc-gateway | ||
lint: | ||
use: | ||
- DEFAULT | ||
except: | ||
- FIELD_NOT_REQUIRED | ||
- PACKAGE_NO_IMPORT_CYCLE | ||
- PACKAGE_VERSION_SUFFIX | ||
ignore_only: | ||
PACKAGE_VERSION_SUFFIX: | ||
- service/google/api/annotations.proto | ||
- service/google/api/http.proto | ||
- service/google/protobuf/wrappers.proto | ||
breaking: | ||
use: | ||
- FILE | ||
- PACKAGE | ||
- WIRE | ||
- WIRE_JSON | ||
except: | ||
- EXTENSION_NO_DELETE | ||
- FIELD_SAME_DEFAULT | ||
- PACKAGE_EXTENSION_NO_DELETE |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.