agent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: GPL-3.0 Imports: 16 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
}

Controller is the agent controller which watches for CRD changes and reports back when a write to host is needed TODO this needs to be able to be instantiated with a different resource type

func NewController

func NewController(
	clientset csclientset.Interface,
	csInformerFactory csinformers.SharedInformerFactory) *Controller

NewController creates a new agent Controller

func (*Controller) Run

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

Run kicks off the Controller with the given number of workers to process the workqueue

Jump to

Keyboard shortcuts

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