tasks

package
v0.0.0-...-4673371 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: EUPL-1.2 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerTasksRunner

type DockerTasksRunner interface {
	ScanDockerRepository(ctx context.Context, image *queries.DockerImage, scan *queries.Scan) error
}

type EmailTasksRunner

type EmailTasksRunner interface {
	SendEmail(ctx context.Context, address string, subject string, html string, text string) error
}

type GitTasksRunner

type GitTasksRunner interface {
	ScanGitRepository(ctx context.Context, repo *queries.GitRepository, scan *queries.Scan) error
}

type ScannerSourceTaskRunner

type ScannerSourceTaskRunner interface {
	ScannerTaskRunner
	SourceTaskRunner
	ScheduleFullRun(ctx context.Context, project *queries.Project, scanGroup *queries.ScanGroup, sourceType string, scanType string) error
}

type ScannerTaskRunner

type ScannerTaskRunner interface {
	RunSaverRemote(ctx context.Context, scan *queries.Scan, scanType string) error
	RunSaverForPublic(ctx context.Context, scan *queries.Scan, scanType string) error
	ScheduleSaverRun(ctx context.Context, scan *queries.Scan, scanType string) error
}

type SourceTaskRunner

type SourceTaskRunner interface {
	ScheduleSourceRun(ctx context.Context, project *queries.Project, scanGroup *queries.ScanGroup, sourceType string) error
}

type VulnerabilityTasksRunner

type VulnerabilityTasksRunner interface {
	UpdateNVDVulnerabilitiesForProduct(ctx context.Context, product nvd.Product) error
}

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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