lookup

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPluginNotFound = errors.New("plugin not found")

Functions

func GetPlugin

func GetPlugin(pluginType string) (plugins.Plugin, error)

GetPlugin goes from a generic config.Plugin and looks up its specific PluginImpl based on the Type field.

func SupportedPluginNames

func SupportedPluginNames() (names []string)

SupportedPluginNames returns a list of the names of all of the supported plugins

Types

type PluginImplConstructor

type PluginImplConstructor func() plugins.Plugin

Jump to

Keyboard shortcuts

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