registry

package
v2.0.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

* Copyright (c) 2022 Manabu Sonoda * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFilterPlugin

func CreateFilterPlugin(name string, bs []byte) (types.FilterPlugin, error)

func CreateInputPlugin

func CreateInputPlugin(name string, bs []byte) (types.InputPlugin, error)

func CreateOutputPlugin

func CreateOutputPlugin(name string, bs []byte) (types.OutputPlugin, error)

func RegisterFilterPlugin

func RegisterFilterPlugin(name string, setupFunc FilterPluginSetupFunc) error

func RegisterInputPlugin

func RegisterInputPlugin(name string, setupFunc InputPluginSetupFunc) error

func RegisterOutputPlugin

func RegisterOutputPlugin(name string, setupFunc OutputPluginSetupFunc) error

Types

type FilterPluginSetupFunc

type FilterPluginSetupFunc func(json.RawMessage) (types.FilterPlugin, error)

type InputPluginSetupFunc

type InputPluginSetupFunc func(json.RawMessage) (types.InputPlugin, error)

type OutputPluginSetupFunc

type OutputPluginSetupFunc func(json.RawMessage) (types.OutputPlugin, error)

Jump to

Keyboard shortcuts

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