v1

package
v0.0.0-...-e4b76e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package v1 implements the Harbor Scanner Adapter API v1 for the Dependency-Track (SBOM-only) adapter: /metadata, /scan, /scan/{id}/report, probes and metrics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIHandler

func NewAPIHandler(info etc.BuildInfo, config etc.Config, scanner harbor.Scanner, enqueuer queue.Enqueuer, store persistence.Store, ready ReadyFunc) http.Handler

Types

type ReadyFunc

type ReadyFunc func(ctx context.Context) error

ReadyFunc reports readiness (Redis reachable). 503 on error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址