Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package api provides a RESTful HTTP API, enabling external apps to interact with clair.
|
Package api provides a RESTful HTTP API, enabling external apps to interact with clair. |
jsonhttp
Package jsonhttp provides helper functions to write JSON responses to http.ResponseWriter and read JSON bodies from http.Request.
|
Package jsonhttp provides helper functions to write JSON responses to http.ResponseWriter and read JSON bodies from http.Request. |
logic
Package logic implements all the available API methods.
|
Package logic implements all the available API methods. |
wrappers
Package wrappers contains httprouter.Handle wrappers that are used in the API.
|
Package wrappers contains httprouter.Handle wrappers that are used in the API. |
Package database implements every database models and the functions that manipulate them.
|
Package database implements every database models and the functions that manipulate them. |
Package health defines a standard healthcheck response format and expose a function that summarizes registered healthchecks.
|
Package health defines a standard healthcheck response format and expose a function that summarizes registered healthchecks. |
Package notifier fetches notifications from the database and sends them to the specified remote handler.
|
Package notifier fetches notifications from the database and sends them to the specified remote handler. |
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
Package fetchers implements vulnerability fetchers for several sources.
|
Package fetchers implements vulnerability fetchers for several sources. |
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 |
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/os
Package os defines OSDetector for several sources.
|
Package os defines OSDetector for several sources. |
detectors/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.