scanner_run

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateScannerRunEventName event.EventName = "CreateScannerRun"
	UpdateScannerRunEventName event.EventName = "UpdateScannerRun"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateScannerRunEvent

type CreateScannerRunEvent struct {
	ScannerRun *entity.ScannerRun
}

func (*CreateScannerRunEvent) Name

type ScannerRunHandler

type ScannerRunHandler interface {
	CreateScannerRun(*entity.ScannerRun) (bool, error)
	CompleteScannerRun(string) (bool, error)
	FailScannerRun(string, string) (bool, error)
	GetScannerRuns(*entity.ScannerRunFilter, *entity.ListOptions) ([]entity.ScannerRun, error)
	GetScannerRunTags() ([]string, error)
	CountScannerRuns(*entity.ScannerRunFilter) (int, error)
}

type ScannerRunHandlerError

type ScannerRunHandlerError struct {
	// contains filtered or unexported fields
}

func (*ScannerRunHandlerError) Error

func (srhe *ScannerRunHandlerError) Error() string

type UpdateScannerRunEvent

type UpdateScannerRunEvent struct {
	// contains filtered or unexported fields
}

func (*UpdateScannerRunEvent) Name

Jump to

Keyboard shortcuts

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