kubernetes.v0: gopkg.in/kubernetes/kubernetes.v0/pkg/volumeclaimbinder Index | Files

package volumeclaimbinder

import "gopkg.in/kubernetes/kubernetes.v0/pkg/volumeclaimbinder"

Index

Package Files

persistent_volume_claim_binder.go persistent_volume_recycler.go types.go

func NewBinderClient Uses

func NewBinderClient(c client.Interface) binderClient

func NewPersistentVolumeOrderedIndex Uses

func NewPersistentVolumeOrderedIndex() *persistentVolumeOrderedIndex

func NewRecyclerClient Uses

func NewRecyclerClient(c client.Interface) recyclerClient

type PersistentVolumeClaimBinder Uses

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

PersistentVolumeClaimBinder is a controller that synchronizes PersistentVolumeClaims.

func NewPersistentVolumeClaimBinder Uses

func NewPersistentVolumeClaimBinder(kubeClient client.Interface, syncPeriod time.Duration) *PersistentVolumeClaimBinder

NewPersistentVolumeClaimBinder creates a new PersistentVolumeClaimBinder

func (*PersistentVolumeClaimBinder) Run Uses

func (controller *PersistentVolumeClaimBinder) Run()

Run starts all of this binder's control loops

func (*PersistentVolumeClaimBinder) Stop Uses

func (controller *PersistentVolumeClaimBinder) Stop()

Stop gracefully shuts down this binder

type PersistentVolumeRecycler Uses

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

PersistentVolumeRecycler is a controller that watches for PersistentVolumes that are released from their claims. This controller will Recycle those volumes whose reclaim policy is set to PersistentVolumeReclaimRecycle and make them available again for a new claim.

func NewPersistentVolumeRecycler Uses

func NewPersistentVolumeRecycler(kubeClient client.Interface, syncPeriod time.Duration, plugins []volume.VolumePlugin) (*PersistentVolumeRecycler, error)

PersistentVolumeRecycler creates a new PersistentVolumeRecycler

func (*PersistentVolumeRecycler) GetKubeClient Uses

func (f *PersistentVolumeRecycler) GetKubeClient() client.Interface

func (*PersistentVolumeRecycler) GetPluginDir Uses

func (f *PersistentVolumeRecycler) GetPluginDir(podUID string) string

PersistentVolumeRecycler is host to the volume plugins, but does not actually mount any volumes. Because no mounting is performed, most of the VolumeHost methods are not implemented.

func (*PersistentVolumeRecycler) GetPodPluginDir Uses

func (f *PersistentVolumeRecycler) GetPodPluginDir(podUID types.UID, pluginName string) string

func (*PersistentVolumeRecycler) GetPodVolumeDir Uses

func (f *PersistentVolumeRecycler) GetPodVolumeDir(podUID types.UID, pluginName, volumeName string) string

func (*PersistentVolumeRecycler) NewWrapperBuilder Uses

func (f *PersistentVolumeRecycler) NewWrapperBuilder(spec *volume.Spec, pod *api.Pod, opts volume.VolumeOptions, mounter mount.Interface) (volume.Builder, error)

func (*PersistentVolumeRecycler) NewWrapperCleaner Uses

func (f *PersistentVolumeRecycler) NewWrapperCleaner(spec *volume.Spec, podUID types.UID, mounter mount.Interface) (volume.Cleaner, error)

func (*PersistentVolumeRecycler) Run Uses

func (recycler *PersistentVolumeRecycler) Run()

Run starts this recycler's control loops

func (*PersistentVolumeRecycler) Stop Uses

func (recycler *PersistentVolumeRecycler) Stop()

Stop gracefully shuts down this binder

Package volumeclaimbinder imports 18 packages (graph). Updated 2016-07-25. Refresh now. Tools for package owners.