Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetDeviceMountPath (0.3 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/volume/iscsi/attacher.go

    	if err != nil {
    		klog.Warningf("failed to get iscsi mounter: %v", err)
    		return "", err
    	}
    	return attacher.manager.AttachDisk(*mounter)
    }
    
    func (attacher *iscsiAttacher) GetDeviceMountPath(
    	spec *volume.Spec) (string, error) {
    	mounter, err := volumeSpecToMounter(spec, attacher.host, attacher.targetLocks, nil)
    	if err != nil {
    		klog.Warningf("failed to get iscsi mounter: %v", err)
    		return "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/fc/attacher.go

    	if err != nil {
    		klog.Warningf("failed to get fc mounter: %v", err)
    		return "", err
    	}
    	return attacher.manager.AttachDisk(*mounter)
    }
    
    func (attacher *fcAttacher) GetDeviceMountPath(
    	spec *volume.Spec) (string, error) {
    	mounter, err := volumeSpecToMounter(spec, attacher.host)
    	if err != nil {
    		klog.Warningf("failed to get fc mounter: %v", err)
    		return "", err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top