udp_proxy: upgrade to not alpha (#11339)
This extension is used in production and we should treat it as such. Signed-off-by: Matt Klein <mklein@lyft.com> Mirrored from https://github.com/envoyproxy/envoy @ 86caf439d6cae2c8173b19fd4fdc95361565a72dmaster-ci-test
parent
baebf960e7
commit
94acd2707d
5 changed files with 57 additions and 3 deletions
@ -0,0 +1,12 @@ |
||||
# DO NOT EDIT. This file is generated by tools/proto_sync.py. |
||||
|
||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||
|
||||
licenses(["notice"]) # Apache 2 |
||||
|
||||
api_proto_package( |
||||
deps = [ |
||||
"//envoy/config/filter/udp/udp_proxy/v2alpha:pkg", |
||||
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||
], |
||||
) |
@ -0,0 +1,38 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.extensions.filters.udp.udp_proxy.v3; |
||||
|
||||
import "google/protobuf/duration.proto"; |
||||
|
||||
import "udpa/annotations/status.proto"; |
||||
import "udpa/annotations/versioning.proto"; |
||||
import "validate/validate.proto"; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.extensions.filters.udp.udp_proxy.v3"; |
||||
option java_outer_classname = "UdpProxyProto"; |
||||
option java_multiple_files = true; |
||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||
|
||||
// [#protodoc-title: UDP proxy] |
||||
// UDP proxy :ref:`configuration overview <config_udp_listener_filters_udp_proxy>`. |
||||
// [#extension: envoy.filters.udp_listener.udp_proxy] |
||||
|
||||
// Configuration for the UDP proxy filter. |
||||
message UdpProxyConfig { |
||||
option (udpa.annotations.versioning).previous_message_type = |
||||
"envoy.config.filter.udp.udp_proxy.v2alpha.UdpProxyConfig"; |
||||
|
||||
// The stat prefix used when emitting UDP proxy filter stats. |
||||
string stat_prefix = 1 [(validate.rules).string = {min_bytes: 1}]; |
||||
|
||||
oneof route_specifier { |
||||
option (validate.required) = true; |
||||
|
||||
// The upstream cluster to connect to. |
||||
string cluster = 2 [(validate.rules).string = {min_bytes: 1}]; |
||||
} |
||||
|
||||
// The idle timeout for sessions. Idle is defined as no datagrams between received or sent by |
||||
// the session. The default if not specified is 1 minute. |
||||
google.protobuf.Duration idle_timeout = 3; |
||||
} |
Loading…
Reference in new issue