Documentation ¶
Index ¶
- func BuildPlugins(queries gwquery.GatewayQueries, client client.Client, ...) []plugins.Plugin
- type PluginRegistry
- func (p *PluginRegistry) GetBackendPlugins() []plugins.BackendPlugin
- func (p *PluginRegistry) GetListenerPlugins() []plugins.ListenerPlugin
- func (p *PluginRegistry) GetPostTranslationPlugins() []plugins.PostTranslationPlugin
- func (p *PluginRegistry) GetRoutePlugins() []plugins.RoutePlugin
- func (p *PluginRegistry) GetStatusPlugins() []plugins.StatusPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPlugins ¶
func BuildPlugins( queries gwquery.GatewayQueries, client client.Client, routeOptionCollection krt.Collection[*gatewaykubev1.RouteOption], virtualHostOptionCollection krt.Collection[*gatewaykubev1.VirtualHostOption], 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) GetBackendPlugins ¶
func (p *PluginRegistry) GetBackendPlugins() []plugins.BackendPlugin
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
Click to show internal directories.
Click to hide internal directories.