Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for volumeWithAnnotation (0.28 sec)

  1. pkg/controller/volume/persistentvolume/delete_test.go

    			initialVolumes:  []*v1.PersistentVolume{volumeWithAnnotation(volume.AnnMigratedTo, "pd.csi.storage.gke.io", volumeWithAnnotation(volume.AnnDynamicallyProvisioned, "kubernetes.io/gce-pd", newVolume("volume8-10-3", "1Gi", "uid10-1-3", "claim10-1-3", v1.VolumeBound, v1.PersistentVolumeReclaimDelete, classEmpty, volume.AnnDynamicallyProvisioned)))},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/framework_test.go

    		claim.Annotations = map[string]string{}
    	}
    	for key, val := range ann {
    		claim.Annotations[key] = val
    	}
    	return claim
    }
    
    // volumeWithAnnotation saves given annotation into given volume.
    // Meant to be used to compose volume specified inline in a test.
    func volumeWithAnnotation(name, value string, volume *v1.PersistentVolume) *v1.PersistentVolume {
    	if volume.Annotations == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
Back to top