package
3.0.0-pre1
Repository: https://github.com/quay/clair.git
Documentation: pkg.go.dev

# Packages

Package apk implements a featurefmt.Lister for APK packages.
Package dpkg implements a featurefmt.Lister for dpkg packages.
Package rpm implements a featurefmt.Lister for rpm packages.

# Functions

ListFeatures produces the list of Features in an image layer using every registered Lister.
ListListers returns the names of all the registered feature listers.
LoadFileForTest can be used in order to obtain the []byte contents of a file that is meant to be used for test data.
RegisterLister makes a Lister available by the provided name.
RequiredFilenames returns all file patterns that will be passed to the given extensions.
RunTest runs a featurefmt test by loading the package info database files and the expected packages.

# Structs

TestCase is used by the RunTest function to execute.

# Interfaces

Lister represents an ability to list the features present in an image layer.