lds

package
v0.0.0-...-4b75dde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 55 Imported by: 0

Documentation

Overview

Package lds implements Envoy's Listener Discovery Service (LDS).

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL