pkg

package
v0.0.0-...-0dd4f80 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(path string, contents interface{}) error

CreateConfig File to be used.

func FindPlugins

func FindPlugins(path string) ([]string, error)

func LoadConfiguration

func LoadConfiguration(path string, name string) (interface{}, error)
LoadConfiguration from yaml formated file located at `path`
will load only the matching exporter or provider matching with `name`.
the configuration is expected to remain internal, accessible to the plugins.

* TODO: key encryption is not yet implemented.

func LoadPlugin

func LoadPlugin(path string) (interface{}, api.PluginType)

Types

This section is empty.

Jump to

Keyboard shortcuts

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