controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: BSD-3-Clause Imports: 13 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 defines a controller for informing (list and watch), queueing, and handling of resource changes

func New

func New(client kubernetes.Interface, resourceClient resourceclientset.Interface) *Controller

New creates a Controller instance.

func (*Controller) HasSynced

func (c *Controller) HasSynced() bool

HasSynced allows us to satisfy the Controller interface by wiring up the informer's HasSynced method

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run is the main execution path for the controller loop

Jump to

Keyboard shortcuts

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