- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for extractIface (0.17 sec)
-
pkg/volume/iscsi/iscsi_util_test.go
iface, found := extractIface("/var/lib/kubelet/plugins/kubernetes.io/iscsi/iface-" + ifaceName + "/" + devicePath) if !found || iface != ifaceName { t.Errorf("extractIface: expected %s and %t, got %s and %t", ifaceName, true, iface, found) } iface, found = extractIface("/var/lib/kubelet/plugins/kubernetes.io/iscsi/" + devicePath) if found || iface != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 18 09:43:07 UTC 2022 - 14.5K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
} lun, err := strconv.Atoi(arr[1]) if err != nil { return volume.ReconstructedVolume{}, err } iface, _ := extractIface(globalPDPath) iscsiVolume := &v1.Volume{ Name: volumeName, VolumeSource: v1.VolumeSource{ ISCSI: &v1.ISCSIVolumeSource{ TargetPortal: bkpPortal, IQN: iqn,
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/iscsi/iscsi_util.go
// is not found, maintain the previous behavior to facilitate kubelet upgrade. // Logout may fail as no session may exist for the portal/IQN on the specified interface. iface, found = extractIface(mntPath) } // Delete all the scsi devices and any multipath devices after unmounting if err = deleteDevices(c); err != nil { klog.Warningf("iscsi detach disk: failed to delete devices\nError: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 22 12:53:01 UTC 2022 - 34.1K bytes - Viewed (0)