Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { SourceProvider SourceProvider Storage Storage Parser *parser.Parser Inspector *engine.Inspector Tracker Tracker }
func (*Service) GetScanSummary ¶
func (*Service) GetVulnerabilities ¶
type SourceProvider ¶
type Storage ¶
type Storage interface { SaveFile(ctx context.Context, metadata *model.FileMetadata) error SaveVulnerabilities(ctx context.Context, vulnerabilities []model.Vulnerability) error GetVulnerabilities(ctx context.Context, scanID string) ([]model.Vulnerability, error) GetScanSummary(ctx context.Context, scanIDs []string) ([]model.SeveritySummary, error) }
Click to show internal directories.
Click to hide internal directories.