package expand

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

Index

Types

type ExpandController

type ExpandController interface {
	Run(stopCh <-chan struct{})
}

ExpandController expands the pvs

func NewExpandController

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

Source Files

expand_controller.go pvc_populator.go

Directories

PathSynopsis
pkg/controller/volume/expand/cache
Version
v1.15.1-beta.0
Published
Jun 19, 2019
Platform
js/wasm
Imports
33 packages
Last checked
1 minute ago

Tools for package owners.