Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginManager ¶
type PluginManager struct {
// contains filtered or unexported fields
}
PluginManager holds the context of all loaded plugins
func NewPluginManger ¶
func NewPluginManger(paths []string) (*PluginManager, error)
NewPluginManger tries to load all plugin referenced in `paths` and returns a context that allows fetching reports from them
func (*PluginManager) GetReports ¶
func (pm *PluginManager) GetReports(log *logrus.Logger) map[string]string
GetReports rounds up all the reports from the loaded plugins
Click to show internal directories.
Click to hide internal directories.