annotator

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

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

Jump to

Keyboard shortcuts

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