package
0.0.1
Repository: https://github.com/jessfraz/clair.git
Documentation: pkg.go.dev

# Functions

DELVulnerabilities deletes a vulnerability if it exists.
GETHealth sums up the health of all the registered services.
GETLayersOS returns the operating system of a layer if it exists.
GETLayersPackages returns the complete list of packages that a layer has if it exists.
GETLayersPackagesDiff returns the list of packages that a layer installs and removes if it exists.
GETLayersParent returns the parent ID of a layer if it exists.
GETLayersVulnerabilities returns the complete list of vulnerabilities that a layer has if it exists.
GETLayersVulnerabilitiesDiff returns the list of vulnerabilities that a layer adds and removes if it exists.
GETVersions returns API and Engine versions.
GETVulnerabilities returns a vulnerability identified by an ID if it exists.
GETVulnerabilitiesIntroducingLayers returns the list of layers that introduces a given vulnerability, if it exists.
POSTBatchLayersVulnerabilities returns the complete list of vulnerabilities that the provided layers have, if they all exist.
POSTLayers analyzes a layer and returns the engine version that has been used for the analysis.
POSTVulnerabilities manually inserts a vulnerability into the database if it does not exist yet.
POSTVulnerabilitiesAffectedLayers returns whether the specified layers (by their IDs) are vulnerable to the given Vulnerability or not.
PUTVulnerabilities updates a vulnerability if it exists.

# Constants

Version is an integer representing the API version.

# Structs

POSTBatchLayersVulnerabilitiesParameters represents the expected parameters for POSTBatchLayersVulnerabilities.
POSTLayersParameters represents the expected parameters for POSTLayers.
POSTVulnerabilitiesAffectedLayersParameters represents the expected parameters for POSTVulnerabilitiesAffectedLayers.