expand

package
v1.12.2-lite4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package expand implements interfaces that attempt to resize a pvc by adding pvc to a volume resize map from which PVCs are picked and resized

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

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

type SyncVolumeResize

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

func NewSyncVolumeResize

func NewSyncVolumeResize(
	loopPeriod time.Duration,
	opsExecutor operationexecutor.OperationExecutor,
	resizeMap cache.VolumeResizeMap,
	kubeClient clientset.Interface) SyncVolumeResize

NewSyncVolumeResize returns actual volume resize handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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