Documentation
¶
Index ¶
- Variables
- func ParseApkInstalled(pathToLockfile string) ([]lockfile.PackageDetails, error)
- func ParseDpkgStatus(pathToLockfile string) ([]lockfile.PackageDetails, error)
- type ApkInstalledExtractor
- func (e ApkInstalledExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
- func (e ApkInstalledExtractor) IsOfficiallySupported() bool
- func (e ApkInstalledExtractor) PackageManager() models.PackageManager
- func (e ApkInstalledExtractor) ShouldExtract(path string) bool
- type DpkgStatusExtractor
- func (e DpkgStatusExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
- func (e DpkgStatusExtractor) IsOfficiallySupported() bool
- func (e DpkgStatusExtractor) PackageManager() models.PackageManager
- func (e DpkgStatusExtractor) ShouldExtract(path string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ApkExtractor = ApkInstalledExtractor{}
View Source
var DpkgExtractor = DpkgStatusExtractor{}
Functions ¶
func ParseApkInstalled ¶
func ParseApkInstalled(pathToLockfile string) ([]lockfile.PackageDetails, error)
func ParseDpkgStatus ¶
func ParseDpkgStatus(pathToLockfile string) ([]lockfile.PackageDetails, error)
Types ¶
type ApkInstalledExtractor ¶
type ApkInstalledExtractor struct{}
func (ApkInstalledExtractor) Extract ¶
func (e ApkInstalledExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
func (ApkInstalledExtractor) IsOfficiallySupported ¶
func (e ApkInstalledExtractor) IsOfficiallySupported() bool
func (ApkInstalledExtractor) PackageManager ¶
func (e ApkInstalledExtractor) PackageManager() models.PackageManager
func (ApkInstalledExtractor) ShouldExtract ¶
func (e ApkInstalledExtractor) ShouldExtract(path string) bool
type DpkgStatusExtractor ¶
type DpkgStatusExtractor struct{}
func (DpkgStatusExtractor) Extract ¶
func (e DpkgStatusExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
func (DpkgStatusExtractor) IsOfficiallySupported ¶
func (e DpkgStatusExtractor) IsOfficiallySupported() bool
func (DpkgStatusExtractor) PackageManager ¶
func (e DpkgStatusExtractor) PackageManager() models.PackageManager
func (DpkgStatusExtractor) ShouldExtract ¶
func (e DpkgStatusExtractor) ShouldExtract(path string) bool
Click to show internal directories.
Click to hide internal directories.