modifycontroller

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModifyController

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

ModifyController watches PVCs and checks if they are requesting an modify operation. If requested, it will modify the volume according to parameters in VolumeAttributesClass

func NewModifyController

func NewModifyController(
	name string,
	modifier modifier.Modifier,
	kubeClient kubernetes.Interface,
	resyncPeriod time.Duration,
	informerFactory informers.SharedInformerFactory,
	pvcRateLimiter workqueue.RateLimiter) ModifyController

NewModifyController returns a ModifyController.

Jump to

Keyboard shortcuts

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