Documentation
¶
Index ¶
Constants ¶
View Source
const (
BufferChannelSize int = 1000
)
Variables ¶
This section is empty.
Functions ¶
func Certify ¶
func Certify(ctx context.Context, query certifier.QueryComponents, emitter certifier.Emitter, handleErr certifier.ErrHandler) error
Certify queries the graph DB to get the packages to scan. Utilizing the registered certifiers, it scans and generate vulnerability attestation for each package. Aggregating the results to the top/root level package
func Publish ¶
Publish is used by NATS JetStream to stream the documents and send them to the processor
func RegisterCertifier ¶
func RegisterCertifier(c func() certifier.Certifier, certifierType certifier.CertifierType) error
RegisterCertifier registers the active certifier for to generate attestations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.