Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const ClaimBindingTimeout + const PVBindingTimeout + const PVDeletingTimeout + const PVReclaimingTimeout + const VolumeSelectorKey + var SELinuxLabel = &v1.SELinuxOptions + func CreatePDWithRetry() (string, error) + func CreatePDWithRetryAndZone(zone string) (string, error) + func CreatePV(c clientset.Interface, pv *v1.PersistentVolume) (*v1.PersistentVolume, error) + func CreatePVC(c clientset.Interface, ns string, pvc *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) + func CreatePVCPV(c clientset.Interface, pvConfig PersistentVolumeConfig, ...) (*v1.PersistentVolume, *v1.PersistentVolumeClaim, error) + func CreatePVPVC(c clientset.Interface, pvConfig PersistentVolumeConfig, ...) (*v1.PersistentVolume, *v1.PersistentVolumeClaim, error) + func CreatePVSource(zone string) (*v1.PersistentVolumeSource, error) + func CreatePVsPVCs(numpvs, numpvcs int, c clientset.Interface, ns string, ...) (PVMap, PVCMap, error) + func DeletePDWithRetry(diskName string) error + func DeletePVCandValidatePV(c clientset.Interface, ns string, pvc *v1.PersistentVolumeClaim, ...) error + func DeletePVCandValidatePVGroup(c clientset.Interface, ns string, pvols PVMap, claims PVCMap, ...) error + func DeletePVSource(pvSource *v1.PersistentVolumeSource) error + func DeletePersistentVolume(c clientset.Interface, pvName string) error + func DeletePersistentVolumeClaim(c clientset.Interface, pvcName string, ns string) error + func GetBoundPV(client clientset.Interface, pvc *v1.PersistentVolumeClaim) (*v1.PersistentVolume, error) + func GetDefaultStorageClassName(c clientset.Interface) (string, error) + func MakePersistentVolume(pvConfig PersistentVolumeConfig) *v1.PersistentVolume + func MakePersistentVolumeClaim(cfg PersistentVolumeClaimConfig, ns string) *v1.PersistentVolumeClaim + func MakeWritePod(ns string, pvc *v1.PersistentVolumeClaim) *v1.Pod + func PVPVCCleanup(c clientset.Interface, ns string, pv *v1.PersistentVolume, ...) []error + func PVPVCMapCleanup(c clientset.Interface, ns string, pvols PVMap, claims PVCMap) []error + func SkipIfNoDefaultStorageClass(c clientset.Interface) + func WaitAndVerifyBinds(c clientset.Interface, ns string, pvols PVMap, claims PVCMap, ...) error + func WaitForPVClaimBoundPhase(client clientset.Interface, pvclaims []*v1.PersistentVolumeClaim, ...) ([]*v1.PersistentVolume, error) + func WaitForPersistentVolumeClaimPhase(phase v1.PersistentVolumeClaimPhase, c clientset.Interface, ns string, ...) error + func WaitForPersistentVolumeClaimsPhase(phase v1.PersistentVolumeClaimPhase, c clientset.Interface, ns string, ...) error + func WaitForPersistentVolumePhase(phase v1.PersistentVolumePhase, c clientset.Interface, pvName string, ...) error + func WaitOnPVandPVC(c clientset.Interface, ns string, pv *v1.PersistentVolume, ...) error + type PVCMap map[types.NamespacedName]pvcval + type PVMap map[string]pvval + type PersistentVolumeClaimConfig struct + AccessModes []v1.PersistentVolumeAccessMode + Annotations map[string]string + ClaimSize string + NamePrefix string + Selector *metav1.LabelSelector + StorageClassName *string + VolumeMode *v1.PersistentVolumeMode + type PersistentVolumeConfig struct + AccessModes []v1.PersistentVolumeAccessMode + Capacity string + Labels labels.Set + NamePrefix string + NodeAffinity *v1.VolumeNodeAffinity + PVSource v1.PersistentVolumeSource + Prebind *v1.PersistentVolumeClaim + ReclaimPolicy v1.PersistentVolumeReclaimPolicy + StorageClassName string + VolumeMode *v1.PersistentVolumeMode