Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for MountVolume (0.2 sec)

  1. pkg/volume/util/operationexecutor/operation_generator.go

    		if resizeError != nil {
    			klog.Errorf("MountVolume.NodeExpandVolume failed with %v", resizeError)
    			eventErr, detailedErr := volumeToMount.GenerateError("MountVolume.Setup failed while expanding volume", resizeError)
    			// At this point, MountVolume.Setup already succeeded, we should add volume into actual state
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/node_expander.go

    			klog.Errorf(ne.vmt.GenerateErrorDetailed("MountVolume.NodeExapndVolume failed with %v", resizeErr).Error())
    			return false, nil, testResponseData{assumeResizeFinished: true, resizeCalledOnPlugin: true}
    		}
    		return false, resizeErr, testResponseData{assumeResizeFinished: true, resizeCalledOnPlugin: true}
    	}
    	simpleMsg, detailedMsg := ne.vmt.GenerateMsg("MountVolume.NodeExpandVolume succeeded", nodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    	err := rc.operationExecutor.MountVolume(
    		rc.waitForAttachTimeout,
    		volumeToMount.VolumeToMount,
    		rc.actualStateOfWorld,
    		isRemount)
    	if err != nil && !isExpectedError(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_client.go

    		}
    	} else {
    		mountVolume := &csipbv1.VolumeCapability_MountVolume{
    			FsType:     fsType,
    			MountFlags: mountOptions,
    		}
    		if fsGroup != nil {
    			mountVolume.VolumeMountGroup = strconv.FormatInt(*fsGroup, 10 /* base */)
    		}
    		req.VolumeCapability.AccessType = &csipbv1.VolumeCapability_Mount{
    			Mount: mountVolume,
    		}
    	}
    
    	_, err = nodeClient.NodePublishVolume(ctx, req)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_client_test.go

    		}
    	} else {
    		mountVolume := &csipbv1.VolumeCapability_MountVolume{
    			FsType:     fsType,
    			MountFlags: mountOptions,
    		}
    		if fsGroup != nil {
    			mountVolume.VolumeMountGroup = strconv.FormatInt(*fsGroup, 10 /* base */)
    		}
    		req.VolumeCapability.AccessType = &csipbv1.VolumeCapability_Mount{
    			Mount: mountVolume,
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_executor_test.go

    			PluginIsDeviceMountable: false, // this field determines whether the plugin is devicemountable
    			ReportedInUse:           true,
    		}
    		oe.MountVolume(0 /* waitForAttachTimeOut */, volumesToMount[i], nil /* actualStateOfWorldMounterUpdater */, false /* isRemount */)
    	}
    
    	// Assert
    	if !isOperationRunConcurrently(ch, quit, numVolumesToMount) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. pkg/volume/portworx/portworx.go

    	// Attach a volume
    	AttachVolume(mounter *portworxVolumeMounter, attachOptions map[string]string) (string, error)
    	// Detach a volume
    	DetachVolume(unmounter *portworxVolumeUnmounter) error
    	// Mount a volume
    	MountVolume(mounter *portworxVolumeMounter, mountDir string) error
    	// Unmount a volume
    	UnmountVolume(unmounter *portworxVolumeUnmounter, mountDir string) error
    	// Resize a volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. pkg/volume/portworx/portworx_util.go

    	if err != nil {
    		klog.Errorf("Error detaching Portworx Volume (%v): %v", u.volName, err)
    		return err
    	}
    	return nil
    }
    
    // MountVolume mounts a Portworx Volume on the specified mountPath
    func (util *portworxVolumeUtil) MountVolume(m *portworxVolumeMounter, mountPath string) error {
    	driver, err := util.getLocalPortworxDriver(m.plugin.host)
    	if err != nil || driver == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  9. pkg/volume/portworx/portworx_test.go

    	fake.attachCalled = true
    	return "", nil
    }
    
    func (fake *fakePortworxManager) DetachVolume(c *portworxVolumeUnmounter) error {
    	return nil
    }
    
    func (fake *fakePortworxManager) MountVolume(b *portworxVolumeMounter, mountPath string) error {
    	fake.mountCalled = true
    	return nil
    }
    
    func (fake *fakePortworxManager) UnmountVolume(c *portworxVolumeUnmounter, mountPath string) error {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor.go

    	DetachVolume(logger klog.Logger, volumeToDetach AttachedVolume, verifySafeToDetach bool, actualStateOfWorld ActualStateOfWorldAttacherUpdater) error
    
    	// If a volume has 'Filesystem' volumeMode, MountVolume mounts the
    	// volume to the pod specified in volumeToMount.
    	// Specifically it will:
    	// * Wait for the device to finish attaching (for attachable volumes only).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top