-
Notifications
You must be signed in to change notification settings - Fork 5.5k
filters: Add dependencies.proto #14750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
b42f1d1
Add dependency.proto
74bd4ea
Add shadow protos
75167c9
Remove unused migrate.proto
ee97b96
Fix format and docs
ea91bd2
Fix format
ad6d7d8
More fixing of format
541a5bd
docs fix
41fe37c
Add comments
c43f017
Regenerate
dbd82aa
Merge remote-tracking branch 'envoy/main' into dependency2
b0784e9
Fix validation
17e320a
add include
daa7da9
Fix proto
04096c4
Merge remote-tracking branch 'envoy/main' into dependency2
a6a90e0
Revert whitespace
72f1c89
Fix shadow api
9625cc0
Add doc
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,9 @@ | ||
| # DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. | ||
|
|
||
| load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") | ||
|
|
||
| licenses(["notice"]) # Apache 2 | ||
|
|
||
| api_proto_package( | ||
| deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"], | ||
| ) |
45 changes: 45 additions & 0 deletions
45
api/envoy/extensions/filters/common/dependency/v3/dependency.proto
This file contains hidden or 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,45 @@ | ||
| syntax = "proto3"; | ||
|
|
||
| package envoy.extensions.filters.common.dependency.v3; | ||
|
|
||
| import "udpa/annotations/migrate.proto"; | ||
| import "udpa/annotations/status.proto"; | ||
| import "validate/validate.proto"; | ||
|
|
||
| option java_package = "io.envoyproxy.envoy.extensions.filters.common.dependency.v3"; | ||
| option java_outer_classname = "DependencyProto"; | ||
| option java_multiple_files = true; | ||
| option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
|
||
| // [#protodoc-title: Filter dependency specification] | ||
|
|
||
| // Dependency specification and string identifier. | ||
| message Dependency { | ||
| enum DependencyType { | ||
| HEADER = 0; | ||
| FILTER_STATE_KEY = 1; | ||
| DYNAMIC_METADATA = 2; | ||
| } | ||
|
|
||
| // The kind of dependency. | ||
| DependencyType type = 1; | ||
|
|
||
| // The string identifier for the dependency. | ||
| string name = 2 [(validate.rules).string = {min_len: 1}]; | ||
| } | ||
|
|
||
| // Dependency specification for a filter. For a filter chain to be valid, any | ||
| // dependency that is required must be provided by an earlier filter. | ||
| message FilterDependencies { | ||
| // A list of dependencies required on the decode path. | ||
| repeated Dependency decode_required = 1; | ||
|
|
||
| // A list of dependencies provided on the encode path. | ||
| repeated Dependency decode_provided = 2; | ||
|
|
||
| // A list of dependencies required on the decode path. | ||
| repeated Dependency encode_required = 3; | ||
|
|
||
| // A list of dependencies provided on the encode path. | ||
| repeated Dependency encode_provided = 4; | ||
| } | ||
This file contains hidden or 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 hidden or 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
9 changes: 9 additions & 0 deletions
9
generated_api_shadow/envoy/extensions/filters/common/dependency/v3/BUILD
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
generated_api_shadow/envoy/extensions/filters/common/dependency/v3/dependency.proto
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.