controller

package
v2.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactoryController

type ArtifactoryController struct {
	// contains filtered or unexported fields
}

ArtifactoryController handles watching images and sending them to perceptor

func NewArtifactoryController

func NewArtifactoryController(perceptorURL string, credentials []*utils.RegistryAuth) *ArtifactoryController

NewArtifactoryController creates a new ArtifactoryController object

func (*ArtifactoryController) Run

func (ic *ArtifactoryController) Run(interval time.Duration, stopCh <-chan struct{})

Run starts a controller that watches images and sends them to perceptor

type ImageController

type ImageController struct {
	// contains filtered or unexported fields
}

ImageController handles watching images and sending them to perceptor

func NewImageController

func NewImageController(oic *imageclient.ImageV1Client, perceptorURL string, handler annotations.ImageAnnotatorHandler) *ImageController

NewImageController creates a new ImageController object

func (*ImageController) Run

func (ic *ImageController) Run(threadiness int, stopCh <-chan struct{})

Run starts a controller that watches images and sends them to perceptor

type OSImageStreamController

type OSImageStreamController struct {
	// contains filtered or unexported fields
}

OSImageStreamController is deprecated and will be removed.

func NewOSImageStreamController

func NewOSImageStreamController(oic *imageclient.ImageV1Client, perceptorURL string) *OSImageStreamController

NewOSImageStreamController creates and returns a deprecated OSImageStreamController

func (*OSImageStreamController) Run

func (osisc *OSImageStreamController) Run(threadiness int, stopCh <-chan struct{})

Run will start a deprecated OSImageStreamController

type PodController

type PodController struct {
	// contains filtered or unexported fields
}

PodController handles watching pods and sending them to perceptor

func NewPodController

func NewPodController(kubeClient kubernetes.Interface, perceptorURL string, nsFilter string, handler annotations.ImageAnnotatorHandler) *PodController

NewPodController creates a new PodController object

func (*PodController) Run

func (pc *PodController) Run(threadiness int, stopCh <-chan struct{})

Run starts a controller that watches pods and sends them to perceptor

Jump to

Keyboard shortcuts

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