Documentation ¶
Overview ¶
Package lds implements Envoy's Listener Discovery Service (LDS).
Index ¶
- Constants
- func BuildAccessLogs(name string, telemetryConfig models.TelemetryConfig) ([]*xds_accesslog.AccessLog, error)
- func BuildPrometheusListener(accessLogs []*xds_accesslog.AccessLog) (*xds_listener.Listener, error)
- func HTTPConnManagerBuilder() *httpConnManagerBuilder
- func ListenerBuilder() *listenerBuilder
- func NewAccessLogBuilder() *accessLogBuilder
- func TCPProxyBuilder() *tcpProxyBuilder
Constants ¶
View Source
const ( // InboundListenerName is the name of the listener used for inbound traffic InboundListenerName = "inbound-listener" // OutboundListenerName is the name of the listener used for outbound traffic OutboundListenerName = "outbound-listener" // PrometheusListenerName is the name of the listener filter for prometheus. PrometheusListenerName = "inbound-prometheus-listener" // OutboundEgressFilterChainName is the name of the outbound egress filter chain. OutboundEgressFilterChainName = "outbound-egress-filter-chain" )
Variables ¶
This section is empty.
Functions ¶
func BuildAccessLogs ¶
func BuildAccessLogs(name string, telemetryConfig models.TelemetryConfig) ([]*xds_accesslog.AccessLog, error)
BuildAccessLogs builds the access log config from the given telemetry config
func BuildPrometheusListener ¶
func BuildPrometheusListener(accessLogs []*xds_accesslog.AccessLog) (*xds_listener.Listener, error)
BuildPrometheusListener builds the envoy configuration for the Prometheus listener.
func HTTPConnManagerBuilder ¶
func HTTPConnManagerBuilder() *httpConnManagerBuilder
HTTPConnManagerBuilder returns the HTTP Connection Manager builder instance
func ListenerBuilder ¶
func ListenerBuilder() *listenerBuilder
func NewAccessLogBuilder ¶
func NewAccessLogBuilder() *accessLogBuilder
NewAccessLogBuilder returns an accessLogBuilder instance used to build access log configuration
func TCPProxyBuilder ¶
func TCPProxyBuilder() *tcpProxyBuilder
TCPProxyBuilder returns a TCP proxy builder instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.