|
| 1 | +// Original file: deps/envoy-api/envoy/api/v2/listener.proto |
| 2 | + |
| 3 | +import { Address as _envoy_api_v2_core_Address, Address__Output as _envoy_api_v2_core_Address__Output } from '../../../envoy/api/v2/core/Address'; |
| 4 | +import { FilterChain as _envoy_api_v2_listener_FilterChain, FilterChain__Output as _envoy_api_v2_listener_FilterChain__Output } from '../../../envoy/api/v2/listener/FilterChain'; |
| 5 | +import { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from '../../../google/protobuf/BoolValue'; |
| 6 | +import { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from '../../../google/protobuf/UInt32Value'; |
| 7 | +import { Metadata as _envoy_api_v2_core_Metadata, Metadata__Output as _envoy_api_v2_core_Metadata__Output } from '../../../envoy/api/v2/core/Metadata'; |
| 8 | +import { ListenerFilter as _envoy_api_v2_listener_ListenerFilter, ListenerFilter__Output as _envoy_api_v2_listener_ListenerFilter__Output } from '../../../envoy/api/v2/listener/ListenerFilter'; |
| 9 | +import { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration'; |
| 10 | +import { SocketOption as _envoy_api_v2_core_SocketOption, SocketOption__Output as _envoy_api_v2_core_SocketOption__Output } from '../../../envoy/api/v2/core/SocketOption'; |
| 11 | +import { TrafficDirection as _envoy_api_v2_core_TrafficDirection } from '../../../envoy/api/v2/core/TrafficDirection'; |
| 12 | +import { UdpListenerConfig as _envoy_api_v2_listener_UdpListenerConfig, UdpListenerConfig__Output as _envoy_api_v2_listener_UdpListenerConfig__Output } from '../../../envoy/api/v2/listener/UdpListenerConfig'; |
| 13 | +import { ApiListener as _envoy_config_listener_v2_ApiListener, ApiListener__Output as _envoy_config_listener_v2_ApiListener__Output } from '../../../envoy/config/listener/v2/ApiListener'; |
| 14 | +import { AccessLog as _envoy_config_filter_accesslog_v2_AccessLog, AccessLog__Output as _envoy_config_filter_accesslog_v2_AccessLog__Output } from '../../../envoy/config/filter/accesslog/v2/AccessLog'; |
| 15 | + |
| 16 | +// Original file: deps/envoy-api/envoy/api/v2/listener.proto |
| 17 | + |
| 18 | +export enum _envoy_api_v2_Listener_DrainType { |
| 19 | + DEFAULT = 0, |
| 20 | + MODIFY_ONLY = 1, |
| 21 | +} |
| 22 | + |
| 23 | +export interface _envoy_api_v2_Listener_DeprecatedV1 { |
| 24 | + 'bind_to_port'?: (_google_protobuf_BoolValue); |
| 25 | +} |
| 26 | + |
| 27 | +export interface _envoy_api_v2_Listener_DeprecatedV1__Output { |
| 28 | + 'bind_to_port': (_google_protobuf_BoolValue__Output); |
| 29 | +} |
| 30 | + |
| 31 | +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig { |
| 32 | + 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance); |
| 33 | + 'balance_type'?: "exact_balance"; |
| 34 | +} |
| 35 | + |
| 36 | +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig__Output { |
| 37 | + 'exact_balance'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output); |
| 38 | + 'balance_type': "exact_balance"; |
| 39 | +} |
| 40 | + |
| 41 | +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance { |
| 42 | +} |
| 43 | + |
| 44 | +export interface _envoy_api_v2_Listener_ConnectionBalanceConfig_ExactBalance__Output { |
| 45 | +} |
| 46 | + |
| 47 | +export interface Listener { |
| 48 | + 'name'?: (string); |
| 49 | + 'address'?: (_envoy_api_v2_core_Address); |
| 50 | + 'filter_chains'?: (_envoy_api_v2_listener_FilterChain)[]; |
| 51 | + 'use_original_dst'?: (_google_protobuf_BoolValue); |
| 52 | + 'per_connection_buffer_limit_bytes'?: (_google_protobuf_UInt32Value); |
| 53 | + 'metadata'?: (_envoy_api_v2_core_Metadata); |
| 54 | + 'deprecated_v1'?: (_envoy_api_v2_Listener_DeprecatedV1); |
| 55 | + 'drain_type'?: (_envoy_api_v2_Listener_DrainType | keyof typeof _envoy_api_v2_Listener_DrainType); |
| 56 | + 'listener_filters'?: (_envoy_api_v2_listener_ListenerFilter)[]; |
| 57 | + 'listener_filters_timeout'?: (_google_protobuf_Duration); |
| 58 | + 'continue_on_listener_filters_timeout'?: (boolean); |
| 59 | + 'transparent'?: (_google_protobuf_BoolValue); |
| 60 | + 'freebind'?: (_google_protobuf_BoolValue); |
| 61 | + 'socket_options'?: (_envoy_api_v2_core_SocketOption)[]; |
| 62 | + 'tcp_fast_open_queue_length'?: (_google_protobuf_UInt32Value); |
| 63 | + 'traffic_direction'?: (_envoy_api_v2_core_TrafficDirection | keyof typeof _envoy_api_v2_core_TrafficDirection); |
| 64 | + 'udp_listener_config'?: (_envoy_api_v2_listener_UdpListenerConfig); |
| 65 | + 'api_listener'?: (_envoy_config_listener_v2_ApiListener); |
| 66 | + 'connection_balance_config'?: (_envoy_api_v2_Listener_ConnectionBalanceConfig); |
| 67 | + 'reuse_port'?: (boolean); |
| 68 | + 'access_log'?: (_envoy_config_filter_accesslog_v2_AccessLog)[]; |
| 69 | +} |
| 70 | + |
| 71 | +export interface Listener__Output { |
| 72 | + 'name': (string); |
| 73 | + 'address': (_envoy_api_v2_core_Address__Output); |
| 74 | + 'filter_chains': (_envoy_api_v2_listener_FilterChain__Output)[]; |
| 75 | + 'use_original_dst': (_google_protobuf_BoolValue__Output); |
| 76 | + 'per_connection_buffer_limit_bytes': (_google_protobuf_UInt32Value__Output); |
| 77 | + 'metadata': (_envoy_api_v2_core_Metadata__Output); |
| 78 | + 'deprecated_v1': (_envoy_api_v2_Listener_DeprecatedV1__Output); |
| 79 | + 'drain_type': (keyof typeof _envoy_api_v2_Listener_DrainType); |
| 80 | + 'listener_filters': (_envoy_api_v2_listener_ListenerFilter__Output)[]; |
| 81 | + 'listener_filters_timeout': (_google_protobuf_Duration__Output); |
| 82 | + 'continue_on_listener_filters_timeout': (boolean); |
| 83 | + 'transparent': (_google_protobuf_BoolValue__Output); |
| 84 | + 'freebind': (_google_protobuf_BoolValue__Output); |
| 85 | + 'socket_options': (_envoy_api_v2_core_SocketOption__Output)[]; |
| 86 | + 'tcp_fast_open_queue_length': (_google_protobuf_UInt32Value__Output); |
| 87 | + 'traffic_direction': (keyof typeof _envoy_api_v2_core_TrafficDirection); |
| 88 | + 'udp_listener_config': (_envoy_api_v2_listener_UdpListenerConfig__Output); |
| 89 | + 'api_listener': (_envoy_config_listener_v2_ApiListener__Output); |
| 90 | + 'connection_balance_config': (_envoy_api_v2_Listener_ConnectionBalanceConfig__Output); |
| 91 | + 'reuse_port': (boolean); |
| 92 | + 'access_log': (_envoy_config_filter_accesslog_v2_AccessLog__Output)[]; |
| 93 | +} |
0 commit comments