Documentation ¶
Directories ¶
Path | Synopsis |
---|---|
v1
Package v1 implements the first version of the Clair API.
|
Package v1 implements the first version of the Clair API. |
cmd
|
|
contrib
|
|
Package database defines the Clair's models and a common interface for database implementations.
|
Package database defines the Clair's models and a common interface for database implementations. |
pgsql
Package pgsql implements database.Datastore with PostgreSQL.
|
Package pgsql implements database.Datastore with PostgreSQL. |
pgsql/migrations
Package migrations regroups every migrations available to the pgsql database backend.
|
Package migrations regroups every migrations available to the pgsql database backend. |
ext
|
|
versionfmt
Package versionfmt exposes functions to dynamically register formats used to parse Feature Versions.
|
Package versionfmt exposes functions to dynamically register formats used to parse Feature Versions. |
Package notifier fetches notifications from the database and informs the specified remote handler about their existences, inviting the third party to actively query the API about it.
|
Package notifier fetches notifications from the database and informs the specified remote handler about their existences, inviting the third party to actively query the API about it. |
notifiers
Package notifiers implements several kinds of notifier.Notifier
|
Package notifiers implements several kinds of notifier.Notifier |
tools
|
|
linters
Module
|
|
Package updater updates the vulnerability database periodically using the registered vulnerability fetchers.
|
Package updater updates the vulnerability database periodically using the registered vulnerability fetchers. |
fetchers/alpine
Package alpine implements a vulnerability Fetcher using the alpine-secdb git repository.
|
Package alpine implements a vulnerability Fetcher using the alpine-secdb git repository. |
Package utils simply defines utility functions and types.
|
Package utils simply defines utility functions and types. |
errors
Package errors defines error types that are used in several modules
|
Package errors defines error types that are used in several modules |
http
Package http provides utility functions for HTTP servers and clients.
|
Package http provides utility functions for HTTP servers and clients. |
types
Package types defines useful types that are used in database models.
|
Package types defines useful types that are used in database models. |
Package worker implements the logic to extract useful informations from a container layer and store it in the database.
|
Package worker implements the logic to extract useful informations from a container layer and store it in the database. |
detectors
Package detectors exposes functions to register and use container information extractors.
|
Package detectors exposes functions to register and use container information extractors. |
detectors/feature
Package feature implements utilities common to implementations of FeatureDetector.
|
Package feature implements utilities common to implementations of FeatureDetector. |
detectors/namespace
Package namespace implements utilities common to implementations of NamespaceDetector.
|
Package namespace implements utilities common to implementations of NamespaceDetector. |
Click to show internal directories.
Click to hide internal directories.