Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScannerJobName = "scan-image" TrivyImageName = "trivy" TrivyImage = "aquasec/trivy" WorkDir = "/root/.cache" NatsCLIImageName = "trivydb" NatsCLIImage = "appscode/trivydb:0.0.1" UserImageName = "scanner" UploaderImageName = "uploader" )
Variables ¶
This section is empty.
Functions ¶
func EnsureScanReport ¶
func EnsureScanReport(kc client.Client, imageRef string, singleReport trivy.SingleReport, versionInfo trivy.Version) (*api.ImageScanReport, error)
Types ¶
type Reconciler ¶
func (*Reconciler) ScanForPrivateImage ¶
func (r *Reconciler) ScanForPrivateImage(isr api.ImageScanRequest) error
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.