Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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, scInformer storageclassinformer.StorageClassInformer, cloud cloudprovider.Interface, plugins []volume.VolumePlugin) (ExpandController, error)
type PVCPopulator ¶
type PVCPopulator interface {
Run(stopCh <-chan struct{})
}
PVCPopulator iterates through PVCs and checks if for bound PVCs their size doesn't match with Persistent Volume size
func NewPVCPopulator ¶
func NewPVCPopulator( loopPeriod time.Duration, resizeMap cache.VolumeResizeMap, pvcLister corelisters.PersistentVolumeClaimLister, pvLister corelisters.PersistentVolumeLister, volumePluginMgr *volume.VolumePluginMgr, kubeClient clientset.Interface) PVCPopulator
Click to show internal directories.
Click to hide internal directories.