- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for volID (0.04 sec)
-
pkg/volume/csi/csi_client_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/volume/csi/csi_client.go
return *updatedQuantity, nil } func (c *csiDriverClient) NodeUnpublishVolume(ctx context.Context, volID string, targetPath string) error { klog.V(4).InfoS(log("calling NodeUnpublishVolume rpc"), "volID", volID, "targetPath", targetPath) if volID == "" { return errors.New("missing volume id") } if targetPath == "" { return errors.New("missing target path") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 20 10:15:36 UTC 2022 - 22.1K bytes - Viewed (0) -
pkg/volume/csi/csi_util_test.go
os.Exit(m.Run()) } func makeTestPVWithMountOptions(name string, sizeGig int, driverName, volID string, mountOptions []string) *api.PersistentVolume { pv := makeTestPV(name, sizeGig, driverName, volID) pv.Spec.MountOptions = mountOptions return pv } func makeTestPV(name string, sizeGig int, driverName, volID string) *api.PersistentVolume { return &api.PersistentVolume{ ObjectMeta: meta.ObjectMeta{ Name: name,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
testCases := []struct { name string volID string attachID string shouldFail bool reactor func(action core.Action) (handled bool, ret runtime.Object, err error) watchTimeout time.Duration }{ {name: "normal test", volID: "vol-001", attachID: getAttachmentName("vol-001", testDriver, nodeName)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher.go
if len(parts) != 2 { klog.Error(log("detacher.Detach insufficient info encoded in volumeName")) return errors.New("volumeName missing expected data") } driverName := parts[0] volID = parts[1] attachID = getAttachmentName(volID, driverName, string(nodeName)) if err := c.k8s.StorageV1().VolumeAttachments().Delete(context.TODO(), attachID, metav1.DeleteOptions{}); err != nil { if apierrors.IsNotFound(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 25.9K bytes - Viewed (0) -
pkg/volume/csi/fake/fake_client.go
return f.nodePublishedVolumes } // AddNodePublishedVolume adds specified volume to nodePublishedVolumes func (f *NodeClient) AddNodePublishedVolume(volID, deviceMountPath string, volumeContext map[string]string) { f.nodePublishedVolumes[volID] = CSIVolume{ Path: deviceMountPath, VolumeContext: volumeContext, } } // GetNodeStagedVolumes returns node staged volumes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 16K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter.go
func (c *csiMountMgr) TearDown() error { return c.TearDownAt(c.GetPath()) } func (c *csiMountMgr) TearDownAt(dir string) error { klog.V(4).Infof(log("Unmounter.TearDownAt(%s)", dir)) volID := c.volumeID csi, err := c.csiClientGetter.Get() if err != nil { // Treat the absence of the CSI driver as a transient error // See https://github.com/kubernetes/kubernetes/issues/120268
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 30 10:47:59 UTC 2024 - 21K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0)