Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UnmapDevice (0.14 sec)

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

    	}
    	return os.Symlink(devicePath, linkPath)
    }
    
    // UnmapDevice removes a symbolic link associated to block device under specified map path
    func (v VolumePathHandler) UnmapDevice(mapPath string, linkName string, bindMount bool) error {
    	if len(mapPath) == 0 {
    		return fmt.Errorf("failed to unmap device from map path. mapPath is empty")
    	}
    	klog.V(5).Infof("UnmapDevice: mapPath %s", mapPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    	if err != nil {
    		return volumetypes.GeneratedOperations{}, deviceToDetach.GenerateErrorDetailed("UnmapDevice.FindMapperPluginByName failed", err)
    	}
    
    	if blockVolumePlugin == nil {
    		return volumetypes.GeneratedOperations{}, deviceToDetach.GenerateErrorDetailed("UnmapDevice.FindMapperPluginByName failed to find BlockVolumeMapper plugin. Volume plugin is nil.", nil)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  3. pkg/volume/util/util.go

    	unmapDeviceErr := blkUtil.UnmapDevice(podDeviceUnmapPath, volumeMapName, false /* bindMount */)
    	if unmapDeviceErr != nil {
    		return fmt.Errorf("blkUtil.DetachFileDevice failed. podDeviceUnmapPath:%s, volumeMapName: %s, bindMount: %v: %v",
    			podDeviceUnmapPath, volumeMapName, false, unmapDeviceErr)
    	}
    
    	// unmap devicePath from global node 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)
  4. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		"volumePlugin is nil": {
    			volumePlugins:  []volume.VolumePlugin{},
    			expectErr:      true,
    			expectedErrMsg: "UnmapDevice.FindMapperPluginByName failed",
    		},
    		"blockVolumePlugin is nil": {
    			volumePlugins:  volumetesting.NewFakeFileVolumePlugin(),
    			expectErr:      true,
    			expectedErrMsg: "UnmapDevice.FindMapperPluginByName failed to find BlockVolumeMapper plugin. Volume plugin is nil.",
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  5. pkg/volume/testing/testing.go

    }
    
    func (fv *FakeVolumePathHandler) MapDevice(devicePath string, mapDir string, linkName string, bindMount bool) error {
    	// nil is success, else error
    	return nil
    }
    
    func (fv *FakeVolumePathHandler) UnmapDevice(mapDir string, linkName string, bindMount bool) error {
    	// nil is success, else error
    	return nil
    }
    
    func (fv *FakeVolumePathHandler) RemoveMapPath(mapPath 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