- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UnmapPodDevice (0.19 sec)
-
pkg/volume/volume.go
// If the plugin is non-attachable, this method detaches the volume // from a node. TearDownDevice(mapPath string, devicePath string) error // UnmapPodDevice removes traces of the MapPodDevice procedure. UnmapPodDevice() error } // Provisioner is an interface that creates templates for PersistentVolumes // and can create the volume as a new resource in the infrastructure provider.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/volume/testing/testing.go
// Block volume support func (fv *FakeVolume) GetTearDownDeviceCallCount() int { fv.RLock() defer fv.RUnlock() return fv.TearDownDeviceCallCount } // Block volume support func (fv *FakeVolume) UnmapPodDevice() error { fv.Lock() defer fv.Unlock() fv.UnmapPodDeviceCallCount++ return nil } // Block volume support func (fv *FakeVolume) GetUnmapPodDeviceCallCount() int { fv.RLock()
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
return fmt.Errorf("fc: failed to delete the directory: %s\nError: %v", mapPath, err) } klog.V(4).Infof("fc: successfully detached disk: %s", mapPath) return nil } func (c *fcDiskUnmapper) UnmapPodDevice() error { return nil } // GetGlobalMapPath returns global map path and error // path: plugins/kubernetes.io/{PluginName}/volumeDevices/{WWID}/{podUid}
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/iscsi/iscsi.go
return fmt.Errorf("iscsi: failed to delete the directory: %s\nError: %v", mapPath, err) } klog.V(4).Infof("iscsi: successfully detached disk: %s", mapPath) return nil } func (c *iscsiDiskUnmapper) UnmapPodDevice() error { return nil } // GetGlobalMapPath returns global map path and error // path: plugins/kubernetes.io/{PluginName}/volumeDevices/{ifaceName}/{portal-some_iqn-lun-lun_id}
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/util/operationexecutor/operation_generator.go
return volumetypes.NewOperationContext(eventErr, detailedErr, migrated) } // Call UnmapPodDevice if blockVolumeUnmapper implements CustomBlockVolumeUnmapper if customBlockVolumeUnmapper, ok := blockVolumeUnmapper.(volume.CustomBlockVolumeUnmapper); ok { // Execute plugin specific unmap unmapErr = customBlockVolumeUnmapper.UnmapPodDevice() if unmapErr != nil { // On failure, return error. Caller will log and retry.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0)