- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetDeviceMountRefs (0.18 sec)
-
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/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/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)