Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 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 + DeletePodFromVolume func(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName) error + DeleteVolume func(volumeName v1.UniqueVolumeName) error + GetGloballyMountedVolumes func() []AttachedVolume + GetMountedVolumes func() []MountedVolume + GetMountedVolumesForPod func(podName volumetypes.UniquePodName) []MountedVolume + GetPods func() map[volumetypes.UniquePodName]bool + GetUnmountedVolumes func() []AttachedVolume + MarkRemountRequired func(podName volumetypes.UniquePodName) + PodExistsInVolume func(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName) (bool, string, error) + SetVolumeGloballyMounted func(volumeName v1.UniqueVolumeName, globallyMounted bool) error + VolumeExists func(volumeName v1.UniqueVolumeName) bool + func NewActualStateOfWorld(nodeName types.NodeName, volumePluginMgr *volume.VolumePluginMgr) ActualStateOfWorld + type AttachedVolume struct + GloballyMounted bool + type DesiredStateOfWorld interface + AddPodToVolume func(podName types.UniquePodName, pod *v1.Pod, volumeSpec *volume.Spec, ...) (v1.UniqueVolumeName, error) + DeletePodFromVolume func(podName types.UniquePodName, volumeName v1.UniqueVolumeName) + GetPods func() map[types.UniquePodName]bool + GetVolumesToMount func() []VolumeToMount + MarkVolumesReportedInUse func(reportedVolumes []v1.UniqueVolumeName) + PodExistsInVolume func(podName types.UniquePodName, volumeName v1.UniqueVolumeName) bool + VolumeExists func(volumeName v1.UniqueVolumeName) bool + func NewDesiredStateOfWorld(volumePluginMgr *volume.VolumePluginMgr) DesiredStateOfWorld + type MountedVolume struct + type VolumeToMount struct