Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for UnmountDevice (0.15 sec)

  1. pkg/volume/flexvolume/detacher-defaults.go

    	klog.Warning(logPrefix(d.plugin.flexVolumePlugin), "using default WaitForDetach for device ", devicePath)
    	return nil
    }
    
    // UnmountDevice is part of the volume.Detacher interface.
    func (d *detacherDefaults) UnmountDevice(deviceMountPath string) error {
    	klog.Warning(logPrefix(d.plugin.flexVolumePlugin), "using default UnmountDevice for device mount path ", deviceMountPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 17 04:51:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/detacher.go

    	_, err := call.Run()
    	if isCmdNotSupportedErr(err) {
    		return (*detacherDefaults)(d).Detach(volumeName, hostName)
    	}
    	return err
    }
    
    // UnmountDevice is part of the volume.Detacher interface.
    func (d *flexVolumeDetacher) UnmountDevice(deviceMountPath string) error {
    
    	pathExists, pathErr := mount.PathExists(deviceMountPath)
    	if !pathExists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/detacher_test.go

    	defer t.Close()
    
    	plugin, rootDir := testPlugin(t)
    	plugin.runner = fakeRunner(
    		assertDriverCall(t, notSupportedOutput(), unmountDeviceCmd,
    			rootDir+"/mount-dir"),
    	)
    
    	d, _ := plugin.NewDetacher()
    	d.UnmountDevice(rootDir + "/mount-dir")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 08 22:44:05 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  4. pkg/volume/fc/attacher.go

    	return plugin.NewDetacher()
    }
    
    func (detacher *fcDetacher) Detach(volumeName string, nodeName types.NodeName) error {
    	return nil
    }
    
    func (detacher *fcDetacher) UnmountDevice(deviceMountPath string) error {
    	// Specify device name for DetachDisk later
    	devName, _, err := mount.GetDeviceNameFromMount(detacher.mounter, deviceMountPath)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/attacher.go

    	return plugin.NewDetacher()
    }
    
    func (detacher *iscsiDetacher) Detach(volumeName string, nodeName types.NodeName) error {
    	return nil
    }
    
    func (detacher *iscsiDetacher) UnmountDevice(deviceMountPath string) error {
    	unMounter := volumeSpecToUnmounter(detacher.mounter, detacher.host, detacher.plugin)
    	err := detacher.manager.DetachDisk(*unMounter, deviceMountPath)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. pkg/volume/flexvolume/driver-call.go

    	isAttached = "isattached"
    
    	attachCmd        = "attach"
    	waitForAttachCmd = "waitforattach"
    	mountDeviceCmd   = "mountdevice"
    
    	detachCmd        = "detach"
    	unmountDeviceCmd = "unmountdevice"
    
    	mountCmd   = "mount"
    	unmountCmd = "unmount"
    
    	expandVolumeCmd = "expandvolume"
    	expandFSCmd     = "expandfs"
    
    	// Option keys
    	optionFSType         = "kubernetes.io/fsType"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 02:39:55 UTC 2021
    - 7.5K bytes
    - Viewed (0)
Back to top