package
2.1.4-stackrox+incompatible
Repository: https://github.com/stackrox/scanner.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 iterators through all registered Detectors and returns the first non-nil detected namespace.
RegisterDetector makes a detector available by the provided name.
RequiredFilenames returns the total list of files required for all registered Detectors.
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.