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

# Packages

Package alpinerelease implements a featurens.Detector for Alpine Linux based container image layers.
Package aptsources implements a featurens.Detector for apt based container image layers.
Package lsbrelease implements a featurens.Detector for container image layers containing an lsb-release file.
Package osrelease implements a featurens.Detector for container image layers containing an os-release file.
Package redhatrelease implements a featurens.Detector for container image layers containing an redhat-release-like files.

# Functions

Detect uses detectors specified to retrieve the detect result.
ListDetectors returns the info of all registered namespace detectors.
RegisterDetector makes a detector available by the provided name.
RequiredFilenames returns all file patterns that will be passed to the given extensions.
TestDetector runs a Detector on each provided instance of TestData and asserts the output to be equal to the expected output.

# Structs

TestData represents the data used to test an implementation of Detector.

# Interfaces

Detector represents an ability to detect a namespace used for organizing features present in an image layer.