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 ¶
func (pm *PluginManager) Init(dsName string) (cofidectl_plugin.DataSource, error)
Init initialises the configuration for the specified data source plugin.
func (*PluginManager) Shutdown ¶
func (pm *PluginManager) Shutdown()
Click to show internal directories.
Click to hide internal directories.