controller

package
v0.0.0-...-c308d74 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 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 Controller

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

func New

func New(
	kubeclient kubernetes.Interface,
	heliosclient heliosclientset.Interface,
	heliosInformer heliosinformersv1.HeliosInformer,
	podInformer coreinformers.PodInformer) *Controller

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{}) error

Run will setup the event handlers for types we are interested in, as well as syncing informer caches and starting loggers. It will block until stopCh is closed, at which point it will shutdown the queue and wait for loggers to finish processing their current work items.

Jump to

Keyboard shortcuts

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