Documentation ¶
Index ¶
Constants ¶
View Source
const ( FsScanTrivyBinaryPath = FsScanSharedVolumeMountPath + "/trivy" JobNameSpecHashPartLength = 5 KubernetesJobNameMaxLength = validation.DNS1123LabelMaxLength KubernetesLabelValueMaxLength = validation.DNS1123LabelMaxLength ScanJobContainerName = "scan-image" 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(cfg config.Config) ImageScanJobBuilder
Click to show internal directories.
Click to hide internal directories.