Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Explicitly extractors KernelExtractor = "kernel" SystemExtractor = "system" LibraryExtractor = "library" NFDExtractor = "nfd" // Explicitly creators ClusterCreator = "cluster" ArtifactCreator = "artifact" )
Add new plugin names here. They should correspond with the package name, then NewPlugin()
Functions ¶
This section is empty.
Types ¶
type PluginRequest ¶
type PluginRequest struct { Name string Sections []string Plugin pg.PluginInterface }
A plugin request has a Name and sections
type PluginsRequest ¶
type PluginsRequest []PluginRequest
func GetPlugins ¶
func GetPlugins(names []string) (PluginsRequest, error)
Get plugins parses a request and returns a list of extractor plugins We honor the order that the plugins and sections are provided in
func (*PluginsRequest) Extract ¶
func (r *PluginsRequest) Extract(allowFail bool) (pg.Result, error)
Do the extraction for a plugin request, meaning across a set of plugins
func (*PluginsRequest) List ¶
func (r *PluginsRequest) List() error
List plugins available, print in a pretty table!
Click to show internal directories.
Click to hide internal directories.