Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DetachFileDevice (0.2 sec)

  1. pkg/volume/util/util.go

    	globalUnmapPath,
    	podDeviceUnmapPath,
    	volumeMapName string,
    	podUID utypes.UID,
    ) error {
    	// Release file descriptor lock.
    	err := blkUtil.DetachFileDevice(filepath.Join(globalUnmapPath, string(podUID)))
    	if err != nil {
    		return fmt.Errorf("blkUtil.DetachFileDevice failed. globalUnmapPath:%s, podUID: %s: %v",
    			globalUnmapPath, string(podUID), err)
    	}
    
    	// unmap devicePath from pod volume path
    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/volume/testing/testing.go

    	return "", nil
    }
    
    func (fv *FakeVolumePathHandler) AttachFileDevice(path string) (string, error) {
    	// nil is success, else error
    	return "", nil
    }
    
    func (fv *FakeVolumePathHandler) DetachFileDevice(path string) error {
    	// nil is success, else error
    	return nil
    }
    
    func (fv *FakeVolumePathHandler) GetLoopDevice(path string) (string, error) {
    	// nil is success, else 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