Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDeviceMountPath (0.14 sec)

  1. pkg/volume/flexvolume/plugin.go

    	return mounter.GetMountRefs(deviceMountPath)
    }
    
    func (plugin *flexVolumePlugin) getDeviceMountPath(spec *volume.Spec) (string, error) {
    	volumeName, err := plugin.GetVolumeName(spec)
    	if err != nil {
    		return "", fmt.Errorf("GetVolumeName failed from getDeviceMountPath: %s", err)
    	}
    
    	mountsDir := filepath.Join(plugin.host.GetPluginDir(flexVolumePluginName), plugin.driverName, "mounts")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    		}
    		// If the volume has device to mount, we mark its device as uncertain.
    		if gvl.deviceMounter != nil || gvl.blockVolumeMapper != nil {
    			deviceMountPath, err := getDeviceMountPath(gvl)
    			if err != nil {
    				klog.ErrorS(err, "Could not find device mount path for volume", "volumeName", gvl.volumeName)
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top