scanner

package
Version: v0.0.0-...-76fd5f8 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func CreateScanner

func CreateScanner(config *config.Config, clientset kubernetes.Interface) *Scanner

func (*Scanner) Clear

func (s *Scanner) Clear()

func (*Scanner) HandleDockerfileResult

func (s *Scanner) HandleDockerfileResult(result *dockle_types.ImageAssessment) error

func (*Scanner) HandleVulnerabilitiesResult

func (s *Scanner) HandleVulnerabilitiesResult(result *forwarding.ImageVulnerabilities) error

func (*Scanner) Results

func (s *Scanner) Results() *types.ScanResults

func (*Scanner) Scan

func (s *Scanner) Scan(scanConfig *config.ScanConfig) error

func (*Scanner) ScanProgress

func (s *Scanner) ScanProgress() types.ScanProgress

type Status

type Status string
const (
	Idle            Status = "Idle"
	ScanInit        Status = "ScanInit"
	ScanInitFailure Status = "ScanInitFailure"
	Scanning        Status = "Scanning"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL