- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DetachBlockISCSIDisk (0.21 sec)
-
pkg/volume/iscsi/disk_manager.go
AttachDisk(b iscsiDiskMounter) (string, error) // Detaches the disk from the kubelet's host machine. DetachDisk(disk iscsiDiskUnmounter, mntPath string) error // Detaches the block disk from the kubelet's host machine. DetachBlockISCSIDisk(disk iscsiDiskUnmapper, mntPath string) error } // utility to mount a disk based filesystem // globalPDPath: global mount path like, /var/lib/kubelet/plugins/kubernetes.io/iscsi/{ifaceName}/{portal-some_iqn-lun-lun_id}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_test.go
globalPath := c.manager.MakeGlobalPDName(*c.iscsiDisk) err := os.RemoveAll(globalPath) if err != nil { return err } return nil } func (fake *fakeDiskManager) DetachBlockISCSIDisk(c iscsiDiskUnmapper, mntPath string) error { globalPath := c.manager.MakeGlobalVDPDName(*c.iscsiDisk) err := os.RemoveAll(globalPath) if err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_util.go
if err != nil { return fmt.Errorf("failed to finish detachISCSIDisk, err: %v", err) } return nil } // DetachBlockISCSIDisk removes loopback device for a volume and detaches a volume from node func (util *ISCSIUtil) DetachBlockISCSIDisk(c iscsiDiskUnmapper, mapPath string) error { if pathExists, pathErr := mount.PathExists(mapPath); pathErr != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 22 12:53:01 UTC 2022 - 34.1K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
// chance that operations are done on kubelet node during volume teardown sequences. func (c *iscsiDiskUnmapper) TearDownDevice(mapPath, _ string) error { err := c.manager.DetachBlockISCSIDisk(*c, mapPath) if err != nil { return fmt.Errorf("iscsi: failed to detach disk: %s\nError: %v", mapPath, err) } klog.V(4).Infof("iscsi: %q is unmounted, deleting the directory", mapPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0)