controller

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 25 Imported by: 2

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,
	pvcRateLimiter workqueue.RateLimiter,
	handleVolumeInUseError bool) ResizeController

NewResizeController returns a ResizeController.

type UniquePVCName added in v1.0.0

type UniquePVCName types.UID

UniquePVCName defines the type to key pvc off

type UniquePodName added in v1.0.0

type UniquePodName types.UID

UniquePodName defines the type to key pods off of

Jump to

Keyboard shortcuts

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