- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MountDevice (0.22 sec)
-
pkg/volume/flexvolume/attacher.go
func (a *flexVolumeAttacher) GetDeviceMountPath(spec *volume.Spec) (string, error) { return a.plugin.getDeviceMountPath(spec) } // MountDevice is part of the volume.Attacher interface func (a *flexVolumeAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, _ volume.DeviceMounterArgs) error { // Mount only once.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 03 23:29:42 UTC 2021 - 3.6K bytes - Viewed (0) -
pkg/volume/flexvolume/attacher-defaults.go
return a.plugin.getDeviceMountPath(spec) } // MountDevice is part of the volume.Attacher interface func (a *attacherDefaults) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, mounter mount.Interface) error { klog.Warning(logPrefix(a.plugin.flexVolumePlugin), "using default MountDevice for volume ", spec.Name(), ", device ", devicePath, ", deviceMountPath ", deviceMountPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 17 04:51:24 UTC 2020 - 2.4K bytes - Viewed (0) -
pkg/volume/flexvolume/attacher_test.go
plugin.runner = fakeRunner( assertDriverCall(t, notSupportedOutput(), mountDeviceCmd, rootDir+"/mount-dir", "/dev/sdx", specJSON(plugin, spec, nil)), ) a, _ := plugin.NewAttacher() a.MountDevice(spec, "/dev/sdx", rootDir+"/mount-dir", volume.DeviceMounterArgs{}) } func TestIsVolumeAttached(tt *testing.T) { t := harness.For(tt) defer t.Close() spec := fakeVolumeSpec()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 03 23:29:42 UTC 2021 - 2.2K bytes - Viewed (0) -
pkg/volume/iscsi/attacher.go
// new iface name is <target portal>:<volume name> mounter.Iface = mounter.Portals[0] + ":" + mounter.VolName } return attacher.manager.MakeGlobalPDName(*mounter.iscsiDisk), nil } func (attacher *iscsiAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, mountArgs volume.DeviceMounterArgs) error { mounter := attacher.host.GetMounter(iscsiPluginName) notMnt, err := mounter.IsLikelyNotMountPoint(deviceMountPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 04 08:51:31 UTC 2022 - 6.8K bytes - Viewed (0) -
pkg/volume/flexvolume/driver-call.go
const ( // Driver calls initCmd = "init" getVolumeNameCmd = "getvolumename" isAttached = "isattached" attachCmd = "attach" waitForAttachCmd = "waitforattach" mountDeviceCmd = "mountdevice" detachCmd = "detach" unmountDeviceCmd = "unmountdevice" mountCmd = "mount" unmountCmd = "unmount" expandVolumeCmd = "expandvolume" expandFSCmd = "expandfs" // Option keys
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 25 02:39:55 UTC 2021 - 7.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)