- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for MountDevice (0.56 sec)
-
pkg/controller/volume/attachdetach/testing/testvolumespec.go
} return "", nil } func (attacher *testPluginAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, _ volume.DeviceMounterArgs) error { attacher.pluginLock.Lock() defer attacher.pluginLock.Unlock() if spec == nil { *attacher.ErrorEncountered = true return fmt.Errorf("MountDevice called with nil volume spec") } return nil } // Detacher
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 17 08:48:30 UTC 2023 - 16.5K bytes - Viewed (0) -
pkg/volume/fc/attacher.go
if err != nil { klog.Warningf("failed to get fc mounter: %v", err) return "", err } return attacher.manager.MakeGlobalPDName(*mounter.fcDisk), nil } func (attacher *fcAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, mountArgs volume.DeviceMounterArgs) error { mounter := attacher.host.GetMounter(fcPluginName) notMnt, err := mounter.IsLikelyNotMountPoint(deviceMountPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 31 12:02:51 UTC 2022 - 7.5K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
// On failure, return error. Caller will log and retry. eventErr, detailedErr := volumeToMount.GenerateError("MountVolume.MountDevice failed", err) return volumetypes.NewOperationContext(eventErr, detailedErr, migrated) } klog.InfoS(volumeToMount.GenerateMsgDetailed("MountVolume.MountDevice succeeded", fmt.Sprintf("device mount path %q", deviceMountPath)), "pod", klog.KObj(volumeToMount.Pod))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
pkg/volume/testing/testing.go
// TimeoutOnMountDeviceVolumeName will cause MountDevice call to timeout but Setup will finish. TimeoutOnMountDeviceVolumeName = "timeout-mount-device-volume" // TimeoutAndFailOnMountDeviceVolumeName will cause first MountDevice call to timeout but second call will fail TimeoutAndFailOnMountDeviceVolumeName = "timeout-and-fail-mount-device-name" // FailMountDeviceVolumeName will cause MountDevice operation on volume to fail
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/volume/fc/fc.go
if err != nil { klog.Errorf("fc: failed to setup") } if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { // The volume must have been mounted in MountDevice with -o context. b.mountedWithSELinuxContext = mounterArgs.SELinuxLabel != "" } return err } type fcDiskUnmounter struct { *fcDisk mounter mount.Interface deviceUtil util.DeviceUtil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/volume/csi/csi_block.go
} if !stageUnstageSet { klog.Infof(log("blockMapper.stageVolumeForBlock STAGE_UNSTAGE_VOLUME capability not set. Skipping MountDevice...")) return "", nil } publishVolumeInfo := map[string]string{} if attachment != nil { publishVolumeInfo = attachment.Status.AttachmentMetadata } nodeStageSecrets := map[string]string{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
if err != nil { klog.Errorf("iscsi: failed to setup") } if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { // The volume must have been mounted in MountDevice with -o context. // TODO: extract from mount table in GetAttributes() to be sure? b.mountedWithSELinuxContext = mounterArgs.SELinuxLabel != "" } return err } type iscsiDiskUnmounter struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/volume/local/local.go
} klog.V(3).Infof("local: successfully mount device %s at %s (fstype: %s)", devicePath, deviceMountPath, fstype) return nil } func (dm *deviceMounter) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, _ volume.DeviceMounterArgs) error { if spec.PersistentVolume.Spec.Local == nil || len(spec.PersistentVolume.Spec.Local.Path) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
if err != nil && volumetypes.IsOperationFinishedError(err) { // attempt to cleanup volume mount dir. if err = removeMountDir(p, dataDir); err != nil { klog.Error(log("attacher.MountDevice failed to remove mount dir after error [%s]: %v", dataDir, err)) } } }() if err != nil { errorMsg := log("csi.NewBlockVolumeMapper failed to save volume info data: %v", err) klog.Error(errorMsg)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0)