Help us shape the future of Go! Take the 2026 Go Developer Survey

loading

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TranslationInputLoader

type TranslationInputLoader struct {
	// contains filtered or unexported fields
}

func NewTranslationInputLoader

func NewTranslationInputLoader(client helpers.ClientReader, logger *slog.Logger, controllerName string, config TranslationInputLoaderConfig) *TranslationInputLoader

func (*TranslationInputLoader) Load

func (*TranslationInputLoader) SetupIndexes

func (l *TranslationInputLoader) SetupIndexes(mgr ctrl.Manager) error

type TranslationInputLoaderConfig

type TranslationInputLoaderConfig struct {
	IncludeTCPRoutes      bool
	IncludeUDPRoutes      bool
	IncludeServiceImports bool
	IncludeListenerSets   bool
}

type TranslationInputs

type TranslationInputs struct {
	GatewayClass           gatewayv1.GatewayClass
	GatewayClassConfig     *ciliumv2alpha1.CiliumGatewayClassConfig
	MergedListeners        []ingestion.ListenerWithContext
	AttachedListenerSets   []gatewayv1.ListenerSet
	DisallowedListenerSets []gatewayv1.ListenerSet
	HTTPRoutes             []gatewayv1.HTTPRoute
	TLSRoutes              []gatewayv1.TLSRoute
	GRPCRoutes             []gatewayv1.GRPCRoute
	TCPRoutes              []gatewayv1.TCPRoute
	UDPRoutes              []gatewayv1.UDPRoute
	ReferenceGrants        []gatewayv1.ReferenceGrant
	Namespaces             []corev1.Namespace
	BackendTLSPolicies     []gatewayv1.BackendTLSPolicy
	Services               []corev1.Service
	ServiceImports         []mcsapiv1beta1.ServiceImport
}

func (*TranslationInputs) AttachedGRPCRoutes

func (r *TranslationInputs) AttachedGRPCRoutes(gw *gatewayv1.Gateway) []gatewayv1.GRPCRoute

func (*TranslationInputs) AttachedHTTPRoutes

func (r *TranslationInputs) AttachedHTTPRoutes(gw *gatewayv1.Gateway) []gatewayv1.HTTPRoute

func (*TranslationInputs) AttachedTCPRoutes

func (r *TranslationInputs) AttachedTCPRoutes(gw *gatewayv1.Gateway) []gatewayv1.TCPRoute

func (*TranslationInputs) AttachedTLSRoutes

func (r *TranslationInputs) AttachedTLSRoutes(gw *gatewayv1.Gateway) []gatewayv1.TLSRoute

func (*TranslationInputs) AttachedUDPRoutes

func (r *TranslationInputs) AttachedUDPRoutes(gw *gatewayv1.Gateway) []gatewayv1.UDPRoute

Jump to

Keyboard shortcuts

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