Documentation ¶
Overview ¶
Package kernel provides a concrete Cataloger implementation for linux kernel and module files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinuxKernelCataloger ¶
type LinuxKernelCataloger struct {
// contains filtered or unexported fields
}
func NewLinuxKernelCataloger ¶
func NewLinuxKernelCataloger(cfg LinuxKernelCatalogerConfig) *LinuxKernelCataloger
NewLinuxKernelCataloger returns a new kernel files cataloger object.
func (LinuxKernelCataloger) Catalog ¶
func (l LinuxKernelCataloger) Catalog(resolver file.Resolver) ([]pkg.Package, []artifact.Relationship, error)
func (LinuxKernelCataloger) Name ¶
func (l LinuxKernelCataloger) Name() string
type LinuxKernelCatalogerConfig ¶
type LinuxKernelCatalogerConfig struct {
CatalogModules bool `yaml:"catalog-modules" json:"catalog-modules" mapstructure:"catalog-modules"`
}
func DefaultLinuxCatalogerConfig ¶
func DefaultLinuxCatalogerConfig() LinuxKernelCatalogerConfig
Click to show internal directories.
Click to hide internal directories.