|
|
|
@ -21,12 +21,10 @@ import "validate/validate.proto"; |
|
|
|
|
// consist of a complete update of all listeners. Existing connections will be |
|
|
|
|
// allowed to drain from listeners that are no longer present. |
|
|
|
|
service ListenerDiscoveryService { |
|
|
|
|
rpc StreamListeners(stream DiscoveryRequest) |
|
|
|
|
returns (stream DiscoveryResponse) { |
|
|
|
|
rpc StreamListeners(stream DiscoveryRequest) returns (stream DiscoveryResponse) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
rpc FetchListeners(DiscoveryRequest) |
|
|
|
|
returns (DiscoveryResponse) { |
|
|
|
|
rpc FetchListeners(DiscoveryRequest) returns (DiscoveryResponse) { |
|
|
|
|
option (google.api.http) = { |
|
|
|
|
post: "/v2/discovery:listeners" |
|
|
|
|
body: "*" |
|
|
|
@ -137,8 +135,9 @@ message Listener { |
|
|
|
|
// The unique name by which this listener is known. If no name is provided, |
|
|
|
|
// Envoy will allocate an internal UUID for the listener. If the listener is to be dynamically |
|
|
|
|
// updated or removed via :ref:`LDS <config_listeners_lds>` a unique name must be provided. |
|
|
|
|
// By default, the maximum length of a listener's name is limited to 60 characters. This limit can be |
|
|
|
|
// increased by setting the :option:`--max-obj-name-len` command line argument to the desired value. |
|
|
|
|
// By default, the maximum length of a listener's name is limited to 60 characters. This limit can |
|
|
|
|
// be increased by setting the :option:`--max-obj-name-len` command line argument to the desired |
|
|
|
|
// value. |
|
|
|
|
string name = 1; |
|
|
|
|
|
|
|
|
|
// The address that the listener should listen on. In general, the address must be unique, though |
|
|
|
@ -156,16 +155,16 @@ message Listener { |
|
|
|
|
// configured. See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more |
|
|
|
|
// information. When multiple filter chains are configured, each filter chain must have an |
|
|
|
|
// **identical** set of :ref:`filters <envoy_api_field_FilterChain.filters>`. If the filters |
|
|
|
|
// differ, the configuration will fail to load. In the future, this limitation will be relaxed such that |
|
|
|
|
// different filters can be used depending on which filter chain matches (based on SNI or |
|
|
|
|
// some other parameter). |
|
|
|
|
// differ, the configuration will fail to load. In the future, this limitation will be relaxed |
|
|
|
|
// such that different filters can be used depending on which filter chain matches (based on SNI |
|
|
|
|
// or some other parameter). |
|
|
|
|
repeated FilterChain filter_chains = 3 [(validate.rules).repeated .min_items = 1]; |
|
|
|
|
|
|
|
|
|
// If a connection is redirected using *iptables*, the port on which the proxy |
|
|
|
|
// receives it might be different from the original destination address. When this flag is set to true, |
|
|
|
|
// the listener hands off redirected connections to the listener associated with the original |
|
|
|
|
// destination address. If there is no listener associated with the original destination address, the |
|
|
|
|
// connection is handled by the listener that receives it. Defaults to false. |
|
|
|
|
// receives it might be different from the original destination address. When this flag is set to |
|
|
|
|
// true, the listener hands off redirected connections to the listener associated with the |
|
|
|
|
// original destination address. If there is no listener associated with the original destination |
|
|
|
|
// address, the connection is handled by the listener that receives it. Defaults to false. |
|
|
|
|
google.protobuf.BoolValue use_original_dst = 4; |
|
|
|
|
|
|
|
|
|
// Soft limit on size of the listener’s new connection read and write buffers. |
|
|
|
|