Documentation
¶
Overview ¶
Copyright (c) 2022 Kells Kearney. All rights reserved.
Use of this source code is governed by the MIT License that can be found in the LICENSE file.
Copyright (c) 2022 Kells Kearney. All rights reserved.
Use of this source code is governed by the MIT License that can be found in the LICENSE file.
Copyright (c) 2022 Kells Kearney. All rights reserved.
Use of this source code is governed by the MIT License that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionPlugin ¶
type ActionPlugin interface {
Configure(pluginLog *zerolog.Logger, actionArgs map[string]string) error
ProcessTrap(trap *pluginMeta.Trap) error
SigUsr1() error
SigUsr2() error
Close() error
}
Filter action plugin interface
func LoadActionPlugin ¶
func LoadActionPlugin(pluginPath string, plugin_name string) (ActionPlugin, error)
type GeneratorPlugin ¶
type GeneratorPlugin interface {
Configure(pluginLog *zerolog.Logger, actionArgs map[string]string) error
GenerateTrap() (*pluginMeta.Trap, error)
Close() error
}
func LoadGeneratorPlugin ¶
func LoadGeneratorPlugin(pluginPath string, pluginName string) (GeneratorPlugin, error)
type MetricPlugin ¶
type MetricPlugin interface {
Configure(pluginLog *zerolog.Logger, args map[string]string, metric_definitions []pluginMeta.MetricDef) error
Inc(int)
Report() (string, error)
}
func LoadMetricPlugin ¶
func LoadMetricPlugin(pluginPath string, pluginName string) (MetricPlugin, error)
Click to show internal directories.
Click to hide internal directories.