persistentvolume

package
v1.3.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2016 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersistentVolumeController added in v1.3.0

type PersistentVolumeController struct {
	// contains filtered or unexported fields
}

PersistentVolumeController is a controller that synchronizes PersistentVolumeClaims and PersistentVolumes. It starts two framework.Controllers that watch PerstentVolume and PersistentVolumeClaim changes.

func NewPersistentVolumeController added in v1.3.0

func NewPersistentVolumeController(
	kubeClient clientset.Interface,
	syncPeriod time.Duration,
	provisioner vol.ProvisionableVolumePlugin,
	recyclers []vol.VolumePlugin,
	cloud cloudprovider.Interface,
	clusterName string,
	volumeSource, claimSource cache.ListerWatcher,
	eventRecorder record.EventRecorder,
) *PersistentVolumeController

NewPersistentVolumeController creates a new PersistentVolumeController

func (*PersistentVolumeController) GetCloudProvider added in v1.3.0

func (ctrl *PersistentVolumeController) GetCloudProvider() cloudprovider.Interface

func (*PersistentVolumeController) GetHostName added in v1.3.0

func (ctrl *PersistentVolumeController) GetHostName() string

func (*PersistentVolumeController) GetKubeClient added in v1.3.0

func (ctrl *PersistentVolumeController) GetKubeClient() clientset.Interface

func (*PersistentVolumeController) GetMounter added in v1.3.0

func (ctrl *PersistentVolumeController) GetMounter() mount.Interface

func (*PersistentVolumeController) GetPluginDir added in v1.3.0

func (ctrl *PersistentVolumeController) GetPluginDir(pluginName string) string

func (*PersistentVolumeController) GetPodPluginDir added in v1.3.0

func (ctrl *PersistentVolumeController) GetPodPluginDir(podUID types.UID, pluginName string) string

func (*PersistentVolumeController) GetPodVolumeDir added in v1.3.0

func (ctrl *PersistentVolumeController) GetPodVolumeDir(podUID types.UID, pluginName string, volumeName string) string

func (*PersistentVolumeController) GetWriter added in v1.3.0

func (ctrl *PersistentVolumeController) GetWriter() io.Writer

func (*PersistentVolumeController) NewWrapperMounter added in v1.3.0

func (ctrl *PersistentVolumeController) NewWrapperMounter(volName string, spec vol.Spec, pod *api.Pod, opts vol.VolumeOptions) (vol.Mounter, error)

func (*PersistentVolumeController) NewWrapperUnmounter added in v1.3.0

func (ctrl *PersistentVolumeController) NewWrapperUnmounter(volName string, spec vol.Spec, podUID types.UID) (vol.Unmounter, error)

func (*PersistentVolumeController) Run added in v1.3.0

func (ctrl *PersistentVolumeController) Run()

Run starts all of this controller's control loops

func (*PersistentVolumeController) Stop added in v1.3.0

func (ctrl *PersistentVolumeController) Stop()

Stop gracefully shuts down this controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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