Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageAnnotator ¶
type ImageAnnotator struct {
// contains filtered or unexported fields
}
ImageAnnotator handles annotating images with vulnerability and policy issues
func NewImageAnnotator ¶
func NewImageAnnotator(ic *imageclient.ImageV1Client, perceptorURL string, handler annotations.ImageAnnotatorHandler) *ImageAnnotator
NewImageAnnotator creates a new ImageAnnotator object
func (*ImageAnnotator) Run ¶
func (ia *ImageAnnotator) Run(interval time.Duration, stopCh <-chan struct{})
Run starts a controller that will annotate images
type PodAnnotator ¶
type PodAnnotator struct {
// contains filtered or unexported fields
}
PodAnnotator handles annotating pods with vulnerability and policy issues
func NewPodAnnotator ¶
func NewPodAnnotator(pl corev1.CoreV1Interface, perceptorURL string, handler annotations.PodAnnotatorHandler) *PodAnnotator
NewPodAnnotator creates a new PodAnnotator object
func (*PodAnnotator) Run ¶
func (pa *PodAnnotator) Run(interval time.Duration, stopCh <-chan struct{})
Run starts a controller that will annotate pods
Click to show internal directories.
Click to hide internal directories.