Home

envoy.config.listener.v3.Listener

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.config.listener.v3.Listener
.withAccessLog([ types.envoy.config.accesslog.v3.AccessLog ])
.withAdditionalAddresses([ types.envoy.config.listener.v3.AdditionalAddress ])
.withAddress(types.envoy.config.core.v3.Address)
.withApiListener(types.envoy.config.listener.v3.ApiListener)
.withBindToPort(false)
.withConnectionBalanceConfig(types.envoy.config.listener.v3.Listener.ConnectionBalanceConfig)
.withContinueOnListenerFiltersTimeout(false)
.withDefaultFilterChain(types.envoy.config.listener.v3.FilterChain)
.withDeprecatedV1(types.envoy.config.listener.v3.Listener.DeprecatedV1)
.withDrainType(types.envoy.config.listener.v3.Listener.DrainType.DEFAULT)
.withEnableMptcp(false)
.withEnableReusePort(false)
.withFilterChainMatcher(types.xds.type.matcher.v3.Matcher)
.withFilterChains([ types.envoy.config.listener.v3.FilterChain ])
.withFreebind(false)
.withIgnoreGlobalConnLimit(false)
.withInternalListener(types.envoy.config.listener.v3.Listener.InternalListenerConfig)
.withListenerFilters([ types.envoy.config.listener.v3.ListenerFilter ])
.withListenerFiltersTimeout(types.google.protobuf.Duration)
.withMetadata(types.envoy.config.core.v3.Metadata)
.withName('string')
.withPerConnectionBufferLimitBytes(1)
.withReusePort(false)
.withSocketOptions([ types.envoy.config.core.v3.SocketOption ])
.withStatPrefix('string')
.withTcpBacklogSize(1)
.withTcpFastOpenQueueLength(1)
.withTrafficDirection(types.envoy.config.core.v3.TrafficDirection.UNSPECIFIED)
.withTransparent(false)
.withUdpListenerConfig(types.envoy.config.listener.v3.UdpListenerConfig)
.withUseOriginalDst(false)
._validate()

Nested Enums

Nested Messages

Fields

Name Type One-of group Required Constraints
access_log [] envoy.config.accesslog.v3.AccessLog  
additional_addresses [] envoy.config.listener.v3.AdditionalAddress  
address envoy.config.core.v3.Address  
api_listener envoy.config.listener.v3.ApiListener  
bind_to_port google.protobuf.BoolValue  
connection_balance_config envoy.config.listener.v3.Listener.ConnectionBalanceConfig  
continue_on_listener_filters_timeout bool  
default_filter_chain envoy.config.listener.v3.FilterChain  
deprecated_v1 envoy.config.listener.v3.Listener.DeprecatedV1  
drain_type envoy.config.listener.v3.Listener.DrainType  
enable_mptcp bool  
enable_reuse_port google.protobuf.BoolValue  
filter_chain_matcher xds.type.matcher.v3.Matcher  
filter_chains [] envoy.config.listener.v3.FilterChain  
freebind google.protobuf.BoolValue  
ignore_global_conn_limit bool  
internal_listener envoy.config.listener.v3.Listener.InternalListenerConfig listener_specifier  
listener_filters [] envoy.config.listener.v3.ListenerFilter  
listener_filters_timeout google.protobuf.Duration  
metadata envoy.config.core.v3.Metadata  
name string  
per_connection_buffer_limit_bytes google.protobuf.UInt32Value  
reuse_port bool  
socket_options [] envoy.config.core.v3.SocketOption  
stat_prefix string  
tcp_backlog_size google.protobuf.UInt32Value  
tcp_fast_open_queue_length google.protobuf.UInt32Value  
traffic_direction envoy.config.core.v3.TrafficDirection  
transparent google.protobuf.BoolValue  
udp_listener_config envoy.config.listener.v3.UdpListenerConfig  
use_original_dst google.protobuf.BoolValue