scanner

package
v0.0.0-...-f03aceb Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScannerModule

type ScannerModule struct {
	Job models.Job
	// contains filtered or unexported fields
}

func Scanner

func Scanner(job models.Job, logger *logger.FileLogger) *ScannerModule

func (*ScannerModule) Run

func (s *ScannerModule) Run(
	ctx context.Context,
	cfg config.Config,
	model models.DBModel,
	serverURL string,
	openApiFile string,
	authHeaderData []schemas.AuthHeaderMap,
) bool

func (*ScannerModule) UpdateJobStatus

func (s *ScannerModule) UpdateJobStatus(ctx context.Context, model models.DBModel, jobStatus jobstatus.JobStatus)

Jump to

Keyboard shortcuts

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