Documentation ¶
Overview ¶
Package registry is responsible for managing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPluginRegistryFactory ¶ added in v1.9.25
func GetPluginRegistryFactory(opts PluginOpts) plugins.PluginRegistryFactory
func NewPluginRegistry ¶ added in v1.9.25
NewPluginRegistry creates a plugin registry and places all registered plugins into their appropriate plugin lists. This process is referred to as registering the plugins.
func Plugins ¶
func Plugins(opts PluginOpts) []plugins.Plugin
Types ¶
type PluginOpts ¶
type PluginOpts struct { Ctx context.Context Secrets factory.ResourceClientFactory SidecarOnGatewayEnabled bool Consul bootstrap.Consul // If plugins do NOT run in GGv2/KRT (i.e. in legacy edge), then we will this kube cache set. KubeClient k8skube.Interface KubeCoreCache corecache.KubeCoreCache // If plugins run in GGv2/KRT, then we will have these collections. // it is currently used for the k8s plugin. in the future plugins may own their own collections. SvcCollection krt.Collection[*corev1.Service] }
func FromBootstrap ¶
func FromBootstrap(opts bootstrap.Opts) PluginOpts
Click to show internal directories.
Click to hide internal directories.