registry

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPlugins

func BuildPlugins(
	queries gwquery.GatewayQueries,
	client client.Client,
	routeOptionClient gatewayv1.RouteOptionClient,
	vhostOptionClient gatewayv1.VirtualHostOptionClient,
	statusReporter reporter.StatusReporter,
) []plugins.Plugin

BuildPlugins returns the full set of plugins to be registered. New plugins should be added to this list (and only this list). If modification of this list is needed for testing etc, we can add a new registry constructor that accepts this function

Types

type PluginRegistry

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

PluginRegistry is used to provide Plugins to the K8s Gateway translator. These plugins either operate during the conversion of K8s Gateway resources into a Gloo Proxy resource, or during the post-processing of that conversion.

func NewPluginRegistry

func NewPluginRegistry(allPlugins []plugins.Plugin) PluginRegistry

func (*PluginRegistry) GetListenerPlugins

func (p *PluginRegistry) GetListenerPlugins() []plugins.ListenerPlugin

func (*PluginRegistry) GetPostTranslationPlugins

func (p *PluginRegistry) GetPostTranslationPlugins() []plugins.PostTranslationPlugin

func (*PluginRegistry) GetRoutePlugins

func (p *PluginRegistry) GetRoutePlugins() []plugins.RoutePlugin

func (*PluginRegistry) GetStatusPlugins

func (p *PluginRegistry) GetStatusPlugins() []plugins.StatusPlugin

Jump to

Keyboard shortcuts

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