SYMBOL INDEX (684 symbols across 140 files) FILE: Documentation/listing_test.go function TestListing (line 17) | func TestListing(t *testing.T) { FILE: Documentation/reference_test.go function TestConfigReference (line 17) | func TestConfigReference(t *testing.T) { type walkFunc (line 46) | type walkFunc function walk (line 48) | func walk(ws *[]string, path string, t reflect.Type) error { FILE: clair-error/errors.go type ErrRequestFail (line 10) | type ErrRequestFail struct method Error (line 15) | func (e *ErrRequestFail) Error() string { type ErrBadManifest (line 20) | type ErrBadManifest struct method Error (line 24) | func (e *ErrBadManifest) Error() string { method Unwrap (line 28) | func (e *ErrBadManifest) Unwrap() error { type ErrBadIndexReport (line 33) | type ErrBadIndexReport struct method Error (line 37) | func (e *ErrBadIndexReport) Error() string { method Unwrap (line 41) | func (e *ErrBadIndexReport) Unwrap() error { type ErrIndexStart (line 46) | type ErrIndexStart struct method Error (line 50) | func (e *ErrIndexStart) Error() string { method Unwrap (line 54) | func (e *ErrIndexStart) Unwrap() error { type ErrIndexReportNotFound (line 59) | type ErrIndexReportNotFound struct method Error (line 63) | func (e *ErrIndexReportNotFound) Error() string { type ErrIndexReportRetrieval (line 68) | type ErrIndexReportRetrieval struct method Error (line 72) | func (e *ErrIndexReportRetrieval) Error() string { method Unwrap (line 76) | func (e *ErrIndexReportRetrieval) Unwrap() error { type ErrMatch (line 81) | type ErrMatch struct method Error (line 85) | func (e *ErrMatch) Error() string { method Unwrap (line 89) | func (e *ErrMatch) Unwrap() error { type ErrNotInitialized (line 94) | type ErrNotInitialized struct method Error (line 98) | func (e ErrNotInitialized) Error() string { type ErrBadVulnerabilities (line 104) | type ErrBadVulnerabilities struct method Error (line 108) | func (e *ErrBadVulnerabilities) Error() string { method Unwrap (line 112) | func (e *ErrBadVulnerabilities) Unwrap() error { type ErrBadAffectedManifests (line 118) | type ErrBadAffectedManifests struct method Error (line 122) | func (e *ErrBadAffectedManifests) Error() string { method Unwrap (line 126) | func (e *ErrBadAffectedManifests) Unwrap() error { type ErrKeyNotFound (line 130) | type ErrKeyNotFound struct method Error (line 134) | func (e ErrKeyNotFound) Error() string { FILE: clair-error/notifications.go type ErrNoUpdateOperation (line 11) | type ErrNoUpdateOperation struct method Error (line 15) | func (e ErrNoUpdateOperation) Error() string { type ErrBadNotification (line 21) | type ErrBadNotification struct method Error (line 26) | func (e ErrBadNotification) Error() string { method Unwrap (line 30) | func (e ErrBadNotification) Unwrap() error { type ErrDeleteNotification (line 36) | type ErrDeleteNotification struct method Error (line 41) | func (e ErrDeleteNotification) Error() string { method Unwrap (line 45) | func (e ErrDeleteNotification) Unwrap() error { type ErrNoReceipt (line 50) | type ErrNoReceipt struct method Error (line 54) | func (e ErrNoReceipt) Error() string { type ErrReceipt (line 59) | type ErrReceipt struct method Error (line 64) | func (e ErrReceipt) Error() string { method Unwrap (line 68) | func (e ErrReceipt) Unwrap() error { type ErrCreated (line 73) | type ErrCreated struct method Error (line 77) | func (e ErrCreated) Error() string { method Unwrap (line 81) | func (e ErrCreated) Unwrap() error { type ErrFailed (line 86) | type ErrFailed struct method Error (line 90) | func (e ErrFailed) Error() string { method Unwrap (line 94) | func (e ErrFailed) Unwrap() error { type ErrPutNotifications (line 101) | type ErrPutNotifications struct method Error (line 106) | func (e ErrPutNotifications) Error() string { method Unwrap (line 110) | func (e ErrPutNotifications) Unwrap() error { type ErrDeliveryFailed (line 115) | type ErrDeliveryFailed struct method Error (line 119) | func (e ErrDeliveryFailed) Error() string { method Unwrap (line 123) | func (e ErrDeliveryFailed) Unwrap() error { FILE: cmd/build.go constant describe (line 18) | describe = `$Format:%(describe:match=v4.*)$` constant revision (line 19) | revision = `$Format:%h (%cI)$` function init (line 38) | func init() { FILE: cmd/clair/main.go constant envConfig (line 30) | envConfig = `CLAIR_CONF` constant envMode (line 31) | envMode = `CLAIR_MODE` function main (line 34) | func main() { function serveAPI (line 125) | func serveAPI(ctx context.Context, cfg *config.Config) func() error { function serveIntrospection (line 173) | func serveIntrospection(ctx context.Context, cfg *config.Config) func() ... FILE: cmd/config.go function LoadConfig (line 40) | func LoadConfig(cfg *config.Config, name string, strict bool) error { function loadAsJSON (line 141) | func loadAsJSON(path string) ([]byte, error) { FILE: cmd/config_test.go function TestLoadConfig (line 16) | func TestLoadConfig(t *testing.T) { FILE: config/auth.go type Base64 (line 10) | type Base64 method MarshalText (line 18) | func (b Base64) MarshalText() ([]byte, error) { method UnmarshalText (line 26) | func (b *Base64) UnmarshalText(in []byte) error { type Auth (line 41) | type Auth struct method Any (line 47) | func (a Auth) Any() bool { method lint (line 51) | func (a *Auth) lint() ([]Warning, error) { type AuthKeyserver (line 64) | type AuthKeyserver struct method lint (line 69) | func (a *AuthKeyserver) lint() ([]Warning, error) { type AuthPSK (line 78) | type AuthPSK struct method validate (line 83) | func (a *AuthPSK) validate(_ Mode) ([]Warning, error) { FILE: config/auth_test.go function TestBase64 (line 14) | func TestBase64(t *testing.T) { function TestAuthUnmarshal (line 32) | func TestAuthUnmarshal(t *testing.T) { function TestAuthMarshal (line 92) | func TestAuthMarshal(t *testing.T) { FILE: config/config.go type Config (line 11) | type Config struct method validate (line 45) | func (c *Config) validate(mode Mode) ([]Warning, error) { method lint (line 64) | func (c *Config) lint() (ws []Warning, err error) { type Duration (line 81) | type Duration method UnmarshalText (line 84) | func (d *Duration) UnmarshalText(b []byte) error { method MarshalText (line 94) | func (d *Duration) MarshalText() ([]byte, error) { FILE: config/config_test.go type ValidateTestcase (line 11) | type ValidateTestcase struct method Run (line 17) | func (tc ValidateTestcase) Run(t *testing.T) { function TestValidateFailure (line 35) | func TestValidateFailure(t *testing.T) { function TestUpdateRetention (line 346) | func TestUpdateRetention(t *testing.T) { function TestDisableUpdaters (line 385) | func TestDisableUpdaters(t *testing.T) { FILE: config/database.go function checkDSN (line 9) | func checkDSN(s string) (w []Warning, err error) { FILE: config/defaults.go constant DefaultAddress (line 8) | DefaultAddress = ":6060" constant DefaultScanLockRetry (line 11) | DefaultScanLockRetry = 1 constant DefaultMatcherPeriod (line 13) | DefaultMatcherPeriod = 6 * time.Hour constant DefaultUpdateRetention (line 16) | DefaultUpdateRetention = 10 constant DefaultNotifierPollInterval (line 20) | DefaultNotifierPollInterval = 6 * time.Hour constant DefaultNotifierDeliveryInterval (line 24) | DefaultNotifierDeliveryInterval = 1 * time.Hour FILE: config/enums.go type Mode (line 16) | type Mode constant ComboMode (line 20) | ComboMode Mode = iota constant IndexerMode (line 21) | IndexerMode constant MatcherMode (line 22) | MatcherMode constant NotifierMode (line 23) | NotifierMode function ParseMode (line 29) | func ParseMode(s string) (Mode, error) { type LogLevel (line 42) | type LogLevel method UnmarshalText (line 72) | func (l *LogLevel) UnmarshalText(b []byte) (err error) { method MarshalText (line 81) | func (l *LogLevel) MarshalText() ([]byte, error) { constant InfoLog (line 49) | InfoLog LogLevel = iota constant DebugColorLog (line 50) | DebugColorLog constant DebugLog (line 51) | DebugLog constant WarnLog (line 52) | WarnLog constant ErrorLog (line 53) | ErrorLog constant FatalLog (line 54) | FatalLog constant PanicLog (line 55) | PanicLog function ParseLogLevel (line 61) | func ParseLogLevel(s string) (LogLevel, error) { FILE: config/enums_string.go function _ (line 7) | func _() { constant _Mode_name (line 17) | _Mode_name = "comboindexermatchernotifier" method String (line 21) | func (i Mode) String() string { function _ (line 27) | func _() { constant _LogLevel_name (line 40) | _LogLevel_name = "infodebug-colordebugwarnerrorfatalpanic" method String (line 44) | func (i LogLevel) String() string { FILE: config/enums_test.go function TestEnumMarshal (line 10) | func TestEnumMarshal(t *testing.T) { FILE: config/indexer.go type Indexer (line 6) | type Indexer struct method validate (line 51) | func (i *Indexer) validate(mode Mode) (ws []Warning, err error) { method lint (line 73) | func (i *Indexer) lint() (ws []Warning, err error) { type ScannerConfig (line 107) | type ScannerConfig struct FILE: config/introspection.go type Trace (line 8) | type Trace struct method lint (line 16) | func (t *Trace) lint() ([]Warning, error) { type Jaeger (line 41) | type Jaeger struct type Sentry (line 58) | type Sentry struct type Metrics (line 69) | type Metrics struct method lint (line 75) | func (m *Metrics) lint() ([]Warning, error) { type Prometheus (line 94) | type Prometheus struct FILE: config/lint.go function Lint (line 14) | func Lint(c *Config) ([]Warning, error) { type linter (line 25) | type linter interface type Warning (line 33) | type Warning struct method Error (line 41) | func (w *Warning) Error() string { method Unwrap (line 54) | func (w *Warning) Unwrap() error { return w.inner } FILE: config/lint_test.go function init (line 9) | func init() { function ExampleLint (line 20) | func ExampleLint() { FILE: config/matcher.go type Matcher (line 9) | type Matcher struct method validate (line 64) | func (m *Matcher) validate(mode Mode) ([]Warning, error) { method lint (line 98) | func (m *Matcher) lint() (ws []Warning, err error) { FILE: config/matchers.go type Matchers (line 4) | type Matchers struct FILE: config/notifier.go type Notifier (line 14) | type Notifier struct method validate (line 69) | func (n *Notifier) validate(mode Mode) ([]Warning, error) { method lint (line 94) | func (n *Notifier) lint() (ws []Warning, err error) { type Webhook (line 146) | type Webhook struct method validate (line 162) | func (w *Webhook) validate(mode Mode) ([]Warning, error) { method lint (line 191) | func (w *Webhook) lint() ([]Warning, error) { type Exchange (line 205) | type Exchange struct method validate (line 220) | func (e *Exchange) validate(_ Mode) ([]Warning, error) { type AMQP (line 228) | type AMQP struct method validate (line 262) | func (c *AMQP) validate(mode Mode) ([]Warning, error) { method lint (line 299) | func (c *AMQP) lint() (w []Warning, err error) { type Login (line 314) | type Login struct type STOMP (line 320) | type STOMP struct method validate (line 350) | func (c *STOMP) validate(mode Mode) ([]Warning, error) { method lint (line 383) | func (c *STOMP) lint() (w []Warning, err error) { FILE: config/otlp.go type OTLPCommon (line 10) | type OTLPCommon struct method lint (line 40) | func (c *OTLPCommon) lint() (ws []Warning, _ error) { method validate (line 51) | func (c *OTLPCommon) validate(_ Mode) (ws []Warning, _ error) { type OTLPHTTPCommon (line 56) | type OTLPHTTPCommon struct method lint (line 64) | func (c *OTLPHTTPCommon) lint() (ws []Warning, _ error) { method validate (line 75) | func (c *OTLPHTTPCommon) validate(_ Mode) (ws []Warning, err error) { type OTLPgRPCCommon (line 93) | type OTLPgRPCCommon struct type TraceOTLP (line 110) | type TraceOTLP struct method lint (line 118) | func (t *TraceOTLP) lint() (ws []Warning, _ error) { type TraceOTLPHTTP (line 128) | type TraceOTLPHTTP struct type TraceOTLPgRPC (line 133) | type TraceOTLPgRPC struct type MetricOTLP (line 143) | type MetricOTLP struct method lint (line 151) | func (m *MetricOTLP) lint() (ws []Warning, _ error) { type MetricOTLPHTTP (line 161) | type MetricOTLPHTTP struct type MetricOTLPgRPC (line 166) | type MetricOTLPgRPC struct type OTLPCompressor (line 173) | type OTLPCompressor constant OTLPCompressUnset (line 177) | OTLPCompressUnset OTLPCompressor = iota constant OTLPCompressNone (line 178) | OTLPCompressNone constant OTLPCompressGzip (line 179) | OTLPCompressGzip FILE: config/otlpcompressor_string.go function _ (line 7) | func _() { constant _OTLPCompressor_name (line 16) | _OTLPCompressor_name = "nonegzip" method String (line 20) | func (i OTLPCompressor) String() string { FILE: config/reflect.go type walkFunc (line 9) | type walkFunc function forEach (line 11) | func forEach(i interface{}, f walkFunc) ([]Warning, error) { function walk (line 17) | func walk(ws *[]Warning, path string, v reflect.Value, wf walkFunc) error { FILE: config/tags_test.go function TestTags (line 10) | func TestTags(t *testing.T) { function typecheck (line 18) | func typecheck(t *testing.T, typ reflect.Type) { FILE: config/tls.go type TLS (line 19) | type TLS struct method Config (line 35) | func (t *TLS) Config() (*tls.Config, error) { method lint (line 66) | func (t *TLS) lint() ([]Warning, error) { method validate (line 76) | func (t *TLS) validate(_ Mode) ([]Warning, error) { FILE: config/updaters.go type Updaters (line 4) | type Updaters struct FILE: config/validate.go function Validate (line 5) | func Validate(c *Config) ([]Warning, error) { type validator (line 16) | type validator interface FILE: contrib/cmd/quaybackstop/clair.go method SetClairGABI (line 32) | func (a *App) SetClairGABI(s string) (err error) { method SetClairGABIAuth (line 37) | func (a *App) SetClairGABIAuth(s string) error { method SetClairConfig (line 45) | func (a *App) SetClairConfig(s string) error { method SetIndexerAddr (line 76) | func (a *App) SetIndexerAddr(s string) (err error) { method AllManifests (line 86) | func (a *App) AllManifests(ctx context.Context) (iter.Seq[[]string], fun... method IssueDeletes (line 262) | func (a *App) IssueDeletes(ctx context.Context, seq iter.Seq[[]string]) ... FILE: contrib/cmd/quaybackstop/main.go function main (line 43) | func main() { function usage (line 81) | func usage(set *flag.FlagSet) func() { function setLogging (line 126) | func setLogging(opts *slog.HandlerOptions) func(string) error { constant LevelTrace (line 150) | LevelTrace = slog.LevelDebug + slog.LevelDebug function Run (line 153) | func Run(ctx context.Context, app App) error { type App (line 168) | type App struct method SetCursorFile (line 193) | func (a *App) SetCursorFile(s string) (err error) { method OK (line 202) | func (a *App) OK() error { method Status (line 217) | func (a *App) Status() { method Close (line 242) | func (a *App) Close() error { method NewRequestWithContext (line 262) | func (a *App) NewRequestWithContext(ctx context.Context, method string... method GABIQuery (line 317) | func (a *App) GABIQuery(ctx context.Context, u *url.URL, buf *bytes.Bu... function query (line 349) | func query(str *strings.Builder) gabiQuery { type gabiQuery (line 354) | type gabiQuery struct type gabiResponse (line 359) | type gabiResponse struct function fmtPostgresqlArray (line 379) | func fmtPostgresqlArray(w io.Writer, strs []string) { FILE: contrib/cmd/quaybackstop/main_old.go function main (line 10) | func main() { FILE: contrib/cmd/quaybackstop/quay.go method SetQuayGABIAuth (line 26) | func (a *App) SetQuayGABIAuth(s string) error { method SetQuayGABI (line 34) | func (a *App) SetQuayGABI(s string) (err error) { method SetQuayConfig (line 39) | func (a *App) SetQuayConfig(s string) error { type quayConfig (line 87) | type quayConfig struct method SelectMissing (line 101) | func (a *App) SelectMissing(ctx context.Context, manifests iter.Seq[[]st... FILE: health/readinesshandler.go function Ready (line 11) | func Ready() { function Unready (line 17) | func Unready() { function ReadinessHandler (line 25) | func ReadinessHandler() http.Handler { FILE: health/readinesshandler_test.go function TestReadinessHandler (line 13) | func TestReadinessHandler(t *testing.T) { FILE: httptransport/auth.go function authHandler (line 14) | func authHandler(cfg *config.Config, next http.Handler) (http.Handler, e... FILE: httptransport/auth_test.go type authTestcase (line 22) | type authTestcase struct method Run (line 34) | func (tc *authTestcase) Run(ctx context.Context) func(*testing.T) { function TestAuth (line 118) | func TestAuth(t *testing.T) { FILE: httptransport/client/httpclient.go type uoCache (line 15) | type uoCache struct method Set (line 25) | func (c *uoCache) Set(m map[string][]driver.UpdateOperation, v string) { method Copy (line 35) | func (c *uoCache) Copy() map[string][]driver.UpdateOperation { function newOUCache (line 47) | func newOUCache() *uoCache { type HTTP (line 54) | type HTTP struct method sign (line 133) | func (s *HTTP) sign(ctx context.Context, req *http.Request) error { constant DefaultAddr (line 67) | DefaultAddr = `http://clair:6060/` function NewHTTP (line 70) | func NewHTTP(ctx context.Context, opt ...Option) (*HTTP, error) { type Option (line 93) | type Option function WithAddr (line 101) | func WithAddr(root string) Option { function WithClient (line 115) | func WithClient(c *http.Client) Option { function WithSigner (line 122) | func WithSigner(v Signer) Option { type Signer (line 129) | type Signer interface FILE: httptransport/client/indexer.go method AffectedManifests (line 21) | func (s *HTTP) AffectedManifests(ctx context.Context, v []claircore.Vuln... method Index (line 71) | func (s *HTTP) Index(ctx context.Context, manifest *claircore.Manifest) ... method IndexReport (line 112) | func (s *HTTP) IndexReport(ctx context.Context, manifest claircore.Diges... method State (line 152) | func (s *HTTP) State(ctx context.Context) (string, error) { method DeleteManifests (line 179) | func (s *HTTP) DeleteManifests(ctx context.Context, d ...claircore.Diges... FILE: httptransport/client/matcher.go method Scan (line 25) | func (c *HTTP) Scan(ctx context.Context, ir *claircore.IndexReport) (*cl... method DeleteUpdateOperations (line 65) | func (c *HTTP) DeleteUpdateOperations(ctx context.Context, ref ...uuid.U... method LatestUpdateOperation (line 140) | func (c *HTTP) LatestUpdateOperation(_ context.Context, _ driver.UpdateK... method UpdateOperations (line 145) | func (c *HTTP) UpdateOperations(ctx context.Context, k driver.UpdateKind... method LatestUpdateOperations (line 164) | func (c *HTTP) LatestUpdateOperations(ctx context.Context, k driver.Upda... method updateOperations (line 193) | func (c *HTTP) updateOperations(ctx context.Context, req *http.Request, ... method UpdateDiff (line 228) | func (c *HTTP) UpdateDiff(ctx context.Context, prev, cur uuid.UUID) (*dr... method Initialized (line 266) | func (c *HTTP) Initialized(_ context.Context) (bool, error) { FILE: httptransport/client/matcher_test.go function TestDiffer (line 22) | func TestDiffer(t *testing.T) { FILE: httptransport/common.go function getDigest (line 24) | func getDigest(_ http.ResponseWriter, r *http.Request) (d claircore.Dige... function pickContentType (line 40) | func pickContentType(w http.ResponseWriter, r *http.Request, allow []str... type accept (line 95) | type accept struct method Match (line 104) | func (a *accept) Match(mt string) bool { function withRequestID (line 131) | func withRequestID(r *http.Request) *http.Request { FILE: httptransport/concurrentlimit.go type limitHandler (line 27) | type limitHandler struct method ServeHTTP (line 36) | func (l *limitHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... FILE: httptransport/concurrentlimit_test.go function TestConcurrentRequests (line 18) | func TestConcurrentRequests(t *testing.T) { FILE: httptransport/discoveryhandler.go function DiscoveryHandler (line 47) | func DiscoveryHandler(_ context.Context, prefix string, topt otelhttp.Op... function init (line 116) | func init() { FILE: httptransport/discoveryhandler_test.go function TestDiscovery (line 15) | func TestDiscovery(t *testing.T) { FILE: httptransport/error.go constant statusClientClosedRequest (line 17) | statusClientClosedRequest = 499 function apiError (line 23) | func apiError(ctx context.Context, w http.ResponseWriter, code int, f st... FILE: httptransport/error_test.go function TestClientDisconnect (line 14) | func TestClientDisconnect(t *testing.T) { FILE: httptransport/indexer_v1.go function NewIndexerV1 (line 24) | func NewIndexerV1(_ context.Context, prefix string, srv indexer.Service,... type IndexerV1 (line 49) | type IndexerV1 struct method ServeHTTP (line 57) | func (h *IndexerV1) ServeHTTP(w http.ResponseWriter, r *http.Request) { method indexReport (line 83) | func (h *IndexerV1) indexReport(w http.ResponseWriter, r *http.Request) { method indexReportOne (line 159) | func (h *IndexerV1) indexReportOne(w http.ResponseWriter, r *http.Requ... method indexState (line 213) | func (h *IndexerV1) indexState(w http.ResponseWriter, r *http.Request) { method affectedManifests (line 250) | func (h *IndexerV1) affectedManifests(w http.ResponseWriter, r *http.R... constant linkIndex (line 155) | linkIndex = `<%s>; rel="https://projectquay.io/clair/v1/index_report"` constant linkReport (line 156) | linkReport = `<%s>; rel="https://projectquay.io/clair/v1/vulnerability_r... function init (line 284) | func init() { FILE: httptransport/indexer_v1_test.go function TestIndexReportBadLayer (line 24) | func TestIndexReportBadLayer(t *testing.T) { function TestIndexerV1 (line 66) | func TestIndexerV1(t *testing.T) { FILE: httptransport/instrumentation.go constant metricNamespace (line 14) | metricNamespace = `clair` constant metricSubsystem (line 15) | metricSubsystem = `http` type wrapper (line 18) | type wrapper struct method initRegisterer (line 31) | func (m *wrapper) initRegisterer(name string, reg prometheus.Registere... method init (line 90) | func (m *wrapper) init(name string) { method wrap (line 94) | func (m *wrapper) wrap(tag string, h http.Handler) http.Handler { method wrapFunc (line 105) | func (m *wrapper) wrapFunc(tag string, h http.HandlerFunc) http.Handler { function catchAbort (line 111) | func catchAbort(h http.Handler) http.Handler { FILE: httptransport/instrumentation_test.go function TestMetric (line 17) | func TestMetric(t *testing.T) { FILE: httptransport/matcher_v1.go function NewMatcherV1 (line 30) | func NewMatcherV1(_ context.Context, prefix string, srv matcher.Service,... type MatcherV1 (line 57) | type MatcherV1 struct method ServeHTTP (line 67) | func (h *MatcherV1) ServeHTTP(w http.ResponseWriter, r *http.Request) { method vulnerabilityReport (line 95) | func (h *MatcherV1) vulnerabilityReport(w http.ResponseWriter, r *http... method updateDiffHandler (line 147) | func (h *MatcherV1) updateDiffHandler(w http.ResponseWriter, r *http.R... method updateOperationHandlerGet (line 183) | func (h *MatcherV1) updateOperationHandlerGet(w http.ResponseWriter, r... method updateOperationHandlerDelete (line 230) | func (h *MatcherV1) updateOperationHandlerDelete(w http.ResponseWriter... function init (line 253) | func init() { FILE: httptransport/matcher_v1_test.go function TestUpdateDiffHandler (line 27) | func TestUpdateDiffHandler(t *testing.T) { function testUpdateDiffMatcher (line 35) | func testUpdateDiffMatcher(t *testing.T) { function testUpdateDiffHandlerParams (line 118) | func testUpdateDiffHandlerParams(t *testing.T) { function testUpdateDiffHandlerMethods (line 196) | func testUpdateDiffHandlerMethods(t *testing.T) { function TestUpdateOperationHandler (line 242) | func TestUpdateOperationHandler(t *testing.T) { function testUpdateOperationHandlerErrors (line 250) | func testUpdateOperationHandlerErrors(t *testing.T) { function testUpdateOperationHandlerMethods (line 306) | func testUpdateOperationHandlerMethods(t *testing.T) { function testUpdateOperationHandlerGet (line 341) | func testUpdateOperationHandlerGet(t *testing.T) { FILE: httptransport/notification_v1.go constant defaultPageSize (line 22) | defaultPageSize = 500 type notificationResponse (line 24) | type notificationResponse struct type NotificationV1 (line 30) | type NotificationV1 struct method ServeHTTP (line 57) | func (h *NotificationV1) ServeHTTP(w http.ResponseWriter, r *http.Requ... method serveHTTP (line 82) | func (h *NotificationV1) serveHTTP(w http.ResponseWriter, r *http.Requ... method delete (line 93) | func (h *NotificationV1) delete(w http.ResponseWriter, r *http.Request) { method get (line 112) | func (h *NotificationV1) get(w http.ResponseWriter, r *http.Request) { function NewNotificationV1 (line 39) | func NewNotificationV1(_ context.Context, prefix string, srv notifier.Se... function init (line 176) | func init() { FILE: httptransport/notification_v1_test.go function TestNotificationsHandler (line 24) | func TestNotificationsHandler(t *testing.T) { function testNotificationHandlerDelete (line 36) | func testNotificationHandlerDelete(ctx context.Context) func(*testing.T) { function testNotificationHandlerGet (line 71) | func testNotificationHandlerGet(ctx context.Context) func(*testing.T) { function testNotificationHandlerGetParams (line 130) | func testNotificationHandlerGetParams(ctx context.Context) func(*testing... function testNotificationsHandlerMethods (line 195) | func testNotificationsHandlerMethods(ctx context.Context) func(*testing.... FILE: httptransport/robotshandler.go constant robotstxt (line 13) | robotstxt = "User-agent: *\nDisallow: /\n" FILE: httptransport/robotshandler_test.go function TestRobotsTXT (line 13) | func TestRobotsTXT(t *testing.T) { FILE: httptransport/server.go constant apiRoot (line 24) | apiRoot = "/api/v1/" constant indexerRoot (line 25) | indexerRoot = "/indexer" constant matcherRoot (line 26) | matcherRoot = "/matcher" constant notifierRoot (line 27) | notifierRoot = "/notifier" constant internalRoot (line 28) | internalRoot = apiRoot + "internal/" constant IndexAPIPath (line 29) | IndexAPIPath = indexerRoot + apiRoot + "index_report" constant IndexReportAPIPath (line 30) | IndexReportAPIPath = indexerRoot + apiRoot + "index_report/" constant IndexStateAPIPath (line 31) | IndexStateAPIPath = indexerRoot + apiRoot + "index_state" constant AffectedManifestAPIPath (line 32) | AffectedManifestAPIPath = indexerRoot + internalRoot + "affected_ma... constant VulnerabilityReportPath (line 33) | VulnerabilityReportPath = matcherRoot + apiRoot + "vulnerability_re... constant UpdateOperationAPIPath (line 34) | UpdateOperationAPIPath = matcherRoot + internalRoot + "update_oper... constant UpdateOperationDeleteAPIPath (line 35) | UpdateOperationDeleteAPIPath = matcherRoot + internalRoot + "update_oper... constant UpdateDiffAPIPath (line 36) | UpdateDiffAPIPath = matcherRoot + internalRoot + "update_diff" constant NotificationAPIPath (line 37) | NotificationAPIPath = notifierRoot + apiRoot + "notification/" constant KeysAPIPath (line 38) | KeysAPIPath = notifierRoot + apiRoot + "services/notifi... constant KeyByIDAPIPath (line 39) | KeyByIDAPIPath = notifierRoot + apiRoot + "services/notifi... constant OpenAPIV1Path (line 40) | OpenAPIV1Path = "/openapi/v1" function New (line 47) | func New(ctx context.Context, conf *config.Config, indexer indexer.Servi... constant IntraserviceIssuer (line 124) | IntraserviceIssuer = `clair-intraservice` function unmodified (line 127) | func unmodified(r *http.Request, v string) bool { function writerError (line 150) | func writerError(w http.ResponseWriter, e *error) func() { function setCacheControl (line 162) | func setCacheControl(w http.ResponseWriter, age time.Duration) { FILE: httptransport/server_test.go function TestUpdateEndpoints (line 24) | func TestUpdateEndpoints(t *testing.T) { FILE: indexer/mock.go type Mock (line 15) | type Mock struct method Index (line 23) | func (i *Mock) Index(ctx context.Context, manifest *claircore.Manifest... method IndexReport (line 30) | func (i *Mock) IndexReport(ctx context.Context, digest claircore.Diges... method State (line 37) | func (i *Mock) State(ctx context.Context) (string, error) { method AffectedManifests (line 44) | func (i *Mock) AffectedManifests(ctx context.Context, vulns []claircor... method DeleteManifests (line 51) | func (i *Mock) DeleteManifests(ctx context.Context, d ...claircore.Dig... FILE: indexer/service.go type Service (line 13) | type Service interface type StateReporter (line 22) | type StateReporter interface type StateIndexer (line 29) | type StateIndexer interface type Indexer (line 35) | type Indexer interface type Reporter (line 41) | type Reporter interface type Stater (line 46) | type Stater interface type Affected (line 51) | type Affected interface FILE: initialize/auto/auto.go function init (line 14) | func init() { function PrintLogs (line 22) | func PrintLogs(ctx context.Context) { function debugLog (line 30) | func debugLog(m string) { function infoLog (line 37) | func infoLog(m string) { FILE: initialize/auto/auto_test.go function TestMain (line 8) | func TestMain(m *testing.M) { FILE: initialize/auto/cpu.go function CPU (line 7) | func CPU() {} FILE: initialize/auto/cpu_linux.go function CPU (line 18) | func CPU() { function cgLookup (line 40) | func cgLookup(r fs.FS) (int, error) { FILE: initialize/auto/cpu_linux_test.go type cgTestcase (line 35) | type cgTestcase struct method Run (line 42) | func (tc cgTestcase) Run(ctx context.Context, t *testing.T) { function TestCPUDetection (line 56) | func TestCPUDetection(t *testing.T) { FILE: initialize/auto/memory.go function Memory (line 6) | func Memory() {} FILE: initialize/auto/memory_linux.go function Memory (line 26) | func Memory() { constant doNothing (line 54) | doNothing = -1 constant setMax (line 55) | setMax = -2 function memLookup (line 58) | func memLookup(r fs.FS) (int64, error) { FILE: initialize/auto/memory_linux_test.go type memTestcase (line 14) | type memTestcase struct method Run (line 21) | func (tc memTestcase) Run(ctx context.Context, t *testing.T) { function TestMemoryDetection (line 37) | func TestMemoryDetection(t *testing.T) { FILE: initialize/auto/profiling.go function Profiling (line 18) | func Profiling() { FILE: initialize/logging.go function Logging (line 14) | func Logging(ctx context.Context, cfg *config.Config) error { FILE: initialize/services.go constant NotifierIssuer (line 38) | NotifierIssuer = `clair-notifier` type Srv (line 50) | type Srv struct function Services (line 58) | func Services(ctx context.Context, cfg *config.Config) (*Srv, error) { function localIndexer (line 115) | func localIndexer(ctx context.Context, cfg *config.Config) (indexer.Serv... function remoteIndexer (line 193) | func remoteIndexer(ctx context.Context, cfg *config.Config, addr string)... function remoteClient (line 205) | func remoteClient(ctx context.Context, cfg *config.Config, claim jwt.Cla... function localMatcher (line 221) | func localMatcher(ctx context.Context, cfg *config.Config) (matcher.Serv... function remoteMatcher (line 302) | func remoteMatcher(ctx context.Context, cfg *config.Config, addr string)... function localNotifier (line 314) | func localNotifier(ctx context.Context, cfg *config.Config, i indexer.Se... FILE: internal/codec/codec.go function init (line 14) | func init() { function GetEncoder (line 42) | func GetEncoder(w io.Writer) *Encoder { function PutEncoder (line 49) | func PutEncoder(e *Encoder) { function GetDecoder (line 58) | func GetDecoder(r io.Reader) *Decoder { function PutDecoder (line 65) | func PutDecoder(d *Decoder) { FILE: internal/codec/codec_test.go function Example (line 15) | func Example() { function BenchmarkDecode (line 29) | func BenchmarkDecode(b *testing.B) { function BenchmarkDecodeStdlib (line 53) | func BenchmarkDecodeStdlib(b *testing.B) { function TestTimeNotNull (line 78) | func TestTimeNotNull(t *testing.T) { FILE: internal/codec/reader.go function JSONReader (line 7) | func JSONReader(v interface{}) io.ReadCloser { FILE: internal/httputil/client.go function NewClient (line 25) | func NewClient(ctx context.Context, localOnly bool) (*http.Client, error) { function ctlLocalOnly (line 46) | func ctlLocalOnly(network, address string, _ syscall.RawConn) error { function NewRequestWithContext (line 81) | func NewRequestWithContext(ctx context.Context, method, url string, body... FILE: internal/httputil/client_test.go function TestLocalOnly (line 9) | func TestLocalOnly(t *testing.T) { FILE: internal/httputil/ratelimiter.go function RateLimiter (line 14) | func RateLimiter(next http.RoundTripper) http.RoundTripper { type ratelimiter (line 23) | type ratelimiter struct method RoundTrip (line 31) | func (r *ratelimiter) RoundTrip(req *http.Request) (*http.Response, er... constant rateCap (line 28) | rateCap = 10 function detune (line 62) | func detune(in rate.Limit) rate.Limit { FILE: internal/httputil/ratelimiter_test.go function TestRate (line 11) | func TestRate(t *testing.T) { FILE: internal/httputil/responserecorder.go function ResponseRecorder (line 8) | func ResponseRecorder(status *int, length *int64, w http.ResponseWriter)... type responseRecord (line 25) | type responseRecord struct method Unwrap (line 32) | func (r *responseRecord) Unwrap() http.ResponseWriter { method WriteHeader (line 36) | func (r *responseRecord) WriteHeader(c int) { method Write (line 45) | func (r *responseRecord) Write(b []byte) (int, error) { FILE: internal/httputil/responserecorder_test.go function TestResponseRecorder (line 9) | func TestResponseRecorder(t *testing.T) { FILE: internal/httputil/signer.go function NewSigner (line 24) | func NewSigner(ctx context.Context, cfg *config.Config, cl jwt.Claims) (... type Signer (line 83) | type Signer struct method Add (line 69) | func (s *Signer) Add(ctx context.Context, uri string) error { method Sign (line 90) | func (s *Signer) Sign(ctx context.Context, req *http.Request) error { FILE: internal/logging/logging.go function init (line 14) | func init() { function DefaultOptions (line 24) | func DefaultOptions() *zlog.Options { function SetLogger (line 34) | func SetLogger(opts *zlog.Options) { FILE: introspection/otlp.go type otlpHooks (line 24) | type otlpHooks struct method Options (line 44) | func (h *otlpHooks[O]) Options(v any) (opts []O, err error) { function otlpCompressorHook (line 177) | func otlpCompressorHook[O any](none, gzip O) func(config.OTLPCompressor)... function grpcTLSHook (line 195) | func grpcTLSHook[O any](f func(credentials.TransportCredentials) O) func... FILE: introspection/server.go constant Stdout (line 37) | Stdout = "stdout" constant OTLP (line 38) | OTLP = "otlp" constant Prom (line 43) | Prom = "prometheus" constant Jaeger (line 48) | Jaeger = "jaeger" constant DefaultPromEndpoint (line 53) | DefaultPromEndpoint = "/metrics" constant HealthEndpoint (line 54) | HealthEndpoint = "/healthz" constant ReadyEndpoint (line 55) | ReadyEndpoint = "/readyz" constant DefaultIntrospectionAddr (line 59) | DefaultIntrospectionAddr = ":8089" type Server (line 62) | type Server struct method withDiagnostics (line 330) | func (i *Server) withDiagnostics(_ context.Context) error { method withReady (line 352) | func (i *Server) withReady(_ context.Context) error { function New (line 75) | func New(ctx context.Context, conf *config.Config, health func() bool) (... FILE: matcher/mock.go type Mock (line 18) | type Mock struct method DeleteUpdateOperations (line 33) | func (d *Mock) DeleteUpdateOperations(ctx context.Context, refs ...uui... method UpdateDiff (line 43) | func (d *Mock) UpdateDiff(ctx context.Context, prev uuid.UUID, cur uui... method UpdateOperations (line 51) | func (d *Mock) UpdateOperations(ctx context.Context, k driver.UpdateKi... method LatestUpdateOperations (line 59) | func (d *Mock) LatestUpdateOperations(ctx context.Context, k driver.Up... method LatestUpdateOperation (line 68) | func (d *Mock) LatestUpdateOperation(ctx context.Context, k driver.Upd... method Scan (line 75) | func (d *Mock) Scan(ctx context.Context, ir *claircore.IndexReport) (*... method Initialized (line 82) | func (d *Mock) Initialized(ctx context.Context) (bool, error) { FILE: matcher/service.go type Service (line 15) | type Service interface type Scanner (line 21) | type Scanner interface type Differ (line 27) | type Differ interface FILE: middleware/auth/handler.go type Checker (line 11) | type Checker interface type handler (line 15) | type handler struct method ServeHTTP (line 20) | func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function Handler (line 30) | func Handler(h http.Handler, f ...Checker) http.Handler { type any (line 44) | type any method Check (line 47) | func (a any) Check(ctx context.Context, r *http.Request) bool { type fail (line 57) | type fail struct method Check (line 60) | func (fail) Check(_ context.Context, _ *http.Request) bool { return fa... function fromHeader (line 62) | func fromHeader(r *http.Request) (string, bool) { FILE: middleware/auth/httpauth_psk.go type PSK (line 16) | type PSK struct method Check (line 30) | func (p *PSK) Check(ctx context.Context, r *http.Request) bool { function NewPSK (line 22) | func NewPSK(key []byte, issuer []string) (*PSK, error) { FILE: middleware/auth/httpauth_psk_test.go type pskTestcase (line 23) | type pskTestcase struct method String (line 30) | func (tc *pskTestcase) String() string { method Generate (line 42) | func (tc *pskTestcase) Generate(rand *rand.Rand, sz int) reflect.Value { method Handler (line 77) | func (tc *pskTestcase) Handler(t *testing.T) http.Handler { function roundtrips (line 92) | func roundtrips(t *testing.T) func(*pskTestcase) bool { function TestPSKAuth (line 164) | func TestPSKAuth(t *testing.T) { FILE: middleware/compress/handler.go function Handler (line 26) | func Handler(next http.Handler) http.Handler { type handler (line 58) | type handler struct method ServeHTTP (line 105) | func (c *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function parseAccept (line 67) | func parseAccept(h string) ([]accept, map[string]struct{}) { type accept (line 99) | type accept struct constant acceptable (line 200) | acceptable = `zstd, gzip, deflate` type compressWriter (line 204) | type compressWriter struct method Unwrap (line 216) | func (c *compressWriter) Unwrap() http.ResponseWriter { method Write (line 219) | func (c *compressWriter) Write(b []byte) (int, error) { method FlushError (line 222) | func (c *compressWriter) FlushError() error { type zwriter (line 209) | type zwriter interface FILE: middleware/compress/handler_test.go function setupHandler (line 25) | func setupHandler(t *testing.T) { type mkFunc (line 45) | type mkFunc function testencoding (line 47) | func testencoding(t *testing.T, enc string, status int, mk mkFunc) { function TestCompressor (line 100) | func TestCompressor(t *testing.T) { FILE: notifier/amqp/deliverer.go type Deliverer (line 24) | type Deliverer struct method load (line 41) | func (d *Deliverer) load(conf *config.AMQP) error { method Name (line 72) | func (d *Deliverer) Name() string { method Deliver (line 76) | func (d *Deliverer) Deliver(ctx context.Context, nID uuid.UUID) error { function New (line 33) | func New(conf *config.AMQP) (*Deliverer, error) { FILE: notifier/amqp/deliverer_integration_test.go constant defaultRabbitMQURI (line 19) | defaultRabbitMQURI = "amqp://guest:guest@localhost:5672/" function TestDeliverer (line 24) | func TestDeliverer(t *testing.T) { FILE: notifier/amqp/directdeliverer.go type DirectDeliverer (line 23) | type DirectDeliverer struct method Name (line 37) | func (d *DirectDeliverer) Name() string { method Notifications (line 43) | func (d *DirectDeliverer) Notifications(ctx context.Context, n []notif... method Deliver (line 56) | func (d *DirectDeliverer) Deliver(ctx context.Context, _ uuid.UUID) er... function NewDirectDeliverer (line 28) | func NewDirectDeliverer(conf *config.AMQP) (*DirectDeliverer, error) { FILE: notifier/amqp/directdeliverer_integration_test.go function TestDirectDeliverer (line 23) | func TestDirectDeliverer(t *testing.T) { FILE: notifier/amqp/failover.go type failOver (line 19) | type failOver struct method Connection (line 29) | func (f *failOver) Connection(ctx context.Context) (*amqp.Connection, ... FILE: notifier/callback.go type Callback (line 13) | type Callback struct method MarshalJSON (line 18) | func (cb Callback) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 26) | func (cb *Callback) UnmarshalJSON(b []byte) error { FILE: notifier/callback_test.go function TestCallbackSerializtion (line 12) | func TestCallbackSerializtion(t *testing.T) { FILE: notifier/deliverer.go type Deliverer (line 10) | type Deliverer interface type DirectDeliverer (line 26) | type DirectDeliverer interface FILE: notifier/delivery.go type Delivery (line 16) | type Delivery struct method Deliver (line 39) | func (d *Delivery) Deliver(ctx context.Context) error { method RunDelivery (line 60) | func (d *Delivery) RunDelivery(ctx context.Context) error { method do (line 106) | func (d *Delivery) do(ctx context.Context, nID uuid.UUID) error { function NewDelivery (line 27) | func NewDelivery(store Store, l Locker, d Deliverer, interval time.Durat... FILE: notifier/locker.go type Locker (line 6) | type Locker interface FILE: notifier/migrations/01-init.sql type notification (line 2) | CREATE TABLE IF NOT EXISTS notification ( type notifier_update_operation (line 8) | CREATE TABLE IF NOT EXISTS notifier_update_operation ( type notification_body (line 15) | CREATE TABLE IF NOT EXISTS notification_body ( type notification_body_idx (line 21) | CREATE INDEX notification_body_idx ON notification_body (notification_id... type receipt (line 33) | CREATE TABLE IF NOT EXISTS receipt ( type receipt_idx (line 41) | CREATE INDEX receipt_idx ON receipt (notification_id, uo_id) type key (line 45) | CREATE TABLE IF NOT EXISTS key ( FILE: notifier/migrations/migrations.go function runFile (line 13) | func runFile(n string) func(*sql.Tx) error { constant MigrationTable (line 26) | MigrationTable = "notifier_migrations" FILE: notifier/mockstore.go type MockStore (line 10) | type MockStore struct method Notifications (line 27) | func (m *MockStore) Notifications(ctx context.Context, id uuid.UUID, p... method PutNotifications (line 41) | func (m *MockStore) PutNotifications(ctx context.Context, opts PutOpts... method PutReceipt (line 49) | func (m *MockStore) PutReceipt(ctx context.Context, updater string, r ... method CollectNotifications (line 54) | func (m *MockStore) CollectNotifications(ctx context.Context) error { method Receipt (line 59) | func (m *MockStore) Receipt(ctx context.Context, id uuid.UUID) (Receip... method ReceiptByUOID (line 64) | func (m *MockStore) ReceiptByUOID(ctx context.Context, id uuid.UUID) (... method Created (line 69) | func (m *MockStore) Created(ctx context.Context) ([]uuid.UUID, error) { method Failed (line 74) | func (m *MockStore) Failed(ctx context.Context) ([]uuid.UUID, error) { method Deleted (line 79) | func (m *MockStore) Deleted(ctx context.Context) ([]uuid.UUID, error) { method SetDelivered (line 84) | func (m *MockStore) SetDelivered(ctx context.Context, id uuid.UUID) er... method SetDeliveryFailed (line 89) | func (m *MockStore) SetDeliveryFailed(ctx context.Context, id uuid.UUI... method SetDeleted (line 94) | func (m *MockStore) SetDeleted(ctx context.Context, id uuid.UUID) error { FILE: notifier/notification.go type Reason (line 9) | type Reason constant Added (line 12) | Added Reason = "added" constant Removed (line 13) | Removed Reason = "removed" constant Changed (line 14) | Changed Reason = "changed" type Notification (line 25) | type Notification struct FILE: notifier/notificationhandle.go type NotificationHandle (line 7) | type NotificationHandle struct FILE: notifier/pager.go type Page (line 8) | type Page struct FILE: notifier/poller.go constant MaxChanSize (line 17) | MaxChanSize = 1024 type PollerOpt (line 21) | type PollerOpt type Poller (line 24) | type Poller struct method Poll (line 54) | func (p *Poller) Poll(ctx context.Context, c chan<- Event) error { method onTick (line 78) | func (p *Poller) onTick(ctx context.Context, c chan<- Event) { function NewPoller (line 34) | func NewPoller(store Store, differ matcher.Differ, interval time.Duratio... type Event (line 44) | type Event struct FILE: notifier/postgres/e2e_test.go function TestE2E (line 24) | func TestE2E(t *testing.T) { type e2e (line 47) | type e2e struct method Run (line 87) | func (e *e2e) Run(ctx context.Context, t *testing.T) { method PutNotifications (line 112) | func (e *e2e) PutNotifications(ctx context.Context) func(*testing.T) { method Created (line 129) | func (e *e2e) Created(ctx context.Context) func(*testing.T) { method Notifications (line 170) | func (e *e2e) Notifications(ctx context.Context) func(*testing.T) { method SetDelivered (line 217) | func (e *e2e) SetDelivered(ctx context.Context) func(*testing.T) { method SetDeliveryFailed (line 240) | func (e *e2e) SetDeliveryFailed(ctx context.Context) func(*testing.T) { method SetDeleted (line 272) | func (e *e2e) SetDeleted(ctx context.Context) func(*testing.T) { method PutReceipt (line 304) | func (e *e2e) PutReceipt(ctx context.Context) func(*testing.T) { method CollectNotifications (line 335) | func (e *e2e) CollectNotifications(ctx context.Context) func(*testing.... function NewE2E (line 60) | func NewE2E(ctx context.Context, t *testing.T, ct int) *e2e { FILE: notifier/postgres/get_status.go method getStatus (line 70) | func (s *Store) getStatus(ctx context.Context, status string, m statusMe... method Created (line 107) | func (s *Store) Created(ctx context.Context) ([]uuid.UUID, error) { method Failed (line 119) | func (s *Store) Failed(ctx context.Context) ([]uuid.UUID, error) { method Deleted (line 131) | func (s *Store) Deleted(ctx context.Context) ([]uuid.UUID, error) { FILE: notifier/postgres/notifications.go method Notifications (line 98) | func (s *Store) Notifications(ctx context.Context, id uuid.UUID, page *n... method PutNotifications (line 207) | func (s *Store) PutNotifications(ctx context.Context, opts notifier.PutO... function copyNotifications (line 273) | func copyNotifications(id *uuid.UUID, ns []notifier.Notification) *notif... type notificationSource (line 282) | type notificationSource struct method Next (line 290) | func (r *notificationSource) Next() bool { method Values (line 294) | func (r *notificationSource) Values() ([]interface{}, error) { method Err (line 307) | func (r *notificationSource) Err() error { method Columns (line 314) | func (r *notificationSource) Columns() []string { method CollectNotifications (line 323) | func (s *Store) CollectNotifications(ctx context.Context) error { FILE: notifier/postgres/notifications_test.go function TestNotificationCopy (line 18) | func TestNotificationCopy(t *testing.T) { type notificationCopyTestcase (line 33) | type notificationCopyTestcase struct method Setup (line 38) | func (n *notificationCopyTestcase) Setup(t testing.TB) { method Func (line 57) | func (n notificationCopyTestcase) Func(ctx context.Context) func(*test... FILE: notifier/postgres/pagination_test.go function TestPagination (line 15) | func TestPagination(t *testing.T) { FILE: notifier/postgres/postgres_test.go function TestMain (line 10) | func TestMain(m *testing.M) { FILE: notifier/postgres/receipt.go method Receipt (line 84) | func (s *Store) Receipt(ctx context.Context, id uuid.UUID) (notifier.Rec... method ReceiptByUOID (line 95) | func (s *Store) ReceiptByUOID(ctx context.Context, id uuid.UUID) (notifi... function getReceipt (line 105) | func getReceipt(ctx context.Context, r *notifier.Receipt, query, name st... method PutReceipt (line 134) | func (s *Store) PutReceipt(ctx context.Context, updater string, r notifi... FILE: notifier/postgres/set_status.go method setStatus (line 72) | func (s *Store) setStatus(ctx context.Context, id uuid.UUID, status stri... method SetDelivered (line 94) | func (s *Store) SetDelivered(ctx context.Context, id uuid.UUID) error { method SetDeliveryFailed (line 102) | func (s *Store) SetDeliveryFailed(ctx context.Context, id uuid.UUID) err... method SetDeleted (line 110) | func (s *Store) SetDeleted(ctx context.Context, id uuid.UUID) error { FILE: notifier/postgres/store.go type Store (line 20) | type Store struct function NewStore (line 27) | func NewStore(pool *pgxpool.Pool) *Store { function Init (line 32) | func Init(ctx context.Context, cfg *pgx.ConnConfig) error { constant adminKeyspace (line 52) | adminKeyspace int32 = 4 constant _ (line 54) | _ int32 = iota constant gcLock (line 55) | gcLock function errLabel (line 58) | func errLabel(e error) string { type statusMetrics (line 65) | type statusMetrics struct function txExec (line 77) | func txExec(ctx context.Context, m statusMetrics, tx pgx.Tx, name, query... FILE: notifier/postgres/store_test.go function TestingStore (line 13) | func TestingStore(ctx context.Context, t testing.TB) *Store { FILE: notifier/processor.go type Processor (line 25) | type Processor struct method Process (line 55) | func (p *Processor) Process(ctx context.Context, c <-chan Event) error { method create (line 88) | func (p *Processor) create(ctx context.Context, log *slog.Logger, e Ev... method safe (line 261) | func (p *Processor) safe(ctx context.Context, log *slog.Logger, e Even... function NewProcessor (line 42) | func NewProcessor(store Store, l Locker, indexer indexer.Service, matche... function min (line 156) | func min(a, b int) int { type notifTab (line 166) | type notifTab struct function getAffected (line 175) | func getAffected(ctx context.Context, ic indexer.Service, nosummary bool... FILE: notifier/processor_create_test.go function TestProcessCreate (line 73) | func TestProcessCreate(t *testing.T) { function testProcessorStoreErr (line 82) | func testProcessorStoreErr(t *testing.T) { function testProcessorIndexerErr (line 126) | func testProcessorIndexerErr(t *testing.T) { function testProcessorMatcherErr (line 167) | func testProcessorMatcherErr(t *testing.T) { function testProcessorCreate (line 204) | func testProcessorCreate(t *testing.T) { FILE: notifier/processor_safe_test.go function TestProcessorSafe (line 42) | func TestProcessorSafe(t *testing.T) { function testSafe (line 52) | func testSafe(t *testing.T) { function testUnsafeStoreErr (line 79) | func testUnsafeStoreErr(t *testing.T) { function testUnsafeMatcherErr (line 108) | func testUnsafeMatcherErr(t *testing.T) { function testUnsafeStaleUOID (line 138) | func testUnsafeStaleUOID(t *testing.T) { function testUnsafeDuplications (line 169) | func testUnsafeDuplications(t *testing.T) { FILE: notifier/receipt.go type Status (line 10) | type Status constant Created (line 14) | Created Status = "created" constant Delivered (line 16) | Delivered Status = "delivered" constant DeliveryFailed (line 18) | DeliveryFailed Status = "delivery_failed" constant Deleted (line 20) | Deleted Status = "deleted" type Receipt (line 24) | type Receipt struct FILE: notifier/service.go type Service (line 12) | type Service interface FILE: notifier/service/mock.go type Mock (line 14) | type Mock struct method Notifications (line 19) | func (m *Mock) Notifications(ctx context.Context, id uuid.UUID, page *... method DeleteNotifications (line 23) | func (m *Mock) DeleteNotifications(ctx context.Context, id uuid.UUID) ... FILE: notifier/service/notifier.go type Notifier (line 37) | type Notifier struct method Notifications (line 45) | func (s *Notifier) Notifications(ctx context.Context, id uuid.UUID, pa... method DeleteNotifications (line 50) | func (s *Notifier) DeleteNotifications(ctx context.Context, id uuid.UU... method Run (line 167) | func (s *Notifier) Run(ctx context.Context) error { method gc (line 187) | func (s *Notifier) gc(ctx context.Context) func() error { type Opts (line 55) | type Opts struct function New (line 69) | func New(ctx context.Context, store notifier.Store, locks notifier.Locke... function testModeInit (line 154) | func testModeInit(ctx context.Context, opts *Opts) error { FILE: notifier/service/testmode.go function indexerForTestMode (line 21) | func indexerForTestMode(mock *indexer.Mock) { function matcherForTestMode (line 59) | func matcherForTestMode(mock *matcher.Mock) { FILE: notifier/stomp/deliverer.go type Deliverer (line 20) | type Deliverer struct method load (line 35) | func (d *Deliverer) load(cfg *config.STOMP) error { method Name (line 61) | func (d *Deliverer) Name() string { method Deliver (line 65) | func (d *Deliverer) Deliver(ctx context.Context, nID uuid.UUID) error { function New (line 27) | func New(conf *config.STOMP) (*Deliverer, error) { FILE: notifier/stomp/directdeliverer.go type DirectDeliverer (line 19) | type DirectDeliverer struct method Name (line 33) | func (d *DirectDeliverer) Name() string { method Notifications (line 39) | func (d *DirectDeliverer) Notifications(ctx context.Context, n []notif... method Deliver (line 52) | func (d *DirectDeliverer) Deliver(ctx context.Context, nID uuid.UUID) ... function NewDirectDeliverer (line 24) | func NewDirectDeliverer(conf *config.STOMP) (*DirectDeliverer, error) { function errDeliever (line 108) | func errDeliever(e error) error { FILE: notifier/stomp/failover.go type failOver (line 19) | type failOver struct method Dial (line 31) | func (f *failOver) Dial(ctx context.Context, addr string) (*gostomp.Co... method Connection (line 72) | func (f *failOver) Connection(ctx context.Context) (*gostomp.Conn, err... FILE: notifier/stomp/integration_test.go function setURI (line 25) | func setURI(t *testing.T, cfg config.STOMP, uri string) (next config.STO... type logAdapter (line 61) | type logAdapter struct method Debugf (line 65) | func (a logAdapter) Debugf(format string, value ...interface{}) { a.... method Infof (line 66) | func (a logAdapter) Infof(format string, value ...interface{}) { a.... method Warningf (line 67) | func (a logAdapter) Warningf(format string, value ...interface{}) { a.... method Debug (line 68) | func (a logAdapter) Debug(msg string) { a.... method Info (line 69) | func (a logAdapter) Info(msg string) { a.... method Warning (line 70) | func (a logAdapter) Warning(msg string) { a.... method Error (line 71) | func (a logAdapter) Error(msg string) { a.... function consumer (line 73) | func consumer(ctx context.Context, t *testing.T, dial string, opt []func... function TestDeliverer (line 124) | func TestDeliverer(t *testing.T) { function TestDirectDeliverer (line 196) | func TestDirectDeliverer(t *testing.T) { FILE: notifier/store.go type PutOpts (line 11) | type PutOpts struct type Store (line 26) | type Store interface type Notificationer (line 32) | type Notificationer interface type Receipter (line 71) | type Receipter interface FILE: notifier/summary_test.go function TestNotificationSummary (line 17) | func TestNotificationSummary(t *testing.T) { FILE: notifier/vulnsummary.go type VulnSummary (line 7) | type VulnSummary struct method FromVulnerability (line 18) | func (vs *VulnSummary) FromVulnerability(v *claircore.Vulnerability) { FILE: notifier/webhook/cmd/webhookd/main.go function main (line 35) | func main() { type Recv (line 116) | type Recv struct method ServeHTTP (line 125) | func (h *Recv) ServeHTTP(w http.ResponseWriter, r *http.Request) { method sign (line 247) | func (h *Recv) sign(req *http.Request) error { constant contentType (line 122) | contentType = `application/json` type response (line 241) | type response struct type logRequest (line 269) | type logRequest method LogValue (line 272) | func (l *logRequest) LogValue() slog.Value { type logResponse (line 281) | type logResponse method LogValue (line 284) | func (l *logResponse) LogValue() slog.Value { FILE: notifier/webhook/deliverer.go type Deliverer (line 23) | type Deliverer struct method Name (line 66) | func (d *Deliverer) Name() string { method Deliver (line 73) | func (d *Deliverer) Deliver(ctx context.Context, nID uuid.UUID) error { type Signer (line 32) | type Signer interface function New (line 37) | func New(conf *config.Webhook, client *http.Client, signer Signer) (*Del... FILE: notifier/webhook/deliverer_test.go function TestDeliverer (line 27) | func TestDeliverer(t *testing.T) {