-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: straggler v2alpha1 -> v3alpha clone. (#8133)
These were missed in #8125. Signed-off-by: Harvey Tuch <htuch@google.com>
- Loading branch information
Showing
32 changed files
with
732 additions
and
47 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
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
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,10 @@ | ||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package() | ||
|
||
api_proto_library_internal( | ||
name = "router", | ||
srcs = ["router.proto"], | ||
) |
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,13 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.filter.dubbo.router.v3alpha; | ||
|
||
option java_outer_classname = "RouterProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.config.filter.dubbo.router.v3alpha"; | ||
|
||
// [#protodoc-title: Router] | ||
// Dubbo router :ref:`configuration overview <config_dubbo_filters_router>`. | ||
|
||
message Router { | ||
} |
10 changes: 10 additions & 0 deletions
10
api/envoy/config/filter/http/grpc_http1_reverse_bridge/v3alpha/BUILD
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,10 @@ | ||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package() | ||
|
||
api_proto_library( | ||
name = "config", | ||
srcs = ["config.proto"], | ||
) |
26 changes: 26 additions & 0 deletions
26
api/envoy/config/filter/http/grpc_http1_reverse_bridge/v3alpha/config.proto
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,26 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.filter.http.grpc_http1_reverse_bridge.v3alpha; | ||
|
||
option java_outer_classname = "ConfigProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.config.filter.http.grpc_http1_reverse_bridge.v3alpha"; | ||
|
||
import "validate/validate.proto"; | ||
|
||
// [#protodoc-title: gRPC HTTP/1.1 Reverse Bridge] | ||
// gRPC HTTP/1.1 Reverse Bridge :ref:`configuration overview | ||
// <config_http_filters_grpc_http1_reverse_bridge>`. | ||
|
||
// gRPC reverse bridge filter configuration | ||
message FilterConfig { | ||
// The content-type to pass to the upstream when the gRPC bridge filter is applied. | ||
// The filter will also validate that the upstream responds with the same content type. | ||
string content_type = 1 [(validate.rules).string.min_bytes = 1]; | ||
|
||
// If true, Envoy will assume that the upstream doesn't understand gRPC frames and | ||
// strip the gRPC frame from the request, and add it back in to the response. This will | ||
// hide the gRPC semantics from the upstream, allowing it to receive and respond with a | ||
// simple binary encoded protobuf. | ||
bool withhold_grpc_frames = 2; | ||
} |
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,10 @@ | ||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package() | ||
|
||
api_proto_library_internal( | ||
name = "original_src", | ||
srcs = ["original_src.proto"], | ||
) |
24 changes: 24 additions & 0 deletions
24
api/envoy/config/filter/http/original_src/v3alpha/original_src.proto
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.filter.http.original_src.v3alpha; | ||
|
||
option java_outer_classname = "OriginalSrcProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.config.filter.http.original_src.v3alpha"; | ||
|
||
import "validate/validate.proto"; | ||
|
||
// [#protodoc-title: Original Src Filter] | ||
// Use the Original source address on upstream connections. | ||
|
||
// The Original Src filter binds upstream connections to the original source address determined | ||
// for the request. This address could come from something like the Proxy Protocol filter, or it | ||
// could come from trusted http headers. | ||
message OriginalSrc { | ||
|
||
// Sets the SO_MARK option on the upstream connection's socket to the provided value. Used to | ||
// ensure that non-local addresses may be routed back through envoy when binding to the original | ||
// source address. The option will not be applied if the mark is 0. | ||
// [#proto-status: experimental] | ||
uint32 mark = 1; | ||
} |
10 changes: 10 additions & 0 deletions
10
api/envoy/config/filter/listener/original_src/v3alpha/BUILD
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,10 @@ | ||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package() | ||
|
||
api_proto_library_internal( | ||
name = "original_src", | ||
srcs = ["original_src.proto"], | ||
) |
28 changes: 28 additions & 0 deletions
28
api/envoy/config/filter/listener/original_src/v3alpha/original_src.proto
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,28 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.filter.listener.original_src.v3alpha; | ||
|
||
option java_outer_classname = "OriginalSrcProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.config.filter.listener.original_src.v3alpha"; | ||
|
||
import "validate/validate.proto"; | ||
|
||
// [#protodoc-title: Original Src Filter] | ||
// Use the Original source address on upstream connections. | ||
|
||
// The Original Src filter binds upstream connections to the original source address determined | ||
// for the connection. This address could come from something like the Proxy Protocol filter, or it | ||
// could come from trusted http headers. | ||
message OriginalSrc { | ||
|
||
// Whether to bind the port to the one used in the original downstream connection. | ||
// [#not-implemented-warn:] | ||
bool bind_port = 1; | ||
|
||
// Sets the SO_MARK option on the upstream connection's socket to the provided value. Used to | ||
// ensure that non-local addresses may be routed back through envoy when binding to the original | ||
// source address. The option will not be applied if the mark is 0. | ||
// [#proto-status: experimental] | ||
uint32 mark = 2; | ||
} |
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,26 @@ | ||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package( | ||
deps = [ | ||
"//envoy/api/v3alpha/core", | ||
"//envoy/api/v3alpha/route:pkg", | ||
"//envoy/type", | ||
"//envoy/type/matcher", | ||
], | ||
) | ||
|
||
api_proto_library_internal( | ||
name = "dubbo_proxy", | ||
srcs = [ | ||
"dubbo_proxy.proto", | ||
"route.proto", | ||
], | ||
deps = [ | ||
"//envoy/api/v3alpha/core:base", | ||
"//envoy/api/v3alpha/route", | ||
"//envoy/type:range", | ||
"//envoy/type/matcher:string", | ||
], | ||
) |
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 @@ | ||
Protocol buffer definitions for the Dubbo proxy. |
60 changes: 60 additions & 0 deletions
60
api/envoy/config/filter/network/dubbo_proxy/v3alpha/dubbo_proxy.proto
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,60 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.filter.network.dubbo_proxy.v3alpha; | ||
|
||
option java_outer_classname = "DubboProxyProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.config.filter.network.dubbo_proxy.v3alpha"; | ||
|
||
import "envoy/config/filter/network/dubbo_proxy/v3alpha/route.proto"; | ||
|
||
import "google/protobuf/any.proto"; | ||
|
||
import "validate/validate.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
// [#protodoc-title: Dubbo Proxy] | ||
// Dubbo Proxy :ref:`configuration overview <config_network_filters_dubbo_proxy>`. | ||
|
||
// [#comment:next free field: 6] | ||
message DubboProxy { | ||
// The human readable prefix to use when emitting statistics. | ||
string stat_prefix = 1 [(validate.rules).string.min_bytes = 1]; | ||
|
||
// Configure the protocol used. | ||
ProtocolType protocol_type = 2 [(validate.rules).enum.defined_only = true]; | ||
|
||
// Configure the serialization protocol used. | ||
SerializationType serialization_type = 3 [(validate.rules).enum.defined_only = true]; | ||
|
||
// The route table for the connection manager is static and is specified in this property. | ||
repeated RouteConfiguration route_config = 4; | ||
|
||
// A list of individual Dubbo filters that make up the filter chain for requests made to the | ||
// Dubbo proxy. Order matters as the filters are processed sequentially. For backwards | ||
// compatibility, if no dubbo_filters are specified, a default Dubbo router filter | ||
// (`envoy.filters.dubbo.router`) is used. | ||
repeated DubboFilter dubbo_filters = 5; | ||
} | ||
|
||
// Dubbo Protocol types supported by Envoy. | ||
enum ProtocolType { | ||
Dubbo = 0; // the default protocol. | ||
} | ||
|
||
// Dubbo Serialization types supported by Envoy. | ||
enum SerializationType { | ||
Hessian2 = 0; // the default serialization protocol. | ||
} | ||
|
||
// DubboFilter configures a Dubbo filter. | ||
// [#comment:next free field: 3] | ||
message DubboFilter { | ||
// The name of the filter to instantiate. The name must match a supported | ||
// filter. | ||
string name = 1 [(validate.rules).string.min_bytes = 1]; | ||
|
||
// Filter specific configuration which depends on the filter being | ||
// instantiated. See the supported filters for further documentation. | ||
google.protobuf.Any config = 2; | ||
} |
Oops, something went wrong.