kubernetesk8s.io/kubernetes/pkg/controller/volume/expand Index | Files

package expand

import "k8s.io/kubernetes/pkg/controller/volume/expand"

Index

Types

type CSINameTranslator

type CSINameTranslator interface {
	GetCSINameFromInTreeName(pluginName string) (string, error)
}

CSINameTranslator can get the CSI Driver name based on the in-tree plugin name

type ExpandController

type ExpandController interface {
	Run(ctx context.Context)
}

ExpandController expands the pvs

func NewExpandController

func NewExpandController(
	ctx context.Context,
	kubeClient clientset.Interface,
	pvcInformer coreinformers.PersistentVolumeClaimInformer,
	plugins []volume.VolumePlugin,
	translator CSINameTranslator,
	csiMigratedPluginManager csimigration.PluginManager) (ExpandController, error)

NewExpandController expands the pvs

Source Files

expand_controller.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
33 packages
Last checked
3 hours ago

Tools for package owners.