- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for GetDeviceMountRefs (0.22 sec)
-
pkg/volume/iscsi/attacher.go
manager: &ISCSIUtil{}, }, nil } func (plugin *iscsiPlugin) NewDeviceMounter() (volume.DeviceMounter, error) { return plugin.NewAttacher() } func (plugin *iscsiPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { mounter := plugin.host.GetMounter(iscsiPluginName) return mounter.GetMountRefs(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/plugin.go
defer plugin.Unlock() for _, unsupportedCommand := range plugin.unsupportedCommands { if command == unsupportedCommand { return true } } return false } func (plugin *flexVolumePlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { mounter := plugin.host.GetMounter(plugin.GetPluginName()) return mounter.GetMountRefs(deviceMountPath) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/volume/fc/attacher.go
host: plugin.host, manager: &fcUtil{}, }, nil } func (plugin *fcPlugin) NewDeviceMounter() (volume.DeviceMounter, error) { return plugin.NewAttacher() } func (plugin *fcPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { mounter := plugin.host.GetMounter(plugin.GetPluginName()) return mounter.GetMountRefs(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/controller/volume/attachdetach/testing/testvolumespec.go
return true, nil } func (plugin *TestPlugin) NewDeviceUnmounter() (volume.DeviceUnmounter, error) { return plugin.NewDetacher() } func (plugin *TestPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { return []string{}, nil } func (plugin *TestPlugin) SupportsMountOption() bool { return false }
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/testing/testing.go
func (f *FakeDeviceMountableVolumePlugin) NewDeviceUnmounter() (volume.DeviceUnmounter, error) { return f.Plugin.NewDeviceUnmounter() } func (f *FakeDeviceMountableVolumePlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { return f.Plugin.GetDeviceMountRefs(deviceMountPath) } var _ volume.VolumePlugin = &FakeDeviceMountableVolumePlugin{} var _ volume.DeviceMountableVolumePlugin = &FakeDeviceMountableVolumePlugin{}
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/local/local.go
return &deviceMounter{ plugin: plugin, mounter: util.NewSafeFormatAndMountFromHost(plugin.GetPluginName(), plugin.host), }, nil } func (plugin *localVolumePlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { mounter := plugin.host.GetMounter(plugin.GetPluginName()) return mounter.GetMountRefs(deviceMountPath) } var _ volume.DeviceUnmounter = &deviceMounter{}
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_plugin.go
// Persistent volumes support device mount. return true, nil } func (p *csiPlugin) NewDeviceUnmounter() (volume.DeviceUnmounter, error) { return p.NewDetacher() } func (p *csiPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { m := p.host.GetMounter(p.GetPluginName()) return m.GetMountRefs(deviceMountPath) } // BlockVolumePlugin methods var _ volume.BlockVolumePlugin = &csiPlugin{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
} refs, err := deviceMountableVolumePlugin.GetDeviceMountRefs(deviceMountPath) if err != nil || util.HasMountRefs(deviceMountPath, refs) { if err == nil { err = fmt.Errorf("the device mount path %q is still mounted by other references %v", deviceMountPath, refs) } eventErr, detailedErr := deviceToDetach.GenerateError("GetDeviceMountRefs check failed", err)
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/plugins.go
type DeviceMountableVolumePlugin interface { VolumePlugin NewDeviceMounter() (DeviceMounter, error) NewDeviceUnmounter() (DeviceUnmounter, error) GetDeviceMountRefs(deviceMountPath string) ([]string, error) // CanDeviceMount determines if device in volume.Spec is mountable CanDeviceMount(spec *Spec) (bool, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 38.2K bytes - Viewed (0)