controller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResizeController

type ResizeController interface {
	// Run starts the controller.
	Run(workers int, ctx context.Context)
}

ResizeController watches PVCs and checks if they are requesting an resizing operation. If requested, it will resize according PVs and update PVCs' status to reflect the new size.

func NewResizeController

func NewResizeController(
	name string,
	resizer resizer.Resizer,
	kubeClient kubernetes.Interface,
	resyncPeriod time.Duration,
	informerFactory informers.SharedInformerFactory) ResizeController

NewResizeController returns a ResizeController.

Jump to

Keyboard shortcuts

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