Versions in this module Expand all Collapse all v1 v1.3.0 Jul 1, 2016 Changes in this version + func IsRemountRequiredError(err error) bool + func IsVolumeNotAttachedError(err error) bool + type ActualStateOfWorld interface + AddPodToVolume func(podName volumetypes.UniquePodName, podUID types.UID, ...) error + AddVolume func(volumeSpec *volume.Spec, devicePath string) (api.UniqueVolumeName, error) + DeletePodFromVolume func(podName volumetypes.UniquePodName, volumeName api.UniqueVolumeName) error + DeleteVolume func(volumeName api.UniqueVolumeName) error + GetGloballyMountedVolumes func() []AttachedVolume + GetMountedVolumes func() []MountedVolume + GetMountedVolumesForPod func(podName volumetypes.UniquePodName) []MountedVolume + GetUnmountedVolumes func() []AttachedVolume + MarkRemountRequired func(podName volumetypes.UniquePodName) + PodExistsInVolume func(podName volumetypes.UniquePodName, volumeName api.UniqueVolumeName) (bool, string, error) + SetVolumeGloballyMounted func(volumeName api.UniqueVolumeName, globallyMounted bool) error + VolumeExists func(volumeName api.UniqueVolumeName) bool + func NewActualStateOfWorld(nodeName string, volumePluginMgr *volume.VolumePluginMgr) ActualStateOfWorld + type AttachedVolume struct + GloballyMounted bool + type DesiredStateOfWorld interface + AddPodToVolume func(podName types.UniquePodName, pod *api.Pod, volumeSpec *volume.Spec, ...) (api.UniqueVolumeName, error) + DeletePodFromVolume func(podName types.UniquePodName, volumeName api.UniqueVolumeName) + GetVolumesToMount func() []VolumeToMount + MarkVolumesReportedInUse func(reportedVolumes []api.UniqueVolumeName) + PodExistsInVolume func(podName types.UniquePodName, volumeName api.UniqueVolumeName) bool + VolumeExists func(volumeName api.UniqueVolumeName) bool + func NewDesiredStateOfWorld(volumePluginMgr *volume.VolumePluginMgr) DesiredStateOfWorld + type MountedVolume struct + type VolumeToMount struct