# Functions
GetUniquePodName returns a unique identifier to reference a pod by.
GetUniqueVolumeName returns a unique name representing the volume/plugin.
GetUniqueVolumeNameForNonAttachableVolume returns the unique volume name for a non-attachable volume.
GetUniqueVolumeNameFromSpec uses the given VolumePlugin to generate a unique name representing the volume defined in the specified volume spec.
IsPodTerminated checks if pod is terminated.
NewSafeFormatAndMountFromHost creates a new SafeFormatAndMount with Mounter and Exec taken from given VolumeHost.
SplitUniqueName splits the unique name to plugin name and volume name strings.
# Constants
ControllerManagedAttachAnnotation is the key of the annotation on Node objects that indicates attach/detach operations for the node should be managed by the attach/detach controller.
KeepTerminatedPodVolumesAnnotation is the key of the annotation on Node that decides if pod volumes are unmounted when pod is terminated.
VolumeDynamicallyCreatedByKey is the key of the annotation on PersistentVolume object created dynamically.
VolumeGidAnnotationKey is the of the annotation on the PersistentVolume object that specifies a supplemental GID.