forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lds: Add HTTP API listener. (envoyproxy#8170)
Signed-off-by: Mark D. Roth <roth@google.com>
- Loading branch information
Showing
4 changed files
with
59 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
package_group( | ||
name = "friends", | ||
packages = [ | ||
"//envoy/api/v2", | ||
], | ||
) | ||
|
||
api_proto_package() | ||
|
||
api_proto_library_internal( | ||
name = "api_listener", | ||
srcs = ["api_listener.proto"], | ||
visibility = [":friends"], | ||
) |
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,24 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.listener.v2; | ||
|
||
option java_outer_classname = "ApiListenerProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.config.listener.v2"; | ||
|
||
import "google/protobuf/any.proto"; | ||
|
||
// [#not-implemented-hide:] | ||
// Describes a type of API listener, which is used in non-proxy clients. The type of API | ||
// exposed to the non-proxy application depends on the type of API listener. | ||
message ApiListener { | ||
// The type in this field determines the type of API listener. At present, the following | ||
// types are supported: | ||
// envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager (HTTP) | ||
// [#next-major-version: In the v3 API, replace this Any field with a oneof containing the | ||
// specific config message for each type of API listener. We could not do this in v2 because | ||
// it would have caused circular dependencies for go protos: lds.proto depends on this file, | ||
// and http_connection_manager.proto depends on rds.proto, which is in the same directory as | ||
// lds.proto, so lds.proto cannot depend on this file.] | ||
google.protobuf.Any api_listener = 1; | ||
} |