Documentation ¶
Overview ¶
Package packages defines PackagesDetector for several sources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DpkgPackagesDetector ¶
type DpkgPackagesDetector struct{}
DpkgPackagesDetector implements PackagesDetector and detects dpkg packages
func (*DpkgPackagesDetector) Detect ¶
Detect detects packages using var/lib/dpkg/status from the input data
func (*DpkgPackagesDetector) GetRequiredFiles ¶
func (detector *DpkgPackagesDetector) GetRequiredFiles() []string
GetRequiredFiles returns the list of files required for Detect, without leading /
type RpmPackagesDetector ¶
type RpmPackagesDetector struct{}
RpmPackagesDetector implements PackagesDetector and detects rpm packages It requires the "rpm" binary to be in the PATH
func (*RpmPackagesDetector) Detect ¶
Detect detects packages using var/lib/rpm/Packages from the input data
func (*RpmPackagesDetector) GetRequiredFiles ¶
func (detector *RpmPackagesDetector) GetRequiredFiles() []string
GetRequiredFiles returns the list of files required for Detect, without leading /
Click to show internal directories.
Click to hide internal directories.