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 ¶
- func CreateFilterPlugin(name string, bs []byte) (types.FilterPlugin, error)
- func CreateInputPlugin(name string, bs []byte) (types.InputPlugin, error)
- func CreateOutputPlugin(name string, bs []byte) (types.OutputPlugin, error)
- func RegisterFilterPlugin(name string, setupFunc FilterPluginSetupFunc) error
- func RegisterInputPlugin(name string, setupFunc InputPluginSetupFunc) error
- func RegisterOutputPlugin(name string, setupFunc OutputPluginSetupFunc) error
- type FilterPluginSetupFunc
- type InputPluginSetupFunc
- type OutputPluginSetupFunc
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)
Click to show internal directories.
Click to hide internal directories.