modifier

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modifier

type Modifier interface {
	// Name returns the modifier's name.
	Name() string
	// Modify executes the modify operation of this PVC.
	Modify(pv *v1.PersistentVolume, mutableParameters map[string]string) error
}

Modifier is responsible for handling pvc modify volume requests.

func NewModifierFromClient

func NewModifierFromClient(
	csiClient csi.Client,
	timeout time.Duration,
	k8sClient kubernetes.Interface,
	informerFactory informers.SharedInformerFactory,
	driverName string) (Modifier, error)

Jump to

Keyboard shortcuts

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