Documentation ¶
Overview ¶
Package worker implements the logic to extract useful informations from a container layer and store it in the database.
Index ¶
Constants ¶
View Source
const ( // Version (integer) represents the worker version. // Increased each time the engine changes. Version = 1 )
Variables ¶
View Source
var ( // ErrUnsupported is the error that should be raised when an OS or package // manager is not supported. ErrUnsupported = errors.New("worker: OS and/or package manager are not supported") // ErrParentUnknown is the error that should be raised when a parent layer // has yet to be processed for the current layer. ErrParentUnknown = errors.New("worker: parent layer is unknown, it must be processed first") // SupportedOS is the list of operating system names that the worker supports. SupportedOS = []string{"debian", "ubuntu", "centos"} )
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package detectors exposes functions to register and use container information extractors.
|
Package detectors exposes functions to register and use container information extractors. |
os
Package os defines OSDetector for several sources.
|
Package os defines OSDetector for several sources. |
packages
Package packages defines PackagesDetector for several sources.
|
Package packages defines PackagesDetector for several sources. |
Click to show internal directories.
Click to hide internal directories.