listener

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHostname = "*"
View Source
const NormalizedHTTPSTLSType = "HTTPS/TLS"

Variables

This section is empty.

Functions

func TranslateListeners

func TranslateListeners(
	ctx context.Context,
	queries query.GatewayQueries,
	pluginRegistry registry.PluginRegistry,
	gateway *gwv1.Gateway,
	routesForGw *query.RoutesForGwResult,
	reporter reports.Reporter,
) []*v1.Listener

TranslateListeners translates the set of gloo listeners required to produce a full output proxy (either form one Gateway or multiple merged Gateways)

Types

type MergedListener added in v1.18.0

type MergedListener struct {
	TcpFilterChains []tcpFilterChain
	// contains filtered or unexported fields
}

func (*MergedListener) TranslateListener added in v1.18.0

func (ml *MergedListener) TranslateListener(
	ctx context.Context,
	pluginRegistry registry.PluginRegistry,
	queries query.GatewayQueries,
	reporter reports.Reporter,
) *v1.Listener

type MergedListeners added in v1.18.0

type MergedListeners struct {
	GatewayNamespace string

	Listeners []*MergedListener
	Queries   query.GatewayQueries
	// contains filtered or unexported fields
}

func (*MergedListeners) AppendListener added in v1.18.0

func (ml *MergedListeners) AppendListener(
	listener gwv1.Listener,
	routes []*query.RouteInfo,
	reporter reports.ListenerReporter,
) error

func (*MergedListeners) AppendTcpListener added in v1.18.0

func (ml *MergedListeners) AppendTcpListener(
	listener gwv1.Listener,
	routeInfos []*query.RouteInfo,
	reporter reports.ListenerReporter,
)

Jump to

Keyboard shortcuts

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