# Functions
Lint runs lints on the provided Config.
ParseLogLevel returns the log lever for the given string.
ParseMode returns a mode for the given string.
Validate confirms the necessary values to support the desired Clair mode exist and sets default values.
# Constants
combo.
debug-color.
debug.
DefaultAddress is used if an "http_listen_addr" is not provided in the config.
DefaultMatcherPeriod is the default interval for running updaters.
DefaultNotifierDeliveryInterval is the default (and minimum) interval for the notifier's delivery interval.
DefaultNotifierPollInterval is the default (and minimum) interval for the notifier's change poll interval.
DefaultScanLockRetry is the default retry period for attempting locks during the indexing process.
DefaultUpdateRetention is the number of updates per vulnerability database to retain.
error.
fatal.
indexer.
info.
matcher.
notifier.
gzip.
none.
.
panic.
warn.
# Variables
These are some common kinds of Warnings.
# Structs
AMQP configures the AMQP notification mechanism.
Auth holds the specific configs for different authentication methods.
AuthKeyserver is the configuration for doing authentication with the Quay keyserver protocol.
AuthPSK is the configuration for doing pre-shared key based authentication.
Config is the configuration object for the commands in github.com/quay/clair/v4/cmd/...
Exchange are the required fields necessary to check the existence of an Exchange
For more details see: https://godoc.org/github.com/streadway/amqp#Channel.ExchangeDeclarePassive.
Indexer provides Clair Indexer node configuration.
Jaeger specific distributed tracing configuration.
Login is the login details for a STOMP broker.
Matcher is the configuration for the matcher service.
Matchers configures the individual matchers run by the matcher system.
MetricOTLP is the configuration for an OTLP metrics client.
MetricOTLPgRPC is the configuration for an OTLP metrics gRPC client.
MetricOTLPHTTP is the configuration for an OTLP metrics HTTP client.
Metrics specifies how to configure Clair's metrics exporting.
Notifier provides Clair Notifier node configuration.
OTLPCommon is common configuration options for an OTLP client.
OTLPgRPCCommon is common configuration options for an OTLP gRPC client.
OTLPHTTPCommon is common configuration options for an OTLP HTTP client.
Prometheus specific metrics configuration.
ScannerConfig is the object consulted for configuring the various types of scanners.
Sentry is the [Sentry] specific tracing configuration.
STOMP configures the STOMP notification mechanism.
TLS describes some TLS settings.
Trace specifies how to configure Clair's tracing support.
TraceOTLP is the configuration for an OTLP traces client.
TraceOTLPgRPC is the configuration for an OTLP traces gRPC client.
TraceOTLPHTTP is the configuration for an OTLP traces HTTP client.
Updaters configures updater behavior.
Warning is a linter warning.
Webhook configures the "webhook" notification mechanism.
# Type aliases
Base64 is a byte slice that encodes to and from base64-encoded strings.
Duration is a serializeable [time.Duration].
A LogLevel is a log level recognized by Clair.
A Mode is an operating mode recognized by Clair.
OTLPCompressor is the valid options for compressing OTLP payloads.