Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsDeviceMountableVolume (0.61 sec)

  1. pkg/volume/util/util.go

    		if err == nil && volumeAttacher != nil {
    			return true
    		}
    	}
    
    	return false
    }
    
    // IsDeviceMountableVolume checks if the given volumeSpec is an device mountable volume or not
    func IsDeviceMountableVolume(volumeSpec *volume.Spec, volumePluginMgr *volume.VolumePluginMgr) bool {
    	deviceMountableVolumePlugin, _ := volumePluginMgr.FindDeviceMountablePluginBySpec(volumeSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    	// The unique volume name used depends on whether the volume is attachable/device-mountable
    	// or not.
    	attachable := util.IsAttachableVolume(volumeSpec, dsw.volumePluginMgr)
    	deviceMountable := util.IsDeviceMountableVolume(volumeSpec, dsw.volumePluginMgr)
    	if attachable || deviceMountable {
    		// For attachable/device-mountable volumes, use the unique volume name as reported by
    		// the plugin.
    		volumeName, err =
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top