- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TearDownDevice (0.18 sec)
-
pkg/volume/csi/csi_block.go
return errors.New(log("blockMapper.unstageVolumeForBlock failed to remove staging path after NodeUnstageVolume() error [%s]: %v", stagingPath, err)) } return nil } // TearDownDevice removes traces of the SetUpDevice. func (m *csiBlockMapper) TearDownDevice(globalMapPath, devicePath string) error { ctx, cancel := createCSIOperationContext(m.spec, csiTimeout) defer cancel() csiClient, err := m.csiClientGetter.Get()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/volume/volume.go
type CustomBlockVolumeUnmapper interface { BlockVolumeUnmapper // TearDownDevice removes traces of the SetUpDevice procedure. // 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 }
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/csi/csi_block_test.go
csiUnmapper.csiClient = setupClient(t, true) globalMapPath, err := csiUnmapper.GetGlobalMapPath(spec) if err != nil { t.Fatalf("unmapper failed to GetGlobalMapPath: %v", err) } err = csiUnmapper.TearDownDevice(globalMapPath, "/dev/test") if err != nil { t.Fatal(err) } // ensure csi client call and node unpblished pubs := csiUnmapper.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodePublishedVolumes()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 26.5K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
// Even though iSCSI plugin has attacher/detacher implementation, iSCSI plugin // needs volume detach operation during TearDownDevice(). This method is only // 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 {
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/fc/fc.go
deviceUtil util.DeviceUtil exec utilexec.Interface } var _ volume.BlockVolumeUnmapper = &fcDiskUnmapper{} var _ volume.CustomBlockVolumeUnmapper = &fcDiskUnmapper{} func (c *fcDiskUnmapper) TearDownDevice(mapPath, devicePath string) error { err := c.manager.DetachBlockFCDisk(*c, mapPath, devicePath) if err != nil { return fmt.Errorf("fc: failed to detach disk: %s\nError: %v", mapPath, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0)