coreimport

package
v0.5.23 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 16 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSinkConfigHook added in v0.3.0

func AddSinkConfigHook(hook PluginConfigStringHook)

func AddSourceConfigHook added in v0.3.0

func AddSourceConfigHook(hook PluginConfigStringHook)

func GetFs added in v0.3.1

func GetFs() afero.Fs

getter for fs to avoid afero dependency in custom guns

func Import

func Import(fs afero.Fs)

func RegisterCustomJSONProvider added in v0.3.0

func RegisterCustomJSONProvider(name string, newAmmo func() core.Ammo)

Types

type PluginConfigStringHook added in v0.3.0

type PluginConfigStringHook func(str string) (ok bool, pluginType string, conf map[string]interface{})

Jump to

Keyboard shortcuts

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