Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FindGlobalMapPathUUIDFromPod (0.45 sec)

  1. pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go

    }
    
    // FindGlobalMapPathUUIDFromPod finds {pod uuid} bind mount under globalMapPath
    // corresponding to map path symlink, and then return global map path with pod uuid.
    func (v VolumePathHandler) FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error) {
    	return "", fmt.Errorf("FindGlobalMapPathUUIDFromPod not supported for this build.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. pkg/volume/util/volumepathhandler/volume_path_handler_linux.go

    	// If the block device was deleted, the path will contain a "(deleted)" suffix
    	path = strings.TrimSpace(path)
    	path = strings.TrimSuffix(path, "(deleted)")
    	return strings.TrimSpace(path)
    }
    
    // FindGlobalMapPathUUIDFromPod finds {pod uuid} bind mount under globalMapPath
    // corresponding to map path symlink, and then return global map path with pod uuid.
    // (See pkg/volume/volume.go for details on a global map path and a pod device map path.)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. pkg/volume/util/volumepathhandler/volume_path_handler.go

    	GetDeviceBindMountRefs(devPath string, mapPath string) ([]string, error)
    	// FindGlobalMapPathUUIDFromPod finds {pod uuid} symbolic link under globalMapPath
    	// corresponding to map path symlink, and then return global map path with pod uuid.
    	FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error)
    	// AttachFileDevice takes a path to a regular file and makes it available as an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. pkg/volume/fc/fc.go

    	pluginDir := plugin.host.GetVolumeDevicePluginDir(fcPluginName)
    	blkutil := volumepathhandler.NewBlockVolumePathHandler()
    	globalMapPathUUID, err := blkutil.FindGlobalMapPathUUIDFromPod(pluginDir, mapPath, podUID)
    	if err != nil {
    		return nil, err
    	}
    	klog.V(5).Infof("globalMapPathUUID: %v, err: %v", globalMapPathUUID, err)
    
    	// Retrieve globalPDPath from globalMapPathUUID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi.go

    	pluginDir := plugin.host.GetVolumeDevicePluginDir(iscsiPluginName)
    	blkutil := volumepathhandler.NewBlockVolumePathHandler()
    	globalMapPathUUID, err := blkutil.FindGlobalMapPathUUIDFromPod(pluginDir, mapPath, podUID)
    	if err != nil {
    		return nil, err
    	}
    	klog.V(5).Infof("globalMapPathUUID: %v, err: %v", globalMapPathUUID, err)
    	// Retrieve volume information from globalMapPathUUID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pkg/volume/testing/testing.go

    func (fv *FakeVolumePathHandler) GetDeviceBindMountRefs(devPath string, mapPath string) ([]string, error) {
    	// nil is success, else error
    	return []string{}, nil
    }
    
    func (fv *FakeVolumePathHandler) FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error) {
    	// nil is success, else error
    	return "", nil
    }
    
    func (fv *FakeVolumePathHandler) AttachFileDevice(path string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top