Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 394 for volumeID (0.23 sec)

  1. pkg/volume/util/hostutil/hostutil_linux.go

    	}
    	for _, ref := range refs {
    		if strings.HasPrefix(ref, pluginMountDir) {
    			volumeID, err := filepath.Rel(pluginMountDir, ref)
    			if err != nil {
    				klog.Errorf("Failed to get volume id from mount %s - %v", mountPath, err)
    				return "", err
    			}
    			return volumeID, nil
    		}
    	}
    
    	return path.Base(mountPath), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    	}
    }
    
    func TestAWSDiskConflicts(t *testing.T) {
    	volState := v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			AWSElasticBlockStore: &v1.AWSElasticBlockStoreVolumeSource{
    				VolumeID: "foo",
    			},
    		},
    	}
    	volState2 := v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			AWSElasticBlockStore: &v1.AWSElasticBlockStoreVolumeSource{
    				VolumeID: "bar",
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  3. src/path/filepath/path_windows_test.go

    // is per volume or global setting:
    //
    //	0 - Enable 8dot3 name creation on all volumes on the system
    //	1 - Disable 8dot3 name creation on all volumes on the system
    //	2 - Set 8dot3 name creation on a per volume basis
    //	3 - Disable 8dot3 name creation on all volumes except the system volume
    //
    // If global flag is set to 2, then per-volume flag needs to be examined:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. pkg/volume/plugins.go

    	// - name: The volume name, as per the v1.Volume spec.
    	// - podUID: The UID of the enclosing pod
    	NewUnmounter(name string, podUID types.UID) (Unmounter, error)
    
    	// ConstructVolumeSpec constructs a volume spec based on the given volume name
    	// and volumePath. The spec may have incomplete information due to limited
    	// information from input. This function is used by volume manager to reconstruct
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. pkg/volume/volume.go

    	InodesFree *resource.Quantity
    
    	// Normal volumes are available for use and operating optimally.
    	// An abnormal volume does not meet these criteria.
    	// This field is OPTIONAL. Only some csi drivers which support NodeServiceCapability_RPC_VOLUME_CONDITION
    	// need to fill it.
    	Abnormal *bool
    
    	// The message describing the condition of the volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    }
    
    // Populates data struct with a single node no volume.
    // Calls AddPod() with the same node and new pod/volume.
    // Verifies node/volume exists.
    // Calls AddPod() with the same node and volume different pod.
    // Verifies the same node/volume exists, and 1 volumes to attach.
    func Test_AddPod_Positive_NewPodNodeExistsVolumeExists(t *testing.T) {
    	// Arrange
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/delete_test.go

    				newExternalProvisionedVolume("volume8-12-1", "1Gi", "uid8-12", "claim8-12", v1.VolumeReleased, v1.PersistentVolumeReclaimDelete, classEmpty, gceDriver, nil, volume.AnnDynamicallyProvisioned),
    				newExternalProvisionedVolume("volume8-12-2", "1Gi", "uid8-12", "claim8-12", v1.VolumeBound, v1.PersistentVolumeReclaimDelete, classEmpty, gceDriver, nil, 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)
  8. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume1-name",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    							PDName: "fake-device1",
    						},
    					},
    				},
    			},
    		},
    	}
    
    	volume1Spec := &volume.Spec{Volume: &pod1.Spec.Volumes[0]}
    	pod1Name := util.GetUniquePodName(pod1)
    
    	pod2 := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller_test.go

    			expectedVolumes: newVolumeArray("volume5-3", "10Gi", "uid5-3", "claim5-3", v1.VolumeReleased, v1.PersistentVolumeReclaimRetain, classEmpty, volume.AnnBoundByController),
    			initialClaims:   newClaimArray("claim5-3", "uid5-3", "1Gi", "volume5-3", v1.ClaimBound, nil, volume.AnnBoundByController, volume.AnnBindCompleted),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    						podName:        volumetypes.UniquePodName(podName),
    						volumeSpecName: volumeName,
    						volumePath:     volumePath,
    						pluginName:     unescapePluginName,
    						volumeMode:     volumeMode,
    					})
    				}
    			}
    		}
    	}
    	for _, volume := range volumes {
    		klog.V(4).InfoS("Get volume from pod directory", "path", podDir, "volume", volume)
    	}
    	return volumes, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top