Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶ added in v0.7.0
type Analyzer interface { HasVulnerabilityReports(ctx context.Context, owner kube.Object, images kube.ContainerImages, hash string) (bool, error) GetActiveScanJob(ctx context.Context, owner kube.Object, hash string) (*batchv1.Job, error) IsConcurrentScanJobsLimitExceeded(ctx context.Context) (bool, int, error) }
func NewAnalyzer ¶ added in v0.7.0
func NewAnalyzer(config etc.Operator, store vulnerabilityreport.StoreInterface, client client.Client) Analyzer
type Reconciler ¶ added in v0.7.0
type Reconciler interface { SubmitScanJob(ctx context.Context, podSpec corev1.PodSpec, owner kube.Object, images kube.ContainerImages, hash string) error ParseLogsAndSaveVulnerabilityReports(ctx context.Context, scanJob *batchv1.Job, workload kube.Object, containerImages kube.ContainerImages, hash string) error GetPodControlledBy(ctx context.Context, job *batchv1.Job) (*corev1.Pod, error) }
func NewReconciler ¶ added in v0.7.0
func NewReconciler(scheme *runtime.Scheme, config etc.Operator, client client.Client, store vulnerabilityreport.StoreInterface, idGenerator ext.IDGenerator, scanner vulnerabilityreport.Scanner, logsReader *logs.Reader) Reconciler
Click to show internal directories.
Click to hide internal directories.