trivy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FsScanSharedVolumeMountPath = "/var/run/image-scanner"
	FsScanSharedVolumeName      = "image-scanner"
	FsScanTrivyBinaryPath       = FsScanSharedVolumeMountPath + "/trivy"
	ScanJobContainerName        = "scan-image"
	ScanJobTimeout              = 1 * time.Hour
	TempVolumeName              = "tmp"
	TempVolumeMountPath         = "/tmp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageScanJobBuilder

type ImageScanJobBuilder interface {
	OnPreferredNodes(nodeNames ...string) ImageScanJobBuilder
	ForCIS(cis *stasv1alpha1.ContainerImageScan) (*batchv1.Job, error)
}

func NewImageScanJob

func NewImageScanJob(config operator.Config) ImageScanJobBuilder

Jump to

Keyboard shortcuts

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