-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
udp_proxy.proto
32 lines (23 loc) · 1.04 KB
/
udp_proxy.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
syntax = "proto3";
package envoy.config.filter.udp.udp_proxy.v2alpha;
import "google/protobuf/duration.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.config.filter.udp.udp_proxy.v2alpha";
option java_outer_classname = "UdpProxyProto";
option java_multiple_files = true;
// [#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 {
// 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;
}