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(stopCh <-chan struct{})
}

ExpandController expands the pvs

func NewExpandController

func NewExpandController(
	kubeClient clientset.Interface,
	pvcInformer coreinformers.PersistentVolumeClaimInformer,
	pvInformer coreinformers.PersistentVolumeInformer,
	cloud cloudprovider.Interface,
	plugins []volume.VolumePlugin,
	translator CSINameTranslator,
	csiMigratedPluginManager csimigration.PluginManager) (ExpandController, error)

NewExpandController expands the pvs

Source Files

expand_controller.go

Directories

PathSynopsis
pkg/controller/volume/expand/cache
Version
v1.19.6
Published
Dec 18, 2020
Platform
js/wasm
Imports
28 packages
Last checked
5 minutes ago

Tools for package owners.