Documentation
¶
Index ¶
- Constants
- Variables
- func AddSourceConfKey(pluginName, confKey, language string, content []byte) error
- func AddSourceConfKeyField(pluginName, confKey, language string, content []byte) error
- func DelSourceConfKey(pluginName, confKey, language string) error
- func DelSourceConfKeyField(pluginName, confKey, language string, content []byte) error
- func GetFunction(t string) (api.Function, error)
- func GetFunctions() (ret []*uiFuncs)
- func GetSink(t string) (api.Sink, error)
- func GetSinkMeta(pluginName, language string, rule *api.Rule) (ptrSinkProperty *uiSinks, err error)
- func GetSinks() (sinks []*pluginfo)
- func GetSource(t string) (api.Source, error)
- func GetSourceConf(pluginName, language string) (b []byte, err error)
- func GetSourceConfKeys(pluginName string) (keys []string)
- func GetSourceMeta(pluginName, language string) (ptrSourceProperty *uiSource, err error)
- func GetSources() (sources []*pluginfo)
- type Manager
- type Plugin
- type PluginType
- type Registry
Constants ¶
View Source
const DELETED = "$deleted"
Variables ¶
View Source
var (
PluginTypes = []string{"sources", "sinks", "functions"}
)
Functions ¶
func AddSourceConfKey ¶
func AddSourceConfKeyField ¶
func DelSourceConfKey ¶
func DelSourceConfKeyField ¶
func GetFunctions ¶
func GetFunctions() (ret []*uiFuncs)
func GetSinkMeta ¶
func GetSourceConf ¶
func GetSourceConfKeys ¶
func GetSourceMeta ¶
func GetSources ¶
func GetSources() (sources []*pluginfo)
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewPluginManager ¶
Click to show internal directories.
Click to hide internal directories.