controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) *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
}

func NewOSImageStreamController

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

func (*OSImageStreamController) Run

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

Jump to

Keyboard shortcuts

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