registry

package
v1.13.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 45 Imported by: 6

Documentation

Overview

Package registry is responsible for managing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPluginRegistry added in v1.9.25

func NewPluginRegistry(registeredPlugins []plugins.Plugin) *pluginRegistry

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 bootstrap.Opts) []plugins.Plugin

Types

type PluginRegistryFactory added in v1.12.0

type PluginRegistryFactory func(ctx context.Context, opts bootstrap.Opts) plugins.PluginRegistry

A PluginRegistryFactory generates a PluginRegistry It is executed each translation loop, ensuring we have up to date configuration of all plugins

func GetPluginRegistryFactory added in v1.9.25

func GetPluginRegistryFactory() PluginRegistryFactory

Jump to

Keyboard shortcuts

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