dpkg

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DpkgFeaturesDetector

type DpkgFeaturesDetector struct{}

DpkgFeaturesDetector implements FeaturesDetector and detects dpkg packages

func (*DpkgFeaturesDetector) Detect

func (detector *DpkgFeaturesDetector) Detect(namespace string, files map[string]*detectors.FeatureFile, path string) ([]detectors.FeatureVersion, error)

Detect detects packages using var/lib/dpkg/status or var/lib/dpkg/status.d/* (distroless) from the input data

func (*DpkgFeaturesDetector) GetRequiredFiles

func (detector *DpkgFeaturesDetector) GetRequiredFiles() []string

GetRequiredFiles returns the list of files required for Detect, without leading /

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL