manager

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LocalPluginName = "local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginManager

type PluginManager struct {
	// contains filtered or unexported fields
}

PluginManager provides an interface for loading and managing `DataSource` plugins based on configuration.

func NewManager

func NewManager(configLoader config.Loader) *PluginManager

func (*PluginManager) GetDataSource

func (pm *PluginManager) GetDataSource() (cofidectl_plugin.DataSource, error)

func (*PluginManager) Init

Init initialises the configuration for the specified data source plugin.

func (*PluginManager) Shutdown

func (pm *PluginManager) Shutdown()

Jump to

Keyboard shortcuts

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