udp: add router for UDP proxy (#18791)
Signed-off-by: Xie Zhihao <zhihao.xie@intel.com> Mirrored from https://github.com/envoyproxy/envoy @ 90a1d4b76a221d347b8b534ec7c84971e3a48422pull/626/head
parent
5bf3cf964c
commit
4d66fafcf2
3 changed files with 40 additions and 2 deletions
@ -0,0 +1,20 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.filters.udp.udp_proxy.v3; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
import "validate/validate.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.filters.udp.udp_proxy.v3"; |
||||||
|
option java_outer_classname = "RouteProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/udp/udp_proxy/v3;udp_proxyv3"; |
||||||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||||
|
|
||||||
|
// [#protodoc-title: UDP proxy route configuration] |
||||||
|
// UDP proxy :ref:`configuration overview <config_udp_listener_filters_udp_proxy>`. |
||||||
|
|
||||||
|
message Route { |
||||||
|
// Indicates the upstream cluster to which the request should be routed. |
||||||
|
string cluster = 1 [(validate.rules).string = {min_len: 1}]; |
||||||
|
} |
Loading…
Reference in new issue