- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetNodePublishedVolumes (0.61 sec)
-
pkg/volume/csi/csi_block_test.go
if err != nil { t.Fatalf("mapper failed to GetGlobalMapPath: %v", err) } // Check if NodePublishVolume published to the right path pvols := csiMapper.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodePublishedVolumes() pvol, ok := pvols[csiMapper.volumeID] if !ok { t.Error("csi server may not have received NodePublishVolume call") } publishPath := csiMapper.getPublishPath() if pvol.Path != publishPath {
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/csi/fake/fake_client.go
f.nodeGetInfoResp = resp } func (f *NodeClient) SetNodeVolumeStatsResp(resp *csipb.NodeGetVolumeStatsResponse) { f.nodeVolumeStatsResp = resp } // GetNodePublishedVolumes returns node published volumes func (f *NodeClient) GetNodePublishedVolumes() map[string]CSIVolume { return f.nodePublishedVolumes } // AddNodePublishedVolume adds specified volume to nodePublishedVolumes
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_test.go
} else { t.Errorf("SetUp() failed: %v", err) } } // ensure call went all the way pubs := csiMounter.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodePublishedVolumes() vol, ok := pubs[csiMounter.volumeID] if !ok { t.Error("csi server may not have received NodePublishVolume call") } if vol.Path != csiMounter.GetPath() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
map[string]string{"attr0": "val0"}, map[string]string{}, tc.fsType, []string{}, tc.fsGroup, ) checkErr(t, tc.mustFail, err) volumeMountGroup := nodeClient.GetNodePublishedVolumes()[tc.volID].VolumeMountGroup if volumeMountGroup != tc.expectedVolumeMountGroup { t.Errorf("Expected VolumeMountGroup in NodePublishVolumeRequest to be %q, got: %q", tc.expectedVolumeMountGroup, volumeMountGroup) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0)