registry

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPlugin

func RegisterPlugin(pluginType PluginType, name string, v Plugin)

Types

type Plugin

type Plugin interface {
	Configure(pipelineName string, data map[string]interface{}) error
}

func GetPlugin

func GetPlugin(pluginType PluginType, name string) (Plugin, error)

type PluginType

type PluginType string
const (
	InputPlugin         PluginType = "input"
	InputPositionPlugin PluginType = "inputPosition"
	InputSchemaPlugin   PluginType = "inputSchema"
	OutputPlugin        PluginType = "output"
	OutputRulePlugin    PluginType = "outputRule"
)

Jump to

Keyboard shortcuts

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