Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryUsageAnalyser ¶
type LibraryUsageAnalyser struct {
// contains filtered or unexported fields
}
func NewLibraryUsageAnalyser ¶
func NewLibraryUsageAnalyser(l *util.StandardLogger, stor *files.Local, db *gorm.DB, rmHost string, ld ldprotos.UsedLanguagesClient, va vaprotos.VulnerabilityAnalyzerClient) *LibraryUsageAnalyser
func (*LibraryUsageAnalyser) Analyze ¶
func (l *LibraryUsageAnalyser) Analyze(ctx context.Context, rr *protos.AnalyzeRequest) (*protos.AnalyzeResponse, error)
type ResultProvider ¶
type ResultProvider struct {
// contains filtered or unexported fields
}
func NewResultProvider ¶
func NewResultProvider(log *util.StandardLogger, db *gorm.DB) *ResultProvider
func (*ResultProvider) ProvideVulnerableLibrariesData ¶
func (r *ResultProvider) ProvideVulnerableLibrariesData(ctx context.Context, rr *protos.ResultRequest) (*protos.ResultResponse, error)
Click to show internal directories.
Click to hide internal directories.