Documentation ¶
Overview ¶
Package rpm provides a concrete DBCataloger implementation for RPM "Package" DB files and a FileCataloger for RPM files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBCataloger ¶
type DBCataloger struct{}
func NewRpmdbCataloger ¶
func NewRpmdbCataloger() *DBCataloger
NewRpmdbCataloger returns a new RPM DB cataloger object.
func (*DBCataloger) Catalog ¶
func (c *DBCataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)
Catalog is given an object to resolve file references and content, this function returns any discovered Packages after analyzing rpm db installation.
func (*DBCataloger) Name ¶
func (c *DBCataloger) Name() string
Name returns a string that uniquely describes a cataloger
type FileCataloger ¶
type FileCataloger struct{}
func NewFileCataloger ¶
func NewFileCataloger() *FileCataloger
NewFileCataloger returns a new RPM file cataloger object.
func (*FileCataloger) Catalog ¶
func (c *FileCataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)
Catalog is given an object to resolve file references and content, this function returns any discovered Packages after analyzing rpm files
func (*FileCataloger) Name ¶
func (c *FileCataloger) Name() string
Name returns a string that uniquely describes a cataloger