Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultUpdatePeriod is the default period used for running updaters // within matcher processes. DefaultUpdatePeriod = 30 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Init ¶
type Init struct {
// a global ctx with an embedded logger
// enables downstream logging and global application cancelation
GlobalCTX context.Context
// A global cancel func providing cancelation to all
// routines passed GlobalCTX
GlobalCancel context.CancelFunc
// A local or remote Indexer service
Indexer indexer.Service
// A local or remote Matcher service
Matcher matcher.Service
// A local or remote Notifier service
Notifier notifier.Service
// The primary http server implementing Clair's functionality
HttpTransport *httptransport.Server
// Introspection provides metrics and trace exporters,
// a pprof diagnostics server, and a healthz endpoint
Introspection *introspection.Server
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.